Is there a way to use save files if the IWAD/PWAD is moved?

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Is there a way to use save files if the IWAD/PWAD is moved?

Re: Is there a way to use save files if the IWAD/PWAD is mov

by Korell » Sat Aug 24, 2019 11:16 am

It's definitely just a folder change. I've seen it happen a number of times, and on this latest one it was due to how I decided to store both "Rowdy Rudy's Revenge" and "Rowdy Rudy Returns in POWERTRIP" in a single folder - on loading the first mod the saves no longer work. I hadn't gotten that far into the first mod, though, so ended up just deleting the saves and starting again.

Re: Is there a way to use save files if the IWAD/PWAD is mov

by _mental_ » Sat Aug 24, 2019 6:35 am

Paths were never stored there. If you renamed a folder with mods while keeping filenames untouched, and saved games cannot be loaded, the problem is somewhere else. Did you check console output for loaded files?

Re: Is there a way to use save files if the IWAD/PWAD is mov

by Korell » Sat Aug 24, 2019 6:18 am

_mental_ wrote:There is no ready to use solution because coding a support for such corner case isn't worth the effort IMHO.
Although, you can edit saved game to make it work. A file with .zds extension is a regular .zip archive. It contains several files, but all you need is to edit info.json accordingly.
I don't know how to edit the info.json file to make it work as it doesn't appear to contain any kind of file path at all. Here's an example one from Operation Sea Wolf, one of the Winter Agent Juno mapsets.

{
"Software": "GZDoom g3.8pre-72-g3b77e2db6",
"Engine": "GZDOOM",
"Save Version": 4554,
"Title": "Dan",
"Current Map": "MAP04",
"Game WAD": "doom2.wad",
"Map WAD": "SWv1.3.pk3:sw command center.wad",
"Creation Time": "Sun Jan 6 2019 22:49:37",
"Comment": "MAP04 - Command Center\ntime: 00:02:08"
}

It refers to the filenames of the IWAD and PWAD (and in this case also a WAD file contained within the PK3) but no path.

Re: Is there a way to use save files if the IWAD/PWAD is mov

by _mental_ » Sat Aug 24, 2019 4:41 am

There is no ready to use solution because coding a support for such corner case isn't worth the effort IMHO.
Although, you can edit saved game to make it work. A file with .zds extension is a regular .zip archive. It contains several files, but all you need is to edit info.json accordingly.

Is there a way to use save files if the IWAD/PWAD is moved?

by Korell » Wed Aug 21, 2019 2:34 pm

So basically, if the IWAD and/or PWAD is moved (for instance in the example that I just experienced, I renamed a mod folder where I have the mod's .WAD file) then save files cannot be loaded by GZDoom as it gives the "different version" message. But the version of the WAD itself is no different.

Is there a way to force it to load the save file? I know the ECWolf has a --foreignsave command line parameter that can do this, and it is based on ZDoom, but I cannot find a similar option for GZDoom.

Top