ROM Hack SciresM's Sun/Moon Patches

SciresM

Developer
OP
Developer
Joined
Mar 21, 2014
Messages
973
Trophies
3
Age
33
XP
8,292
Country
United States
Patcher is available on my github.

Patches' source is available on my github.

To use: Extract code.bin from Pokemon Sun/Moon, run exe as "SMPatcher code.bin".

Use edited code.bin with either HANS/luma's custom code sections to use the patched code.bin.

Current patches:
-Allows for the resigning of any QR type, via hooked QR decryption.
-Allows for the scanning of Injection QRs, generatable via PKHeX
-Grants unlimited QR scans/day
-Enables one to scan the same QR multiple times.
-Optionally, disable outlines from being drawn.

And, as a bonus, a Magearna QR for use with my patches:
xR4kdeL.png
 

evandixon

PMD Researcher
Developer
Joined
May 29, 2009
Messages
1,725
Trophies
0
Website
projectpokemon.org
XP
2,313
Country
United States

BySilva

Well-Known Member
Newcomer
Joined
Jan 30, 2016
Messages
50
Trophies
0
XP
916
Country
Portugal
Can anyone make a guide on how to extract code.bin please? I already read some topics here but I did not understand
 

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,656
Trophies
3
Age
29
XP
3,487
Country
France
Shameless self-promotion:
https://gbatemp.net/threads/release-net-3ds-toolkit-extract-and-repack-3ds-roms-and-cias.444427/

This tool should be much more user-friendly than other options, although you'll still need to decrypt the ROM with Decrypt9.
I understand you're promoting your tool (I like to do the same), but try not to criticize others for this reason. Writing 2 letters and writing the file name is not really very hard ;)

Without want bashing your, mine is more user-friendly than your (from what I said, if write 2 letter and a name is not user-friendly, then I'm lost).

No hard feeling, I have nothing against you :)
 
  • Like
Reactions: Meliodas2255

Dennis G

Well-Known Member
Member
Joined
Jan 4, 2016
Messages
673
Trophies
0
Age
32
XP
446
Country
Netherlands
i'm not able to dump s/m in any way shape or form, not with braindump (stays red screened with s/m) nor asia's tools, they all give me crappy bugs and errors, anyone save us there are so many people asking yet no one answeres
 

Queno138

Ravens
Member
Joined
Sep 18, 2010
Messages
2,425
Trophies
0
Location
Luigi's Dark Mansion
XP
1,070
Country
Senegal
1. Download the game
2. decrypt9 deep decrypt the cia (3ds converts are likely already decrypted, such as lurantis dumps)
3. packhack and CE it
4. Decompress code.bin, and wait. it takes a while.
5. create a .txt in same directory and code.bin and sm patcher
6. paste "SMPatcher code.bin" (without the quotes) into the .txt
7. rename .txt to .bat
8. run the .bat file
9. rename the patched code.bin to the title ID
__ 0004000000164800.bin for sun
__ 0004000000175E00.bin for moon
10. place the bin in /lumu/code_sections
11. hold select when booting luma, set allow region emu language emu that settings to yes.

Confirm works'

Profit!


and if you can't follow this, I don't know how to help you.
 
Last edited by Queno138,

Dennis G

Well-Known Member
Member
Joined
Jan 4, 2016
Messages
673
Trophies
0
Age
32
XP
446
Country
Netherlands
1. Download the game
2. decrypt9 deep decrypt the cia (works with lurantis one too)
3. packhack and CE it
4. wait. it takes a while.
5. create a .txt in same directory and code.bin and sm patcher
6. paste "SMPatcher code.bin" (without the quotes) into the .txt
7. rename .txt to .bat
8. run the .bat file
9. rename the patched code.bin to the title ID
__ 0004000000164800.bin for sun
__ 0004000000175E00.bin for moon
10. place the bin in /lumu/code_sections
11. hold select when booting luma, set allow region emu language emu that settings to yes.

Confirm works'

Profit!


and if you can't follow this, I don't know how to help you.
Decrypting Deep the cia won't work for me, it gives me a error about NCCH every time done it 3 times and it's a hour + process, i knew all those steps but i get errors on every methode possible that's the problem. :s
 
Last edited by Dennis G,

KunoichiZ

Well-Known Member
Member
Joined
Mar 16, 2012
Messages
8,830
Trophies
0
Age
28
XP
4,597
Country
United States
1. Download the game
2. decrypt9 deep decrypt the cia (works with lurantis one too)
3. packhack and CE it
4. wait. it takes a while.
5. create a .txt in same directory and code.bin and sm patcher
6. paste "SMPatcher code.bin" (without the quotes) into the .txt
7. rename .txt to .bat
8. run the .bat file
9. rename the patched code.bin to the title ID
__ 0004000000164800.bin for sun
__ 0004000000175E00.bin for moon
10. place the bin in /lumu/code_sections
11. hold select when booting luma, set allow region emu language emu that settings to yes.

Confirm works'

Profit!


and if you can't follow this, I don't know how to help you.
Do we decompress the code.bin when asked?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    It could get banned from PSN but you can change your ID I think?
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
  • K3Nv2 @ K3Nv2:
    Did you try wearing them?
    K3Nv2 @ K3Nv2: Did you try wearing them?