Stewmath / GameYob

[Super] Gameboy [Color] emulator for the Nintendo [3]DS
MIT License
273 stars 59 forks source link

Always corrupt saves #179

Open Sirix1995 opened 4 years ago

Sirix1995 commented 4 years ago

Hi ! I'm starting using GameYob on my Wood R4 from 2017 because LameBoy had a lot of compatibility issues. I'm trying it with Pokémon Yellow. It works fine, even with the battery save from LameBoy, but when I save the game and restart, the save is always corrupted. I can't save the game ! Have you a solution ?

I use this R4 on a DS Lite and a 2DS. It have a 8 GB SanDisk MicroSD card.

ParzivalWolfram commented 4 years ago

I cannot reproduce on the 0.5 build. What version of GameYob are you running? Also, what's the MD5 of your Pokemon Yellow ROM?

Sirix1995 commented 4 years ago

So, it appears it works when disabling autosave and saving manually. I run the GameYob 0.5.4 release.

Here's my rom's MD5. Please note that it is the french version of Pokémon Yellow. I took it from here.

2df6b439a35e0d511d52fa75c6a7849a

Stewmath commented 4 years ago

I'm sorry, 0.5.4? Is it actually "0.5-4g"? If it has "-g" followed by some letters, that would mean it's something between "v0.5" and "v0.5.1". If it actually says "0.5.4" then I don't know what that is.

It's come to my attention that Filetrip is down. I've uploaded v0.5.2, the latest release, to github's "releases" page. I made some changes which may have an effect on autosaving (although this was several years ago).

https://github.com/Drenn1/GameYob/releases

Sirix1995 commented 4 years ago

Hi ! Sorry, I was wrong, it's 0.5.2. I downloaded it from another website, but I don't remember it's name. As I was saying, the bug only occurs in autosave mode. When I manually save with X, it works. I don't really now what's happening. Here's my save before and after autosaving, a software like PKHex can still load it after corruption, but the checksums are invalid.

Archive.zip