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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #1  
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
  #2  
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
  #3  
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
  #4  
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
  #5  
Old November 29th, 2003, 01:09 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'm probably doing something wrong, but I tried the following 2-line .bat file (executed from within the Dominions2 directory) and I got "cannot create config file":

set dom2_save=".\test"
dom2 --window --res 1000 725

What did I do wrong? (I created the test directory before running the .bat)
Reply With Quote
  #6  
Old November 29th, 2003, 01:49 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

Try specifying the complete path like c:\games\dominions2\test or something like that.

Edit: Dominions2 doesn't want the "", I only added those to make the dot clearer. So I think you should do set DOM2_SAVE=./test, unless the set command really requires those "". I seldom use dos.

[ November 29, 2003, 12:02: Message edited by: Johan K ]
__________________
http://www.illwinter.com
Reply With Quote
  #7  
Old November 30th, 2003, 02:30 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

Yeah I tried taking out the quotes before I came here and saw your edit It's working now.

A minor annoyance is that you have to enter the CD key again, but I can live with that.

Thanks for your help.
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 06:35 AM.


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