The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Reload this Page Development Pokemon games save fix (white screen, 1M sub-circuit, Elite four save) Any device/flashcard/3DS GBA VC
Sign Up Rules/FAQ Daily Battle Blogs Mark Forums Read


Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!
Research & Development programs in this forum are subject to moderator approval before they are displayed.

Reply
 
Thread Tools
  #1    
Old June 11th, 2015 (12:54 PM). Edited June 13th, 2015 by AmineX.
AmineX's Avatar
AmineX AmineX is offline
Music Expert
 
Join Date: Feb 2008
Location: Algeria
Age: 27
Nature: Gentle
Posts: 151
Send a message via ICQ to AmineX Send a message via Windows Live Messenger to AmineX Send a message via Skype™ to AmineX
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



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

Code:
D0 88 8D 83 42


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:



Note: No technical information available as it was a pure hex editing!
__________________
AmineX


All my pokemon music related videos here:
http://www.youtube.com/user/LHV1?feature=mhee
Reply With Quote

Relevant Advertising!

  #2    
Old June 12th, 2015 (1:24 PM).
Team Fail's Avatar
Team Fail Team Fail is offline
burning passion
ModeratorCSEO
 
Join Date: May 2009
Location: yes
Age: 21
Gender: Male
Nature: Brave
Posts: 12,612
So I've been using the GBATA SRAM patcher to overcome this issue. What exactly does this do though? Does it maintain the 128KB save size or is it reduced to just 64?
__________________
CONTENTS
001
  THE LAB
002
  VISITOR MESSAGE
003
  PRIVATE MESSAGE
004
  PUSHING BUTTONS
005
  PUSHING BUTTONS BLOG
006
  ALT
007
  PHO
008
  PAIR 1
009
  PAIR 2
010
  TWITTER
011
  TF'S MUSIC STUDIO
012
  PC DISCORD - #GENERAL
SEEN
151

OWN
151
DATA
CRY
AREA
QUIT
Reply With Quote
  #3    
Old June 12th, 2015 (2:03 PM). Edited June 12th, 2015 by AmineX.
AmineX's Avatar
AmineX AmineX is offline
Music Expert
 
Join Date: Feb 2008
Location: Algeria
Age: 27
Nature: Gentle
Posts: 151
Send a message via ICQ to AmineX Send a message via Windows Live Messenger to AmineX Send a message via Skype™ to AmineX
Quote:
Originally Posted by Team Fail View Post
So I've been using the GBATA SRAM patcher to overcome this issue. What exactly does this do though? Does it maintain the 128KB save size or is it reduced to just 64?
This reduces the save to 64K without using sram patch.(not sure)
Skip save backup up memory check
Fixes fr, lg & emerald white screen and elite four save issue
__________________
AmineX


All my pokemon music related videos here:
http://www.youtube.com/user/LHV1?feature=mhee
Reply With Quote
  #4    
Old June 12th, 2015 (3:17 PM).
Joexv's Avatar
Joexv Joexv is offline
One World Under XV
Silver Tier
 
Join Date: Oct 2012
Location: Oregon
Age: 19
Gender: Male
Nature: Sassy
Posts: 984
Send a message via Skype™ to Joexv
So this doesnt require extra patching when ROM used on a ez flash iv, correct? Or does it still require the client's patch to be able to save properly?
__________________
I'm done
Jesus Christ is my Savior
Bros with Percy

My Rom hacks
A New Dawn---Gentlemon
Not in Production:
Blackened Night---Holiday Hacks
Reply With Quote
  #5    
Old June 12th, 2015 (6:40 PM).
Team Fail's Avatar
Team Fail Team Fail is offline
burning passion
ModeratorCSEO
 
Join Date: May 2009
Location: yes
Age: 21
Gender: Male
Nature: Brave
Posts: 12,612
Quote:
Originally Posted by joexv View Post
So this doesnt require extra patching when ROM used on a ez flash iv, correct? Or does it still require the client's patch to be able to save properly?
Not anymore. It's because of the save size that they weren't supported. With this patch it fixes that.
__________________
CONTENTS
001
  THE LAB
002
  VISITOR MESSAGE
003
  PRIVATE MESSAGE
004
  PUSHING BUTTONS
005
  PUSHING BUTTONS BLOG
006
  ALT
007
  PHO
008
  PAIR 1
009
  PAIR 2
010
  TWITTER
011
  TF'S MUSIC STUDIO
012
  PC DISCORD - #GENERAL
SEEN
151

OWN
151
DATA
CRY
AREA
QUIT
Reply With Quote
  #6    
Old June 13th, 2015 (10:30 AM). Edited June 13th, 2015 by AmineX.
AmineX's Avatar
AmineX AmineX is offline
Music Expert
 
Join Date: Feb 2008
Location: Algeria
Age: 27
Nature: Gentle
Posts: 151
Send a message via ICQ to AmineX Send a message via Windows Live Messenger to AmineX Send a message via Skype™ to AmineX
Don't use Sram patch, just apply this hex mod and you're good to go!

__________________
AmineX


All my pokemon music related videos here:
http://www.youtube.com/user/LHV1?feature=mhee
Reply With Quote
  #7    
Old June 13th, 2015 (3:08 PM).
Projectwolfie's Avatar
Projectwolfie Projectwolfie is offline
I play for keeps!
 
Join Date: Jan 2011
Gender: Male
Posts: 413
This doesn't cause any problems when the save is downsized, does it?
Reply With Quote
  #8    
Old June 13th, 2015 (3:13 PM).
AmineX's Avatar
AmineX AmineX is offline
Music Expert
 
Join Date: Feb 2008
Location: Algeria
Age: 27
Nature: Gentle
Posts: 151
Send a message via ICQ to AmineX Send a message via Windows Live Messenger to AmineX Send a message via Skype™ to AmineX
Quote:
Originally Posted by Projectwolfie View Post
This doesn't cause any problems when the save is downsized, does it?
No side effects, it's 100% safe.
__________________
AmineX


All my pokemon music related videos here:
http://www.youtube.com/user/LHV1?feature=mhee
Reply With Quote
  #9    
Old June 15th, 2015 (7:47 PM).
Deokishisu's Avatar
Deokishisu Deokishisu is offline
Mr. Magius
 
Join Date: Feb 2006
Location: If I'm online, it's a safe bet I'm at a computer.
Gender: Male
Nature: Relaxed
Posts: 687
But this will remove the backup save that is used when you corrupt your primary save file, right? Still, this is super useful for playing on my flashcart, so thanks!
Reply With Quote
  #10    
Old June 15th, 2015 (8:16 PM).
Team Fail's Avatar
Team Fail Team Fail is offline
burning passion
ModeratorCSEO
 
Join Date: May 2009
Location: yes
Age: 21
Gender: Male
Nature: Brave
Posts: 12,612
Quote:
Originally Posted by Deokishisu View Post
But this will remove the backup save that is used when you corrupt your primary save file, right? Still, this is super useful for playing on my flashcart, so thanks!
Yes, it will, so be careful when saving to make sure that it's finished before cutting power, or you will run the chance of destroying the save data.
__________________
CONTENTS
001
  THE LAB
002
  VISITOR MESSAGE
003
  PRIVATE MESSAGE
004
  PUSHING BUTTONS
005
  PUSHING BUTTONS BLOG
006
  ALT
007
  PHO
008
  PAIR 1
009
  PAIR 2
010
  TWITTER
011
  TF'S MUSIC STUDIO
012
  PC DISCORD - #GENERAL
SEEN
151

OWN
151
DATA
CRY
AREA
QUIT
Reply With Quote
  #11    
Old July 17th, 2015 (10:48 AM). Edited July 17th, 2015 by crafteej.
crafteej's Avatar
crafteej crafteej is offline
 
Join Date: May 2015
Location: United States
Gender: Male
Nature: Quiet
Posts: 43
Would someone mind giving me the offset(s) so I can find the code easier? Seriously, it's gonna take FOREVER to find one line of code among THOUSANDS more.
Reply With Quote
  #12    
Old July 17th, 2015 (10:56 AM).
Team Fail's Avatar
Team Fail Team Fail is offline
burning passion
ModeratorCSEO
 
Join Date: May 2009
Location: yes
Age: 21
Gender: Male
Nature: Brave
Posts: 12,612
Quote:
Originally Posted by crafteej View Post
Would someone mind giving me the offset(s) so I can find the code easier?
It's not that hard, really, just a simple search for D0 88 8D 83 42 and modify all instances of it. It depends on if you're using FireRed 1.0 or 1.1 though, the offsets will be different. I think there's maybe only one or two occurrences of it though.
__________________
CONTENTS
001
  THE LAB
002
  VISITOR MESSAGE
003
  PRIVATE MESSAGE
004
  PUSHING BUTTONS
005
  PUSHING BUTTONS BLOG
006
  ALT
007
  PHO
008
  PAIR 1
009
  PAIR 2
010
  TWITTER
011
  TF'S MUSIC STUDIO
012
  PC DISCORD - #GENERAL
SEEN
151

OWN
151
DATA
CRY
AREA
QUIT
Reply With Quote
  #13    
Old 2 Days Ago (11:54 AM).
blureshadow's Avatar
blureshadow blureshadow is offline
First of His Name
 
Join Date: Jul 2013
Location: Romania
Age: 18
Gender: Male
Nature: Naughty
Posts: 14
Between this and SRAM patching, which is better/safer? The broken backup save seems a bit... extreme.
Reply With Quote
  #14    
Old 1 Day Ago (7:33 PM).
BluRose BluRose is online now
high items, random only, random stage
 
Join Date: Apr 2014
Location: no me importa
Age: 15
Gender: Male
Nature: Timid
Posts: 210
Quote:
Originally Posted by blureshadow View Post
Between this and SRAM patching, which is better/safer? The broken backup save seems a bit... extreme.
this: better
sram patch: likely "safer"
the broken backup is a result of doing what the game tells you not to: turn off the power while saving. and besides, most emulators (pc, wii, android, maybe not 3ds tho) have a workaround in save states. used in discipline, nothing is different <3
__________________
i'm still open to questions, but i don't know if i'll be too active anymore lolz
Reply With Quote
  #15    
Old 1 Day Ago (9:33 PM).
blureshadow's Avatar
blureshadow blureshadow is offline
First of His Name
 
Join Date: Jul 2013
Location: Romania
Age: 18
Gender: Male
Nature: Naughty
Posts: 14
Quote:
Originally Posted by BluRose View Post
this: better
sram patch: likely "safer"
the broken backup is a result of doing what the game tells you not to: turn off the power while saving. and besides, most emulators (pc, wii, android, maybe not 3ds tho) have a workaround in save states. used in discipline, nothing is different <3
I'll be using this with EZ Flash IV on an original console, so no save states.
Could you explain to me the differences of this "hack" and sram patching?
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 4:06 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2016 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2016.