ROM Hack SciresM's Sun/Moon Patches

SciresM

Developer
OP
Developer
Joined
Mar 21, 2014
Messages
973
Trophies
3
Age
33
XP
8,294
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
1
Website
projectpokemon.org
XP
2,335
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,661
Trophies
3
Age
29
XP
3,523
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.
  • SylverReZ @ SylverReZ:
    @Sonic Angel Knight, Is that SAK I see. :ninja:
  • BigOnYa @ BigOnYa:
    What a weird game
  • K3Nv2 @ K3Nv2:
    Yeah I wanted to see shards of the titanic
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
    K3Nv2 @ K3Nv2: My life has no value my fat ass is staying right here