2024 Matsuribayashi Ch.8 Crash Fixes #120
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change Description
Doddler pushed some fixes to Ch.8 to prevent crashing to the unmodded game on 2024-01-01. From Doddler's twitter:
This PR contains those changes (manually applied due to differences between our
mod
branch and Ch.8).I'm still on the fence on applying it for previous chapters in case it somehow breaks something, as the crashes were mainly on Ch.8 (and maybe Ch.7? not sure).
Changes made
Apply unmodded fixes for Ch.8 crashing
- This applies the changes from the unmodded game made on 2024-01-01
- Bump save file version to 2. Old saves can still be loaded (version check when loading saves was removed)
- Save layer priority in save file
- Prevent infinite loop waiting for layer to fade out
- Check whether layer is not in use before using it in certain fns
- Some changes to FadeTo() and ReleaseTextures() functions