Gaming Help With Randomizing Pokemon Moon

John_Titor

Member
OP
Newcomer
Joined
Jan 23, 2017
Messages
5
Trophies
0
Age
28
XP
54
Country
United States
So I recently saw a video online of someone doing a randomizer nuzlocke of pokemon sun moon, and decided that i wanted to give it a try myself. I installed homebrew and Luma from that online 3ds.guide website. I should also note that i installed a cia version of moon using FBI because i didn't want to lose/ruin my save on pokemon Sun. Anyhow, I updated moon to 1.1, and followed all of the tips/guide etc i could find online to try and get the randomizer to work. I just dont know what i am doing wrong. One weird thing i noticed is that from homebrew, i can see two moon entries, and if i try to launch one, it causes an error, and forces me to reboot, while the other just works as normal, but seemingly disallows any custom code. Im not sure if that is relevant. I've tried using the up to date SMPatcher, .isps, everything. No matter what i do, the game just refuses to get randomized. And yes, i properly carried over the modified code and put it in SaltySD/SunMoon/ etc etc. Please help me solve this, as i've literally been trying to figure this out for nearly 24 hours straight without sleep. Im losing my mind.
 
Last edited by John_Titor,

AntiMach

Well-Known Member
Member
Joined
Oct 31, 2016
Messages
317
Trophies
0
Website
mach.bot.nu
XP
712
Country
Portugal
Well, I'm guessing you already did this, but just to be sure:
Update Luma3DS to the latest Nightly build
Hold select while booting to launch the Luma3DS configuration setup.
Scroll down using the d-pad to the "Enable game patching" option and press A. (that must be activated)

Then, you can download this: V1.1 SM Patches for SaltySD.zip (It contains patches for Sun and Moon on version 1.1, pre-compiled by myself, and you can choose to go with outlines or no outlines).
Inside of the zipped file you should have 2 folders, open which you prefer and copy its contents (the 2 folders with the title ids of both games) to the folder "/luma/titles" on your SD card (if it doesn't exist, make sure to make one)

You will also need a CIA (which you can get with Decrypt9 or Hourglass9) or a RomFS (which you can get from a CIA file or using Braindump, for example) file of the Pokémon game, decrypt it and edit it with this version of PK3ds (If you already knew this, then skip it, obviously)

After randomizing the Pokémon, you want to copy the "/a/0/8/2" (if you have Pokémon Sun) or "/a/0/8/3" (if you have Pokémon Moon) file into the "/SaltySD/SunMoon/a/0/8" (if you don't have any of the folders, then make them in the correct order)

Now, just launch the game like any other game you have on your home menu, and it should work just fine. (don't worry if it takes a little bit longer than usual)
 
  • Like
Reactions: John_Titor

John_Titor

Member
OP
Newcomer
Joined
Jan 23, 2017
Messages
5
Trophies
0
Age
28
XP
54
Country
United States
EDIT: Ooookkaay... Im not sure what was different, but i put your patch in place of my old one, and for some reason, that seemed to do the trick. Not sure why this one is any different, but thanks for the help. You saved me a lot of frustration.
 
Last edited by John_Titor,

AntiMach

Well-Known Member
Member
Joined
Oct 31, 2016
Messages
317
Trophies
0
Website
mach.bot.nu
XP
712
Country
Portugal
Now, are a/0/8/3 the only files i need from pk3ds? Or do i need others for things like trainers and stuff too?
For trainers you need to copy the "a/1/0/4", "a/1/0/5" and "a/1/0/6" files and for static encounters, copy the "a/1/5/5" file. If you want to check in more detail which files you need to make this work, then just open pk3ds with the selected game and select "Options" and then "About GARCs". If you want, just select yes and that information will be copied to the clipboard so you can copy some other stuff.
 
  • Like
Reactions: John_Titor

John_Titor

Member
OP
Newcomer
Joined
Jan 23, 2017
Messages
5
Trophies
0
Age
28
XP
54
Country
United States
For trainers you need to copy the "a/1/0/4", "a/1/0/5" and "a/1/0/6" files and for static encounters, copy the "a/1/5/5" file. If you want to check in more detail which files you need to make this work, then just open pk3ds with the selected game and select "Options" and then "About GARCs". If you want, just select yes and that information will be copied to the clipboard so you can copy some other stuff.
Yeah, i had done that, i was just making sure i wasn't being misled somehow. Anyhow, it works now, and im guessing it was probably your patch. So thanks a lot!
 

AntiMach

Well-Known Member
Member
Joined
Oct 31, 2016
Messages
317
Trophies
0
Website
mach.bot.nu
XP
712
Country
Portugal
Yeah, i had done that, i was just making sure i wasn't being misled somehow. Anyhow, it works now, and im guessing it was probably your patch. So thanks a lot!
Well, no problem. There are plenty of people out there helping people solve their problems.
I also had a problem with hacking the game... First, I didn't have the code.bin file for my game in the right place, then, it wouldn't patch the random encounters because I was using a code.bin file that wasn't patched with the SaltySD thing and sometimes it would freeze while trying to launch the game because I was using the wrong code.bin file for the wrong version. In the end, I decided to dump a CIA of the 1.1 update, decrypting it with the PackHack tool, and patching the code.bin that came with it with the SMPatcher and SaltySD patcher. It was a pain to do all of that, but it worked!
 
  • Like
Reactions: John_Titor

Exypnos

Member
Newcomer
Joined
Jan 25, 2017
Messages
22
Trophies
0
Age
26
XP
43
Country
United States
I need help to, I'm almost 100% sure I did everything right but when I try to launch Sun it just hangs at the 3DS loading screen. I let it sit for 10 minutes and still nothing. I made a folder in Luma (which I have 6.6) called "titles" like you said and pasted the 2 folders from outline into there. That one setting in Luma that I can't remember at the top of my head is on, I know that. I copied all the files from "a" that should be copied into SaltySD on the root of the SD card. I've done all the dumping and done what I needed to do in pk3DS but I'm just so tired of this not working. I'm on a New 3DS if that matters. I'm trying to run Pokémon Sun v1.1. Please help. Also, how long do you think it would take to launch the game? Is it actually more than 10 minutes?
 
Last edited by Exypnos,

AntiMach

Well-Known Member
Member
Joined
Oct 31, 2016
Messages
317
Trophies
0
Website
mach.bot.nu
XP
712
Country
Portugal
I need help to, I'm almost 100% sure I did everything right but when I try to launch Sun it just hangs at the 3DS loading screen. I let it sit for 10 minutes and still nothing. I made a folder in Luma (which I have 6.6) called "titles" like you said and pasted the 2 folders from outline into there. That one setting in Luma that I can't remember at the top of my head is on, I know that. I copied all the files from "a" that should be copied into SaltySD on the root of the SD card. I've done all the dumping and done what I needed to do in pk3DS but I'm just so tired of this not working. I'm on a New 3DS if that matters. I'm trying to run Pokémon Sun v1.1. Please help.
Well, I don't know if it worked for Pokémon Sun, but it should have. I'm now installing the game to test (using freeshop), even though I would prefer to use a legit game cart (I bought all of my Pokémon games on store, all physical copies, except for Pokémon Sun, but that one is on my brother's 2ds and it's a digital copy, that came pre-installed, and since it doesn't, and won't have CFW, I can't get it by any means).
 

KunoichiZ

Well-Known Member
Member
Joined
Mar 16, 2012
Messages
8,830
Trophies
0
Age
28
XP
4,597
Country
United States
I need help to, I'm almost 100% sure I did everything right but when I try to launch Sun it just hangs at the 3DS loading screen. I let it sit for 10 minutes and still nothing. I made a folder in Luma (which I have 6.6) called "titles" like you said and pasted the 2 folders from outline into there. That one setting in Luma that I can't remember at the top of my head is on, I know that. I copied all the files from "a" that should be copied into SaltySD on the root of the SD card. I've done all the dumping and done what I needed to do in pk3DS but I'm just so tired of this not working. I'm on a New 3DS if that matters. I'm trying to run Pokémon Sun v1.1. Please help. Also, how long do you think it would take to launch the game? Is it actually more than 10 minutes?
For SaltySD on 6.6, you need the following:

1) Patch the code.bin from the 1.1 update and place it in luma/code_sections, not luma_titles.
2) Make sure you're placing the files in SaltySD/SunMoon, and not just in SaltySD.
3. Make sure that you have "Enable region/language emu. and ext. .code" enabled in your Luma settings.

It takes the same amount of time to launch the game as you would launch any normal 3DS game. It's your code.bin and your placement of it that's giving you issues.
 

Exypnos

Member
Newcomer
Joined
Jan 25, 2017
Messages
22
Trophies
0
Age
26
XP
43
Country
United States
For SaltySD on 6.6, you need the following:

1) Patch the code.bin from the 1.1 update and place it in luma/code_sections, not luma_titles.
2) Make sure you're placing the files in SaltySD/SunMoon, and not just in SaltySD.
3. Make sure that you have "Enable region/language emu. and ext. .code" enabled in your Luma settings.

It takes the same amount of time to launch the game as you would launch any normal 3DS game. It's your code.bin and your placement of it that's giving you issues.
Didn't work... This is so dumb. I randomized the starters and after sitting for 20 minutes of dialogue the starters are normal. Weird question, but what is the file size of the "code.bin"? Of my desperate scavenger hunt for files to get the randomizer to work, I have 3 files for "code.bin" and I'm unsure of which one to use. One of them is 3 KB, one of them is 5,588 KB, and the last in 5,580 KB. Please help. I've been trying all week to get this damn thing to work.
 

AntiMach

Well-Known Member
Member
Joined
Oct 31, 2016
Messages
317
Trophies
0
Website
mach.bot.nu
XP
712
Country
Portugal
Didn't work... This is so dumb. I randomized the starters and after sitting for 20 minutes of dialogue the starters are normal. Weird question, but what is the file size of the "code.bin"? Of my desperate scavenger hunt for files to get the randomizer to work, I have 3 files for "code.bin" and I'm unsure of which one to use. One of them is 3 KB, one of them is 5,588 KB, and the last in 5,580 KB. Please help. I've been trying all week to get this damn thing to work.
Note that the text for the starters doesn't actually change. The only way to see if they are random is to get to the nickname screen. (Unless you did that and it's still the same)
 

Exypnos

Member
Newcomer
Joined
Jan 25, 2017
Messages
22
Trophies
0
Age
26
XP
43
Country
United States
Note that the text for the starters doesn't actually change. The only way to see if they are random is to get to the nickname screen. (Unless you did that and it's still the same)
I loaded up a save file and everything was normal. Trainers and wild encounters, so no it didn't work. Here are some images of my file setup. http://imgur.com/a/aXCjN http://imgur.com/qGRBDqW (a having its respective files.)
 
Last edited by Exypnos,

Maq47

Lord of Pyro
Member
Joined
Jan 7, 2012
Messages
1,240
Trophies
1
Location
Your basement
Website
idont.have.one
XP
3,282
Country
United States
Still doesn't work...
Is the patched code.bin that you're using still the 5580 KB one? The patched code.bin should be 5588 KB. Use the proper code.bin in "V1.1 SM Patches for SaltySD.zip" from the 2nd post of this thread.

Edit: also, show me the a screenshot of the directory structure of your /SaltySD/SunMoon/a/ folder.
 
Last edited by Maq47,

Exypnos

Member
Newcomer
Joined
Jan 25, 2017
Messages
22
Trophies
0
Age
26
XP
43
Country
United States
Is the patched code.bin that you're using still the 5580 KB one? The patched code.bin should be 5588 KB. Use the proper code.bin in "V1.1 SM Patches for SaltySD.zip" from the 2nd post of this thread.
I downloaded the file from the the 2nd post of the thread and when I extracted the files code.bin in 0004000000164800 came out to be 5588 KB.
 

Maq47

Lord of Pyro
Member
Joined
Jan 7, 2012
Messages
1,240
Trophies
1
Location
Your basement
Website
idont.have.one
XP
3,282
Country
United States
I downloaded the file from the the 2nd post of the thread and when I extracted the files code.bin in 0004000000164800 came out to be 5588 KB.

The code.bin in your screenshot is 5580KB, though.

--------------------- MERGED ---------------------------

check the edit to my second to last post (#17).
 

Exypnos

Member
Newcomer
Joined
Jan 25, 2017
Messages
22
Trophies
0
Age
26
XP
43
Country
United States
The code.bin in your screenshot is 5580KB, though.
Well then the 5580 KB one was from a patch I got from someone else. And also it wasn't called "code.bin" I renamed it that from (sun's id).bin. And show you the directory as in? There's a lot of folders and files for randomizing static encounters and trainers, not only wild encounters. I'm thinking now I just can't/shouldn't be randomizing.
 
Last edited by Exypnos,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @Psionic Roshambo, JonTron's back yet again until he disappears into the void for another 6 or...