ROM Hack Migration Pokepatch, how does it work?

Necron

Lurking~
OP
Member
Joined
Dec 29, 2008
Messages
1,059
Trophies
1
Location
Mi casa
XP
1,904
Country
Chile
Recently, I sent a pm to cory, but he says he hasn't touched the nds scene like a year, so he couldn't explain me how the patch works. I have read something, the patch copies the gba header to the nds game (in a specific place) or just does something else? Can someone explain the methond?
 

sinbad.the.saile

Well-Known Member
Newcomer
Joined
Feb 7, 2010
Messages
95
Trophies
0
Location
NY
XP
168
Country
United States
Here's how cory described it....

"Copy code and a 'stub' are inserted at the tail end of arm9, which takes the embedded bankswitching code 'stub' and copies it to 0x23B0F00, arm9 entry is patched to jump to the copy code (so the secure CRC will be buggered in the patched header), FLASH ident responses are patched in 2 locations, and FLASH bankswitching is patched to jump to the copied 'stub'. arm9 region is padded to (arm9 size+copy patch size+arm9 footer size) + pad to align to 512 bytes, all other offsets in the header are shifted to match the new offsets and the FAT table is iterated through to change it's offsets and verify the data at those offsets."


Your probably better off asking help from the EZ Flash team. Though they probable wouldnt care about it these days.
 

You may also like...

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3N1 @ K3N1:
    Cheapest I found $230 tax/s&h
    +1
  • K3N1 @ K3N1:
    Sihuuu Taco Holder Stand set of 2 - Holds up to 3 tacos in each Taco Tray - Sturdy, Dishwasher and Microwave Safe https://a.co/d/6FFlct5 What kind of tacos are even in those racks
  • Veho @ Veho:
    What's that, ham and cheese?
  • Veho @ Veho:
    I often stick some ham and cheese in a tortilla and toast it but I wouldn't dare call it a taco.
  • K3N1 @ K3N1:
    I guess ice cream in a taco is still a taco
  • K3N1 @ K3N1:
    The product placement in the fantasy football movie is werid it starts out with a psp then goes to the series x
  • Veho @ Veho:
    There's a fantasy football movie?
  • K3N1 @ K3N1:
    I bet you can't believe it's about Madden
  • Veho @ Veho:
    I can't believe it's not butter.
  • K3N1 @ K3N1:
    Lebron James did help produce it so it can't be that shit right
  • cearp @ cearp:
    kennie'snewname is now the old name???
    +2
  • M4x1mumReZ @ M4x1mumReZ:
    Woah! Kenny has changed it name?
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    @cearp, Hey there!
    +2
  • K3N1 @ K3N1:
    I prefer it/idiots as my pronouns thank you
    +2
  • K3N1 @ K3N1:
    Lol theirs a cheat code for 30/60fps for new pOKEmoNz for ryujinx
    +1
  • K3N1 @ K3N1:
    So to have echo auto you need your phone connected to BT audio then the echo auto connected to your phone
  • brouh @ brouh:
    Hey, how can i contact the admins to see if there is something blocking the views of my post
  • brouh @ brouh:
    alr thx
  • The Real Jdbye @ The Real Jdbye:
    @brouh if you can see it, then other people can see it too
  • M4x1mumReZ @ M4x1mumReZ:
    Got the new blue Christmas hat on my pfp
    M4x1mumReZ @ M4x1mumReZ: Got the new blue Christmas hat on my pfp