Tools for editing script.bin file
Donwload: https://www.mediafire.com/file/wfhwshbwwprcj6e/ScriptBinTools.zip/file
With script.bin editing it's possible to add new cinematics into the game.
Decompiled file example
Donwload: https://www.mediafire.com/file/wfhwshbwwprcj6e/ScriptBinTools.zip/file
With script.bin editing it's possible to add new cinematics into the game.
Code:
Compiler and Decompiler for script.bin file
-------------------------------------------
version 1.0 by Dmitri
Decompiler: decompiles .bin file to .xml file
Compiler: compiles .xml file to .bin
Command-line options (all are optional):
-i <path> - input file or folder. When not specified - current folder is used
-o <path> - output file or folder. When not specified - current folder is used
-d - write decompressed file (works only when input file is compressed)
-c - compress compiled file
-oldFormat - this option is needed for old games, check the table below
Works with:
-------------------------------------------
Game | Old format
-------------------------------------------
FIFA Manager 09 - 14 |
FIFA 06 - 10 |
EURO 2008 |
Champions League 2006/2007 |
World Cup 2006 |
FIFA Manager 07 - 08 | +
Total Club Manager 2004 - 2005 | +
FIFA 2004 - 2005 | +
EURO 2004 | +
Champions League 2004/2005 | +
Code:
uint16 version (4)
uint16 numEntries (max = 256)
uint16 numStrings
uint16 padding (0)
--entries--
#for numEntries
uint16 entryNameIndex
uint16 entryIndex
uint16 entryType
uint16 entryVariation
uint16 entryNumChildSections // only first level childs
uint16 allChildSectionsSize ( = totalNumChilds * 12) // including all childs (childs of childs also)
--entry child sections--
#for entryNumChildSections
uint32 sectionType (0,1,10 - info, 100,102,103,104,108,110,111,113,114 - section containers)
#if sectionType = 0 (used only once in "Manager1" script entry)
uint16 sectionParam1 (0)
uint16 sectionParam2 (0)
uint16 sectionParam3 (1)
uint16 sectionParam4 (0)
#elseif sectionType = 1 (animation info)
uint16 sectionAnimNameIndex
uint16 sectionStartTime
uint16 sectionEndTime
uint16 sectionPriority
#elseif sectionType = 10 (camera info)
uint16 sectionParam1 (0,1)
uint16 sectionParam2 (6,20)
uint16 sectionParam3 (0,250)
uint16 sectionParam4 (0)
#else (sections container)
uint32 sectionPriority
uint32 sectionNumChildSections
#endif
#endfor
#endfor
--strings--
#for numStrings
string name (null-terminated)
#endfor
Code:
0 - unknown, used only once in "Manager1" script entry
1 - animation info
10 - camera info
100 - simple sequence, type 0
101 - randomly shuffled sequence (not used), type 1
102 - collection with randomly selected animation (with priorities), type 2
103 - stadium (selects the block with id of current stadium), type 4
104 - goal celebration, type 5
105 - unknown, rain weather check (not used), type 6
106 - unknown, team side check (not used), type 7
107 - unknown (not used), type 8
108 - unknown, match intensity check, type 10
109 - unknown, match intensity check (not used), type 11
110 - unknown, match intensity check, type 12
111 - unknown, type 13
112 - unknown (not used), type 3
113 - unknown, player preferred foot check, type 9
114 - manager animation: only human team, only male manager, 50% probability, type 14
Decompiled file example
Last edited: