Hello and welcome.
Some of you already have mod folders that you downloaded, such as my barebones mod folder for Kingdoms. For this class I would prefer that you create the new ModBasics folder
and use it for your assignments. This will make it much easier to troubleshoot if I have you upload files. If you are running a custom mod folder that I do not have, I will not
be able to run your files on my machine.
Unpack the game files
Inside your M2TW folder is a folder called tools/unpacker. Run unpack_all.bat. It will ask you a couple of times to type Y to confirm. If you have already unpacked, running this
again will not hurt anything. It takes about 10 minutes to run the unpacker, depending on how fast your machine is.
Create a mod folder
If you have Kingdoms installed you already have a folder inside your M2TW folder named mods. If you do not have Kingdoms, then create a folder and name it mods. Inside that
folder create a folder named ModBasics. This will be the folder we are working from for this course.
Create other folders
Inside your ModBasics folder create a folder named data
Inside the data folder make 3 folders: sounds, text, and world.
Inside the world folder make a folder called maps.
Inside the maps folder make two folders: base and campaign
Inside the campaign folder make a folder called imperial_campaign.
Copy original files
Go to the original data\sounds folder and copy the following files to your ModBasics\data\sounds folder. The size of this folder should be 6.45MB
audio.dat
audio.idx
events.dat
events.idx
Copy all the files from M2TW\data\world\maps\base to ModBasics\data\world\maps\base
Copy all the files from M2TW\data\world\maps\campaign\imperial_campaign to ModBasics\data\world\maps\campaign\imperial_campaign.
Create batch and config files
Open Notepad and type in the following: medieval2.exe @ModBasics.cfg Note that there is a space between the 2 and the @. Click File then Save As.. and name it ModBasics.bat
Create a copy of medieval2.preference.cfg and rename it ModBasics.cfg Open the file with Notepad and add the following lines:
[features]
mod = mods/ModBasics ;this is the path to your mod folder
[log]
to=logs/ModBasics.system.log.txt ;this is the path where your logfile will be stored at
level=*script* trace
[io]
file_first = true ;this tells the game engine to use your files first, then the original files
[video]
windowed = true ;this runs the game in windowed mode so that when it crashes it doesnt crash your entire machine
Delete timestamped files
If you have just unpacked for the first time then you will need to delete two files from the original M2TW\data folder or the game will crash when you enter the battle map:
descr_geography_new.txt
descr_geography_new.db
Run the game
Double click ModBasics.bat to run the game. The first time you run the game it will recreate the files you deleted and also create some folders in your ModBasics\data folder for
saved games and stuff like that.
The size of your mod folder should be 33.8 MB.
If you have any problems getting the game to run, go through the list again and make sure you did everything. If you still cannot get the game to run, then post details.