PDA

View Full Version : What is a Batch File?



Rhyfelwyr
02-11-2007, 18:06
I've just installed the patch, and the unpackers have allowed me to edit the unit stats etc. However, these changes do not appear in-game, as I have not created a batch file yet, as it says to do in the ReadMe. So, how would I create a batch file?

Carl
02-11-2007, 18:07
Open Notpad, then put in the text it tells you to, then save it with the name "MyMod.bat".

By including the .bat in the save name it will be turned into a .bat file.

Rhyfelwyr
02-11-2007, 18:12
All the readme says is:

- 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

I'm a noob at this sort of thing, so I'm not really sure what to do.

:oops:

Carl
02-11-2007, 18:24
Open notpad.

Copy "medieval2.exe --io.file_first" into it.

Click save.

When asked for a name, name it "MyMod.bat".

thats your bat file done.

Or download my mod from my Sig and go into the folders after unpacking it, in the M2TW folder their is a Bat file and a Shortcut. Copy the shortcut to your desktop, and put the bat file in your own M2TW folder.

Rhyfelwyr
02-11-2007, 18:27
So the file just contains the one line?

EDIT: Where do I save this to?

Ciaran
02-11-2007, 19:39
Yes, .bat files are simple.

It should go into the M2TW root directory, that´s where you installed the game to and where the Medieval2.exe is located, in my case, for example, that would be:
c:\programme\games\Medieval2

Rhyfelwyr
02-11-2007, 19:47
I've created the Batch file, but my changes still aren't appearing in game. I changed the stats of Mailed Knights in export_descr_unit, and when I look at the file, its the way I left it, with the edited stats. It's just not appearing in-game.

EDIT: Never mind I was trying to run it through the M2TW shortcut.