View Full Version : Civilization 4 Mod Launcher


Ace_NoOne
Jan 26, 2006, 02:59 AM
Hello there,

last night, I wrote a tiny program that modifies Civ4's config INI so you can directly start the game with your favorite mod.
I'm sure there are already other (and better) tools out there - I haven't really checked - but it was good coding practice for me. (Though I had clearly underestimated the effort required; "So all it needs is a program that modifies a value in the config INI. This should be easy, especially with AutoHotkey (http://www.autohotkey.com)!" - well it turned out to be a little more complex than that... )

binary (http://autohotkey.net/file/users/Members/Ace_NoOne/AHK/Civ4_modLaunch/Civ4_modLaunch.exe) | source code (http://autohotkey.net/file/users/Members/Ace_NoOne/AHK/Civ4_modLaunch/Civ4_modLaunch.ahk) | ReadMe (http://autohotkey.net/file/users/Members/Ace_NoOne/AHK/Civ4_modLaunch/ReadMe.txt)

It's really lightweight and doesn't need any runtimes, but I haven't extensively bug-tested it yet (though it seems to work fine) and I'm not sure whether I'll continue developing it (which would include a more thorough documentation).
However, feel free to take a look at the source code and modify it to your needs (AutoHotkey (http://www.autohotkey.com) is really easy to learn).
You can also upload it to your website if you wish (don't link to my webspace please), though I'd appreciate your dropping me a message if you did.

Déja
Jan 26, 2006, 08:17 AM
from what I understand, you can just start the game with the mod=\mods\blah in the command line

Ace_NoOne
Jan 26, 2006, 08:27 AM
D'oh - I couldn't find that anywhere. Thanks for pointing it out though.
Well, at least I got the coding practice...

Nials
Jan 26, 2006, 12:35 PM
from what I understand, you can just start the game with the mod=\mods\blah in the command line

Thanks for pointing that out :)

That means you can load lovely Sevopedia with 'mod=\mods\sevopedia' and never have to restart the game again, yippie!

Tous
Jan 31, 2006, 02:50 PM
I just put a shortcut on the desktop to the world builder save file of that mod, double click it and launches game with that mod.
Its a ".Civ4WorldBuilderSave" is the extention.


Tous

A Silly Goose
Jan 31, 2006, 03:40 PM
I just put the Sevopedia files in the correct .../CustomAssets folders, and it works without a command line or whatever.

Chasaffton
Jan 31, 2006, 05:44 PM
Well it works great for me...

Thanks
c