ROM Hack SciresM's Sun/Moon Patches

WannyTiggah

Well-Known Member
Member
Joined
Feb 24, 2014
Messages
168
Trophies
0
Age
41
XP
348
Country
Chile
You need an unmodified code.bin file, a code.bin that has all the modifications you want done to it and this program: Lunar IPS

Click create IPS, select the unmodified file, then select the modified one, then choose a name and place to save the IPS patch to.
Of course I only have the IPS patches. Where am I to find a modified patch.bin file if it's illegal to ask for one?
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,008
Trophies
2
Age
36
XP
4,570
Country
United States
Of course I only have the IPS patches. Where am I to find a modified patch.bin file if it's illegal to ask for one?
You can extract a clean code.bin file from a decrypted CIA of Pokémon. Then you can use the same Lunar IPS software to apply whatever combination of IPS patches you'd like. Then you can use it to make a combined master IPS with all the features you want.

You can get a decrypted CIA of Pokémon using Decrypt9 or Hourglass9. You can extract the code.bin file using this tool: https://github.com/evandixon/DotNet3dsToolkit/releases/tag/1.3.0
 

Rick Astley

The real one !
Member
Joined
Apr 1, 2015
Messages
489
Trophies
0
XP
689
Country
Hey o/ !

Sorry, I'm gonna post a HUGE amount of noob questions, but too be honnest, I didn't check the 3DS Scene for a little time, so i'm really lost with all theses patches etc... I've learnt how to decrypt .cia, editing them etc a long time ago but well. Still lost with new process.

So now, Luma can load code.bin + GARC files itself if I understand (saw this on Rising Sun / Waning Moon) because, I'd like to use some patches for the code.bin BUT editing wild encounter / pokemon data too (well at least what it's possible with pk3ds)

But i'm ABSOLUTLY LOST on how to do that. After getting my game decrypted (the leaks.cia works for that ? i've them ONLY because of decrypting them) what I have to do ? Do I have to use SaltySD ? And just this works on a real cartridge or not at all ?

Edit : And using Luma 6.6 will work ? Because i've a OLD version of a9lh (the one popular in May / June) and don't want to deal with nightly build for the moment

Really lost sorry.
Thanks o/
 
Last edited by Rick Astley,

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,008
Trophies
2
Age
36
XP
4,570
Country
United States
Hey o/ !

Sorry, I'm gonna post a HUGE amount of noob questions, but too be honnest, I didn't check the 3DS Scene for a little time, so i'm really lost with all theses patches etc... I've learnt how to decrypt .cia, editing them etc a long time ago but well. Still lost with new process.

So now, Luma can load code.bin + GARC files itself if I understand (saw this on Rising Sun / Waning Moon) because, I'd like to use some patches for the code.bin BUT editing wild encounter / pokemon data too (well at least what it's possible with pk3ds)

But i'm ABSOLUTLY LOST on how to do that. After getting my game decrypted (the leaks.cia works for that ? i've them ONLY because of decrypting them) what I have to do ? Do I have to use SaltySD ? And just this works on a real cartridge or not at all ?

Edit : And using Luma 6.6 will work ? Because i've a OLD version of a9lh (the one popular in May / June) and don't want to deal with nightly build for the moment

Really lost sorry.
Thanks o/

  1. Luma can load external code.bin files on Luma3DS 6.6. It can only load the IPS patches (which negate the need for decrypting and obtaining an code.bin file) on the latest nightly. Luma3DS cannot load GARC files. The latest nightly can load an entire romfs as a whole.
  2. SaltySD is a patch to the code.bin file (also offered here as an IPS patch recently) that allows the loading of GARC files and modified files. Yes, it works on a read cartridge because Luma3DS loads the code.bin / code.ips file when using real cartridges too.
  3. Your version of A9LH does not matter, the nightly works on both old and new.
Basically, the steps are this:

  • Obtain or decrypt your own CIA file
  • Extract the CIA and find the code.bin file
  • Patch it using SaltySD's patch (this is not the SaltySD thread, not going into detail on this)
  • Put the patched code.bin on your memory card (the folder varies depending on what Luma3DS version you have)
  • Modify the other extracted files using pk3ds and then place them on your memory card in the SD:\SaltySD\SunMoon\ folder
  • Boot up the game and enjoy.
If you have the Luma3DS nightly, you can skip finding and patching the code.bin file and just use the SaltySD IPS file instead.
 

Rick Astley

The real one !
Member
Joined
Apr 1, 2015
Messages
489
Trophies
0
XP
689
Country
wow thanks for the head up on Luma etc, I was really late to this. Your answer is awesome, I'll be able to try this a little now o/ !

Just need to know how to use properly SaltySD, gonna check the thread for that.

Thank you so much ! I'm quite surprised that .ips are still a thing for 3DS (GBA Rom-Hack lover here haha)
 

Sonansune

Well-Known Member
Member
Joined
Jul 2, 2015
Messages
3,734
Trophies
1
XP
2,142
Country
Canada
wow thanks for the head up on Luma etc, I was really late to this. Your answer is awesome, I'll be able to try this a little now o/ !

Just need to know how to use properly SaltySD, gonna check the thread for that.

Thank you so much ! I'm quite surprised that .ips are still a thing for 3DS (GBA Rom-Hack lover here haha)
well.... ips = differences
Not a surprise it occured on 3ds platform.
 

WannyTiggah

Well-Known Member
Member
Joined
Feb 24, 2014
Messages
168
Trophies
0
Age
41
XP
348
Country
Chile
So, the real question:

Is there a list of hex modifications to make my own IPS patches without having to patch the code.bin file each time to get the differences?
 

Sonansune

Well-Known Member
Member
Joined
Jul 2, 2015
Messages
3,734
Trophies
1
XP
2,142
Country
Canada
So, the real question:

Is there a list of hex modifications to make my own IPS patches without having to patch the code.bin file each time to get the differences?
Check post #118. Really to use ips files.

Idk why you patch the code.bin with ips when you can use ips directly.
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,008
Trophies
2
Age
36
XP
4,570
Country
United States
That's precisely what I want to know: What changed offset does what.
We haven't figured out 100% of the code.bin file yet. How about you list the features you want and we can assist with the needed addresses, values or pre-made IPS file. Most of the modifications are coming from the Pokémon Moon Gateshark/NTR request thread.
 

hacksn5s4

Banned!
Banned
Joined
Aug 12, 2015
Messages
4,332
Trophies
0
XP
1,322
Country
some one made a patcher that patches both mystery machine and qr into the code.bin so i made a ips patch of it
 

Attachments

  • code.zip
    743 bytes · Views: 117

Rick Astley

The real one !
Member
Joined
Apr 1, 2015
Messages
489
Trophies
0
XP
689
Country
Well no way to extract files from my .cia (the leaked one)
Using Decrypt9 tells me that my game is already decrypted.
using the extractor tells me that it's done in 0second and of course nothing is created (saying yes for decompressing the code.bin)

At least, I'll check for my friends, thanks o/
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,008
Trophies
2
Age
36
XP
4,570
Country
United States
Well no way to extract files from my .cia (the leaked one)
Using Decrypt9 tells me that my game is already decrypted.
using the extractor tells me that it's done in 0second and of course nothing is created (saying yes for decompressing the code.bin)

At least, I'll check for my friends, thanks o/
If you're using the hack-pack from Asia81, then make sure you're not putting the .cia bit in when typing out the name.
 
  • Like
Reactions: Rick Astley

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    Now I could go with soldering the contacts from the cable to the connector on the mobo, but doesn't sound like a good permanent solution.
  • Maximumbeans @ Maximumbeans:
    Man, that's beyond my brain :rofl: I'm no good with hardware for now. I'd like to get into hardmods in future though
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Maybe start practice soldering. Get a cheap-ass soldering iron and follow some good YouTube tutorials.
    +1
  • SylverReZ @ SylverReZ:
    Least my experience has gotten better than over a decade ago. My iron would constantly bump into components and break them.
  • Maximumbeans @ Maximumbeans:
    Sounds good. I actually did soldering but like 16 years ago for school so uuuuh probably rusty haha
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Same here. I did soldering at school from a teacher who I honestly liked since he had plenty of good electronics experience.
    +1
  • Maximumbeans @ Maximumbeans:
    I wish I could play chess well
    +1
  • Maximumbeans @ Maximumbeans:
    Useless but a true art
    +1
  • SylverReZ @ SylverReZ:
    @Maximumbeans, I had a friend who had a glass chess set for their birthday.
  • SylverReZ @ SylverReZ:
    It was like all clear and fancy. Tbf I'm not too experienced with chess, but would like to learn someday.
  • Maximumbeans @ Maximumbeans:
    That sounds really cool
  • Maximumbeans @ Maximumbeans:
    I know the basics but no strategy at all :rofl:
    +1
  • Veho @ Veho:
    Watch chess streamers on Twitch and you'll pick up a thing or two.
    +1
  • Veho @ Veho:
    Not to mention there's an infinite number of chess games for every possible platform.
    +1
  • DinohScene @ DinohScene:
    just play it, get beaten a few times and start dominating
    +1
  • K3Nv2 @ K3Nv2:
    Nude chess is best
    +1
  • DinohScene @ DinohScene:
    strip checkers > nude chess
    +1
  • K3Nv2 @ K3Nv2:
    Nude checkers get jumped
    +1
  • SylverReZ @ SylverReZ:
    @Veho, I guess you'd pick up something while watching tub streams.
  • SylverReZ @ SylverReZ:
    @K3Nv2, Dick fights. :tpi:
  • Veho @ Veho:
    Turkish olive oil wrestling.
    +1
  • K3Nv2 @ K3Nv2:
    Well I believe I'm about to get hit with a spring sinus infuction
  • K3Nv2 @ K3Nv2:
    Shame it wasn't Facebook that paused them
    K3Nv2 @ K3Nv2: Shame it wasn't Facebook that paused them