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
552
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
552
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 must be the 1st already
  • BakerMan @ BakerMan:
    1st of what?
  • BakerMan @ BakerMan:
    may?
  • K3Nv2 @ K3Nv2:
    Oh yeah it's in September
  • Xdqwerty @ Xdqwerty:
    @BakerMan, yea i think its different
  • BakerMan @ BakerMan:
    ok, because here it's in september, right before the fuckin school year starts
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    as to you
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
    TwoSpikedHands @ TwoSpikedHands: I appreciate the insight!