.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   HOWTO: Simultaneous 306 and 308 (http://forum.shrapnelgames.com/showthread.php?t=34548)

vfb May 4th, 2007 01:01 AM

HOWTO: Simultaneous 306 and 308
 
I tried setting up my Dom3 install with both 306 and 308. I want to run a 308 MP game in network server mode, but I'm in 3 MP games which at this point require a 306 client.

I'm using the following directory structure, <font class="small">Code:</font><hr /><pre>

lrwxrwxrwx 1 root root 34 May 4 12:14 /usr/local/bin/dom306 -&gt; /usr/local/games/dominions306/dom3
lrwxrwxrwx 1 root root 34 May 4 12:15 /usr/local/bin/dom308 -&gt; /usr/local/games/dominions308/dom3

lrwxrwxrwx 1 root root 15 May 4 12:19 /usr/local/games/dominions3 -&gt; /usr/local/games/dominions308
drwxr-xr-x 8 root root 4096 May 4 12:09 /usr/local/games/dominions306
drwxr-xr-x 8 root root 4096 May 4 12:12 /usr/local/games/dominions308
</pre><hr />

But if I want to have a 308 game server always up and running, it may cause problems with the running server if I change the link to point to 306, in order to run a 306 client.

There is only one configuration file for Dom3 that I could find, /usr/local/.install_locations/dominions3, it contains just one line, <font class="small">Code:</font><hr /><pre>
/usr/local/games/dominions3</pre><hr />

Has anyone figured out how to manage this? I don't see any command line switches available that would let me specify an alternate installation directory.

Johan K May 4th, 2007 03:07 AM

Re: 308 server and 306 clients, linux
 
Setting the environment variable dom3_data to /usr/local/games/dominions306 should do it. Otherwise use 308 data for all games. You will only run into problems for cave battles (incorrect battle replays there).

vfb May 4th, 2007 06:05 AM

Re: 308 server and 306 clients, linux
 
Thank you!

Edit: Actually, dom3_data didn't work but DOM3_DATA works fine.

So, if you set things up in separate directories, you can run either like this, <font class="small">Code:</font><hr /><pre>

DOM3_DATA=/usr/local/games/dominions308/ /usr/local/games/dominions308/dom3

DOM3_DATA=/usr/local/games/dominions306/ /usr/local/games/dominions306/dom3
</pre><hr />

And use whatever command line switches you normally specify.


All times are GMT -4. The time now is 11:29 AM.

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