III. BASICS OF USING THE UNPACKER
______________________________________________________________________
- The Unpacker should be placed in the 'tools\unpacker' folder of your
Medieval II: Total War installation folder
- To unpack all files and place them in your 'data' directory run
the batch file 'unpack_all.bat'
NOTE: To use this batch file the Unpacker and the batch file must
be in the 'tools\unpacker' folder for Medieval II: Total War
- To create a text file with a list of all files within the packs
run the batch file 'list_contents.bat'. This will create a file
'pack_contents.txt' in the 'tools\unpacker' folder;
NOTE: To use this batch file the Unpacker and the batch file must
be in the 'tools\unpacker' folder for Medieval II: Total War
______________________________________________________________________
IV. ADVANCED UNPACKING
______________________________________________________________________
- The Unpacker can be used manually from a commmand prompt. The
Unpacker is called by typing:
unpacker [options]
Where [options] is one or more of the command line options
described in the next section.
- The following command line options are required:
--source=[pack file(s)]
Where [pack file(s)] is the path to one or more pack files.
--destination=[file/folder]
Where [file/folder] is the path to the folder to extract the pack
contents or the file to write the list of pack file contents to.
- The following command line options are optional:
--filter=[filter]
Where [filter] describes which files to extract from the packs.
The default is *.* which will extract all files;
NOTE: The & character cannot be used in the filter. If you use
a ? instead it will extract the file. Alternatively wrap the
filename in quotation marks.
--verbosity=[verbosity]
Where [verbosity] is either 0 (low) or 1 (high) for the amount
of information that will be displayed on screen during unpacking.
--mode=[mode]
Where [mode] configures the Unpacker to either extract files. Set
this to 0 to extract files from the packs, or set to 1 to list the
contents of the packs.
- Example command lines:
This will extract all .txt files from the packs to the c:\packs folder
unpacker --source=..\packs\*.pack --destination=c:\packs\ --filter=*.txt
This will extract a list of all files in the packs to list.txt
unpacker --source=..\packs\*.pack --destination=list.txt --mode=1
______________________________________________________________________
V. USING MODIFIED FILES
______________________________________________________________________
- To use the modified files create a batch file in your
Medieval II: Total War folder
- In the batch file add the following line
medieval2.exe --io.file_first
- NOTE: Due to a timestamp check, the following unpacked files will
cause the game to crash and must be deleted before the game is
launched:
data\descr_geography_new.txt
data\descr_geography_new.db
- Save the batch file and then launch Medieval II: Total War using the
newly created batch file.
^
1. How do I batch file?
2. Do need to if I just want to mod the stats?
Bookmarks