Log in

View Full Version : OS X and MP server


Skolem
June 2nd, 2004, 10:10 AM
From another thread I learned that shortcuts exist for windows, to manage MP games, does they exist for OS X to, or maybe some applescript, GUI,etc to manage different server games?
thanks for every kind of information on this.

Skolem

Johan K
June 2nd, 2004, 10:53 PM
You can supply command line parameters (switches) to Dominions in order to make it start up a server automatically.

DominionsX has info on command line switches.
http://www.shrapnelgames.com/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=74;t=002054

Look what psientist says here for some info on how to use apple script and switches:
http://www.shrapnelgames.com/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=74;t=002054

puffyn
June 3rd, 2004, 03:52 AM
psientist's instructions are good, and a fairly useful way of saving different hosting parameters, but Applescript isn't required if you use the terminal in OS X.

The correct link to the command line options is:
Dominions X guides (http://www.dominionsx.com/guides.html)
The first guide in the list is the one you want.

Then you can simply cd to the folder with Dominions in it and launch the application with:

dominions2.app/Contents/MacOS/dominions2 --tcpserver

or whatever other flags you want to use from the above guide.

I do it this way because then Dominions uses my settings for DOM2_SAVE variable (which I set in my .profile file) and uses a a different folder than my home directory for keeping all the various saved files. There's probably an easy way to do this within Applescript too, but I don't know it.