|
|
|
 |

January 4th, 2004, 05:18 AM
|
 |
Major General
|
|
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: auto-save feature ? (within dom2 or external program)
Quote:
Originally posted by Whismerhill:
ouch ! 92Mb download for J2SE !
anyone that has already compiled dombackup for windows ?
(I don't know but I suppose it's OS specific)
|
Actually, the beauty of Java... well, one of them... is that it is not OS specific. The compiled code (.class) runs on any supported OS.
|

January 4th, 2004, 07:05 AM
|
 |
Corporal
|
|
Join Date: Nov 2003
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: auto-save feature ? (within dom2 or external program)
thanks for that info saber cherry
anyway I compiled the thing !
too bad the original download doesn't include the .class already
& also that the readme.txt doesn't speak of compiling things ....
for those who don't know a line of java ... ;-)
also if .class were present, we (Users) would only have to install JRE (runtime)
& not JDK....
AND furthermore I emailed the one who made the program more than a year before and he wasn't able to help me !!!!
I suppose he didn't have the time tough
anyway, I'm happy that works now 
|

January 4th, 2004, 04:18 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: auto-save feature ? (within dom2 or external program)
Quote:
Originally posted by Whismerhill:
too bad the original download doesn't include the .class already
& also that the readme.txt doesn't speak of compiling things ....
also if .class were present, we (Users) would only have to install JRE (runtime)
& not JDK....
|
Being an old Customer Support for ISPs, you triggered one of my responses.
[begin rant]
This is Internet. You can find anything. If you dont find something you want, then you have found a need. Fill it. This is Internet.
In other words... do you have a little web dir provided by your ISP? Why dont you pop those in there? You dont even have to make a web page to display it. Just putting it there will let you link to it in these conversations.[/rant]
Sorry for the rant. Eventually Im sure those triggers will wear down and go away.
[ January 04, 2004, 14:19: Message edited by: Gandalf Parker ]
__________________
-- 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!)
|

January 11th, 2004, 04:48 AM
|
Private
|
|
Join Date: Jan 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: auto-save feature ? (within dom2 or external program)
I have my own save game method where I don't need JDK. I use DOS batch files. (For those of you using some Version of Microsoft Windows)
What this basically does for me is either save or restore a game based on clicking on an icon. Nothing more too it.
For those of you unfamiliar in batch files, do the following:
1) Right-click on your desktop and choose New/text document. It will be named "New Text Document.text". Leave the name alone for now
2) Open up the document and type in the following line:
copy c:\(dom2 filepath)\(save game folder)\*.* c:\(dom2 filepath)\(save game folder)\Backup.
For example, my Dominions2 is located on C:\dominions2 and my save game is called Genesis, so my line would be "copy c:\dominions2\Genesis\*.* c:\dominions2\Genesis\Backup"
3) Manually create the Backup folder under the save game folder.
4) Rename the shortcut to something like "Dom2 Backup.bat". Ensure the extension is .bat.
5) Now whenever I double-click on this icon, all my save game files are copied to a backup folder.
To restore? Same procedure, create a "Dom2 backup.bat" as above but switch the paths around, so in my case it would be, "copy c:\dominions2\Genesis\Backup\*.* c:\dominions2\Genesis"
To make things even easier, I can create shortcuts and place them on my Quick Launch bar. So now when I want to create a backup of my game or restore it, it only takes my clicking an icon either on my desktop or my Quick Launch on my task bar.
Notes: I keep all my SP games with the same name, so that I don't have to edit the batch files with the new save game name
I also found out that if you save the game in this manner after you hit the "End Turn" but before you hit "Host", the save game will include
all you have done to the turn up to that point; otherwise it reverts back to the beginning of the turn.
Moebius
|

January 13th, 2004, 11:24 AM
|
Private
|
|
Join Date: Dec 2003
Location: Vermont, USA
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: auto-save feature ? (within dom2 or external program)
Having trouble with batch files,
ok, my batch file looks like this(all on one line)
copy C:\Program Files\dominions2\virtue\*.* C:\Program Files\dominions2\virtue\bak
I get a "too many parameters" error. I believe it is because dos is reading the space between "program" and "files" and it is messing it all up. How do you put in a directory that has a space in it without dos thinking it is a new command? or maybe something else is wrong with my batch file????
You know, don't use dos for hmmmmmmm...8 or 9 years and you even forget the basics. 
__________________
Mercurycs
|

January 13th, 2004, 11:34 AM
|
Sergeant
|
|
Join Date: Dec 2003
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: auto-save feature ? (within dom2 or external program)
Quote:
Originally posted by mercurycs:
Having trouble with batch files,
ok, my batch file looks like this(all on one line)
copy C:\Program Files\dominions2\virtue\*.* C:\Program Files\dominions2\virtue\bak
I get a "too many parameters" error. I believe it is because dos is reading the space between "program" and "files" and it is messing it all up. How do you put in a directory that has a space in it without dos thinking it is a new command? or maybe something else is wrong with my batch file????
You know, don't use dos for hmmmmmmm...8 or 9 years and you even forget the basics.
|
Put "" around your names :
copy "C:\Program Files\dominions2\virtue\*.*" "C:\Program Files\dominions2\virtue\bak\"
this should work. I also added a \ at the end, to make sure copy doesn't bundle all your files into one file named bak, but puts them in a subfolder named bak.
Another solution would be to put your batch file in your virtue subfolder, and just do :
copy *.* bak\
|

January 13th, 2004, 11:49 AM
|
Private
|
|
Join Date: Dec 2003
Location: Vermont, USA
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: auto-save feature ? (within dom2 or external program)
thanks general tacticus, the quotes worked but every time i try it with the added backslash after bak i get an invalid directory error. it works without it though.
__________________
Mercurycs
|
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
|
|
|
|
|