Can't load save games on latest betas
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
- 3371-Alpha
- Posts: 61
- Joined: Wed Sep 28, 2016 9:52 pm
- Location: Veldin Orbit
Can't load save games on latest betas
The title pretty much says it all. Whenever I attempt to load a previous save, it always tells me I can't load the game "because it was created by a previous version of zDoom", never mind that the file was created with that very version. Considering I'm on PowerPC, I'm going to assume this is another endianness issue. What do you think?
- Major Cooke
- Posts: 8215
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: GZBoomer Town
- Contact:
Re: Can't load save games on latest betas
Welcome to the betas, where barrels leak acid and explode all over your saved games.
To summarize, the saved version code has to be upped every so often whenever an otherwise save-breaking change occurs. Yes, it may look like it's on the same version with the fancy 2.8.1, but that's just glossing over the internal numbers. Expect development builds to break your saved games every so often. Treat them as dime-a-dozen.
To summarize, the saved version code has to be upped every so often whenever an otherwise save-breaking change occurs. Yes, it may look like it's on the same version with the fancy 2.8.1, but that's just glossing over the internal numbers. Expect development builds to break your saved games every so often. Treat them as dime-a-dozen.
- 3371-Alpha
- Posts: 61
- Joined: Wed Sep 28, 2016 9:52 pm
- Location: Veldin Orbit
Re: Can't load save games on latest betas
Well that's just the thing, I backed up my original 2.8.1 files and stored them away. I created a new game while trying out the latest beta yesterday and now it doesn't want to load it.
Re: Can't load save games on latest betas
Upload saved game in question somewhere or even attach to the forum post if it's small.
- 3371-Alpha
- Posts: 61
- Joined: Wed Sep 28, 2016 9:52 pm
- Location: Veldin Orbit
Re: Can't load save games on latest betas
Alright, Here's a save from the latest beta from TeamDRD's site. I'm playing PERDITION'S GATE with Doom 2 BFG edition on this one, of course I also get the same result without iwads and with the original doom 1 & 2.
- Attachments
-
save0.zds.zip- The new betas are great, it's just what's the point in using them if I can't reload my last save?
- (63.68 KiB) Downloaded 41 times
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Can't load save games on latest betas
That savegame is corrupt, it cannot be opened at all, not just with ZDoom but also with any Zip decompression utility I tried. It's no surprise that ZDoom cannot load it. The real mystery is, how this got created, because I have never seen something like it.
I'M afraid, you'll have to tell us a bit about the computer where this happens.
I'M afraid, you'll have to tell us a bit about the computer where this happens.
Re: Can't load save games on latest betas
Considering it's PowerPC it can be endian issue indeed. Or even unaligned memory access but IIRC it should crash instead of reading/writing random values.
I'll check this issue soon but don't except a quick fix as I don't have working C++ 11/14 compiler with PPC target. Blzut3 definitely has required version of GCC and I hope he will share it with me.
I'll check this issue soon but don't except a quick fix as I don't have working C++ 11/14 compiler with PPC target. Blzut3 definitely has required version of GCC and I hope he will share it with me.
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Can't load save games on latest betas
Yeah, sounds like it. Possibly just a LittleLong call missing somewhere. The big question is, how to find it...
- 3371-Alpha
- Posts: 61
- Joined: Wed Sep 28, 2016 9:52 pm
- Location: Veldin Orbit
Re: Can't load save games on latest betas
I'm not sure if this will be of any help, but Cameron Kaiser ("ClassicHasClass") of TenFourFox and Tobias Netzel of Leopard Webkit might have some advice for where to search. Both are avid PPC users and both have back ported their own web browsers to PPC Macs.
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Can't load save games on latest betas
How would that help finding a problem somewhere in ZDoom's code base. I'll have to sift through the entire Zip writing stuff to find the problem because those godforsaken Zip decompressors only tell me that the file is corrupt, they do not tell me WHAT is corrupt.
Re: Can't load save games on latest betas
It appeared to be pretty simple to fix, here is a pull request. I added a few small macOS related fixes for issues I discovered in the process.
- 3371-Alpha
- Posts: 61
- Joined: Wed Sep 28, 2016 9:52 pm
- Location: Veldin Orbit
Re: Can't load save games on latest betas
Oh, thanks. Also sorry Graf Zahl about the irrelevant suggestion, I'm not that experienced with compiled apps.