Thread Tools
Old April 26, 2002, 16:06   #1
Grail Quest
Chieftain
 
Grail Quest's Avatar
 
Local Time: 23:38
Local Date: October 31, 2010
Join Date: Mar 2002
Location: BC, Canada
Posts: 57
Wrong Faction Bases
I was playing against the AI. 7 Factions in all. It's about 100 turns into the game, and there are maybe over 100 bases on the map (the AI factions ended up pretty close to each other, and crunched out bases within 2 squares of each other -- especially the Usurpers, for some reason).

Everything seems OK, until the latest time I open the game to resume. Suddenly, the Consciousness is using the Pirates' base pics, the Usurpers have the Caretakers', the Spartans have the Believers (who aren't even in the game)...

No errors, no nothing. Not sure if the factions are still "themselves", but it sure was wierd.

Is this:

(a) a bug
(b) corrupted save file
(c) corrupted game file
(d) something else
Grail Quest is offline  
Old April 26, 2002, 17:59   #2
RedFred
ACDG3 Gaians
King
 
RedFred's Avatar
 
Local Time: 16:38
Local Date: October 31, 2010
Join Date: Jun 1999
Location: Vancouver
Posts: 1,447
For some reason I see this a lot in MP games, but I have never seen it in Single Player mode.
RedFred is offline  
Old April 26, 2002, 18:45   #3
Mongoose
ACDG The Free Drones
King
 
Local Time: 18:38
Local Date: October 31, 2010
Join Date: Apr 1999
Location: Harrisburg,PA USA
Posts: 2,244
(d) something else

When you LOAD a SMAX game, the factions' colors and graphics are determined by the 'factions section' (for want of a better term) in AlphaCentauri.ini. Sample:

Faction 1=CYBORG
Faction 2=ANGELS
Faction 3=PEACE
Faction 4=UNIV
Faction 5=GAIANS
Faction 6=CARETAKE
Faction 7=USURPER

So, what you're seeing, I believe, is the faction sequenced graphics from your last started game. For my SMAX pbems, I keep a seperate AC.ini file for each. Prior to playing my turns, I swap out the old and in the correct AC.ini file, to avoid the confusion of mismatched graphics. IIRC, there is another way to acomplish this...something about creating scenario folders maybe. *shrugs* Never learned it, never used it. My way is a bit cumbersome, but it works and I understand it.

If you opt to create those seperate .ini files, the faction names in the section shown above must match the corresponding *.txt file name. Hope that's clear.
Mongoose is offline  
Old April 26, 2002, 19:17   #4
johndmuller
Alpha Centauri PBEMACDG Peace
King
 
johndmuller's Avatar
 
Local Time: 18:38
Local Date: October 31, 2010
Join Date: Feb 2001
Location: Capitol Hill, Colony of DC
Posts: 2,108
In SMAX, the current factions are listed in the Alpha Centauri.ini file like so:
Faction 1=PIRATES
Faction 2=GAIANS
. . . . .
Faction 7=ANGELS.

If you only have SMAC or have yet to start a SMAX game, you don't have those lines in the file. Whenever you start a new SMAX SP game, it replaces the list with whatever factions you are using in the new game.

When you play an already started MP game, it does not refresh the faction list with the ones in use in the MP game; however, it does use the .ini file list to decide which graphics to use. This leads to the change in colors, bases, leaders, and whatever else. I don't believe that it affects anything really significant, like the personalities of the AI, but it is at the very least disconcerting, and at worst, difficult to play, especially if the color scheme leads to nearly illegible unit and base flags which have virtually no difference between the foreground and background colors . I find this particularly problematic when the Spartans are involved as the actual faction in the game (or possibly also when the Spartans are inauspiciously positioned in the .ini file - my theory is that there is a special hard-wired treatment for the Spartan faction forcing a light foreground color to accomodate their black background (it is the lack of the forced light foreground that screws up the presumed Spartan faction when they are mismatched in the game and .ini file. I don't think that there are any other factions which have this problem, but I could be wrong, as there are still some factions I have not experienced in PBEM.

If you want to fix it, just redo the list in the .ini file, either by starting a new SP game with the factions you want, or just directly editing the file. You could change the list before starting each PBEM, but if you play a lot of PBEMs, you might want to figure out a set of factions that you can live with and just put that in there. Unless you are careful to put the Spartans in the correct place, it is probably best to avoid using them in your list. As to the bases and faces, either put in the correct list, or get used to it .

Sorry for the cross posted essentially duplicitive posting (but not sorry enought to delete it all after taking the trouble to write it in the first place).
johndmuller is offline  
Old April 26, 2002, 19:17   #5
mark13
ACDG The Free Drones
King
 
mark13's Avatar
 
Local Time: 23:38
Local Date: October 31, 2010
Join Date: Sep 2000
Location: Northampton, England
Posts: 2,128
Yeah - my guess is you've started another SP game in the meantime, and the .ini file (which determines graphics) has changed to whatever factions you set that up with.

The easiest fix is simply to start another SP game with the factions you have in the original game (in the same order), quit it, and reload the game - that should fix the problem.
mark13 is offline  
Old April 26, 2002, 19:18   #6
mark13
ACDG The Free Drones
King
 
mark13's Avatar
 
Local Time: 23:38
Local Date: October 31, 2010
Join Date: Sep 2000
Location: Northampton, England
Posts: 2,128
x-post with jdm - yep.
mark13 is offline  
Old April 28, 2002, 16:34   #7
Darius
Prince
 
Darius's Avatar
 
Local Time: 18:38
Local Date: October 31, 2010
Join Date: Mar 2000
Location: Connecticut, USA
Posts: 883
Quote:
Originally posted by Mongoose
For my SMAX pbems, I keep a seperate AC.ini file for each. Prior to playing my turns, I swap out the old and in the correct AC.ini file
I've been trying to automate this process. In other words, once the new .ini file is set up for a particular game, I'd like to be able to have a batch file automatically replace the generic "Alpha Centauri.ini" file with the specific "game_x.ini" file and then run terranx.exe. But the only way I know to do this is using a DOS batch file, and it doesn't work because DOS can't deal with the space character in the "Alpha Centauri.ini" filename. Does anyone know how I can do this?
__________________
"I love justice, I hate iniquity. It is not my pleasure that the lower suffer injustice because of the higher." - Darius I, 550-486 BC
Darius is offline  
Old April 29, 2002, 02:55   #8
johndmuller
Alpha Centauri PBEMACDG Peace
King
 
johndmuller's Avatar
 
Local Time: 18:38
Local Date: October 31, 2010
Join Date: Feb 2001
Location: Capitol Hill, Colony of DC
Posts: 2,108
Darius, I think that if you put the filename in quotes it will work - as in:

Copy game_x.ini to "Alpha Centauri.ini"

You might also have to deal with the rest of the path in a similar fashion (Sid M's Alpha Centauri directory name also has spaces in it) depending on exactly how/from-where you were planning to execute this command.

I suppose you could also arrange to set/reset the various options to things you like that may chronically be set differently in some games - so you can get your planes snatched out of your control into an unwanted base for a pit stop if you like that option and can't remember to set it each turn . (Although some of those settings may be overwritten when the game loads anyway.)
johndmuller is offline  
Old April 29, 2002, 05:38   #9
Chowlett
Alpha Centauri PBEM
King
 
Chowlett's Avatar
 
Local Time: 23:38
Local Date: October 31, 2010
Join Date: May 1999
Location: of Candle'Bre
Posts: 1,804
The other option is to use DOS's internal 8.3 naming convention, which it applies to all files. Basically, this consists of truncating a filename by removing all spaces, then taking the first 6 characters and placing ~x after them, where x is a number (usually 1, depends on if there are other files with the same first 6 characters)

For example, the folder "My Documents" can be referenced as mydocu~1. You can check the DOS name by accessing the properties sheet for the file from the right-click menu.
__________________
The church is the only organisation that exists for the benefit of its non-members
Buy your very own 4-dimensional, non-orientable, 1-sided, zero-edged, zero-volume, genus 1 manifold immersed in 3-space!
All women become like their mothers. That is their tragedy. No man does. That's his.
"They offer us some, but we have no place to store a mullet." - Chegitz Guevara
Chowlett is offline  
Old April 29, 2002, 06:33   #10
Darius
Prince
 
Darius's Avatar
 
Local Time: 18:38
Local Date: October 31, 2010
Join Date: Mar 2000
Location: Connecticut, USA
Posts: 883
I tried using the ~1 thing. But when I executed the command copy game_x.ini alphac~1.ini intending to replace "Alpha Centauri.ini", it instead created a new file actually called "alphac~1.ini". And if I leave the space in, it doesn't work either.

I will try it with quotes after work today.
__________________
"I love justice, I hate iniquity. It is not my pleasure that the lower suffer injustice because of the higher." - Darius I, 550-486 BC
Darius is offline  
Old April 29, 2002, 19:29   #11
Darius
Prince
 
Darius's Avatar
 
Local Time: 18:38
Local Date: October 31, 2010
Join Date: Mar 2000
Location: Connecticut, USA
Posts: 883
The quotes around the file name worked. (Thanks, JDM.) Thanks to Mongoose and johndmuller's tips, I've set up a batch file that sets up a proper colors for a particular game and then launches it. I'll post more here tomorrow when I have more time.
__________________
"I love justice, I hate iniquity. It is not my pleasure that the lower suffer injustice because of the higher." - Darius I, 550-486 BC
Darius is offline  
Old April 29, 2002, 22:11   #12
big_canuk
ACDG3 Gaians
King
 
big_canuk's Avatar
 
Local Time: 18:38
Local Date: October 31, 2010
Join Date: Jul 2000
Location: Leamington, ON, Canada
Posts: 1,167
So, this is the answer I've been looking for.

I keep a separate folder for each game, with the game saves, my notepad file on the game, and a link to the appropriate turn tracking thread. I will now keep a launch game batch file.

It will:

1. copy the appropriate ini file to alpha centari.ini
2. launch smac or smax as appropriate.

This will solve the improper faction problem *and* avoid the problem of starting smax for smac games (though I don't do that too often anymore)

Now, how to I make a batch file??? (I used to know in dos)

bc
big_canuk is offline  
Old April 29, 2002, 22:20   #13
Darius
Prince
 
Darius's Avatar
 
Local Time: 18:38
Local Date: October 31, 2010
Join Date: Mar 2000
Location: Connecticut, USA
Posts: 883
Please see the procedure I have posted in this thread
__________________
"I love justice, I hate iniquity. It is not my pleasure that the lower suffer injustice because of the higher." - Darius I, 550-486 BC

Last edited by Darius; April 30, 2002 at 21:06.
Darius is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 19:38.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team