Right, here's the PS Extract tool. I wish I could rewrite it so it dumps the
filenames correctly, but seeing as I can't figure it out, I just wrote a tool
to read the FAT file on the CD which has the filenames, and restore them with
that.

-Nyerguds

Tools:
-PS1 Extract/Insert tool, developed by Crash
  http://www.extractor.ru/files/b00b7265ada151ac41b046b0622fd502/
-Filename Restore utility for the PS Extract/Insert tool, developed by Nyerguds
  http://nyerguds.arsaneus-design.com/tools/psx_extractor.zip



The process:

1. Extract the files from the PS disk
-------------------------------------
Start redalert-ps1-ietool.exe

Icons legenda of the PS Extract/Insert tool:
  Folder with file:  Add FAT file to list
  Closed folder:     Insert folder into archive? Dunno how that'd work on a CD.
  Hard disk/floppy:  Select some sort of project file?
  Empty bin:         Remove current item in the list
  Full bin:          Remove all items in the list
  Program icon:      Extract files
  Desktop icon:      Exit

Click the "Add FAT file to list" icon, browse to the PS disk, and select data.fat.

Now the file appeared in the list, click the "Extract files" icon, and select
a destination. Note that the program will always make a DATA subfolder in there,
so there's no need to make a new folder for it.

After the extraction is complete, you have 2 new items in the folder:
a DATA folder, and the "result.log" file.


2. Rename the files to their original names
-------------------------------------------
VITALLY IMPORTANT: DO -NOT- REMOVE THE CD YET!

Now, if you look into the data folder, you'll see that all files are divided
into folders by extension. You'll also see that besides those extensions,
the filenames are just numbers.

To fix this, drag result.log onto the program icon of ps_ren.exe. It will read
the DATA.FAT table on the game disk, and rename the extracted files back to
their original filenames.

Don't remove the PS game CD until after this is done.


--------------------------------------------------------------------------------

Version history of the Filename Restore utility:

v1.2: 01/11/2010
-Switched to the RenameFile method from the FreePascal sysutils library,
 because it's more reliable
-Added a logic to create folders for duplicates while renaming

v1.1: 02/01/2009
-first version which renamed the files automatically

v1.0: 24/07/2006
-Initial program, which didn't rename any files, but instead created a
 batch file with the necessary name commands.