Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TINSEL: Handle DW2 saves that had Noir-sized SysVars - #4661

Merged
bluegr merged 1 commit into
scummvm:masterfrom
somaen:tinsel_fix_13897
Feb 4, 2023
Merged

TINSEL: Handle DW2 saves that had Noir-sized SysVars#4661
bluegr merged 1 commit into
scummvm:masterfrom
somaen:tinsel_fix_13897

Conversation

@somaen

@somaen somaen commented Jan 25, 2023

Copy link
Copy Markdown
Member

With this change we now once again can read pre 2.6 savegames. Similarly savegames created after this fix will be readable by ScummVM < 2.6.0. We will also be able to load savegames created by ScummVM 2.6.x.

The only limitation is that since we now create the same kind of savegames as older versions again, ScummVM 2.6.x will be unable to load savegames created after this.

This fixes bug #13897

With this change we now once again can read pre 2.6 savegames.
Similarly savegames created after this fix will be readable by
ScummVM < 2.6.0. We will also be able to load savegames created
by ScummVM 2.6.x.

The only limitation is that since we now create the same kind
of savegames as older versions again, ScummVM 2.6.x will be
unable to load savegames created after this.

This fixes bug #13897
@somaen

somaen commented Jan 25, 2023

Copy link
Copy Markdown
Member Author

The original issue was introduced here: eccf066

@dwatteau

dwatteau commented Jan 28, 2023

Copy link
Copy Markdown
Contributor

Thanks! I can't comment on the code itself, but this change appears to work fine with the various <2.6.0 and >2.6.0 saves I have here 👍

If this gets merged, this should probably be cherry-picked to branch-2-7 IMO

@bluegr

bluegr commented Feb 4, 2023

Copy link
Copy Markdown
Member

Thanks, this addresses this unwanted regression in a clean manner

@bluegr
bluegr merged commit 366c1e5 into scummvm:master Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants