[4.9.0] Loadgame still looks inside Save (and fails)

Bugs that have been investigated and resolved somehow.

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.
Accensus
Posts: 2377
Joined: Thu Feb 11, 2016 9:59 am

[4.9.0] Loadgame still looks inside Save (and fails)

Post by Accensus »

Using the portable installation. Let's say I have a save file called Ace.zds. I am noticing the following problem:
- If the save is in the root Save directory, "-loadgame Ace.zds" will look for it in Save/doom.id.doom2.commercial. Game launches but the console spits out "Could not read savegame"
- If the save is in Save/doom.id.doom2.commercial, "-loadgame Ace.zds" will look for it in Save. GZDoom will fail to launch saying it can't even find the file.
- If the save is in Save/doom.id.doom2.commercial and I explicitly tell it to use "-loadgame doom.id.doom2.commercial/Ace.zds", it will look for it in Save/doom.id.doom2.commercial/doom.id.doom2.commercial. Same as the first case - game launches but console says nah.

What the hell? At least it can be found by the menu if placed in doom.id.doom2.commercial and loaded correctly in-game. But that's bad because A) I almost always use -loadgame especially when testing mods, and B) this renders multiplayer saving useless because you can't even load the save.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 48326
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [4.9.0] Loadgame still looks inside Save (and fails)

Post by Graf Zahl »

The engine tries to validate the savegame before it knows the path, Of course that will fail.
Accensus
Posts: 2377
Joined: Thu Feb 11, 2016 9:59 am

Re: [4.9.0] Loadgame still looks inside Save (and fails)

Post by Accensus »

Saw the fix. I appreciate the quick work, man. Thank you.

Return to “Closed Bugs [GZDoom]”