.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   How do I start a game with command line options? (http://forum.shrapnelgames.com/showthread.php?t=7589)

Kimball October 11th, 2002 04:14 AM

How do I start a game with command line options?
 
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

Re: How do I start a game with command line options?
 
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

Re: How do I start a game with command line options?
 
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

Re: How do I start a game with command line options?
 
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

Re: How do I start a game with command line options?
 
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

Re: How do I start a game with command line options?
 
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

Re: How do I start a game with command line options?
 
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

Re: How do I start a game with command line options?
 
The key is also to give complete path to your savegame

Kimball October 11th, 2002 02:06 PM

Re: How do I start a game with command line options?
 
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

Re: How do I start a game with command line options?
 
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


All times are GMT -4. The time now is 05:00 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.