---------------------------
WHAT'S NEW IN FIFAFS v.5.0
---------------------------

* Added FIFA 08 Demo support
* GUI progress bar
* Non-console EXE
* Minor bug fixes

---------------------------
WHAT'S NEW IN FIFAFS v.4.99
---------------------------

* Added FIFA Manager 07, UEFA 06-07 support
* Minor bug fixes

---------------------------
WHAT'S NEW IN FIFAFS v.4.9
---------------------------

* Improved memory management
* Faster working
* Added FIFA 07, FIFA 07 Demo support
* Files compression fix

---------------------------
WHAT'S NEW IN FIFAFS v.4.8
---------------------------

* Added 2006 FIFA World Cup support
* New key -gametype allows to specify game from command line.
  (Ex: fifafs -fix $dir_fifawc06$\data -gametype=fifawc06)
* Minor fixes

---------------------------
WHAT'S NEW IN FIFAFS v.4.6
---------------------------

* Added FIFA 06 support
* Added FIFA Manager 06 support
* Most part of the code is rewritten, known bugs fixed
* Working speed increased in 2-3 times

New command line option:
 fifaFS.exe -makeover file.big
 rebuilds big file.


ATTENTION - COMMAND SET CHANGES
===============================

 * "-mkdir" renamed to "mkdir"
 * "-rmdir" renamed to "rmdir"
 * "-copy" renamed, arguments order changed -
   now use "copy source, destination"
 * commands related to saves are not working yet


---------------------------
WHAT'S NEW IN FIFAFS v.4.0
---------------------------

* 100% EA compatible FAT rebuilding algorithm
* File Masks ability (say "No!" to long scripts)
* FSH Hashing - the fifaFS' brand new feature
* Command line support - the most useful commands: extract, import, etc
* New scripting facilities
	- include
	- if, goto, labels, break, trace
	- makedir, removedir commands
   - write to registry
	- predefined variables
	- saves backuping
* UEFA CL 04/05 Support
* TCM 2005 Support


File Masks
==========

Use placeholders "*" and "?" in filenames
to deal with group of files.

-a|1 *|c, *.fsh

This command will add all files from current 
directory into zdata_01.big

Other examples:

-ar|1 *|c, kits\*.fsh
-ar|1 *|c, faces\*.*



UEFA CL 04/05 Support
=====================

If you trying to deal with UEFA CL 04/05 
Please make fifaFS to know about it with special command:

gametype uefa2005

Switch back to FIFA/TCM 2005 with command:

gametype fifa2005

One script can be executed only for one game type.



TCM 2005 Support
================

Earlier version didn't support some TCM .big files.
Now it supports.
Moreover you can turn off zdata_xx.bh files generation
as they don't needed in TCM. Command is:

disablebh



New scripting facilities
========================


Execution flow control - if, goto, break and labels
---------------------------------------------------

Syntax:

IF
--

if (condition)
 ...
endif

condition can be
 $var1$ == $var2$
 $var1$ != $var2$


BREAK
-----

Stops execution 
Example:

break 


GOTO
----

This example demonstrates simple loop made with if, goto and labels
Command "trace" is just writes to log

set $var$, string{1}

@loop

set $var$, string{$var$1}

if $var$ != string {11111111}
 trace $var$
 goto @loop
endif



Example:

; this script checks if UEFA installed before taking any actions
; if it is not - execution breaks

set $uefadir$, registry { HKEY_LOCAL_MACHINE : SOFTWARE\EA SPORTS\UEFA Champions League 2004 - 2005 : Install Dir }

if $uefadir$ == string{}
 break INSTALL UEFA FIRST!
endif

gametype uefa2005
-ar|1 *|c, kits\*.*
-ar|1 *|c, faces\*.*

See other examples in docs\commands.txt


Include
-------

Including other scripts is available:

include kits.txt
include faces.txt



Predefined variables
====================

This variables contains installation directories,
taken from registry:
$dir_fifa2005$
$dir_uefa2005$
$dir_tcm2005$
$mydocumentsfolder$
You may use them also from command line:

fifafs.exe -r $dir_fifa2005$\data\ file1.fsh


