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,324
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,494
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
    K3Nv2 @ K3Nv2: This movie rip so werid has 1080p quality but the audios ripped with movie theater audio quality