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

0 Members and 2 Guests are viewing this topic.

Offline sisko

  • Emissary AND Founder
  • Administrator
  • *
  • Posts: 2973
  • €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 »
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 »
Thx, very helpful!

Offline sisko

  • Emissary AND Founder
  • Administrator
  • *
  • Posts: 2973
  • €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 »
@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?

Offline Buster's Uncle

  • With community service, I
  • Ascend
  • *
  • Posts: 49332
  • €794
  • View Inventory
  • Send /Gift
  • Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  A WONDERFUL concept, Unity - & a 1-way trip that cost 400 trillion & 40 yrs.  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads 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 »
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)
-=-
24 (7%)
XP Compatibility patch
-=-
9 (2%)
Gog version for Windows
-=-
103 (32%)
Scient (unofficial) patch
-=-
40 (12%)
Kyrub's latest patch
-=-
14 (4%)
Yitzi's latest patch
-=-
89 (28%)
AC for Mac
-=-
3 (0%)
AC for Linux
-=-
6 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 314
AC2 Wiki Logo
-click pic for wik-

* Random quote

Richard Baxton piloted his Recon Rover into a fungal vortex and held off four waves of mind worms, saving an entire colony. We immediately purchased his identity manifests and repackaged him into the Recon Rover Rick character with a multi-tiered media campaign: televids, touchbooks, holos, psi-tours? the works. People need heroes. They don't need to know how he died clawing his eyes out, screaming for mercy. The real story would just hurt sales, and dampen the spirits of our customers.
~Morgan Stellartots Keynote Speech 'Mythology for Profit'

* Select your theme

*
Templates: 5: index (default), PortaMx/Mainindex (default), PortaMx/Frames (default), Display (default), GenericControls (default).
Sub templates: 8: init, html_above, body_above, portamx_above, main, portamx_below, body_below, html_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 47 - 1280KB. (show)
Queries used: 42.

[Show Queries]