Home Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

User login

  • Create new account
  • Request new password

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • news aggregator

Search

Who's online

There are currently 0 users and 140 guests online.

Languages

  • English English
  • French French

Browse archives

« July 2008  
Mo Tu We Th Fr Sa Su
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Home » news » forums » Space Empires V » Space Empires V General

Command Line?

Submitted by Souljourner on Fri, 2008-01-04 15:50. Space Empires V General

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).

‹ pbw.cc - does it work? A question about weapon mounts ›
» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Captain Kwok's picture
Mod Designer

Re: Command Line?

Submitted by Captain Kwok on Fri, 2008-01-04 17:44.

The command line parameters are listed in the modding .pdf found in the SE5's docs folder.


Space Empires Depot | SE:V Balance Mod

» login or register to post comments

Re: Command Line?

Submitted by Souljourner on Fri, 2008-01-04 17:49.

Awesome, thanks. I had skimmed the Modding PDF but didn't look to closely.

» login or register to post comments

Re: Command Line?

Submitted by Souljourner on Fri, 2008-01-04 17:59.

Sorry, I must be missing it. I just looked all through the SE5_Modding.pdf file and I don't see anything about command lines. I looked through the scripting PDF as well, with no luck.

» login or register to post comments

Re: Command Line?

Submitted by Souljourner on Mon, 2008-01-07 07:46.

Bump? Also anyone know how to get around the error coming when I run SE5.exe talking about steam.dll not being there? If I start the game from steam, it works fine.

» login or register to post comments
Captain Kwok's picture
Mod Designer

Re: Command Line?

Submitted by Captain Kwok on Mon, 2008-01-07 11:27.

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"


Space Empires Depot | SE:V Balance Mod

» login or register to post comments
Mod Designer

Re: Command Line?

Submitted by Fyron on Mon, 2008-01-07 14:12.

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.


SpaceEmpires.net | Space Empires Wiki

» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Popular content

Today's:

  • I am so impressed!
  • Space Empires V 1.74
  • Neutral pack 1.10 released, now adds three neutral races.
  • Stuipd Question
  • Research By Percentage SUCKS

All time:

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Last viewed:

  • Religous Trait ideas
  • ship designs and abilities
  • alliance sticking from game to game bug
  • Gritty Galaxy Fleet Clash
  • Oh the humanity!
(c) Strategy First, Inc. All rights reserved.