Civilization Gaming Network Forums - Archive  

Go Back   Civilization Gaming Network Forums - Archive > Game Forums > SMAC/X - General/Help/Strategy

Thread Tools Search this Thread
Old 8th May 2010, 01:58
scient's Avatar
scient scient is offline
Join Date: Jul 2009
Posts: 293
Arrow [Patch] Unofficial SMAC/X Patches Version 1.0

Moderator's Note: The attachment is a zip file because the 7z file type for attachment was not available. It will be used for the next release.


This is a comprehensive set of fixes to bugs, crashes, and exploits found in Sid Meier's Alpha Centauri (SMAC) and Alien Crossfire (SMAX). The primary goal of this project is to try and fix all the bugs left after the official patches. Also, a secondary objective is to expand the games features without modifying the existing mechanics to give modders more freedom.

Feel free to share this with your friends. I only ask that this readme is included. Currently the unofficial patch is only hosted on CGN forums and WPC forums. If you're interested in hosting it somewhere else I'd appreciate it if you contacted me first.

I juggle working on this unofficial patch project along with another one for the classic isometric RPG Planescape: Torment (shameless plug). So while I may not release any updates for periods of time this project is not dead. I'm just very busy with multiple commitments. If you're interested in helping out in any capacity such as testing or bug fixing please contact me. Also, I'm looking for anyone who can put me in touch with people who have worked on the development of either SMAC or SMAX.

I would like to state that I have no problem with other modders building off of my work under two conditions. If you'd like to use this patch as a starting point for your own project then contact me first as well as give credit to me and those credited below.

I encourage you to report any bugs/crashes/exploits or just ideas on CGN forums which has become the primary home of this project. You can also contact me on WPC, Apolyton, CFC or SHS forums.

  • Install the game.
  • Next install official patches:
  • Next install unofficial patch: Back up the original .exe files from your installation directory then copy over ones from unofficial patch archive. Note, the steps below are written as if you have both SMAC and SMAX installed. If you only have one game installed, you would only follow steps for that games .exe. For example, you don't need the SMAX exe if you only have SMAC installed.
    1. Download the unofficial patch .7z file and extract the contents to a new folder. You can do this using 7-Zip or WinRAR.
    2. Find the original .exe files from your installation directory. You can check where these are located by right clicking your shortcuts to the game and viewing properties.
    3. Browse MY COMPUTER or COMPUTER to the path shown in the shortcuts.
    4. Find the 2 following .exe files named: terran.exe (SMAC) and terranx.exe (SMAX).
    5. With each of these .exe files right click and rename them by adding ORIGINAL after the .exe. Your 2 .exe files should say: terran.exeORIGINAL and terranx.exeORIGINAL when step #5 is completed.
    6. Browse to the folder you created in step #1 and right click both files and CUT.
    7. Return to the path or folder/file location you used in step #5. Right click anywhere in the unused white space of the window where other files are located and PASTE.
    8. Done!
  • Optional modifications:
    • [If you use scenario editor (ie. cheat mode)] Apply fix in non-engine patches section. The reason the files aren't included prepatched is because many people have modified versions of them. This fix is primarily geared toward modders.
    • [If you've set ForceOldVoxelAlgorithm entry in "Alpha Centauri.ini" to 1] Either delete the entire entry or set it back to 0. The unofficial patch should fix the crash associated with it being set to 0. This is recommended because it should give you a performance boost, see fixes section for more details. However, if you still experience the crash then set it back to 1.
    • [If you own Planetary/Laptop pack or SMAX] GooglyBoogly has done a great job revising and updating SMAX's Datalinks. See link for more details.

Engine Fixes
  1. [CRASH][SMAX] If you open up Design Workshop as Caretakers/Usurpers and switching back and forth between colony pod and other "equipment" you can cause text in "special ability" to become overwritten and crash once you exit Design Workshop. Patch increases memory allocation used to manipulate the caviar animation files (cvr) and may fix other buffer related problems other than the one noted. (credit to WBird784 for original patch)
  2. [CRASH] It is possible usually on larger maps that scrambling air interceptors would cause the game to crash. Even when the game didn't crash incorrect altitude values were being used in checks. Both of these have been fixed.
  3. [CRASH] When moving units near or at the poles, it is possible for y coord to exceed the map bounds and crash the game. Patch adds handling to prevent y coord from going over min/max.
  4. [CRASH/MISC] Removed and optimized out a number of CPU checks which serve no purpose unless you're using a 15 year old computer. In some cases, these checks actually prevent the game from starting on newer CPU's causing them to exit out or crash. Because of these changes, you now shouldn't need to set ForceOldVoxelAlgorithm to 1. It is recommend that if you've already set it to 1 to either change it back to 0 or delete the entry entirely causing the game to automatically reset it to 0 on launch. Doing so may improve performance since setting ForceOldVoxelAlgorithm to 0 enables SMAC/SMAX to use your CPU's MMX capabilities for voxel algorithm.
  5. [BUG][SMAX] Transport unit's special ability "Repair Bay" is rendered useless due to an incorrect check that would only give the healing bonus to ground transports. Now, it will give bonus to all ground units except ground transports.
  6. [BUG][SMAX] Enhanced probes (Algorithmic Enhancement) are now able to mind control bases/units normally immune due to high SE morale as stated in SMAX manual. For units it's purely the morale SE value so >=3 acts as if it were 2 (cost doubled). For bases, the value is calculated from morale SE and any base facility modifiers (Covert Ops: +2, Genejack: -1). If final value is >=3, it acts as if it were 2.
  7. [BUG][SMAX] While loading the ambient sound file for game, there is a mistake in faction id check for Believers causing it to use SMAX default of "aset1.amb". Patch fixes check so Believers will now use their correct ambient sound file "bset1.amb".
  8. [BUG][SMAX] Enhanced probes don't receive a penalty to survival probability when target faction has built Hunter-Seeker Algorithm. Instead, the success probability is erroneously given the penalty for a second time after it has already been displayed in UI. This could cause diminished success rate when it should have been higher. Patch corrects check so survival rather than success probability is modified.
  9. [BUG][SMAX] Sealurk units now do not get a penalty when moving onto Sea Fungus like Isle of Deep.
  10. [BUG] If a faction's cumulative PROBE value is greater than 3 (SE morale, covert ops center) it is possible to "mind control" their bases when they should be immune. If the University uses SE Knowledge putting PROBE value down to -4, it would act as if it were 0 erroneously increasing "mind control" costs. After patch, PROBE values greater than 3 will always be immune to regular probes and values less than -2 will be treated as if they were -2.
  11. [BUG] Fixed a check that was ending the turn for certain air units (choppers/missiles/grav) when entering a base which had no adjacent enemy units. There is still a check which will end the unit's turn if when entering a base it has less then one turn remaining unless an enemy is adjacent to base.
  12. [BUG] Using "Go to home base" (shift-g) command sends the unit to closest base rather than it's actual home. Patch retrieves unit's home base and sets a "go to" waypoint similar to how a unit is recalled from within base UI. If a home base cannot be found (independent) the unit will go to the nearest base.
  13. [BUG/EXPLOIT] Setting more than one patrol waypoint with spacebar causes the values to be stored incorrectly. If only two waypoints are set then it is just a display issue showing an incorrect amount of waypoints when clicking on unit. If three waypoints are set, it causes the unit's morale to be set as one of coordinates usually boosting it to demon boil / elite status. Also, with three waypoints the final waypoint gets set to some far off random location usually (0,0) breaking three point patrol completely.
  14. [EXPLOIT] Using the right click menu to airdrop calls the "move to" code directly and bypasses all the checks such as if unit is in airbase/base or has already moved. Since the airdrop hotkey "i" correctly checks these restrictions, the patch makes the right click menu use the hotkey checks before directly moving the unit.
  15. [EXPLOIT] Inside base UI, after opening up the production queue window it is possible to then open the hurry command window, switch between bases and complete projects for less then their actual value. Patch fixes a clean up issue with queue panel preventing certain parts of UI from becoming clickable when they shouldn't.
  16. [EXPLOIT] When clicking on an unexplored tile, the map recenters on that square. However, if the tile contains a base the map doesn't recenter. Patch fixes it so when an unexplored tile with a base is clicked, the game will recenter like the rest of the tiles.
  17. [EXPLOIT] It is possible to change another faction's workers via Base Ops (F4) if you have that faction infiltrated. Patch fixes it so clicking citizens of another faction in Base Ops has no effect similar to garrisoned units.
  18. [EXPLOIT] It is possible to give airdrop or artillery ability to an unit who didn't have it. This is done by using hotkey (I or F) on an unit that has the ability then switching units in bottom center window. The mouse cursor would still have airdrop/artillery up and it is then possible to use it with the new unit bypassing all the checks if unit can use ability. Patch resets the cursor when clicking unit selection window.
  19. [MOD] Squares with both a borehole and nutrient bonus don't receive the nutrient bonus. If the "Borehole Square" nutrient value defined in #RESOURCEINFO (alphax.txt) is set to non-zero, a square with borehole will erroneously act as if it has a nutrient bonus. The patch fixes a check whether or not to give a borehole square a nutrient bonus from checking if borehole nutrient value is non-zero to checking if nutrient bonus is actually present in square.
  20. [MOD] Fixed an unit check to use the "Max artillery range" value defined in #Rules (alphax.txt) rather than a hardcoded value of 2. This fix is geared toward modders so players who use an unmodified version of alphax.txt will see no change.
  21. [MOD] Increasing maximum number of all units on a map from 2048 to over 2 billion (2147483647). Also, increasing value when native life stops spawning due to number of units on map from 1792 to 2147483391 (same difference of 256 between orginal values).
  22. [UI] Removed a check that would while displaying probe success/survival probabilities drop one if they're both the same. For example, (50%, 50%) would just be (50%). This change makes interface a little less confusing.

Non-Engine Fixes
  1. [BUG] Needlejet "DATA" edit window via scenario editor doesn't render properly making stats uneditable. Fixed by adding "#itemlist" to "#EDITVEH2A" inside scripts.txt/xscripts.txt.

So far all patches are done by myself except for one credited to WBird784. I'd like to thank a few people for their work behind the scenes. First off, a big thank you should go out to vyeh for the work he's done in overseeing all the administrative aspects of project. He has definitely helped motivate me by keeping in contact and setting up community at CGN for this project. And credit to Nevill for reporting sightings of me to vyeh. Another big thank you goes to buster (the owner of CGN) for providing dedicated forums for project and being willing to host the unofficial patch. DrazharLn for letting me use his instructions on loading patches used in installation section of readme. chuft for helping moderate and organize project forums on CGN. Darsnan for making playtest scenarios used in testing of fixed game mechanics. GooglyBoogly for his Datalinks update and comprehensive testing of patch changes. BlackCat, Googlie, Illuminatus, Lord Avalon, Mart, Petek, Psyringe, Rubin, WPC forums and anyone else who has reported bugs, given feedback and support to this project. Qwinn for letting me use the html shell of his PS:T Fixpack readme. And of course to the developers of SMAC and SMAX for making two great games even to this day!
Attached Files
File Type: zip (2.77 MB, 6438 views)
Those interested in classic RPG Planescape:Torment might want to stop by the unofficial patches project that I'm part of.

Last edited by vyeh; 18th May 2010 at 19:42. Reason: Added moderator's note; added "and WPC forums"
Old 8th May 2010, 03:30
vyeh's Avatar
vyeh vyeh is offline
Join Date: Dec 2005
Posts: 1,029
Thumbs up [Patch] Comments

Hi! I assume you have just downloaded scient's unofficial patches or are about to.

You are probably skimming this post for news about the next update. We will release another version after a major bug fix. Next steps contains some bugs that will be fixed in the next release. Be sure to check back regularly!

Second, post a comment in this thread. Compliments are nice (the project requires a lot of dedicated volunteers). We also love bug reports, especially accompanied by a save of a game where the bug occurred.

Third, we would love questions or comments about SMAC or our project. The Quick Start will tell you every thing you need to know to start posting.

Fourth, if you are interested in helping us fix bugs:

(1) We need testers. If you are interested, please post.

(2) We would love to have access to someone that worked on Alpha Centauri and Alien Crossfire -- it would help us separate bugs from undocumented features. Our dream list is Brian Reynolds and Brad Oliver.

(3) We would love to get official approval (better yet, we would love the source code).

Fifth, you should check out other SMAC forums, especially CivFanatics, home of the Comprehensive Datalinks Update.

Regardless of whether you stay, we hope you find the unofficial patch helpful.

If you are still reading, let me say that you are most welcome to read and post in this forum. We see ourselves as the safe and sane, not necessarily better, alternative. The other Civ sites are larger and can provide more resources.

CGN's owner is a SMAC fan (also a civ 2 fan). He did not start CGN. In his own words:

Originally Posted by buster
Cgn came into being after Poly banned the founding members (Reismark and Provost Harrisson). They made their own as they had nowhere to go basically. The first 6 months or so of threads are lost as the original free host went bust. I came in just when their original host collapsed and offered to take over the hosting and became part of the management.

CGN always had a freer tone and that attracted many.

Poly also early on ran MP tournaments which then died as the original maintainer left and we then picked up the role of organising these - being for a long time the only site that arranged (provided CMN services and matched players) and kept scores on MP games.

It was never hugely active but it had a lively community until the interest in smac (which always was the most active section) started to wane 3-4 years ago.

Traffic then slowed down and the last year has been very quiet until recently.
I joined Apolyton on December 21, 2005, CGN on December 25, 2005, CivFanatics on May 15, 2006 and WePlayCiv on April 29, 2009. Although I was a strong part of the Apolyton community, CGN was my favorite site. I would come here daily to look at my most recent post in this forum. Six months would go by before my post was bumped down by another poster.

I have many pleasant memories at Apolyton. The best occurred in the spring of 2009 when I worked with scient in fixing bugs.

After the Apolyton community left, we had to find another home. CGN was willing to let us post the patch and spread out.

I sincerely hope you will stay and encourage us. Scient would like people to appreciate his work. And the best way to appreciate his work, besides using it, is to tell everybody (including us) how great it is!

Last edited by vyeh; 19th May 2010 at 09:53.
Old 8th May 2010, 03:56
scient's Avatar
scient scient is offline
Join Date: Jul 2009
Posts: 293
Re: [Patch] Comments

While I subject any patch that I finalize to rigorous testing, please report any problems you encounter specific to patched version (ie. not present in unpatched). Also, let me know if you run into something listed in changelog as fixed but is still bugged or isn't working correctly.
Those interested in classic RPG Planescape:Torment might want to stop by the unofficial patches project that I'm part of.
Old 8th May 2010, 23:01
Rubin's Avatar
Rubin Rubin is offline
Join Date: Jun 2003
Location: Datalinks
Posts: 142
Re: [Patch] Unofficial SMAC/X Patches Version 1.0

Can I resume officially patched single player games with the unofficial patch? Or do I have to start a new game? (savegame compatibility)
Old 8th May 2010, 23:18
scient's Avatar
scient scient is offline
Join Date: Jul 2009
Posts: 293
Re: [Patch] Unofficial SMAC/X Patches Version 1.0

Originally Posted by Rubin View Post
Can I resume officially patched single player games with the unofficial patch? Or do I have to start a new game? (savegame compatibility)
Nothing I change should make saved game incompatible. There shouldn't even be stability issues. Good question by the way.
Those interested in classic RPG Planescape:Torment might want to stop by the unofficial patches project that I'm part of.
Old 9th May 2010, 21:29
Petek's Avatar
Petek Petek is offline
Join Date: Mar 2002
Location: Berkeley, CA
Posts: 199
Re: [Patch] Comments

I can confirm that the "Sealurk moves into fungus" bug has been fixed in the patch. I have a real game (didn't use the scenario editor) with the Gaians in which I captured a Sealurk. I moved it into a fungus tile and it lost only one movement point.

Old 9th May 2010, 21:52
chuft's Avatar
chuft chuft is offline
Join Date: Mar 2010
Posts: 402
Re: [Patch] Comments


I am trying to remember if I have ever captured a sealurk. I wasn't sure it was possible.

Edit: this should make sealurks a little more viable as a unit. I think they are way too high on the tech tree (my mod lowers them way back down the tree) for what is essentially an Isle of the Deep that can't carry passengers.

The only thing sealurks have going for them (other than the sub power, which is useless against the AI) is that they can attack units on the shore, unlike Isles. This is apparently hard-coded since there is nothing in alphax to indicate they have this power.
Old 23rd May 2010, 22:01
BjC BjC is offline
Join Date: May 2010
Posts: 4
Re: [Patch] Unofficial SMAC/X Patches Version 1.0

Thinks! has not crash on windows 7 yet!
Old 23rd May 2010, 22:53
vyeh's Avatar
vyeh vyeh is offline
Join Date: Dec 2005
Posts: 1,029
Re: [Patch] Unofficial SMAC/X Patches Version 1.0

BjC, thanks for the comment. Did you have crashes on Windows 7 before installing the patch?
Old 24th May 2010, 21:38
BjC BjC is offline
Join Date: May 2010
Posts: 4
Re: [Patch] Unofficial SMAC/X Patches Version 1.0

Originally Posted by vyeh View Post
BjC, thanks for the comment. Did you have crashes on Windows 7 before installing the patch?
Yes once but it hasn't crash since. Why?

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off

Forum Jump

All times are GMT. The time now is 04:02.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Hosted by Plan A