Command Line? |
I heard mention of a command line interface for SEV? Are there docs for it anywhere? I tried running some command line calls to SEV, but I have the steam version and it kept saying "can't find steam.dll". Anyone know how to get around that?
If the command line is workable, I might try to write a program so I can have a dedicated server, ala PBW but much more automated (players would run a program on their local machine that would automatically transfer files to and from the server).

Re: Command Line?
I thought it was after the save game header explanation in the document, but apparently not.
I would imagine they are close to the SE:IV ones:
10. Added - Added command line option for specifying the mod path.
Command Line Options:
Se4.exe "[Savegame path]" "[Password]" "[Player Number]" "[Mod path]" -nd
[Savegame Path] = Exact path to the savegame file.
[Game Password] = Either the game password if this is the host processing the turn, or
the players password if you want to launch directly into a player’s turn.
[Player Number] = The specific player number you wish to launch into, or 0 if this is
the host processing the turn.
[Mod path] = Override to the directory specified in the Path.txt file (this should
just be the directory name of the mod, exactly what’s in Path.txt).
You can leave this blank to just use the setting found in the Path.txt
file.
-nd = Optional flag which indicates if any error dialogs should be displayed
during the turn processing if an error occurs.
Note: To leave an option blank, just put two parenthesis with a space between them.
Examples:
Host processing the turn, with no dialogs.
Se4.exe "c:\program files\shrapnel games\malfador machination\space empires
iv\savegame\BigMulti.gam" "Master" "0" " " -nd
Player wants to launch directly into their game.
Se4.exe "c:\se4\savegame\mygame.gam" "mypass" "1" " "
Host wants to process a turn with an alternate mod path, and have dialogs be displayed.
Se4.exe "c:\se4\savegame\supergame.gam" "master" "0" "c:\se4\mydata"
Re: Command Line?
se5.exe [Savegame path] [password] [-plrstop] [-moddir [dirname]]
[Savegame path] - The complete path to the savegame.
[password] - The game master password for this game.
-plrstop - Turn processing should stop if there are errors in the player files.
Return Codes
0 - Turn processed succesfully.
1 - Savegame file not found.
2 - Invalid game master password.
3 - Error while loading savegame.
101 - 120 - Could not load player file. The player number is the error code minus 100.
201 - 220 - Player order file does not have the correct game date. The player number is the error code minus 200.
301 - 320 - Player order file does not have the correct turn sequence id. The player number is the error code minus 300.
401 - 420 - Player order file does not have the correct game id. The player number is the error code minus 400.
-moddir [dirname] - This changes the directory name for the mod in the
For reference, it is now in handy Wiki format.




Re: Command Line?
The command line parameters are listed in the modding .pdf found in the SE5's docs folder.
Space Empires Depot | SE:V Balance Mod