loveemu / gaxtapper

Automated GSF ripper for GAX Sound Engine (beta-testing)
GNU General Public License v3.0
8 stars 1 forks source link

Instruments are missing (GAX V2) #21

Open loveemu opened 3 years ago

loveemu commented 3 years ago

https://www.youtube.com/watch?v=A0f8yZ6K_cY

As an example, you can tell starting by 0:14 in gameending/credits that instruments are not playing.

FYI: I manually ripped the soundtrack to inspect the details of the issue.

Cause and solution

This problem can be solved by setting a reference to a different sample set than the song data in the Gax2Params structure (offset 0x2c). The address of the sample set is 0x80E7F84. I had assumed that this sample set was only used for FX and did not affect the music playback, but apparently that was a false assumption.

Gaxtapper does not yet implement a scanner for this kind of data. Therefore, more coding is needed to solve the problem.