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 > Alpha Centauri > AC-Creation > Iniswap - tool solving faction graphics bug
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
16.Sep: ZAKHAROV TURNS ELEVEN
15.Sep: `POSSIBILITY` IS ALL FOR NOW
15.Sep: THE SINGULARITY CONNECTION

bottom of page
  - ALPHA CENTAURI PC $9.99 - Centauri Dawn $6.50 - Dragon Sun $6.99 - Twilight of the Mind $6.99 - Power of the Mindworms $8.95 - ALPHA CENTAURI MAC $19.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
mart7x5 is offline mart7x5
King

Sep 2002
time: 22:16
  Old Post 22-12-2004 21:53
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Iniswap - tool solving faction graphics bug Increase the size of your Attachments

Iniswap for SMAX in Windows

Ready for testing

Description
This small utility stores Alpha Centauri.ini files in a separate folder "Iniswap" in the root game directory. Each file is supposed to have correct "FACTION X=" declaration for a specific game. It can swap the correct ini file just before the given game to ensure correct graphics in game. It is designed to make fixing this Smax bug as effortlessly as possible.

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

Installation
For security of your Alpha Centauri.ini file, make its backup. I strongly urge you to do so.

Unzip the iniswap.zip file and place iniswap.exe into the SMAX root game folder. During its first execution, the utility will ask you for permission to create "Iniswap" folder. If you refuse it will quit. It is designed to work only in the main game root folder. There is a detection if it is so, though not very elaborate. The utility will not work otherwise.

Use of Iniswap

1. QUIT - does just that

2. Add current - copies current Alpha Centauri.ini file to the Iniswap folder with the addition of a short name. You will be asked for it in a separate dialog box. Do not make the name too long - Windows has this file feature limitted. "Pbem one" or "Acdg3" are good examples.

3. Delete - Select a desired ini file from the list to the left so it is highlighted and push "Delete" button. This will delete the selected ini file from Iniswap folder.

4. About - just tells a little bit more about Iniswap

5. In order to replace an ini file from root folder with the one in your list in the Iniswap folder, just doubleclick the file in the list. It will be copied to the main root folder of the game overwriting the previous one.

6. Remember that ini files in the Iniswap folder do not get automatically updated as the ini file in the main root folder gets changed. Do not be surprised that your Latest Map option or Latest Save option are different that those before the swap made by Iniswap. This might be corrected, but writing to ini file would be necessary. It might be a topic for a new small project in the future.

7. A practical note. Make a shortcut to Iniswap on your desktop next to Terranx.exe shortcut. Start it just before you "fire up" the game. Replacement should take you just 3-5 seconds. That's it. In order to build the "library" of ini files in Iniswap folder, you will have to have first the correct ini file in the root game folder, this utility does not build ini file from scratch. You can make the correct ini file by previously advised methods. Starting the game with correct factions for example.

8. Finally - License. It is freeware. It is NOT designed to screw up your system or game installation, but use caution. Thus, please use it on your own risk. It has not been also created to infringe SMAX creators and owners rights to the game, but it helps to go around some not yet fixed "bug" in the game, which for some players significantly detorirates the experience of playing it.

------------------
If anyone would like to test it, I will appreciate it.
Also if anyone finds it usefull, that's great.

Attachment: iniswap.zip
This has been downloaded 8 time(s).

#endgame is offline #endgame
Prince
of the town of ZZT
Dec 2003
time: 15:16
  Old Post 24-12-2004 16:32
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton or Terrorists Win

Nice.

I'd suggest a couple of things though:

Doubleclick an ini and it should backup the old one, run smax then swap back.

Also, perhaps if you include the launcher like I suggest, make a run SMAC option?



Any chance of seeing the source?

mart7x5 is offline mart7x5
King

Sep 2002
time: 22:16
  Old Post 24-12-2004 18:01
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Put an end to popups!

Thank you for your feedback.

Making a backup will be added.

Running smax from Iniswap is possible. I do not see though the need for smac though, as you do not need to declare faction order for original smac. I can make terranx.exe to execute right away after faction order correction, omitting axstart.exe - which shows screen in planetary pack for example allowing to choose smac/x.

As I see it now, probably writing to ini file will be better than reverting to previous ini file - just to preserve updated settings as the game executes. There is also, at least in my ini file, some very long string at some point and I found its cutting might make problems (its empty spaces anyway), so maybe binary reading/writing might be better here.

Do you use IBasic, by any chance? It's IBasic Pro actually, and recently was in phase of beta-testing, but maybe I can reveal the code. Note though, that it is not c++ or similar, it is quite specific, but algorythm is just a simple matter here.

#endgame is offline #endgame
Prince
of the town of ZZT
Dec 2003
time: 15:16
  Old Post 25-12-2004 03:23
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton buy from Amazon

No idea what IBasic is, I was just curious as to how you did it.

Your point regarding terranx.exe is valid, I haven't run axstart.exe for...no idea how long now.

As to reverting, that's also a good point, since you'll have a config for each game you play.

mart7x5 is offline mart7x5
King

Sep 2002
time: 22:16
  Old Post 25-12-2004 16:51
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

quote:
Originally posted by #endgame
As to reverting, that's also a good point, since you'll have a config for each game you play.

I mean, that it might be a bit annoying, that some of the ini file changes will not be updated in all your files for particular games. These features like:
- last map
- last game
- last scenario
- gamma correction
they are updated in the ini file - main one - when your change them. Reverting would overwrite these. You would probably not want that in these cases.

So some entries might be specific to a particular game while other are preffered to be the same for all of the files. The question is which of them.

Also I hope that players will be quite consistent in which entries are going to be always common and which always specific (like faction declarations for example). If oppinions differ, then I would stick to faction declarations only.

Endgame, what is your preference to ini entries?

#endgame is offline #endgame
Prince
of the town of ZZT
Dec 2003
time: 15:16
  Old Post 26-12-2004 05:14
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Rather than relying on the players to be consistent in what options to import/export, why not just parse the ini file (surely there are pre-written ini parsers to avoid reinventing the wheel) and allow the user to export the features they want (e.g. an ACDG settings set would probably be factions-only.)

I'm going away tomorrow and probably won't be able to check this forum for a while, but keep up the development and I'll be sure to see what you make when I get back (~18 Jan 2005).

mart7x5 is offline mart7x5
King

Sep 2002
time: 22:16
  Old Post 11-02-2005 02:47
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

No big interest in the idea I see.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:16.
Apolyton Time is 00:16.
    top of page
Rate This Thread:
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.0343 seconds (89.39% PHP - 10.61% MySQL) with 30 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