dborth / vbagx

Visual Boy Advance GX
http://wiibrew.org/wiki/Visual_Boy_Advance_GX
299 stars 39 forks source link

Save state corruption #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

- Load save states 

 -Issue 1 - In One Piece, after loading a save state, the game will just
reset, and the sound gets buggy. 
 -Issue 2 - After loading a save state, the game I'm playing or any other
game I try to play after that game will have no sound, unless I restart the
emulator. 
 -Issue 3 - The emulator just closes after loading a save state, and it
will lead me to the Homebrew Channel. 

This issues happen after a few attempts of loading save states.

Those issues were noticed on Visual Boy Advance GX 1.0.7, on Wii.

I'm using a 2GB Transcend SD Card, and the loader I'm using is the Homebrew
Channel 1.0 (not 1.0.1).

Original issue reported on code.google.com by claudio_...@hotmail.com on 28 Mar 2009 at 10:37

GoogleCodeExporter commented 9 years ago
On what version were these save states created?

Original comment by dborth@gmail.com on 29 Mar 2009 at 6:42

GoogleCodeExporter commented 9 years ago
I may have some save states created on the previous version. I will delete all 
the
save data I have in the SD card, and see if the problems are solved. 

Original comment by claudio_...@hotmail.com on 29 Mar 2009 at 6:00

GoogleCodeExporter commented 9 years ago
I deleted all the save data, but that didn't solve the One Piece and the "no 
sound"
issues. The "emulator reset" issue hasn't happened after deleting the save 
data, but
the gameplay time was short since then.

Original comment by claudio_...@hotmail.com on 29 Mar 2009 at 7:44

GoogleCodeExporter commented 9 years ago
This issue happened to me twice. Corrupted snapshot freezes the game and when 
going 
back to the emulator menu it overwrite the sram save with a blank one. So if 
one has 
a corrupted snapshot, then he lost all progress in the game. Further after 
loading 
the same or other games, the sound does not play.
To get a code dump of the error, just make another "save snapshot" after 
loading a 
corrupted snapshot.
Very boring, I lost two big progresses in two different games.

Original comment by fbela...@gmail.com on 12 Apr 2009 at 1:57

GoogleCodeExporter commented 9 years ago
Just to add more info on this issue. I got the first corrupted snapshot on VBA 
GX 
1.0.8 (Hombrew channel 1.0.1) and Wii System menu 3.2. The second corrupted 
snapshot 
happened on VBA GX 1.0.9 and Wii System menu 4.0 (Homebrew channel 1.0.1). Let 
me 
attach the two corrupted snapshots.
Well, no luck in playing castlevania on my Wii :)

Original comment by fbela...@gmail.com on 12 Apr 2009 at 2:08

Attachments:

GoogleCodeExporter commented 9 years ago
To conclude (sorry for posting three times but there is no possibility to 
edit), a 
quick workaround could be to allow multiple save states/snapshots, since the 
corrupted snapshot happens randomly (most times works, but just one failure and 
everything is lost).

Original comment by fbela...@gmail.com on 12 Apr 2009 at 2:13

GoogleCodeExporter commented 9 years ago
This bug is still occurring in the very latest 2.0.1 release.

It seems to happen randomly when Saving a snapshot and can occur about once in 
every
ten saves.

Attached is an affected bugged snapshot file for the USA version of The Legend 
of
Zelda The Minish Cap.

The gameplay is frozen, and upon reset of the rom, sound emulation is no longer
functional. (main menu of vbagx background music still plays though)

Original comment by shun...@gmail.com on 1 May 2009 at 7:55

Attachments:

GoogleCodeExporter commented 9 years ago
Let me know if this is any better in 2.0.2. Note that if a save state is 
already 
corrupted, it will still be corrupted! But if you can create new saves and 
those 
saves don't get corrupted, then this is fixed...

Original comment by dborth@gmail.com on 26 May 2009 at 6:28

GoogleCodeExporter commented 9 years ago
Same exact thing still occuring in 2.0.2 unfortunately. Got a corrupt save 
right off
the first time I tried.

I've attached save files as I had before created with 2.0.2 using the same game.

Also good to note is that loading the corrupt snapshot file clears the existing 
sram
so its dangerous to load it without backing up the sav file first.

Original comment by shun...@gmail.com on 26 May 2009 at 10:53

Attachments:

GoogleCodeExporter commented 9 years ago
I just wanted to clear one thing out, I have a Pal Wii, and the Firmware is 
3.1E. I
will try to load the games from an USB Drive to see if the SD card is the 
problem. I
may also try to load games from a SD card from another manufacturer (I first 
need to
get one, I may take some days to test it out). I remember that this problem did 
never
happened when I had a Kingston 2GB SD Card, but I always thought that wasn't the
problem. 

Original comment by claudio_...@hotmail.com on 30 May 2009 at 6:58

GoogleCodeExporter commented 9 years ago
hold off, I'm releasing 2.0.3 in a few minutes. Please try with that, after 
running 
a full scan on your SD/USB

2.0.2 caused some corruption :(

Original comment by dborth@gmail.com on 30 May 2009 at 7:07

GoogleCodeExporter commented 9 years ago
I'll post the results of the test I made of the emulator's newest version :

Using SD Card (fully scanned before using it, and any previous versions' save 
files
were deleted):

Number of Snapshots saved and loaded without problems: around 10 (the last 
snapshot I
tried to load crashed the game, and the later loaded games had no sound, unless 
I
restarted the emulator. In other words, the problem remains).

Using USB Drive (not scanned, but after reading the results, this won't 
probably matter):

Number of Snapshots saved and loaded: around 40 (25/30 minutes of gameplay 
time).
Loading snapshots never ended in crashing when using a 4GB USB Drive. However, 
there
was still a problem (that never happened when loading on SD). After loading a 
few
snapshots, I heard a sound that was alike to the sound that you may hear when 
you
remove a N64 cartridge from the N64 while playing a game (sorry for the bad
explanation). The game still worked and it's music and effects were still 
hearable,
but while I was hearing the game's music, I was also hearing that weird sound. 

Hope this was helpful in any way... One more thing, I want to give my thanks to 
all
the members of this emulator's development team. I wish you happiness, you 
deserve it
for providing fun to all people who like to play video games.

Original comment by claudio_...@hotmail.com on 30 May 2009 at 10:34

GoogleCodeExporter commented 9 years ago
Sorry for posting twice, but I forgot to attach the "weird sound snapshot". 
Here it is:

Original comment by claudio_...@hotmail.com on 30 May 2009 at 10:49

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for testing.

Original comment by dborth@gmail.com on 31 May 2009 at 2:29

GoogleCodeExporter commented 9 years ago
Issue 131 has been merged into this issue.

Original comment by dborth@gmail.com on 16 Jun 2009 at 6:23

GoogleCodeExporter commented 9 years ago
This even happens in version 2.0.4.  
Sometimes the snapshot freezes and other times the sound knocks out 
permanently.  

Original comment by williamd...@gmail.com on 5 Jul 2009 at 11:27

GoogleCodeExporter commented 9 years ago
Same problem on Wii 2.0.5
Corrupted snapshot, deletes the SRAM, lost an hour and a half on Metroid 
Fusion..

Original comment by zirmana...@gmail.com on 14 Jul 2009 at 2:59

GoogleCodeExporter commented 9 years ago
Now it seems that any game booted has no sound, even if there is no save file.  
There's gotta be something big wrong.  

Original comment by williamd...@gmail.com on 14 Jul 2009 at 11:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
On Metroid Fusion, it will save a save file (I can see it on the SD card), but 
when 
you go into the load screen, it says no save file found.  

Original comment by williamd...@gmail.com on 15 Jul 2009 at 4:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Issue 109 has been merged into this issue.

Original comment by dborth@gmail.com on 6 Nov 2009 at 5:54

GoogleCodeExporter commented 9 years ago
Im having the same problem with the latest version, save state got corrupted 
and when
i restarted my sram was blanked and there want any sound.

Heres my save state of the incident.

Original comment by epsilon3...@gmail.com on 26 Nov 2009 at 1:13

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by dborth@gmail.com on 2 Dec 2009 at 9:24

GoogleCodeExporter commented 9 years ago
Issue 160 has been merged into this issue.

Original comment by dborth@gmail.com on 2 Dec 2009 at 9:55

GoogleCodeExporter commented 9 years ago
Issue 188 has been merged into this issue.

Original comment by dborth@gmail.com on 2 Dec 2009 at 9:55

GoogleCodeExporter commented 9 years ago

Original comment by dborth@gmail.com on 2 Dec 2009 at 11:00

GoogleCodeExporter commented 9 years ago
Issue 189 has been merged into this issue.

Original comment by dborth@gmail.com on 5 Dec 2009 at 7:39

GoogleCodeExporter commented 9 years ago
I believe this issue is finally solved.

Original comment by dborth@gmail.com on 7 Dec 2009 at 8:53