View Full Version : Command Line game name
Ice_Sickle
February 28th, 2005, 11:09 PM
I'm trying to modify the command line to launch a host. I can't figure out how to tell it the name of the game. Sort of pointless with that. It's not in the list in teh doc file as far as I can tell.
Thanks in advance.
Ice
alexti
February 28th, 2005, 11:19 PM
It's a first parameter which is not an option. Something like
<font class="small">Code:</font><hr /><pre>
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
</pre><hr />
Considering that I've figured it out, it should be either:
- in the documentation or
- obvious http://forum.shrapnelgames.com/images/smilies/wink.gif
Ice_Sickle
March 1st, 2005, 03:13 AM
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?
Chazar
March 1st, 2005, 05:47 AM
I guess he means that you should then write Twist somewhere among the parameters without anything in front. I guess the game name is an argument and not an option!
Tuna
March 1st, 2005, 08:38 AM
Hey, what was the parameter/key/whatever that lets you see the id of monsters and weapons, I remember there is one but can't really remeber what it was, and couldn't find it in the docs.
liga
March 1st, 2005, 09:40 AM
Tuna said:
Hey, what was the parameter/key/whatever that lets you see the id of monsters and weapons, I remember there is one but can't really remeber what it was, and couldn't find it in the docs.
you must just select it in the game and press 'I' (capital I)
good play
Liga
isn't it on my Manual-Addenda ? I have to check and to add!
Ironhawk
March 1st, 2005, 06:29 PM
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.
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?
Ice_Sickle
March 1st, 2005, 06:33 PM
Thanks so much Ironhawk!
Ice
vBulletin® v3.8.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.