.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Multiplayer and AARs (http://forum.shrapnelgames.com/forumdisplay.php?f=145)
-   -   Command Line Switches (http://forum.shrapnelgames.com/showthread.php?t=32591)

Tals December 31st, 2006 11:17 AM

Command Line Switches
 
Is there a list of possible command switches that can be used with Dom 3. I am just setting up a Dom 3 hosted game so any of the commands to do this would be useful eg quickhost, hours, command to run etc. I've previously hosted Dom2 games so assume its similar but I no longer have my notes on the switches I used.

Many thanks

Tals

Tals December 31st, 2006 12:54 PM

Re: Command Line Switches
 
Feels a little like deja vu I found my original post so for others

Quote:


So for the client:
"C:\Program Files\dominions2\dom2.exe" --tcpclient --ipadr a.b.c.d --port 2013 -i --nointro gamename

For the Host (i.e to start host)
"C:\Program Files\dominions2\dom2.exe" --tcpserver --port 2013 -q --preexec c:\postie\gamename_back.bat --postexec c:\postie\gamename.bat gamename


Was what I got to. However I use a windows 2000 workstation for hosting, it seems to have a really odd problem if I run it in a window then it can cause the pc to lock - not quite sure why but Civ 4 had the same effect. So if I can reduce any graphic options that may or maynot work

Tals

Gandalf Parker December 31st, 2006 01:29 PM

Re: Command Line Switches
 
Running dom3 -h will give you all of the switches but in windows it goes to a DOS window.

Doing it as
dom3 -h >switches.txt
should give you a doc file you can keep but some versions of windows will ignore the file name you give and put it in something named outfile.txt or something like that.

Gandalf Parker December 31st, 2006 01:31 PM

Re: Command Line Switches
 
Awww heck.
Its quicker and easier for me to do it in linux and make it available than it is to figure it out in windows.

Here..
http://www.dom3minions.com/docs/CommandLine.txt

Tals January 1st, 2007 05:07 AM

Re: Command Line Switches
 
Quote:

Gandalf Parker said:
Awww heck.
Its quicker and easier for me to do it in linux and make it available than it is to figure it out in windows.

Here..
http://www.dom3minions.com/docs/CommandLine.txt

Many thanks GP that is excellent. I am now rebuilding the machine anyway in Linux - so cross fingers I can figure it out http://forum.shrapnelgames.com/images/smilies/happy.gif Windows 2000 appears to not like having apps running in a window.

Tals

Gandalf Parker January 1st, 2007 02:21 PM

Re: Command Line Switches
 
I think Linux is fun.
But then I started on DOS before there was Windows.

Tals January 1st, 2007 02:51 PM

Re: Command Line Switches
 
Well Linux is up, just need to install Dom 3 now - any tips on a good command line - particularly the emailing out after turns?

Tals

Gandalf Parker January 1st, 2007 03:46 PM

Re: Command Line Switches
 
I did a thread on linux admining where I posted a bunch of my scripts. I think that emailing is covered there also.

Linux Admining thread

By the way, the simplest examples are at the end of it.

Tals January 1st, 2007 06:08 PM

Re: Command Line Switches
 
Quote:

Gandalf Parker said:
I did a thread on linux admining where I posted a bunch of my scripts. I think that emailing is covered there also.

Linux Admining thread

By the way, the simplest examples are at the end of it.

Many thanks - that was pefect.

Tals


All times are GMT -4. The time now is 02:51 PM.

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