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,009
Trophies
2
Age
36
XP
4,571
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
714
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,009
Trophies
2
Age
36
XP
4,571
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
714
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,009
Trophies
2
Age
36
XP
4,571
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: 118

Rick Astley

The real one !
Member
Joined
Apr 1, 2015
Messages
489
Trophies
0
XP
714
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,009
Trophies
2
Age
36
XP
4,571
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
  • Psionic Roshambo @ Psionic Roshambo:
    I was kinda sad the Yakuza guy died sword fighting a predator lol
  • Psionic Roshambo @ Psionic Roshambo:
    The Russian guy went out like a boss
  • Psionic Roshambo @ Psionic Roshambo:
    Double claymores to the face definitely kill a predator lol
  • BigOnYa @ BigOnYa:
    I went today and looked at a motorcycle someone was selling. I get there and the battery on it was dead, so the guy grabbed a battery charger and hooked it up. He plugged it into the wall, and the motorcycle sparked and started smoking. Come to find out the bike uses a 6 volt battery and the guy had the charger set to 12v. I said sorry to the dude and walked away. I felt bad for him tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds like it would be an exciting ride....
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure I would want something on fire between my legs
  • BigOnYa @ BigOnYa:
    He ruined it basically. Sad cause it was a decent old bike. It would take more money to rewire the bike than it was worth tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I'm sure at minimum the starter was fried
  • Psionic Roshambo @ Psionic Roshambo:
    Alternator and battery
  • BigOnYa @ BigOnYa:
    Prob alot of fried parts. It was still smoking when I left.
  • K3Nv2 @ K3Nv2:
    I would've said show me how it rides
  • Psionic Roshambo @ Psionic Roshambo:
    I always wanted one of those Smart Cars with a Hyabusa motor in it.
  • K3Nv2 @ K3Nv2:
    I'm getting sick and tired of cheap ass baking pans now
  • BigOnYa @ BigOnYa:
    I think it be cool to have one that would fit in my pickup truck bed, then I could put down ramps n drive it off.
  • K3Nv2 @ K3Nv2:
    Used this one 5 times already impossible to clean
  • BigOnYa @ BigOnYa:
    You need the $900 copper coated ones, they are good for 10 times cooking before they are un cleanable
  • Psionic Roshambo @ Psionic Roshambo:
    Condoms are only meant to be used once Ken lol
  • K3Nv2 @ K3Nv2:
    Well damn that explains how you were born
  • BigOnYa @ BigOnYa:
    I tried Cavier for the first time today. That shit is nasty. Don't get why people like it.
  • Psionic Roshambo @ Psionic Roshambo:
    Eh it's good with Vodka and crackers
  • Psionic Roshambo @ Psionic Roshambo:
    Gotta have the whole experience
  • Psionic Roshambo @ Psionic Roshambo:
    Drink enough vodka so you can barely taste it
    Psionic Roshambo @ Psionic Roshambo: Drink enough vodka so you can barely taste it