Author Topic: Solving the faction colors/graphics bug in SMAX  (Read 7703 times)

0 Members and 1 Guest are viewing this topic.

Offline sisko

  • Emissary AND Founder
  • Administrator
  • *
  • Posts: 2972
  • €1733
  • View Inventory
  • Send /Gift
  • Try to steal credits from another member!  Try to steal credits from another member!  Try to steal credits from another member!  Try to steal credits from another member!  
  • This place is yours, not mine.
  • Scenario Creator Downloads Contributor
    • View Profile
    • Alpha Centauri 2
    • Awards
Solving the faction colors/graphics bug in SMAX
« on: November 01, 2012, 07:52:19 AM »
  • Publish
  • This info is usefull for all players involved in multiplayer games.

    Every time you play SMAX games built with the scenario editor (which is the case with most PBEM games), the game engine will load the graphics set of the entries found in your "Alpha Centauri.ini" file, which is set by the previous single player game you have played. This means that you will find yourself in a position to play Hive, for example, with the graphics set (flag colors and base graphics) of another faction and find an in-game unit of Sparta with the appearance of a Morganite.  :o
    Now there are some ways to work-around this bug:
    1. you can save a normal (single player) game with the correct faction order (the CMN of the game can provide that to you), and you will load up that save (to alter the .ini file) before loading the MP game.
    2. saving an "Alpha centauri.ini" file for each PBEM game you have and using the iniswap utility made by Mart. i strongly recommend this second option.

    Step-by-step help for the Iniswap tool:
    You can find here the thread were it was originally posted by Mart.

    Description
    This small utility can store a 'Alpha Centauri.ini' file for each of your SMAX PBEMs in a separate folder "Iniswap" in the root game directory. Each file is supposed to have the correct faction order declared for a specific game.
    The utility can swap the correct 'Alpha Centauri.ini' file just before you load your PBEM to ensure correct graphics in game. It is designed to fix this SMAX bug (you don't need it for SMAC PBEMs) as effortlessly as possible.

    Should work under Windows 95/98/ME/NT/2000,XP and any modern OS although not all of these operating systems have been tested.

    Step 1: Download
    See attachment.

    Step 2: 'Installation'
    Unzip the archived file and place iniswap.exe into the SMAX root game folder
    (that's usually the 'Sid Meier's Alpha Centauri' folder).



    Step 3: First execution
    During its first execution, the utility will ask you for permission to create "Iniswap" folder. Do that.



    If you refuse it will quit. It's designed to work only in the main game root folder. The utility will not work otherwise.

    Now you should have an empty 'Iniswap' directory like this:



    Step 4: Saving an 'Alpha Centauri.ini' file with the correct faction order

    4.1 Find out the correct faction order in you game:
    - if you have a CMN (and he didn't post it in the setup or in the TTT thread),  you should ask him.
    - if you don't have a CMN you'll have to figure it out all by yourself.

    4.2 Modifying the .ini file (you have 2 options here):
    4.2.1 use SMAX to modify the 'Alpha Centauri.ini' file
    Start a regular game with the seven factions in the correct order (size of map, diff level etc don’t matter) then exit just after the colony pod has landed. This way your .ini file now records the seven factions that you want in your game. Now, you have to start the iniswap tool and use the 'Add existing file' button of the application.



    This will open a new window where you can enter a name for the .ini file.
    In this case I will call it 'WePlaySMAC' so I can remember to use it for the 'WePlaySMAC' PBEM.



    4.2.2 use a text editor like Notepad, Wordpad,.. to modify it by yourself.
    Find you 'Alpha Centauri.ini' file in the main game folder and open it with a text editor (Wordpad, Notepad, etc). Find the lines with the faction order and replace them with the correct faction order provided by the CMN of the game.

    Repeat Step 4 for all your SMAX games.
    This way you will have a ini file for every SMAX game that you are playing.

    Step 5: Using the stored ini files
    All you have to do is forget the way you were starting SMAX before and instead open the iniswap tool and double click on the name of the ini file with the correct faction order for the game you want to play. In my case this will be: 'Alpha Centauri_WePlaySMAC.ini'



    This will start SMAX and when you load the game you'll have all the faction with their correct graphic set.
    « Last Edit: January 17, 2015, 03:42:41 PM by sisko »
    Anyone else feels like it's time to fix the faction graphics bug?

    Offline Armageddon

    Re: Solving the faction colors/graphics bug in SMAX
    « Reply #1 on: November 01, 2012, 08:22:16 AM »
  • Publish
  • Thx, very helpful!

    Offline sisko

    • Emissary AND Founder
    • Administrator
    • *
    • Posts: 2972
    • €1733
    • View Inventory
    • Send /Gift
    • Try to steal credits from another member!  Try to steal credits from another member!  Try to steal credits from another member!  Try to steal credits from another member!  
    • This place is yours, not mine.
    • Scenario Creator Downloads Contributor
      • View Profile
      • Alpha Centauri 2
      • Awards
    Re: Solving the faction colors/graphics bug in SMAX
    « Reply #2 on: November 01, 2012, 11:11:18 AM »
  • Publish
  • @Armageddon: let me know if you need the faction order in some other games.
    Anyone else feels like it's time to fix the faction graphics bug?

    Online Buster's Uncle

    • Someday, I
    • Transcend
    • *
    • Posts: 45123
    • €986
    • View Inventory
    • Send /Gift
    • Someone thinks a Winrar is You!  Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  
    • AC2 is my instrument, my heart, as I play my song.
    • Planet tales writer Smilie Artist Custom Faction Modder Downloads Contributor AC2 Wiki contributor
      • View Profile
      • My Custom Factions
      • Awards
    Re: Solving the faction colors/graphics bug in SMAX
    « Reply #3 on: August 16, 2015, 04:31:00 AM »
  • Publish
  • The MP faction graphics bug needs fixing -not least so sisko's sig will stop shouting.

    Nomination accepted.
    ;shake ;shake ;shake

     

    * User

    Welcome, Guest. Please login or register.
    Did you miss your activation email?


    Login with username, password and session length

    Select language:

    * Community poll

    SMAC v.4 SMAX v.2 (or previous versions)
    -=-
    16 (6%)
    XP Compatibility patch
    -=-
    8 (3%)
    Gog version for Windows
    -=-
    66 (27%)
    Scient (unofficial) patch
    -=-
    24 (10%)
    Kyrub's latest patch
    -=-
    14 (5%)
    Yitzi's latest patch
    -=-
    83 (34%)
    AC for Mac
    -=-
    2 (0%)
    AC for Linux
    -=-
    5 (2%)
    Gog version for Mac
    -=-
    10 (4%)
    No patch
    -=-
    11 (4%)
    Total Members Voted: 239
    AC2 Wiki Logo

    * Random quote

    It is every citizen's final duty to go into the tanks, and become one with all the people.
    ~Chairman Sheng-ji Yang 'Ethics for Tomorrow'

    * Select your theme

    *