iteachvader sent me a savestate from 3.0-???, but Dolphin crashed on load. I dumped Dolphin memory when Dolphin crashed and found that the desired SFX was loaded somewhere in memory. I wanted a new-Dolphin savestate, but I think it will still crash, so that's not my primary point of attack now.
Now I think I'll make the Dolphin ADPCM decoder dump all the [coeffs, y12, raw, decoded] into files (probably maintain the order of decoding), which I can analyze later. However, I'm not sure how to program such a thing. It will be ugly, but is it even possible?
Once I do so, I can find out which order the SFX are supposed to be in, then connect them, then analyze to see where each sound effect gets its coefficient array and initial history.
I verified with iteachvader that RS2 uses the hardware ADPCM decoder (so does brstm and Melee) (different from DTK decoder).
Now I think I'll make the Dolphin ADPCM decoder dump all the [coeffs, y12, raw, decoded] into files (probably maintain the order of decoding), which I can analyze later. However, I'm not sure how to program such a thing. It will be ugly, but is it even possible?
Once I do so, I can find out which order the SFX are supposed to be in, then connect them, then analyze to see where each sound effect gets its coefficient array and initial history.
I verified with iteachvader that RS2 uses the hardware ADPCM decoder (so does brstm and Melee) (different from DTK decoder).