ROM Hack Changing Music In Pokemon Sun/Moon

Illumination

Well-Known Member
OP
Newcomer
Joined
Oct 31, 2016
Messages
45
Trophies
0
Age
23
XP
134
Country
United States
This a help topic.

This weekend, I'm beginning the second ROM Hack of Los Memes for Sun and Moon.

Whenever I change the music in the sound folder, some tracks remain as the original track. Some change and some use another track. Can someone tell me why this happens and how I can use the custom music without the game reverting it?
 

Toucan

Active Member
Newcomer
Joined
Jan 10, 2017
Messages
28
Trophies
0
Age
27
XP
53
Country
United States
I'm trying to get custom music to play in general and it isn't changing at all, even after I change the file name and convert it to a BCSTM file. How did u do it?
 

CharizardMen99

Well-Known Member
Member
Joined
Aug 20, 2015
Messages
147
Trophies
0
Age
23
XP
425
Country
Italy
Im sorry if im asking this here...but there is a tutorial on how to do this?

I really want to replace some music in the game :v (most of the cameos theme)
 

KunoichiZ

Well-Known Member
Member
Joined
Mar 16, 2012
Messages
8,830
Trophies
0
Age
28
XP
4,597
Country
United States
Im sorry if im asking this here...but there is a tutorial on how to do this?

I really want to replace some music in the game :v (most of the cameos theme)
Here your tutorial, written by myself.
1. Find a decrypted CIA of Sun/Moon.
2. Download the latest version of Asia81's PackHack and run SetupUS.exe to install the PackHack.
3. Move that decrypted CIA of Sun/Moon into the same folder as HackingToolkit3DS.exe.
4. Open HackingToolkit3DS.exe, type ME, and when it asks you if you want to decompress code.bin, HIT Y for yes. This is important.
5. Remember, this game is huge so it'll take some time to finish.
6. After it's done, you find a folder called <name of decrypted CIA>.cia_Unpacked. Go inside that folder, go inside of the ExtractedExeFS folder, and find your code.bin.
7. Make a folder on your desktop named SaltySD and place your code.bin file inside of that folder.
8. Follow the instructions on this post to patch your code.bin with SaltySD.
9. Once you have patched the code.bin file, rename it to the title ID of Sun/Moon.
10. Go to your luma folder and make a folder called code_sections in that folder. In the code_sections folder, place your .bin file.
11. Place your .bcstm files with the exact name of the file that they are replacing inside of saltysd/SunMoon/data/sound. The saltysd folder should be on the root of your SD card.
12. Open your luma settings and make sure that Enable region/language emu. and ext. .code is enabled.
13. Launch Sun/Moon to see if the changes have been made.


Tips:
-You can't just place any music file inside of the data/sound folder. Once you have extracted the contents of your decrypted CIA, go into the <name of decrypted CIA>.cia_Unpacked folder, go inside of the ExtractedRomFS folder, open the data folder, and open the sound folder. Inside of the sound folder is all of the sounds inside of the game. You'll want the .bcstm file you find online to match the EXACT name of the .bcstm file inside of the data/sound folder. I recommend finding the BCSTM to WAV Converter to be able to listen to what each file is.

I'm trying to get custom music to play in general and it isn't changing at all, even after I change the file name and convert it to a BCSTM file. How did u do it?
I already answered your question in the other thread.
 

Illumination

Well-Known Member
OP
Newcomer
Joined
Oct 31, 2016
Messages
45
Trophies
0
Age
23
XP
134
Country
United States
I'm trying to get custom music to play in general and it isn't changing at all, even after I change the file name and convert it to a BCSTM file. How did u do it?
I tried using this converter called the Looping Audio Converter and it converted the music to WAV by selection and then to BCSTM. It worked for all of tracks I changed.
 

KanterZ

Modder.
Member
Joined
Oct 9, 2015
Messages
398
Trophies
0
Age
27
XP
551
Country
Philippines
I was wondering what do to after putting the patched files on SD card.
I don't know what to do after step 10 :c
 

KunoichiZ

Well-Known Member
Member
Joined
Mar 16, 2012
Messages
8,830
Trophies
0
Age
28
XP
4,597
Country
United States
I was wondering what do to after putting the patched files on SD card.
I don't know what to do after step 10 :c
First of all, if you downloaded the 1.1 update, you have to patch the code.bin from the update. Find the update as a decrypted CIA, then follow my instructions above to extract the CIA contents and get the code.bin. Then follow my instructions to patch the code.bin and put it in the correct location on your SD card, but patch it using one of the IPS patches I made here.

Second of all, read my tips suggestion to find out what to do after step 10. If you followed my instructions that I posted earlier (not in this post), you should have extracted the contents of Sun/Moon, so you'll have the music files found in ExtractedRomFS/data/sound. After you replace the sound files, you want to follow this folder structure: SD:/saltysd/SunMoon/data/sound.
 

KanterZ

Modder.
Member
Joined
Oct 9, 2015
Messages
398
Trophies
0
Age
27
XP
551
Country
Philippines
First of all, if you downloaded the 1.1 update, you have to patch the code.bin from the update. Find the update as a decrypted CIA, then follow my instructions above to extract the CIA contents and get the code.bin. Then follow my instructions to patch the code.bin and put it in the correct location on your SD card, but patch it using one of the IPS patches I made here.

Second of all, read my tips suggestion to find out what to do after step 10. If you followed my instructions that I posted earlier (not in this post), you should have extracted the contents of Sun/Moon, so you'll have the music files found in ExtractedRomFS/data/sound. After you replace the sound files, you want to follow this folder structure: SD:/saltysd/SunMoon/data/sound.


Yeah, sorry bout that. I just found out right before you replied, but thanks!

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

@KunoichiZ


I was also wondering if I could copy only the one I've downloaded(and renamed) to /////sounds?
Or should I copy everything? Thanks!
 

KunoichiZ

Well-Known Member
Member
Joined
Mar 16, 2012
Messages
8,830
Trophies
0
Age
28
XP
4,597
Country
United States
Yeah, sorry bout that. I just found out right before you replied, but thanks!

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

@KunoichiZ


I was also wondering if I could copy only the one I've downloaded(and renamed) to /////sounds?
Or should I copy everything? Thanks!
If you only want custom music, only transfer the renamed .bcstms to saltysd/SunMoon/data/sound.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: It's mostly the ones that are just pictures and no instructions at all