|
|
|
 |

November 29th, 2003, 02:44 AM
|
 |
Brigadier General
|
|
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
|
|
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.
|

November 29th, 2003, 02:59 AM
|
 |
Corporal
|
|
Join Date: Nov 2000
Location: Danbury, CT, USA
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

November 29th, 2003, 04:12 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
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!)
|

November 29th, 2003, 12:14 PM
|
 |
Brigadier General
|
|
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
|
|
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.
|

November 29th, 2003, 01:09 PM
|
 |
Corporal
|
|
Join Date: Nov 2000
Location: Danbury, CT, USA
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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)
|

November 29th, 2003, 01:49 PM
|
 |
Brigadier General
|
|
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
|
|
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 ]
|

November 30th, 2003, 02:30 AM
|
 |
Corporal
|
|
Join Date: Nov 2000
Location: Danbury, CT, USA
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|