.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old June 12th, 2001, 04:55 AM
Will's Avatar

Will Will is offline
Lieutenant Colonel
 
Join Date: Mar 2001
Location: Emeryville, CA
Posts: 1,412
Thanks: 0
Thanked 0 Times in 0 Posts
Will is on a distinguished road
Default More Command Line options

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"


From the 1.39 patch. Should make PBW a lot nicer
__________________
GEEK CODE V.3.12: GCS/E d-- s: a-- C++ US+ P+ L++ E--- W+++ N+ !o? K- w-- !O M++ V? PS+ PE Y+ PGP t- 5++ X R !tv-- b+++ DI++ D+ G+ e+++ h !r*-- y?
SE4 CODE: A-- Se+++* GdY $?/++ Fr! C++* Css Sf Ai Au- M+ MpN S Ss- RV Pw- Fq-- Nd Rp+ G- Mm++ Bb@ Tcp- L+
Reply With Quote
  #2  
Old June 12th, 2001, 08:33 AM
Droplede's Avatar

Droplede Droplede is offline
Corporal
 
Join Date: Apr 2001
Location: Hoboken, N.J.
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Droplede is on a distinguished road
Default Re: More Command Line options

Good news, indeed. Thanks, Will. Looking forward to joining you all on PBW soon.
__________________
Bringing you yesterday's news -- tomorrow.
Reply With Quote
  #3  
Old June 12th, 2001, 10:06 AM

BeeDee10 BeeDee10 is offline
Corporal
 
Join Date: Feb 2001
Location: Edmonton
Posts: 117
Thanks: 0
Thanked 0 Times in 0 Posts
BeeDee10 is on a distinguished road
Default Re: More Command Line options

This should make non-PBW games more convenient, too. Now instead of editing path.txt every time you want to play a different modded Version of SEIV, you can just have different shortcuts for each mod that launches the game with the appropriate mod enabled. path.txt could be virtually obsolete.

Edit- Oh, fooey, just noticed how every example command line has the savegame and player specified as well. Does the command line modpath thing work if you're not launching directly into a saved game?

[This message has been edited by BeeDee10 (edited 12 June 2001).]
Reply With Quote
  #4  
Old June 12th, 2001, 02:36 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: More Command Line options

quote:
Oh, fooey, just noticed how every example command line has the savegame and player specified as well. Does the command line modpath thing work if you're not launching directly into a saved game?

That's a good question. It should be easy enough to test for Will or one of the others with the patch beta. Otherwise we will have to wait for the release. If it doesn't we should definetly suggest it to Aaron. That would be very convenient.

Somebody wrote a program to do that once. It worked by rewriting the path.txt file. I think it was in the mod section at one time.

Geo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #5  
Old June 12th, 2001, 06:21 PM
Will's Avatar

Will Will is offline
Lieutenant Colonel
 
Join Date: Mar 2001
Location: Emeryville, CA
Posts: 1,412
Thanks: 0
Thanked 0 Times in 0 Posts
Will is on a distinguished road
Default Re: More Command Line options

Well, I tried what I think you meant (launching se4.exe from the command line with three empty quote pairs and a mod directory). And it worked, and it didn't work... SE4 launched, I got my little "This is a BETA Version" dialogue, SE4 showed up on the taskbar. I hit "OK" on the dialogue, and it all went away.

Still, it would be useful for PBW games.

--edit, in reference to above:

Ok, I didn't put the -nd tag on the first time, and I tried just the mod path as an arguement this time. Same thing happened.

[This message has been edited by Will (edited 12 June 2001).]
__________________
GEEK CODE V.3.12: GCS/E d-- s: a-- C++ US+ P+ L++ E--- W+++ N+ !o? K- w-- !O M++ V? PS+ PE Y+ PGP t- 5++ X R !tv-- b+++ DI++ D+ G+ e+++ h !r*-- y?
SE4 CODE: A-- Se+++* GdY $?/++ Fr! C++* Css Sf Ai Au- M+ MpN S Ss- RV Pw- Fq-- Nd Rp+ G- Mm++ Bb@ Tcp- L+
Reply With Quote
  #6  
Old June 12th, 2001, 06:56 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: More Command Line options

Will,

Just an idea, try it without the three empty quote pairs. It's probably trying to load a " .gam" which doesn't exsist.

If it is intelligent enough to decipher that the mod path is a mod path, despite being the only item on the line, it may work. If not it will think the "path" is a game name and it won't work.


And leave off the -nd. Since we wan't the gam eto come up on the screen we don't want the "no dialouge boxes" option.
Geo

[This message has been edited by geoschmo (edited 12 June 2001).]
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #7  
Old June 13th, 2001, 01:47 AM

Dravis Dravis is offline
Corporal
 
Join Date: Dec 2000
Location: Procyon III
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Dravis is on a distinguished road
Default Re: More Command Line options

No, I don't think so, to bad.
__________________
Grand Admiral Dravis
------------------
We are all bound by our experiences. They are the limits of our consciousness.
But in the end the human soul will ever reach for the truth...
Reply With Quote
  #8  
Old September 24th, 2002, 11:51 PM
DavidG's Avatar

DavidG DavidG is offline
Lieutenant Colonel
 
Join Date: Jan 2002
Location: Dundas, Ontario, Canada
Posts: 1,498
Thanks: 0
Thanked 0 Times in 0 Posts
DavidG is on a distinguished road
Default Re: More Command Line options

Has anyone tried these lately? I want to create a shortcut so I can process a multi turn quickly but I can't get it to work.
__________________
SE4Modder ver 1.76
or for just the EXESE4Modder EXE Ver 1.76
SE4 Mod List
Reply With Quote
  #9  
Old September 25th, 2002, 12:28 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: More Command Line options

They work fine. It's what PBW is built around. Can you paste in the text you are using so maybe I can see what the problem is?

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #10  
Old September 25th, 2002, 01:51 AM
DavidG's Avatar

DavidG DavidG is offline
Lieutenant Colonel
 
Join Date: Jan 2002
Location: Dundas, Ontario, Canada
Posts: 1,498
Thanks: 0
Thanked 0 Times in 0 Posts
DavidG is on a distinguished road
Default Re: More Command Line options

I tried both of these. (I was just trying to get into my turn first to see if it worked)

C:\Progra~1\SpaceE~1\Se4.exe "C:\Program Files\Space Empires IV Gold\Pirates&NomadsV3.1\Savegame\DDAM.gam" "mypass" "1" " "

C:\Progra~1\SpaceE~1\Se4.exe "C:\Progra~1\SpaceE~1\Pirate~1\Savegame\DDAM.gam" "mypass" "1" " "

[ September 25, 2002, 00:53: Message edited by: DavidG ]
__________________
SE4Modder ver 1.76
or for just the EXESE4Modder EXE Ver 1.76
SE4 Mod List
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:48 PM.


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