.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old November 27th, 2003, 05:20 PM
Raen's Avatar

Raen Raen is offline
Corporal
 
Join Date: Nov 2000
Location: Danbury, CT, USA
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Raen is on a distinguished road
Default Confusion about game saving

I have both the full game and the demo. The full game was installed after the demo was.

I've been trying to sell a friend on how good the game is and he got the demo and we played a demo game together. But this morning I'm surprised to discover that our demo game was saved in my main (full) dominions directory. Are you consulting the registry to determine where to save games?

Does this mean there will be a problem with multiple installations of Dom? Suppose I want to host a game and don't want submitted pretenders to overwrite mine?

Or did I accidentally start the full Version when I played him and not the demo?

Confused....
Reply With Quote
  #2  
Old November 27th, 2003, 07:29 PM
Raen's Avatar

Raen Raen is offline
Corporal
 
Join Date: Nov 2000
Location: Danbury, CT, USA
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Raen is on a distinguished road
Default Re: Confusion about game saving

Ok, I just tested this and I'm a bit concerned. Both saved games and gods created with the demo are getting saved in my main dominions directory.

I also don't see any way to specify directories in the command line switches, but hopefully I'm missing something.

As I say, losing all my gods because I'm hosting a PBEM is a rather unpleasant concept.
Reply With Quote
  #3  
Old November 27th, 2003, 07:50 PM
Saber Cherry's Avatar

Saber Cherry Saber Cherry is offline
Major General
 
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
Saber Cherry is on a distinguished road
Default Re: Confusion about game saving

Quote:
Originally posted by Raen:
Ok, I just tested this and I'm a bit concerned. Both saved games and gods created with the demo are getting saved in my main dominions directory.

I also don't see any way to specify directories in the command line switches, but hopefully I'm missing something.

As I say, losing all my gods because I'm hosting a PBEM is a rather unpleasant concept.
Very interesting. There needs to be an "Other People's Gods" directory, and ideally, support for multiple gods per nation. I didn't know other peoples gods overwrote your own.

[ November 27, 2003, 17:51: Message edited by: Saber Cherry ]
__________________
Cherry
Reply With Quote
  #4  
Old November 28th, 2003, 02:13 AM
Johan K's Avatar

Johan K Johan K is offline
Brigadier General
 
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
Johan K is on a distinguished road
Default Re: Confusion about game saving

Quote:
I also don't see any way to specify directories in the command line switches, but hopefully I'm missing something.
The save directory can be specified by setting the DOM2_SAVE enivornment variable. It is possible to set data and temp directory too if you really want to.
__________________
http://www.illwinter.com
Reply With Quote
  #5  
Old November 28th, 2003, 10:51 PM

Catquiet Catquiet is offline
Sergeant
 
Join Date: Oct 2003
Posts: 286
Thanks: 0
Thanked 2 Times in 2 Posts
Catquiet is on a distinguished road
Default Re: Confusion about game saving

Quote:
Originally posted by Saber Cherry:
Very interesting. There needs to be an "Other People's Gods" directory, and ideally, support for multiple gods per nation.
Definitely.

I have been reduced to manually making a copy of my god file whenever I manage to get a decent set of titles.
Reply With Quote
  #6  
Old November 29th, 2003, 02:27 AM
Raen's Avatar

Raen Raen is offline
Corporal
 
Join Date: Nov 2000
Location: Danbury, CT, USA
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Raen is on a distinguished road
Default Re: Confusion about game saving

Quote:
Originally posted by Johan K:
quote:
I also don't see any way to specify directories in the command line switches, but hopefully I'm missing something.
The save directory can be specified by setting the DOM2_SAVE enivornment variable. It is possible to set data and temp directory too if you really want to.
But not \newlords, which is really where the problem lies?

Is there some reason that the registry entry was chosen over curdir? Multiple copies of Dom seems to me the most logical way to go....
Reply With Quote
  #7  
Old November 29th, 2003, 02:44 AM
Johan K's Avatar

Johan K Johan K is offline
Brigadier General
 
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
Johan K is on a distinguished road
Default Re: Confusion about game saving

The newlords directory is always located inside the saved games directory.

The registry is not used that I know of. The installer creates an entry for installater and unistaller use, but that's it.

So why should it be better with two games than setting this variable before you start the game. It can be done in a .bat file if you don't want to type it every time. This way you also save yourself a lot of disk space.
__________________
http://www.illwinter.com
Reply With Quote
  #8  
Old November 29th, 2003, 02:59 AM
Raen's Avatar

Raen Raen is offline
Corporal
 
Join Date: Nov 2000
Location: Danbury, CT, USA
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Raen is on a distinguished road
Default Re: Confusion about game saving

Quote:
Originally posted by Johan K:
The newlords directory is always located inside the saved games directory.
Not on my computer, Johan. The newlords directory is on the same level as all of my saved games, i.e., directly underneath the Dom2 directory. I run Win98SE, if that's pertinent.

Quote:
The registry is not used that I know of. The installer creates an entry for installater and unistaller use, but that's it.

So why should it be better with two games than setting this variable before you start the game. It can be done in a .bat file if you don't want to type it every time. This way you also save yourself a lot of disk space.
If the registry isn't being used, why then does a game I saved running the dom2demo.exe not being saved in the dom2demo directory, but rather in my main dom2 directory?

I've double-checked this, I assure you it happens.
Reply With Quote
  #9  
Old November 29th, 2003, 04:12 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Confusion about game saving

Quote:
Originally posted by Johan K:
quote:
I also don't see any way to specify directories in the command line switches, but hopefully I'm missing something.
The save directory can be specified by setting the DOM2_SAVE enivornment variable. It is possible to set data and temp directory too if you really want to.
Very nice. By "data" do you mean the home directory? That seems to be where Dom2 keeps its data. That way newlords and maps can both be off of that. Does this work with Linux also? This would be very handy in setting up multiple games off of a server.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #10  
Old November 29th, 2003, 12:14 PM
Johan K's Avatar

Johan K Johan K is offline
Brigadier General
 
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
Johan K is on a distinguished road
Default Re: Confusion about game saving

To clear some confusion, here are the env variables, their default value and what they are used for.

DOM2_SAVE default="." Save directories and the newlords directory are created here. You need write permissions here.

DOM2_DATA default="." Data files, the maps folder and the rawsound folder must be found here. You only need read permissions here.

And Raen your problem with two game using the same save directory seems strange. Maybe one of your shortcuts doesn't set the current directory and thus the old one is still used.
__________________
http://www.illwinter.com
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:28 AM.


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