Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Call To Power II > CtP2-Source Code Project > PROJECT: Mod updating tool
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
CivGroups
CTP2 Source Code Project (59): Not a Member - Join

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:35
  Old Post 13-04-2004 03:08 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
PROJECT: Mod updating tool Got spare money?

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

johnc214 is offline johnc214
Chieftain
Dallas, TX
Dec 2001
time: 23:35
  Old Post 02-06-2004 04:21 Visit johnc214's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Ok maybe I'm being dense, but can you elaborate on the installation instructions? I'm not getting it to work right, but I'm just doing something wrong. Maybe I need a nap. LOL

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:35
  Old Post 02-06-2004 11:40 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Inflate your Upload Space

Installation? Unzip it into the ...\ctp2_data\default\gamedata\ directory. What more can I say?

Flinx is offline Flinx
Prince
Toronto, ON CANADA
Nov 2001
time: 00:35
  Old Post 02-06-2004 19:46 Visit Flinx's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Re: PROJECT: Mod updating tool Support Apolyton, buy Civilization 2

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 is offline J Bytheway
Emperor
England
Jul 2001
time: 05:35
  Old Post 02-06-2004 23:25 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton buy from Amazon

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

Flinx is offline Flinx
Prince
Toronto, ON CANADA
Nov 2001
time: 00:35
  Old Post 03-06-2004 00:47 Visit Flinx's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Well that was what I was trying to get at. Thanks.

Without the space this is what you get:

code:
"C:\Program Files\Activision\ctp2\ctp2_data\default\gamedata\M odUpdater APOL"

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:35
  Old Post 03-06-2004 01:40 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Increase Your PM Length

quote:
Originally posted by Flinx
Without the space this is what you get:
code:
"C:\Program Files\Activision\ctp2\ctp2_data\default\gamedata\M odUpdater APOL"


What you want is:

code:
"C:\Program Files\Activision\ctp2\ctp2_data\default\gamedata\M odUpdater" APOL


But without the wierd wrapping - I don't know what's causing that...

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:35.
Apolyton Time is 00:35.
    top of page
Rate This Thread:
Forum Jump:
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
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0312 seconds (85.70% PHP - 14.30% MySQL) with 36 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net