Jump to content

Ruby Savefile Detection Bug


Deoxyz

Recommended Posts

PKHeX is detecting my Pokemon Ruby savefile as an Emerald savefile, whether it's directly from the cartridge or had been used in an emulator. It doesn't seem to do this with any other game, but I don't think it's a problem with my save.

Edited by Deoxyz
Link to comment
Share on other sites

5 hours ago, Deoxyz said:

PKHeX is detecting my Pokemon Ruby savefile as an Emerald savefile, whether it's directly from the cartridge or had been used in an emulator. It doesn't seem to do this with any other game, but I don't think it's a problem with my save.

upload your save for @Kaphotics to see.

Link to comment
Share on other sites

10 hours ago, theSLAYER said:

upload your save for @Kaphotics to see.

Alright, save attached. I had assumed the problem wasn't on my part.

The cart and savefile are over a decade old, so I'm positive it's not a bootleg either if for some reason that would cause the issue.

 

Edited by Deoxyz
removed save
Link to comment
Share on other sites

On 07/01/2017 at 0:58 AM, Kaphotics said:

The GameCode field has been modified/corrupted, possibly due to cheat codes?

Either way, just edit block0's 0xAC value to 00 00 00 00 (@ 0x80AC && 0x170AC) and it should be recognized correctly.

It's my turn to experience this.

Changing those block's values to 00 00 00 00 in pkhex still prompts as Emerald,
So I imagine PKHeX is also reading other values?

Link to comment
Share on other sites

54 minutes ago, theSLAYER said:

It's my turn to experience this.

Changing those block's values to 00 00 00 00 in pkhex still prompts as Emerald,
So I imagine PKHeX is also reading other values?

Your save file's block0 will probably be in a different location. You can get the offset by setting a breakpoint on the getIsG3SAV method and observe where it is fetching GameCode from.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...