 |
|  |
 |
|
J Bytheway
|
 |
England
Jul 2001 time: 05:35
|
|
Here's a little tool I threw together to allow you to update mods to use them with the new playtest exe.
It's pretty crude, but it provides an easy way to get mods working.
Just drop it in the ...\ctp2_data\default\gamedata\ directory, and run it with a prefix as a command line argument, e.g. "ModUpdater APOL". It will edit [Prefix]_Const.txt and [Prefix]_tileimp.txt, if they exist.
It adds the new MAX_MATCH_LIST_CYCLES line to [Prefix]_Const.txt (This is the really critical thing).
It adds the Freight fields to tile imps (to match the MoveCost field) so your caravans follow roads, etc.
It doesn't add the Sound field to the tileimps because there's no way to know which sound is wanted, and most mods have the SLIC adding a sound when you place a tileimp anyway, so if sounds were added here you'd get two.
If the files have already been updated, then this program will not affect them (it won't add in an extra superfluous copy of the fields) - at least, that's true provided you didn't add more blank lines in between things and generally put things where it expects them to be.
It doesn't backup the old versions of the files, so do that yourself if you're worried.
It's written in C#, so you'll need the .NET framework v1.1 to use it (The best way to get this is through Windows Update).
Hope someone finds it useful .
Attachment: modupdater.zip
This has been downloaded 21 time(s).
Last edited by J Bytheway on 02-06-2004 at 11:39
|
|
|  |
 |
|
Flinx
|
 |
Toronto, ON CANADA
Nov 2001 time: 00:35
|
|
quote: Originally posted by J Bytheway
run it with a prefix as a command line argument, e.g. "ModUpdater APOL". | So you are saying to select the "Run" command from the Start menu and type in something like
"C:\Program Files\Activision\ctp2\ctp2_data\default\gamedata\ ModUpdater APOL"
or whatever the correct directory structure is... right?
Last edited by Flinx on 02-06-2004 at 19:56
|
|
|  |
 |
|
J Bytheway
|
 |
England
Jul 2001 time: 05:35
|
|
quote: Originally posted by Flinx
So you are saying to select the "Run" command from the Start menu and type in something like
"C:\Program Files\Activision\ctp2\ctp2_data\default\gamedata\ ModUpdater APOL"
or whatever the correct directory structure is... right? |
Well, that won't work because of the space before "ModUpdater", and also you'd need to put quotes round everything except the command line argument because the path contains a space (in "Program Files"). With those two changes it should work, but possibly it's easier to open a command prompt and browse to the correct directory and run it from there (that way you'll be able to just type "ModUpdater APOL", and you'll be able to see the feedback).
Last edited by J Bytheway on 03-06-2004 at 01:39
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:35. Apolyton Time is 00:35. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|