Total Annihilation: Commander Pack (v3.1)
Posted
#327
(In Topic #308)
Christian

Max Unit Cap Increase
Total Annihilation: Commander Pack v3.1
These are the steps taken for a GOG Total Annihilation install on Windows 11, but it may work similarly on Linux and Mac as well.
Game version: Total Annihilation: Commander Pack, v3.1
TACP v3.1 has a max unit cap of 500, but the game defaults to the Max Unit Cap of 250 unless the TotalA.ini file is used.
1. Open a Hex Editor
I used the hex editor located at: https://hexed.it
Not only does Hexed make editing easier, it is browser based and private because it runs locally on your device, which means there is no installation other than cache files. You can read more about it here: https://hexed.it/help/features.html
2. Locate the run file "TotalA.exe"
The location for the file on my system was:
C:\Program Files (x86)\GOG Galaxy\Games\Total Annihilation
Linux and Mac will be slightly different, but look for your GOG install location.
3. Make a backup copy of the Total Annihilation run file "TotalA.exe"
Make a duplicate of the original file and rename it to "TotalA.exe-(original)".
This is very important! If something goes wrong with the Hex Editing process and renders the game inoperable, you can restore by simply copying back the original file.
4. Use Hexed to open "TotalA.exe"
Use the "Open File" toolbar button in Hexed to open the TotalA.exe file. For me, the opened file defaulted to "little endian" in "Hexadecimal" format. This is what you want.
5. Search for lines "90A50" and "90A60"
In the hex editor, locate line number 90A50 and look for the hex code "F4 01". Click on the "F4" half of the code to select it. Then look at the top of the left-hand panel. You will see a number of entries that say "500". These are your max units. Change one of those entries to "5000" or another number of your choice, and the other entries will automatically change to match. The hex code will automatically update to reflect the change. It is unnecessary for you to know which hex code to enter. See the attached screenshots.
Repeat this process for line 90A60. BOTH lines 90A50 and 90A60 must use identical unit numbers.
6. Export the hex edited exe file
Hexed may complain about not being able to save the edited file to the TA game folder. Simply save the file to your downloads, and then move it to your TA game install folder. If necessary, overwrite the existing TotalA.exe file. You did back it up first, right?
7. Create the "TotalA.ini" file
TACP v3.1 will default to a Max Unit Cap of 250 unless you use the "TotalA.ini" file.
In the same folder as the TotalA.exe file, make a new text file and rename it to "TotalA.ini". Then open the file and paste the following two lines of text:
[Preferences]
UnitLimit = 5000;
If you use a different Max Unit Cap number, then change the "5000" to the number you used.
8. Windows File Security
Windows may complain about the file being from another computer, and block it until you give the "OK" to use it. To avoid this hiccup when running the game, first right-click on the file to bring up the context menu. Then select "Properties". At the bottom of the little window that opens up, check the box that says "Unblock".
Done. Enjoy the extra units!
NOTE: This is an updated solution for the thread found here:
https://www.gog.com/forum/total_annihilation_series/how_to_directly_edit_the_unit_cap_mac_windows
Last edit: by Mehtuus
1 guest and 0 members have just viewed this.