ROM Hack XORPADS question

Cindakil

Well-Known Member
OP
Newcomer
Joined
Apr 14, 2014
Messages
92
Trophies
0
XP
130
Country
Serbia, Republic of
Hi!!

I have a question that I hope that someone can help me :)

If I make the xorpads for Pokemon Omega Ruby can I use the same Xorpads for Pokemon Alpha Sapphire for example? Or each game has diferents xorpads?

THANKS!
 

AquaX101

Well-Known Member
Member
Joined
Apr 15, 2014
Messages
717
Trophies
0
Location
Somewhere
XP
978
Country
United States
Hi!!

I have a question that I hope that someone can help me :)

If I make the xorpads for Pokemon Omega Ruby can I use the same Xorpads for Pokemon Alpha Sapphire for example? Or each game has diferents xorpads?

THANKS!

No, because here's an example. Lets say I want a cia for AS but I have the xorpads for Tomodachi Life, if I make the cia, the cia would be incorrect and some features of the game would be corrupt and the manual would be different.
 

shinyquagsire23

SALT/Sm4sh Leak Guy
Member
Joined
Nov 18, 2012
Messages
1,970
Trophies
0
Age
24
Location
Las Vegas
XP
3,638
Country
United States
How do the XORpads work?

Basically on normal 3DS hardware the ROMs are decrypted on the fly using a part of the SoC dedicated to crypto. What xorpads do is it allows us to generate the values we need to XOR the original ROM's different sections against in order to get a fully decrypted ROM. If we had the full functionality as to how the crypto was done console-side (and I believe some other keys which we don't have), we could just do it on PC, but for now this two-step method is required.
 

gudenau

Largely ignored
Member
Joined
Jul 7, 2010
Messages
3,832
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
4,264
Country
United States
Basically on normal 3DS hardware the ROMs are decrypted on the fly using a part of the SoC dedicated to crypto. What xorpads do is it allows us to generate the values we need to XOR the original ROM's different sections against in order to get a fully decrypted ROM. If we had the full functionality as to how the crypto was done console-side (and I believe some other keys which we don't have), we could just do it on PC, but for now this two-step method is required.

I know that much, I want to know how the generation works so I could know why the output just happens to decrypt the games with the XOR boolean operation.
 

sbJFn5r

Member
Newcomer
Joined
Sep 14, 2014
Messages
24
Trophies
0
XP
112
Country
United States
I know that much, I want to know how the generation works so I could know why the output just happens to decrypt the games with the XOR boolean operation.

Decryption uses AES in counter mode. See the diagram here:
https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Counter_.28CTR.29

The output of the AES operation on the counter is XORed with the ciphertext to get the decrypted plaintext. If you pass in 0x00 as the ciphertext, you'll get the output of the AES operation on the counter back(Y XOR 0 = Y), you can save that and then perform the final step(XORing with the ciphertext) on your PC.
 

gudenau

Largely ignored
Member
Joined
Jul 7, 2010
Messages
3,832
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
4,264
Country
United States
Decryption uses AES in counter mode. See the diagram here:
https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Counter_.28CTR.29

The output of the AES operation on the counter is XORed with the ciphertext to get the decrypted plaintext. If you pass in 0x00 as the ciphertext, you'll get the output of the AES operation on the counter back(Y XOR 0 = Y), you can save that and then perform the final step(XORing with the ciphertext) on your PC.


Why could we not make a large xorpad and just use segments of that?
 

You may also like...

General chit-chat
Help Users
  • No one is chatting at the moment.
  • M4x1mumReZ @ M4x1mumReZ:
    Nice to know that
  • 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
    The Real Jdbye @ The Real Jdbye: @brouh if you can see it, then other people can see it too