View Full Version : How do I start a game with command line options?
Kimball
October 11th, 2002, 04:14 AM
I cannot get a shortcut to start SE4 using the correct mod path. Any suggestions? I have looked at the example in the history.txt file and cannot seem to make it work right. Thanks.
Taera
October 11th, 2002, 04:42 AM
what do you mean? is it possible to run a game with certain mod using a simple shortcut???
Kimball
October 11th, 2002, 04:47 AM
Yup, added in V1.39, I just can't make it work. It sure would make life a lot easier....
Taera
October 11th, 2002, 04:56 AM
Where did you find it? Never heard of it. Lets see... well i dont know, guess somebody will need to try it out.
Kimball
October 11th, 2002, 05:03 AM
Check out the "history.txt" file for Version 1.39. It is explained there. It seems simple enough, I just can't make it work right.
Taera
October 11th, 2002, 05:22 AM
well i cant rightly test it as i dont realy have mod savegame except for... hmm... lets see...
haha! it works!
I'll post the text here:
"E:\Games\Space Empires IV\Se4.exe" "E:\Games\Space Empires IV\savegame\illea.gam" " " "1" "TDM-ModPack"
EDIT: The blank space is for the password
[ October 11, 2002, 04:24: Message edited by: Taera ]
Suicide Junkie
October 11th, 2002, 06:57 AM
I think the key is to have a single space inside the quotes for the parts you are not using.
Taera
October 11th, 2002, 07:23 AM
The key is also to give complete path to your savegame
Kimball
October 11th, 2002, 02:06 PM
Man, I tried that exact method and it still will not work. I created a shortcut on my desktop and filled in the appropriate text and nothing happens. Weird.
I have been trying to do it with a multi-player, turn based game, maybe that is the problem.
[ October 11, 2002, 13:16: Message edited by: Kimball ]
geoschmo
October 11th, 2002, 02:08 PM
The complete savegame path is not needed, even though they show it being used in the history.txt examples. All you need is "savegame/gamname.gam". This is true whether or not you are using a mod.
Of course using the complete savegame path doesn't hurt, it's just not necessary.
Geoschmo
geoschmo
October 11th, 2002, 02:11 PM
Kimball can you copy|paste into the thread here exactly what you are doing?
Geoschmo
Kimball
October 11th, 2002, 02:18 PM
Here it is Geo.
"D:\Space Empires IV\Se4.exe" "d:\space empires iv\savegame\test.gam" " " "1" "test"
I am trying to start a multi-player, turn based game in the right mod directory. Thank you!
[ October 11, 2002, 13:24: Message edited by: Kimball ]
geoschmo
October 11th, 2002, 02:24 PM
So you are using mod data files in a mod folder called "test"? And there is no password for player 1?
Kimball
October 11th, 2002, 02:38 PM
"D:\Space Empires IV\Se4.exe" "d:\space empires iv\savegame\test.gam" " " "1" "test"
The mod directory is "test" and the game was setup as turn based, different machines, with the multiplayer game filename being "test." There are two human players, and I am trying to open player one.
I just replaced "d:\space empires iv\savegame\test.gam" with "d:\space empires iv\savegame\test_1_24001.gam" for the path and it worked.
geoschmo
October 11th, 2002, 02:46 PM
Ah, turn based. I missed that you were doing a turn based game. Yes, that explains it. You will need to change the .gam file name every turn remember.
Kimball
October 11th, 2002, 02:48 PM
Fantastic, thank you! It will quite a bit easier to just edit the shortcut with the most recent turn than to open SE IV, load game.... Thank you!
geoschmo
October 11th, 2002, 02:50 PM
I think there are some quirks though with opening turn based games from the command line. I have heard that your ships may lose their movement for that turn if you do it that way.
Taera
October 11th, 2002, 10:58 PM
Still it is useful if you tend to save in the end of the turn, like i do. I play a turn to the end and save it and then leave the game.
vBulletin® v3.8.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.