Prior to modify (modding) the various M2TW files, you need to extract (unpack) them from the original M2TW pack files! The following method is only one of many, but it is the easiest for beginners and will show you how to prepare your original M2TW/Kingdoms installation for your first modding experience!
The folders mentioned in this tutorial will work 100% with windows xp. Other systems may vary a bit. Check out the later discussions in this thread for other systems like win 7 or vista!
(Minimum requirement M2TW Patch 1.02 or newer)
Important note: Remember, that you are altering your original-installation files - so be cautious and make backups of the original files your about to change!
Note: If you are using the Gold-Edition you need to download and add the missing files below into your
...\Medieval II Total War\tools\unpacker directory!
Go into your M2TW directory ...
...\Medieval II Total War\tools\unpacker
Run the appropriate bat-file for whatever campaign you will unpack (example) ...
- unpack_all.bat = (for unpacking your original M2TW game installation)
- unpack_americas.bat = (for unpacking the original americas campaign installation)
... and so on for the others kingdoms campaigns!
Confirm the 3 unpacker standard questions with "Yes" and be prepared to wait a long time, whilst you can observe the unpacking-process.
After unpacking you are able to find all unpacked modding files in the ...
...\Medieval II Total War\data directory (if you've unpacked the M2TW-game)
...\Medieval II Total War\mods\americas\data directory (if you've unpacked in this case the Kingdoms-america campaign)
After unpacking you must absolutely follow the next two steps mentioned in the unpacker readme...
This 2 files are located in the M2TW main-data directoryCode: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
...\Medieval II Total War\data\
... delete them!
Also very important- in order to use any modification you are doing with unpacked files, you must onetime goto the following file located in ...
...\Medieval II Total War\medieval2.preference.cfg
Now open this file with notepad and add the following section into the medieval2.preference.cfg file...
Now save it with this new parameter (note 1: make sure the file hasn't the "read-only" attribute when you save it)!Code:[io] file_first = true
(note 2: in some cases this cfg-file will be overwritten from the game after every gamestart, this can be fixed by opening properties and re-set the file as read-only after the modification)!!
And now you can use a simple text editor like the windows standard notepad editor (not Wordpad!) in order to begin your coding work and finally enjoy your modding results!
At this point I wish you good luck with modding, coz sometimes it is really frustrating, also for advanced modders! And now don't hesitate to say thanks in some manner