Skip to content

Save or load problem on the Wii version when there picture involved #2672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Ccd-ToF opened this issue Oct 31, 2021 · 4 comments
Closed

Save or load problem on the Wii version when there picture involved #2672

Ccd-ToF opened this issue Oct 31, 2021 · 4 comments

Comments

@Ccd-ToF
Copy link

Ccd-ToF commented Oct 31, 2021

Bugged saves.zip

Player platform:

Wii

Attach files (as a .zip archive or link them)

  • There no log in the wii version or I didn't look well ?

Describe the issue in detail and how to reproduce it:

I tried with several game and I might have found the cause: It seem the Wii version have a bug when it save a file when there picures on the screen. I tried with 5 differents game, 3 of them had Picture on the screen and these 3 are the one with the bug. When I try to load those save, it only show a black screen, with sometime a picture on the middle. Those save files are not detected when I play the game with classic RPG Maker but they are when I load them with Easy RPG on PC or any other version.

The bug dont happen with 3DS and PC Easy RPG version.

Maybe the wii version struggle when it save a file with too much informations ?

@Ghabry
Copy link
Member

Ghabry commented Nov 4, 2021

Sounds like a problem with the endianess (a missing byteswap somewhere)

@Ghabry Ghabry added the Wii label Nov 4, 2021
@Ghabry Ghabry added this to the 0.7.1 milestone Nov 4, 2021
@Ghabry
Copy link
Member

Ghabry commented Nov 7, 2021

Recent gcc versions optimize away our byteswap because casting double to uint32 is undefined behaviour (strict aliasing). -_-

@Ghabry
Copy link
Member

Ghabry commented Nov 7, 2021

@Ccd-ToF

Please try this boot.dol, it should fix your problem (when you change the map and save/load again)

boot.dol.zip


Is built with this patch applied: EasyRPG/liblcf#438

@Ghabry Ghabry added Needs feedback Waiting for the issue author to give further information. Patch available labels Nov 7, 2021
@Ccd-ToF
Copy link
Author

Ccd-ToF commented Nov 10, 2021

A big thank ! :D It worked !

@Ghabry Ghabry removed the Needs feedback Waiting for the issue author to give further information. label Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants