Results 1 to 4 of 4

Thread: MOdswapper....

  1. #1
    Talwyn
    Settler Talwyn's Avatar
    Join Date
    02 Dec 2002
    Posts
    6
    Country
    This is Talwyn's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 20, 2013
    Local Time
    07:38

    MOdswapper....

    Is there any documentation on how this program works?

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

  2. #2
    Locutus
    Deity Locutus's Avatar
    Join Date
    23 Nov 1999
    Location
    De Hel van Enschede
    Posts
    11,706
    Country
    This is Locutus's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 20, 2013
    Local Time
    09:38
    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.
    Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

  3. #3
    Martin Gühmann
    Administrator Martin Gühmann's Avatar
    Join Date
    02 Mar 2001
    Location
    Tübingen, Germany
    Posts
    7,246
    Country
    This is Martin Gühmann's Country Flag
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Local Date
    May 20, 2013
    Local Time
    09:38

    Post

    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
    Civ2 military advisor: "No complaints, Sir!"

  4. #4
    Maquiladora
    Emperor
    Join Date
    17 Jun 2001
    Posts
    7,714
    Country
    This is Maquiladora's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 20, 2013
    Local Time
    08:38
    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.
    Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
    CtP2 AE Wiki & Modding Reference
    One way to compile the CtP2 Source Code.

Similar Threads

  1. Modswapper
    By tenpercenter in forum CtP2 Creation
    Replies: 3
    Last Post: August 2, 2004, 14:31
  2. modswapper
    By Prince Vlad III in forum CtP2-General/Help/Strategy/Multiplaying-Archive
    Replies: 1
    Last Post: December 20, 2003, 17:04
  3. Modswapper
    By Turambar in forum CtP2-Creation/AI/Mods/Scenarios-Archive
    Replies: 4
    Last Post: July 4, 2002, 18:40
  4. Modswapper
    By asoulie in forum CtP2-General/Help/Strategy/Multiplaying-Archive
    Replies: 2
    Last Post: November 28, 2001, 15:04
  5. How do I use Modswapper???
    By HisMajestyBOB in forum CtP2-Creation/AI/Mods/Scenarios-Archive
    Replies: 4
    Last Post: August 4, 2001, 07:54

Visitors found this page by searching for:

modswapper how to

call to power 2 modswapper

modswapper apolyton.net

Bookmarks

Posting Permissions