Page 1 of 1

Losing savegames

Posted: Mon May 01, 2006 23:23
by Enjay
I know there have been a few posts about savegames: not sure if this is the same or different.

I was playing a WAD from a zip file. Inside the zip was the level and a second WAD of resources for the level. The zip was on my desktop. Some time ago, GZDoom created a SAVE directory on my desktop and I've just left it there. I started the game with ZDL. No extra parameters, only the zip added to the pwad list and Doom2.wad selected in the iwad list.

During my game, I saved and loaded many times. Then I quit GZdoom and went back in. I tried to load my save, but the savegame list had a couple of savegames from Doom2.wad and none of my saves from the WAD in question. I looked at the screenshots for the savegames using PSP and found that this time GZDoom was looking at f:\doom\gzdoom\save for its savegames (GZdoom is installed in f:\doom\gzdoom). However, the savegames I wanted were in f:\documents and settings\nigel rowand\desktop\save. The method of starting GZDoom was exactly the same each time (in fact, I hadn't even restarted ZDL, it was still running from before the previous game - all I did was press launch again).

I unzipped the WADs on to my desktop, removed the zip from the ZDL pwad list and added the WADs instead. This time, my save appeared, but their names were that orangey colour to indicate that the right WAD isn't loaded. I tried loading them and the console told me that I needed the file zipfile.zip:wadfile.wad. Fair enough, but when I removed the WADs and put the zip back, my saves vanished again and I was left with the Doom2 saves from my GZDoom directory rather than the ones from my desktop save directory.

Eventually, I tried loading the zip followed by the extracted level. This time my saves appeared and I was able to load one.

Also, copying the saves from the desktop SAVE directory to the gzdoom SAVE directory allowed me to load just the zip, find some savegames and load them.

Posted: Tue May 02, 2006 0:44
by Graf Zahl
I have dumped the savedir variable due to these problems. From the next version on GZDoom will store the savegames in the program directory again.

Posted: Tue May 02, 2006 0:45
by Graf Zahl
I have dumped the savedir variable due to these problems. From the next version on GZDoom will store the savegames in the program directory again.

Re: Losing savegames

Posted: Thu May 04, 2006 2:15
by Dalroi
I find it very useful to have custom SAVE directories which get attached to the directory containing the wad file currently loaded. This feature has never given me any trouble. Would it be possible to retain it as an option, set OFF by default, or alternatively to have a -save <dir> command line switch like prboom?

Posted: Thu May 04, 2006 9:39
by Graf Zahl
There already is a -savedir command line option. If there hadn't been I wouldn't have removed the CVAR.

Re: Losing savegames

Posted: Thu May 04, 2006 9:51
by Dalroi
My apologies for not reading the documentation properly.