| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 | ||
|
AI programmer
Join Date: Oct 2005
Location: Australia
Posts: 1,454
|
Launching a mod via the command line argument
I'm having trouble getting Civ4BeyondSword_PitBoss.exe to automatically load a mod using the command line.
In non-pitboss games I can do the following, and it works: Civ4BeyondSword.exe" mod="K-Mod" and this also works: "Civ4BeyondSword.exe" mod=\K-Mod But the pitboss version seems to be a buggy, and I haven't managed to get it to work out. If I try "Civ4BeyondSword_PitBoss.exe" mod="K-Mod" I get the following error message: Quote:
If I try "Civ4BeyondSword_PitBoss.exe" mod= "K-Mod" or "Civ4BeyondSword_PitBoss.exe" mod\K-Mod It still doesn't work, but it's a bit closer... Quote:
So, does anyone here know how to make the command line mod option work correctly?
__________________
K-Mod: Far Beyond the Sword |
||
|
|
|
|
|
#2 |
|
AI programmer
Join Date: Oct 2005
Location: Australia
Posts: 1,454
|
Ok. I've worked out how to get around the bug.
The following command works correctly: Civ4BeyondSword_PitBoss.exe" mod= K-Mod\"" (note: the space after '=', and the \" at the end are important. The final " is not required unless you want to redirect stdin or stderr; but it doesn't hurt to have it in there regardless.)
__________________
K-Mod: Far Beyond the Sword |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|