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 > Miscellaneous > Archive > CtP2-Creation/AI/Mods/Scenarios-Archive > MOdswapper....
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Talwyn is offline Talwyn
Settler

Dec 2002
time: 05:24
  Old Post 07-12-2002 07:59 Visit Talwyn's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
MOdswapper.... Increase Your PM Length

Is there any documentation on how this program works?

I'd like to create mods but keep the changes isolated from my system files.

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:24
  Old Post 07-12-2002 15:54 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

Not sure if there's any documentation (tried the readme?) but it's easy.

Just create a PREFIX_gamefile.txt file in which you keep track of which files should be used by the mod (and use duplicates of the files you change with the same prefix - the same prefix isn't necessary but it's less confusing than giving every file it's own unique prefix ). ModSwapper looks for any *_gamefile.txt files so your prefix can be anything as long as no other mod already used it (which would force users of your mod to manually rename file(s)).

The PREFIX_gamefile.txt file should be of the same format as the regular gamefile.txt files except that you should add 3 things at the bottom of the file: (1) the name of your mod (as it should be displayed in ModSwapper), (2) what file to use for newsprite.txt and (3) what file to use for Great_Library.txt (due to bugs these last two aren't read properly otherwise).

Keep in mind that the language-specific files are all stored in strings.txt, so you effectively have to do the same thing with strings.txt in the english folder as you do for the gamefile.txt in the default folder (and make the new gamefile.txt refer to the proper strings.txt file of course).

Look at the CRA/APOL/MM2_gamefile.txt (and *_strings.txt) files for examples.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:24
Post  Old Post 07-12-2002 23:03 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Increase the size of your Attachments

quote:
Originally posted by Locutus
The PREFIX_gamefile.txt file should be of the same format as the regular gamefile.txt files except that you should add 3 things at the bottom of the file: (1) the name of your mod (as it should be displayed in ModSwapper), (2) what file to use for newsprite.txt and (3) what file to use for Great_Library.txt (due to bugs these last two aren't read properly otherwise).


That is not correct you don't have to add these files at the end of the *_gamefile.txt because of bugs. The fact that the game reads these files is just hard encoded and not written into the gamefile.txt. There is a difference between bugs and the way how to implement stuff.

-Martin

Maquiladora is offline Maquiladora
Emperor

Jun 2001
time: 05:24
  Old Post 08-12-2002 00:23 Visit Maquiladora's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Lose 30 kilos (of popups)

Also, I usually create a scenario directory for a mod, or if i want to test one specific part of someone else's mod, ie Diplomod. Its easy to make quick changes this way.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:24.
Apolyton Time is 00:24.
    top of page
Rate This Thread:
archivepost
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.0413 seconds (87.49% PHP - 12.51% MySQL) with 31 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