.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 > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old February 28th, 2005, 11:19 PM

alexti alexti is offline
First Lieutenant
 
Join Date: Dec 2003
Location: Calgary, Canada
Posts: 762
Thanks: 0
Thanked 0 Times in 0 Posts
alexti is on a distinguished road
Default Re: Command Line game name

It's a first parameter which is not an option. Something like
Code:

dom2.exe -s -q -T --mapfile urgaia.map --renaming -M conceptp2.dm -M conceptscale11.dm -M conceptscale11.dm -M concepts18.dm --magicsites 50 --indepstr 6 --tcpserver --ipadr 192.168.1.100 --port 32766 2005Jan22


Considering that I've figured it out, it should be either:
- in the documentation or
- obvious
Reply With Quote
  #2  
Old March 1st, 2005, 03:13 AM

Ice_Sickle Ice_Sickle is offline
Private
 
Join Date: Apr 2004
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Ice_Sickle is on a distinguished road
Default Re: Command Line game name

I guess I'm missing something. The map I'm using is Orania but the game name is "Twist." If I select the map name it won't grab the files in "Twist" will it? It will just start a new game. Or am I lost?
Reply With Quote
  #3  
Old March 1st, 2005, 06:29 PM

Ironhawk Ironhawk is offline
General
 
Join Date: May 2004
Location: Seattle, WA
Posts: 3,011
Thanks: 0
Thanked 45 Times in 35 Posts
Ironhawk is on a distinguished road
Default Re: Command Line game name

Ice Sickle, here is the format:

dom2.exe <parameters> --mapfile <mapfilename> <gamename>

For example:

dom2.exe -STq --port 2001 --mapfile orania.map Twist

If your game was already created/running and you just need to restart it, drop the --mapfile and all other game-start parameters (like hall of fame, research settings, etc):

dom2.exe -STq --port 2001 Twist

Hope that helps. Don't worry if this is confusing to you. Contrary to what some people might say, there is NO good documentation on how to properly start/run a server. Everyone I have met who knows just fumbled through the command lines and figured it out through trial and error.

Quote:
Ice_Sickle said:
I guess I'm missing something. The map I'm using is Orania but the game name is "Twist." If I select the map name it won't grab the files in "Twist" will it? It will just start a new game. Or am I lost?
Reply With Quote
  #4  
Old March 1st, 2005, 06:33 PM

Ice_Sickle Ice_Sickle is offline
Private
 
Join Date: Apr 2004
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Ice_Sickle is on a distinguished road
Default Re: Command Line game name

Thanks so much Ironhawk!


Ice
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 10:52 AM.


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