![]() |
How to start your game from a batch file
Since I haven't seen this mentioned in a while I thought I would provide a little tip to some of the newer player how you can create a shortcut to jump right into your multiplayer games.
(the mod launcher is nice but too many clicks for me http://forum.shrapnelgames.com/images/icons/tongue.gif ) Create a batch file (text file with .bat extension) and put the following in it: C:\Progra~1\SpaceE~3\Se4.exe "gamefile" "p/w" "1" "modname" The first bit is the path to your se4.exe file and gamefile = the .gam file included the full path p/w = your password 1 = your player number modname = the name of the mod or empty quotes for standard se4 |
Re: How to start your game from a batch file
Good info, but let me ask you this... is there any way to include an unzip function (for PBW games) to this batch file? Unzipping seems to have just as many mouse clicks as loading up the Mod picker. Man, are we a lazy bunch or what?
|
Re: How to start your game from a batch file
Quote:
|
Re: How to start your game from a batch file
How to make it execute a multiplayer turn (hostrun) from command line?
20 players, do I choose 21 then and password and what else? |
Re: How to start your game from a batch file
Is there a way do do something like the SE4BATCH program using only the command line?
|
Re: How to start your game from a batch file
You need quotes around each parameter, and the password cannot be null... use a single space instead.
"c:\program files\shrapnel games\malfador machination\space empires\SE4.exe" "D:\SE4\SE4Gold\Savegame\PnNonPBWtake2.gam" "arrmatey" " 1" "Pirates&Nomadsmodv3.2r7" [ August 16, 2003, 16:25: Message edited by: Suicide Junkie ] |
Re: How to start your game from a batch file
Success, now, how to make it process (hostrun) the turn.
se4.exe "savegame\test.gam" "pass" "1" opens the turn for player1 but; (12 being host) se4.exe "savegame\test.gam" "pass" "12" produces "exception access violation".... [ August 16, 2003, 16:52: Message edited by: Ruatha ] |
Re: How to start your game from a batch file
Quote:
|
Re: How to start your game from a batch file
yeah, yeah http://forum.shrapnelgames.com/images/icons/icon10.gif
But is there something else then: " 21, P/w , ????" Guess I can check.... [ August 16, 2003, 12:25: Message edited by: Ruatha ] |
Re: How to start your game from a batch file
I can't get it to work.
When I write se4.exe it works but not when I type se4.exe test pass 1 or se4.exe test.gam pass 1 or se4.exe savegame\test pass 1 or se4.exe savegame\test.gam pass 1 or all above with "" around the parameters or , between or whatever... |
All times are GMT -4. The time now is 10:36 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.