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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
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
  #2  
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
  #3  
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
  #4  
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
  #5  
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
  #6  
Old November 29th, 2003, 04:04 PM
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 Raen:
A minor annoyance is that you have to enter the CD key again, but I can live with that.
I havent tested but it looks like the key is saved as a simple text file. Check for the latest file created in that dir. You should be able to copy it to where you need it.
__________________
-- 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
Reply

Bookmarks

Thread Tools
Display Modes

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 05:18 PM.


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