Skip to content
This repository has been archived by the owner. It is now read-only.

save files cannot be loaded (constant crash) after completing Paramedic missions #1140

Closed
ZiUlzimaze opened this issue Feb 19, 2021 · 3 comments
Closed

Comments

@ZiUlzimaze
Copy link

@ZiUlzimaze ZiUlzimaze commented Feb 19, 2021

Describe the bug
After completing level 12 of the Paramedic Mission and getting the health,adrenaline, and infinite stamina, the game continues on as usual. But upon saving the game and reloading it after, the game crashes with a pop-up box stating
"Assertion Failed!
File: D:\a\re3\re3\src\control\Garages.cpp
Line: 1761
Function: CGarage::FindDoorsEntities
Expression: xstart < = xend

(Press Retry to debug the application)
--end--
*Note: other missions don't "corrupt" the save file after completion

Screenshots
Screenshot (37)

Version
Re3 :Win 64-bit D3D9 OAL a4412e8

@erorcun
Copy link
Collaborator

@erorcun erorcun commented Jun 28, 2021

Duplicate. We know how to solve it, but it will need time

@erorcun erorcun closed this Jun 28, 2021
@aeifr
Copy link

@aeifr aeifr commented Jun 28, 2021

@erorcun
Is there any guide how to or already a tool to fix this tiny issue?
Or is someone already working on a fix?

@withmorten
Copy link
Contributor

@withmorten withmorten commented Jun 28, 2021

the problem is incompatible saves and the garages save sizeof hardcoded to a specific size that's unrelated to the actual number of bytes written. we already have compatible saves for windows/linux 32bit/64bit implemented in a PR by me (#1149) but this makes all old linux saves incompatible, and of course doesn't help with preexisting 64bit saves. we have also found a way to detect linux/windows incompability and 32/64bit incompability, but we don't have any code in re3 that fixes them yet. that's being worked on though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants