ROM Hack SciresM's Sun/Moon Patches

SciresM

Developer
OP
Developer
Joined
Mar 21, 2014
Messages
973
Trophies
3
Age
33
XP
8,300
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,360
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,665
Trophies
3
Age
29
XP
3,551
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.
  • S @ salazarcosplay:
    hunter x hunter
  • S @ salazarcosplay:
    he has not allowed anyone to continue it for him for example
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, theres a dragon ball af mod for budokai 3
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
    NinStar @ NinStar: people are so dramatic that I can't even tell if they are being serious