Fixes for all GBA Pokemon's save issue with AGB_FIRM

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by AmeenX, Jun 9, 2015.

  1. AmeenX
    OP

    AmeenX GBAtemp Regular

    Member
    258
    81
    May 19, 2014
    Antigua and Barbuda
    Bejaïa
    This Hack is a saving function fix for all the pokemon gba games, for all languages, for all versions (1.0 / 1.1).

    [Fire Red, Leaf green, Ruby, Sapphire, Emerald]

    This hack was initially made by RIKU (gbatemp) then dumped and improved by Yafee and AmeenX!

    Usage:

    Warning: - Don't use Sram patch, just apply this hex mod and you're good to go
    - If you wanna apply this to a 32MB hack rom, apply the ROM hack ips to the pokemon rom then apply this hex mod!


    [​IMG]

    Open the desired ROM in a hex editor and find the following string:

    Code:
    D0 88 8D 83 42
    [​IMG]

    Note: This string can be found in two different locations in some ROMs, make sur you find and edit both of them!

    Also the strings can be found in two different lengths:

    Code:
    D0888D8342 [xx xx xx] 2410491068
    Or

    Code:
    D0888D8342 [xx xx xx xx] 2410491068
    Edit stricly what's between
    Code:
    D0888D8342 [and] 2410491068
    Replace the xx by 00

    Exemple:

    [​IMG]


    [​IMG]


    The footer is the same for all pokemon games

    [​IMG]

    For 32mb pokemon ROM hacks

    [​IMG]
     
    Last edited by AmeenX, Jun 15, 2015 - Reason: update


  2. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    7,073
    4,478
    Jan 17, 2013
    Mexico
    Isn't Fire Red one of those games that require a special kind of saving?
    Is one of the reasons why I hate people grab Fire Red as a basis for whatever hack they make. XD
     
  3. AmeenX
    OP

    AmeenX GBAtemp Regular

    Member
    258
    81
    May 19, 2014
    Antigua and Barbuda
    Bejaïa
    The issue has been fixed apparently on the iso site

    Pokémon - FireRed VersionSave Works - Special Thanks To: *SNIP*
     
    Last edited by Veho, Jun 10, 2015 - Reason: No linking to ROM sites.
  4. AmeenX
    OP

    AmeenX GBAtemp Regular

    Member
    258
    81
    May 19, 2014
    Antigua and Barbuda
    Bejaïa
    Here is an ips patch for pokemon fire red U 1.0 that that solves the save issue via an asm hack mod by & thanks to Riku!
    The footer is included aswell
    Note: it's save fine after the elite four!!!
     
    Last edited by AmeenX, Jun 11, 2015
  5. AmeenX
    OP

    AmeenX GBAtemp Regular

    Member
    258
    81
    May 19, 2014
    Antigua and Barbuda
    Bejaïa
    Pokemon fire red Save fix patch for all languages on the first post!!!
     
  6. AmeenX
    OP

    AmeenX GBAtemp Regular

    Member
    258
    81
    May 19, 2014
    Antigua and Barbuda
    Bejaïa
    Leaf green save fix all languages!
    First poste updated!
     
  7. AmeenX
    OP

    AmeenX GBAtemp Regular

    Member
    258
    81
    May 19, 2014
    Antigua and Barbuda
    Bejaïa
    Pokemon Emerald all languages Save fix.Elitefour fix GBA VC 3DS
    First poste updated
     
    noctis90210 likes this.
  8. gudenau

    gudenau Largely ignored

    Member
    3,269
    1,237
    Jul 7, 2010
    United States
    /dev/random
    Emerald says that the save is corrupt, and that the battery has run dry. Fixes for that?
     
  9. jmmc

    jmmc Advanced Member

    Newcomer
    92
    26
    May 8, 2011
    I have got the same problem, did you fix that?
     
  10. gudenau

    gudenau Largely ignored

    Member
    3,269
    1,237
    Jul 7, 2010
    United States
    /dev/random
    Nope.
     
    jmmc likes this.
  11. jmmc

    jmmc Advanced Member

    Newcomer
    92
    26
    May 8, 2011
    Ok, thanks :)
     
  12. Ammako

    Ammako GBAtemp Guru

    Member
    6,424
    3,546
    Dec 22, 2009
    Canada
    A bit of a necrobump but what exactly does this change? Does this properly allow you to continue past the E4?
    Does this make the game keep a 128KB save file properly? And AGB_FIRM can handle it properly?

    Because initially it was thought AGB_FIRM didn't support 128KB save files so thats why people were resorting to using a patch to change the save type to 64KB, but that caused a problem with the game deleting the save file after the E4. Does this hex edit prevent this problem? Does it still use a 64KB save size except without the save corruption problem? Or does it properly use 128KB save file?

    It seems to generate a 128KB save file in VBA, but curious to know how it works with AGB_FIRM.
     
    Last edited by Ammako, Jan 8, 2016
  13. jaksy

    jaksy GBAtemp Advanced Fan

    Member
    551
    197
    Jun 10, 2014
    United States
    I haven't personally gone past the elite four with the hex edited version, but if you look back on AmeenX's posts in this thread you will see mentioned:
    It appears the patches were later removed and the hex editing technique was directly explained instead, so it should work assuming the hex technique is the same one used to provide the results mentioned by AmeenX in that quote.
     
  14. Asia81

    Asia81 In my Ecchi World <3

    Member
    5,042
    2,488
    Nov 15, 2014
    France
    Albi
    Hi guys.
    I have some roms hack in .gba, but they are 16mb, not 32, so what should I do?
     
  15. Bombadonche

    Bombadonche Newbie

    Newcomer
    7
    1
    Jan 19, 2016
    France
    Hey,
    I downloaded a pokemon emerald romhack (16 MB)which include day / night system ; I applied this fix and took care to activate RTC option on the footer,but the game is stuck on night;
    no internal battery problem message,just the corrupt save thing who doesn't really matter

    I don't really care if I don't have the day / night system (would be cool tho) but would just like to at least have my game on daytime.
    Anyone could help please? :x
     
  16. Anim3

    Anim3 Newbie

    Newcomer
    3
    0
    Jan 11, 2016
    United States
    Hey im having the same issue as the other users in which the game states the battery has run dry, is there anything i can do to fix this problem?
     
  17. Home_Rowed

    Home_Rowed GBAtemp Regular

    Member
    103
    18
    Oct 17, 2006
    United States
  18. guruFTW

    guruFTW Member

    Newcomer
    33
    1
    Jul 23, 2013
    Italy
    So, this fixed my Pokemon Fire Red, but when I boot up emerald it just straight up tells me that the save was deleted and I'm forced to start a new game.

    Any way to fix this?
     
  19. YharnamBadass

    YharnamBadass GBAtemp Regular

    Member
    192
    39
    Jan 4, 2016
    Ecuador
    Will this work for any game that doesn´t save?
     
  20. Asia81

    Asia81 In my Ecchi World <3

    Member
    5,042
    2,488
    Nov 15, 2014
    France
    Albi
    I guess Yes, all my Pokemon GBA save fine