
fifaFS 
Command line parameters
=======================


Main usage
 fifaFS.exe <script file>                      execute script

CG FIFA FS operations
 fifaFS.exe -a[:N] <CG FS dir> <filename> [-c]    add file into zdata_N.big
 fifaFS.exe -r <CG FS dir> <filename> [-c]        replace file in FS
 fifaFS.exe -ar[:N] <CG FS dir> <filename> [-c]   add or replace in zdata_N.big
 fifaFS.exe -e <CG FS dir> <intname> <extname>    export intname as extname
 fifaFS.exe -del <CG FS dir> <intname>            delete intname from FS
 fifaFS.exe -fix <CG FS dir>                      rebuild FAT and zdata_xx.bh
 fifaFS.exe -l <CG FS dir> [listfile]             get file list [into listfile]

NG FIFA operations
 fifaFS.exe -makebh <bigfile>                  generate .bh file for big file
 fifaFS.exe -delfrombh <bigfile> <intname>     remove record(s) from .bh file

BIGs operations
 fifaFS.exe -a <bigfile> <filename> [-c]       add file into bigfile
 fifaFS.exe -r <bigfile> <filename> [-c]       replace file in bigfile
 fifaFS.exe -ar <bigfile> <filename> [-c]      add or replace files
 fifaFS.exe -e <bigfile> <intname> <extname>   export intname as extname
 fifaFS.exe -del <bigfile> <intname>           delete intname from big
 fifaFS.exe -createbig <bigfile> [filename]    create new bigfile
 fifaFS.exe -depackbig <bigfile> <path>        extract all the files from big
 fifaFS.exe -makeover <bigfile>                rebuild big file
 fifaFS.exe -l <bigfile> [listfile]            get file list [into listfile]

Misc stuff
 fifaFS.exe -compress <filename>               compress file with refpack
 fifaFS.exe -decompress <filename>             decompress file
 fifaFS.exe -info                              supported games, variables
Notes
 <CG FS dir> is the directory where fifa.fat and zdata_xx.big files are located.
 File names' can contain placeholders (*, ?)
 Use "-c" to compress files.
 Use "-gametype=xxx" to set game.
 Use predefined variables:
 $dir_fifa07$ - FIFA 07 install directory
 $dir_fifa07demo$ - FIFA 07 Demo install directory
 $dir_fifawc06$ - 2006 FIFA World Cup installation directory
 $dir_fifa06$ - FIFA 06 installation directory
 $dir_fm06$ (FIFA Manager 06), $dir_fifa2005$, $dir_tcm2005$, $dir_uefa2005$ 
 $mydocumentsfolder$ (User's My Documents folder)


For newbies
[opt] - means "opt" is optional.


Available gametypes:

 fifa10
 fifa10demo
 fm09demo
 fifa09
 fifa09demo
 uefa08demo
 fifa08
 fifa08demo
 uefa07
 fm07
 fifa07
 fifa07demo 
 fifa06
 fifawc06
 wc06demo
 fm06
 fifa2005
 uefa2005
 

Examples:

 fifaFS.exe -fix $dir_fifa06$\data\ -gametype=fifa06
 Rebuild FIFA 06 fifa.fat and zdata_xx.bh.

 fifaFS.exe -ar:1 $dir_fifa06$\data\ mypatchfiles\*.*
 Import all your files into zdata_01.big, rebuild fifa.fat and zdata_xx.bh

 fifaFS.exe -e $dir_fifa06$\data\ *_1000.fsh $mydocumentsfolder$\mypatch\backup\*.*
 Extract files matching "*_1000.fsh" into "user's Documents Folder\mypatch\backup" folder

 fifaFS.exe -depackbig main.big .
 Extract all files from main.big into current folder

 fifaFS.exe -decompress *.*
 Decompress all files in current folder

 


