--------------
1. To unpack a .QFS or .FSH file into a directory of .BMP files:
* from Windows: double-click on a .FSH or .QFS file.
Normally, FSHTOOL automatically runs. A directory with the same
name as the .FSH/.QFS file is created containing the .BMP files for
to the various graphics in the file. For example, if you selected a
file named x
directory\filename.fsh, the bitmaps will be placed in
the directory x
directory\filename\
A file called index.fsh is also created for the purpose of allowing
conversion back to .FSH/.QFS.
NOTE: to work on a file located on a CD-ROM, you must copy it to your
hard disk before it can be converted.
If this is the first time you double-click on a .FSH/.QFS file, you
need to tell Windows to open it with FSHTOOL. For this, in the dialog
box prompting you for a program to use, select the button called
"Browse" or "Other", and browse your hard disk until you find the
executable file FSHTOOL.EXE.
* from a DOS command line: go into the directory containing
the FSHTOOL executable file, and type
fshtool x
directory\filename.fsh
Replace the drive letter, directory name and file name to suit your
actual needs; the file extension can be either .fsh or .qfs.
This creates a directory x
directory\filename\ containing several
.BMP files (the various grahics in the FSH/QFS file), and also a
file called index.fsh file used for repacking things back into FSH/QFS
format.
If you want to place the BMP files in a differently named directory,
specify this directory as second command-line argument: for example,
fshtool x
directory\filename.fsh c
another\directory
If you are using a Linux port of FSHTOOL, this method also works
(with the obvious adaptations) from a command shell.
2. To re-create a .QFS or .FSH file from a directory of .BMP files:
* from Windows: double-click on the INDEX.FSH file in the directory.
Normally, FSHTOOL automatically runs. The .FSH or .QFS file which
was previously unpacked into the selected directory is directly
updated. The original .FSH/.QFS file is overwritten.
BEWARE: it may be safer to make a backup copy of the original
.FSH/.QFS file BEFORE you run FSHTOOL ! Otherwise, be prepared to
copy it again from your CD.
* from a DOS command line: go into the directory containing
the FSHTOOL executable file, and type
fshtool x
path\dir\index.fsh
Replace the drive letter and path to suit your actual needs.
The .FSH or .QFS file which was previously unpacked into the chosen
directory is directly updated. The original file is overwritten.
BEWARE: it may be safer to make a backup copy of the original
.FSH/.QFS file BEFORE you run FSHTOOL ! Otherwise, be prepared to
copy it again from your CD.
If you want to place the FSH/QFS file in a different location, specify
the target file name as second command-line argument: for example,
fshtool x
path\dir\index.fsh c
another\directory\filename.fsh
If you are using a Linux port of FSHTOOL, this method also works
(with the obvious adaptations) from a command shell.