UFO:AFTERMATH VFS TOOL v1.3


this is the fourth release of vfstool and adds a command for extracting single files/directories.

the game supports an extra vfs whose contents override that of gamedata.vfs. the extra vfs is called cfg.vfs.


usage examples:

1) to extract the entire gamedata.vfs into a directory called 'unpacked':

    mkdir unpacked
    vfstool e gamedata.vfs unpacked

2) adding files into a vfs volume:

make a new directory, we'll call that one 'changed', insert the files that you wish to insert into this directory. remember to copy the diretory structure aswell. for example if you'd like a faster helicopter copy the file 'unpacked\strategic\configs\geoscape\config.txt' into 'changed\strategic\configs\geoscape\config.txt'.

when you've changed the speed of the helicopter to something more appropriate ;) type this:

vfstool in gamedata.vfs changed

and there you go!

3) savegame editing isnt any harder, create a dir, extract into the dir, change the files and import. there is a special command for importing into savegames, cause savegames arent compressed like the other vfs files, this command is called 'sin', after you imported your files you recalc the md5-sum with the 'md5' command.

recap:

mkdir unpacked
vfstool e mysavegame.vfs unpacked
(edit your files)
vfstool sin mysavegame.vfs unpacked
vfstool md5 mysavegame

4) create a new vfs and fill it with custom data stored in the directory 'mycontents'

vfstool mk test.vfs 4096 7000 64 1
vfstool in test.vfs mycontents



history:

1.3
added support for extracting single files/directories

1.2
added the mk option for creating fresh vfs volumes.

1.1
fixed bug sometimes occuring when adding new files (hopefully).

1.0
first release


This softare uses the "RSA Data Security, Inc. MD5 Message-Digest Algorithm" and the Zlib library.


2003-12-02
sigget@hotbrev.com
http://www.geocities.com/sigget2003