ROM Hack Question Is there any way to hack Pokemon Sword/Shield music properly?

Dark_Ansem

Well-Known Member
OP
Member
Joined
Oct 12, 2014
Messages
1,771
Trophies
1
Location
Death Star
XP
2,213
Country
United Kingdom
The loop points need to be edited. This is found within the bank files in the NX64 folder where the sound is. However, the struct needs to be known first in order to figure it out. I suspect that we need to edit either Init.bnk, or BGM.bnk.

These are files generated by Wwise 2017, so any tool which can edit loop points for files generated by Wwise 2017 should suffice.

See, I was overcomplicating my life by looking at Hex edit

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

download sound editor 2018 and wwise
then convert any music via wwise, open stream.pck with sound editor and find the music you want to replace.

huh? can it be that simple?
 

PlatinumMaster

Active Member
Newcomer
Joined
Apr 5, 2016
Messages
26
Trophies
0
Location
Twinleaf Town, Sinnoh
XP
149
Country
United States
See, I was overcomplicating my life by looking at Hex edit

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



huh? can it be that simple?
His method is correct. However, this does not allow for seamless songs. The songs will retain the original loop data. This is why we must search for the loop data and fix it.
 

PlatinumMaster

Active Member
Newcomer
Joined
Apr 5, 2016
Messages
26
Trophies
0
Location
Twinleaf Town, Sinnoh
XP
149
Country
United States
That is WITHOUT loop points, right?
Yeah. With the stock loop and length data still in the game, any song that has a shorter length than the song you replace will still play at said length (meaning there will be inaudible silence until the length is met), and any song that is longer will be cut off at that point. However, if you manage to cut the song so it loops just like the other song, it should give the same loop effect.
 
  • Like
Reactions: H1B1Esquire

A Generic User

Well-Known Member
Member
Joined
Aug 24, 2015
Messages
134
Trophies
0
XP
874
Country
United States
Just from observations I did with PlatinumMaster, the sound system seems to be cobbled together nonsense, as some of the important data you would expect seemingly isn't there (such as loop data, track length, etc.) despite other games using the same system and not having any of these hurdles. It's not the first time Game Freak has programmed something that is more convoluted than it needs to be. I'm expecting, but certainly not hoping, that properly hacking the game's music will require rebuilding the sound system from the ground up.
 
Last edited by A Generic User, , Reason: is this the font i used? lol

Dark_Ansem

Well-Known Member
OP
Member
Joined
Oct 12, 2014
Messages
1,771
Trophies
1
Location
Death Star
XP
2,213
Country
United Kingdom
So, been looking at the music files again - noted that few people have offered to help.
I don't understand if the stadium chorus is actually part of the BGM or a separate audio file.
 

A Generic User

Well-Known Member
Member
Joined
Aug 24, 2015
Messages
134
Trophies
0
XP
874
Country
United States
I believe the dynamic music tracks are separate audio files linked together by a routine. That'd probably be even more of a headache to hack than just normal music.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtu.be/a93F-EEw6HM?si=tUXuLXhXiWUsmIIv