Hi all,
I'm currently in the process of replacing some of the music in Gyakuten Saiban 2 (Phoenix Wright 2) with some of the tunes from the first game. (The first one had much better music, IMO.)
Anyways, I have successfully replaced a few tunes and they work 100% perfectly when the recompiled rom is run on a flash cart. However, the only ones I could replace were the same size in each game, or were smaller in the source game (GS1) and padded with zeros to fill the gap in the sound_data.sdat file. This was all done in a hex editor, of course.
My question is, is there any way to find and change the pointers that indicate where in the sound_data.sdat file the game looks up the music? Reason I ask is that I want to replace some tunes that are smaller in GS2. I can't just put in the entire track from GS1, as it would offset every following track, and the game crashes when trying to look up those tracks and they are not where the game code points to in the sound_data.sdat file.
So, is it even possible to hex edit one of the files to change the pointers? I don't mind doing the work, as I love the music in GS1 and am not at all fond of the remixed music in GS2. The few tracks I have already replaced make a huge difference in enjoyability for me, so I'd like to go to the trouble to doing more. Unfortunately, the ones I have left are all larger in GS1 than GS2, which would cause the above-mentioned offset in the sound data file.
Any advice or ideas? Thanks in advance.
I'm currently in the process of replacing some of the music in Gyakuten Saiban 2 (Phoenix Wright 2) with some of the tunes from the first game. (The first one had much better music, IMO.)
Anyways, I have successfully replaced a few tunes and they work 100% perfectly when the recompiled rom is run on a flash cart. However, the only ones I could replace were the same size in each game, or were smaller in the source game (GS1) and padded with zeros to fill the gap in the sound_data.sdat file. This was all done in a hex editor, of course.
My question is, is there any way to find and change the pointers that indicate where in the sound_data.sdat file the game looks up the music? Reason I ask is that I want to replace some tunes that are smaller in GS2. I can't just put in the entire track from GS1, as it would offset every following track, and the game crashes when trying to look up those tracks and they are not where the game code points to in the sound_data.sdat file.
So, is it even possible to hex edit one of the files to change the pointers? I don't mind doing the work, as I love the music in GS1 and am not at all fond of the remixed music in GS2. The few tracks I have already replaced make a huge difference in enjoyability for me, so I'd like to go to the trouble to doing more. Unfortunately, the ones I have left are all larger in GS1 than GS2, which would cause the above-mentioned offset in the sound data file.
Any advice or ideas? Thanks in advance.