1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

C3X Release 7

EXE mod featuring stack bombard, bug fixes, and more

  1. Flintlock
    C3X: Executable Mod for Civ 3 Complete
    Release 7

    INCLUDES (* = new in latest version):
    * Buttons on trade screen to quickly switch between civs
    * Ask/offer gold popup autofills best amount
    * Adjustable minimum city distance
    Stack bombard
    Disorder warning
    Stack worker buttons
    AI enhancements:
    • Allow AI to use artillery in the field
    • Force AI to build more artillery and bombers
    • Replace leader unit AI to fix bugs and improve behavior
    • Fix bug preventing AI from filling its armies
    • Improve AI army composition to discourage mixing types & exclude HN
    Detailed city production info
    Option to limit railroad movement
    Removed unit limit
    Enable free improvements from small wonders
    Bugs fixed:
    • AI pathfinding collides with invisible units (called the "submarine bug")
    • Science age beakers not actually awarded
    • Pink line in Civilopedia
    • Immobile unit disembark crash
    • Houseboat bug
    Option to prevent autoraze and razing by AIs
    Stealth attack activates even when there's only one target
    Skip repeated popups asking to replace a tile improvement

    Begin by extracting the mod and copying its folder into the Civ install directory (that is, the folder containing Civ3Conquests.exe). Then activate the mod by double-clicking the INSTALL.bat or RUN.bat scripts. INSTALL.bat will install the mod into Civ3Conquests.exe, RUN.bat will launch Civ 3 then apply the mod to the program in memory. The mod's behavior is highly adjustible by editing a text configuration file. It is named "default.c3x_config.ini".

    Notes about installation:
    1. When installing, the original executable will be copied over to "Civ3Conquests-Unmodded.exe".
    2. To uninstall the mod, delete the modded executable then rename the backed up version mentioned above to "Civ3Conquests.exe".
    3. It is not necessary to uninstall the mod before installing a different version; the installer knows to check for the backed up EXE.
    4. Even after installation, the mod still depends on some files in the mod folder, specifically the config file and the Art & Text folders.
    5. I've received multiple reports that RUN.bat doesn't work while installing does, so know that installation is the more reliable option.
    6. Rômulo Prado reports that RUN.bat started working for him after he installed the MS Visual C++ Redistributables versions 2005 and 2019 (while installing GOG Galaxy).

    The mod is only officially compatible with the GOG and Steam versions of Civ 3 Complete. It may be compatible with other versions if they use the same executable as one of those two (unfortunately the CD version of Complete is not compatible). Multiplayer is untested. The mod works with existing save files and saves made with the mod active will still work in the base game.


    Activate stack bombard on any unit capable of bombarding by clicking the stack bombard button or by activating normal bombard then CTRL+clicking the target tile. The selected unit will bombard the tile, then all other units of the same type on the same tile will automatically bombard the target as well. Stack bombard is pretty smart and will stop bombarding once it can no longer do any damage, and it knows about lethal bombard, that you can't damage air units in an airfield, etc.


    If you try to end the turn with unhappy cities, the domestic advisor will pop up to warn you and give you the option to continue that turn.



    Hold the control key to turn all standard worker buttons into stack buttons. Clicking a stack button will issue the command to all workers on the same tile.

    Numerous changes have been made to improve the AI's behavior, especially in combat. It can now use its artillery units in the field, i.e., it will take them out of its cities to bombard enemy cities or incoming enemy units. The AI's production of artillery has been significantly increased so that it can take advantage of this ability. The other major change is that the AI can now use armies properly, it builds them when it can and fills them with units, usually the strongest available. There are many smaller changes as well to fix bugs and improve heuristics. Some more details are available as comments in the config file.


    When negotiating with the AI, you can quickly switch back and forth between civs using the added arrow buttons (arrow keys work as well). When asking for or offering gold, the set amount popup will appear with the best amount already filled in. Best amount means, when asking for gold on an acceptable trade, the most you could get, and when offering gold on an unacceptable trade, the least you need to pay.

    The mod adds the option to limit railroad movement to a certain number of tiles. To enable this, edit the config file. The limitation works like in Civ 4, i.e., moving along a railroad consumes movement points like moving along a road except the cost of moving along a railroad is scaled by the unit's total moves so all units are limited to the same distance. Be advised, because this setting affects how movement is calculated, changing it in the middle of a turn (i.e. after some units have already moved) is likely to cause units to have extra or missing moves.

    The free improvements wonder effect (granaries from Pyramids etc.) now works on small wonders. Note to modders, to set this effect you must use a third party editor like Quintillus' (https://forums.civfanatics.com/threads/cross-platform-editor-for-conquests-now-available.377188/) because the option is grayed out in the standard editor. Even worse, if you set the effect then work on the BIQ in the standard editor, the effect won't be saved, so you'd need to set it every time or work exclusively in Quintillus' editor.

    Change the adjust_minimum_city_separation config value to add that many tiles to the minimum allowed distance for founding cities. For example, setting it to 2 means cities can only be founded with 3 tiles separating them. Setting it to a negative number means cities are allowed to be founded next to one another. Additionally, by community request, the option disallow_founding_next_to_foreign_city can be used to disallow founding cities next to those of other civs even when the min separation is zero or less (if the min separation has not been reduced this option has no effect).

    NoRaze has been re-implemented inside C3X but is not enabled by default. To enable it, edit the config file mentioned above.

    Some parts of the mod (bug fixes, no-raze, no unit limit) are really just hex edits that are applied to the Civ program code. The real secret sauce is a system to compile and inject arbitrary C code into the process which makes it practical to implement new features in the game. The heart of the system is TCC (Tiny C Compiler) and much work puzzling out the functions and structs inside the executable (and thanks to Antal1987 for figuring out most of the structs years before I came along).

    The injected code, along with the rest of the mod, is fully open source. If you're curious how stack bombard was implemented, check out "patch_Main_Screen_Form_perform_action_on_tile" in "injected_code.c", I assure you the code is quite readable.

    See my thread here: https://forums.civfanatics.com/threads/sub-bug-fix-and-other-adventures-in-exe-modding.666881/

    1. Antal1987 for his work reverse engineering Civ3. See: https://github.com/Antal1987/C3CPatchFramework
    2. Rômulo Prado for his help testing the mod
    3. Civinator for the German translation (still in progress)
    Snodmaulvenn likes this.

Recent Updates

  1. Release 7
  2. Release 6
  3. Release 5
  4. Release 4B
  5. Release 4

Recent Reviews

  1. Rômulo Prado
    Rômulo Prado
    Version: Release 6
    Your Mod brought another level of gameplay to Civ3. It's just amazing! It's a pleasure to see the AI move with the armies and the artillery pieces advancing. Thank you so much for sharing the entire civ community the fruit of your talent.
  2. haluu
    Version: Release 6
    Superb. Latest updates on AI artillery use and leader/army have been something a lot of players have been waiting for, for a very long time. This is magical and helps keep this game feeling fresh. Keep up the great work!
  3. miggi03
    Version: Release 5
    It just keeps on getting better. Thank you so much.
  4. haluu
    Version: Release 4
    Absolutely phenomenal. A service to the community. I vote you for president, Flintlock.
  5. Civinator
    Version: Release 4
    The future of Civ 3 now becomes presence:

    Fix of the submarine bug, customizable movement for railroads, fix of the stealth attack, fix of civilopedia graphic glitches, fix of the scientific Golden Age bug, customizable no raze option integrated, comfortable stop and warning for overseen city riots, no more MUA (more than 8192 units on the map), stackable tile bombardment - and let´s hope that even more will follow.

    Flintlock, thank you very much !
  6. Ozymandias
    Version: Release 4
    I never doubted that you could pull this off - but that doesn't mean that I'm nevertheless delighted and amazed!
  7. Rômulo Prado
    Rômulo Prado
    Version: Release 4
    This version is the expansion of resources long awaited by the community, such as the possibility of limiting the movement of railroads. Now you can customize the movement limit and enjoy the animations of movement of the units as it happens when the units move on the roads. In addition, it is now possible to have more than 8192 units in the game for the Civ3 Complete versions of both Stean and GOG, which is fundamental when playing with more than 8 civilizations. Download and enjoy, it's worth checking out these resources! Thank you so much Flintlock!
  8. miggi03
    Version: Release 3
    One of the best things to happen to Civ 3. Thank you.
  9. Shmelkin
    Version: Release 3
    Great and long awaited work on improving the civ3 exe.
  10. Predator145
    Version: Release 3
    What we've been waiting for so long. Now if we could mod Railroad movement I'd be over the moon.