ClayAmore / ER-Save-Editor

Elden Ring Save Editor. Compatible with PC and Playstation saves.
Apache License 2.0
313 stars 80 forks source link

Version 0.0.21 crashes upon opening save files #79

Open CocaineJane opened 3 months ago

CocaineJane commented 3 months ago

As the title says, every time I go to open a SL2 file with the program, it auto closes with no crash log or error message.

https://youtu.be/KGdR4wxQGso

kmm commented 3 months ago

I think I'm seeing the same issue, seems to be a loader check that's failing.

thread 'main' panicked at src/save/common/user_data_11.rs:28:9:
assertion `left == right` failed
  left: 135
 right: 0

And the relevant code with the assertion that's failing:

user_data_11.rest.copy_from_slice(br.read_bytes(0x56050)?);
assert_eq!(user_data_11.rest[0], 0);

So it looks like the loader is reading a block and expecting the first byte to be a zero, but it's finding 135. That's about all I can really add, I'm a Rust noobie at best and I don't know anything about FromSoft's save file formats.

MechMK1 commented 2 months ago

Happens to me as well. It seems this project is currently abandoned.