Log in

View Full Version : Command Line Switches


Tals
December 31st, 2006, 11:17 AM
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
Feels a little like deja vu I found my original post so for others



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
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
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
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
I think Linux is fun.
But then I started on DOS before there was Windows.

Tals
January 1st, 2007, 02:51 PM
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
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 (http://www.shrapnelcommunity.com/threads/showflat.php?Cat=&Board=dom3&Number=441778&Forum=f 187,f194,f195&Words=%2Blinux%20%2Badmining&Searchp age=0&Limit=25&Main=441778&Search=true&where=sub&N ame=&daterange=1&newerval=5&newertype=y&olderval=& oldertype=&bodyprev=#Post441778)

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

Tals
January 1st, 2007, 06:08 PM
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 (http://www.shrapnelcommunity.com/threads/showflat.php?Cat=&Board=dom3&Number=441778&Forum=f 187,f194,f195&Words=%2Blinux%20%2Badmining&Searchp age=0&Limit=25&Main=441778&Search=true&where=sub&N ame=&daterange=1&newerval=5&newertype=y&olderval=& oldertype=&bodyprev=#Post441778)

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



Many thanks - that was pefect.

Tals