Hacking Possible EZ Omega Corruption Source

kuwanger

Well-Known Member
OP
Member
Joined
Jul 26, 2006
Messages
1,510
Trophies
0
XP
1,783
Country
United States
Previously I've stated that one can use old compilations of emulators with the EZ-Omega without issue. This, however, is sadly not the case. One of the last thing various Loopy/FluBBa based emulators do is writeconfig(); right before exit. This obviously has a non-negligible probability of changing the SRAM at a point where SRAM writes should be avoided. I noticed only after seeing the EZ Omega kernel source was patching the Goomba Color 2014-12-14 binary. I'm not certain if they also patched the PocketNES binary/source in the EZ Omega kernel.

Having said that, I've so far tracked down the related writeconfig() for a few of the emulator versions. In principle it'd be better to move writeconfig() to a better location, but that's a non-trivial amount of effort. For the moment, one can use my hexalter to patch out the final call in exit() to writeconfig() in the following emulators/compilations.

For Goomba Paletted v2.40:

hexalter goomba.gba 0x2656=0xc0,0x46,0xc0,0x46

For Goomba Color 3-31-08:

hexalter goombacolor.gba 0xf862=0xc0,0x46,0xc0,0x46

SMSAdvance v2.4:

hexalter smsadvance.gba 0x2352=0xc0,0x46,0xc0,0x46

PS - Always make sure you make backups. I haven't so far tested any of these. It's possible there are other relevant writeconfig() in the code in some emulators, although I'm fairly certain this is not the case. Also, I'm fairly certain that the EZ-Team went a little overboard and nopped one writeconfig() more than necessary (the one that occurs when the L+R menu appears).

Edit:

PSS - Built-in PocketNES and Goomba Color both have nops to avoid this.
 
Last edited by kuwanger,

patters

Well-Known Member
Member
Joined
Jan 28, 2006
Messages
174
Trophies
1
XP
905
Country
I saw this post and wondered whether this write to SRAM directly before exiting would be an issue for the EZ-Flash IV also. However it turns out not to be the case, as explained by Kuwanger in another post here:
https://gbatemp.net/threads/goomba-color-update-2019-05-04.537731/#post-8623975

The EZ-Flash Omega seems to monitor new SRAM writes and copy them to the SD card as soon as they happen, which is very different behaviour to the older products.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    That was a thing here in Florida for a minute
  • Psionic Roshambo @ Psionic Roshambo:
    Like cars with the booty shaking lol I seen it once in person was like smiling lol
    +1
  • K3Nv2 @ K3Nv2:
    Nah I'm talking about visiting areas he hides his bodies at
  • Psionic Roshambo @ Psionic Roshambo:
    Vice City kind of feels like Miami lol
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, it's a parody iirc
  • BigOnYa @ BigOnYa:
    Yea think that's where it was supposed to be, Miami
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Having been to Miami hmmm probably a hundred times lol
  • Psionic Roshambo @ Psionic Roshambo:
    Back in my days as a delivery driver for a cartel well driver slash guy they would send if a payment was forgotten lol
  • Psionic Roshambo @ Psionic Roshambo:
    you know to help them find their checkbook lol
  • BigOnYa @ BigOnYa:
    Gta4 was NewYork or Chicago, gta5 is California
  • K3Nv2 @ K3Nv2:
    Damn camera phones catching crimes
  • Psionic Roshambo @ Psionic Roshambo:
    Always some women screaming... You break a few thousand dollars worth of crap in someone's living room and they scream lol
  • Psionic Roshambo @ Psionic Roshambo:
    lol Ken yeah the things I did as a kid I am soooo glad those didn't exist
  • K3Nv2 @ K3Nv2:
    If someone breaks my $20 TV stand their nose is getting broke
  • Psionic Roshambo @ Psionic Roshambo:
    Psi would be doing like 300-3,000 years in prison lol
  • K3Nv2 @ K3Nv2:
    Have some in closet allegations?
  • Psionic Roshambo @ Psionic Roshambo:
    Someone tried to pull a gun on me once, they reached into the couch thinking I wouldn't notice, quick kick to the arm snapping it between the wrist and elbow broke like a swing lol I reached into the couch to see what was in there, cool a free .380 lol had to hit him with it a few times to remind him not to do it again lol
  • Psionic Roshambo @ Psionic Roshambo:
    He had the 20K he owed the very next day it was a miracle lol
  • Psionic Roshambo @ Psionic Roshambo:
    Psi was a bad bad man at one point lol
  • BigOnYa @ BigOnYa:
    We need a GTA based on your life, or at least put you in 6 as a character.
  • Psionic Roshambo @ Psionic Roshambo:
    I don't think people would believe 10% of the things I have done lol thank god...
  • Psionic Roshambo @ Psionic Roshambo:
    I have a giant check list of impossible things, and I haven't done them all yet lol
  • K3Nv2 @ K3Nv2:
    @Psionic Roshambo, Was the pot farmer in San andreas
  • Psionic Roshambo @ Psionic Roshambo:
    I tell people I wrestled a 5 foot alligator and they get this smile like this guy is full of shit lol the reality is I am sad it got away.... I wanted a pet alligator lol
  • BigOnYa @ BigOnYa:
    You live in Florida, so I believe it, you guys are crazy.
    BigOnYa @ BigOnYa: You live in Florida, so I believe it, you guys are crazy.