Dolphin, the GameCube and Wii emulator - Forums
SFX ripping/decoding/dumping features? - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Development Discussion (https://forums.dolphin-emu.org/Forum-development-discussion)
+--- Thread: SFX ripping/decoding/dumping features? (/Thread-sfx-ripping-decoding-dumping-features)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


RE: SFX ripping/decoding/dumping features? - ARAJediMaster - 06-21-2015

Well, iteachvader, I’m glad that this problem is done and over with. I hope to see the sounds soon!


RE: SFX ripping/decoding/dumping features? - jackoalan - 06-21-2015

oh no!! I honestly didn't test RS3 all that much.. parsing it just like RS2, must be a minor difference somewhere..

I'll see what I can do at some point!!

your request totally happened to align with the Prime RE work we did a few months ago! Smile

Factor5 caught my eye.. in the end, I'd say they overengineered this format.. index table overload!! Confused


RE: SFX ripping/decoding/dumping features? - iteachvader - 06-21-2015

(06-21-2015, 07:32 AM)jackoalan Wrote: oh no!! I honestly didn't test RS3 all that much.. parsing it just like RS2, must be a minor difference somewhere..

I'll see what I can do at some point!!

your request totally happened to align with the Prime RE work we did a few months ago! Smile

Factor5 caught my eye.. in the end, I'd say they overengineered this format.. index table overload!! Confused

Don't hurt yourself over it now, it looks like all the sound effects are there. I would like to just make sure though... just in case you somehow missed some.


RE: SFX ripping/decoding/dumping features? - Aleron Ives - 06-22-2015

(06-18-2015, 05:59 AM)jackoalan Wrote: In particular, check out the Pool, Proj, Sample, and SampleDirectory sections. These are the 4 main "chunks" of a MusyX sound group. Different games may arrange them in different orders (in fact, MP1/2 swapped locations of Sample and SampleDirectory), but if you can identify the signature layout of MusyX in a hex-editor, i may be able to modify my "AGSC Extract" tool to help out.
If it's any help to have more test cases, it looks like Phantasy Star Online Episode I&II uses this format as well. The sound.bin file is an AFS file containing .proj, .pool, .sdir, and .samp files for every area of the game. The .samp files are far larger than the others, so I assume they contain the actual ADPCM data, while the other files contain various metadata.


RE: SFX ripping/decoding/dumping features? - jackoalan - 06-22-2015

New Release:
https://github.com/jackoalan/swrs_musyx/releases

v1.1 reads coefficients as signed values (not unsigned.. oops!!).
Also adds a .wav smpl chunk for MusyX clips with looping info (which is used by apps like FL Studio to represent seamless loops).

I've noticed that some sound groups in RS3 appear to be corrupted (like folder 008).. They have the correct indexing layout, but the actual audio data appears to be garbled. This might be test data, not actually played by the game.


RE: SFX ripping/decoding/dumping features? - iteachvader - 06-22-2015

(06-22-2015, 09:38 AM)jackoalan Wrote: New Release:
https://github.com/jackoalan/swrs_musyx/releases

v1.1 reads coefficients as signed values (not unsigned.. oops!!).
Also adds a .wav smpl chunk for MusyX clips with looping info (which is used by apps like FL Studio to represent seamless loops).

I've noticed that some sound groups in RS3 appear to be corrupted (like folder 008).. They have the correct indexing layout, but the actual audio data appears to be garbled. This might be test data, not actually played by the game.

FANTASTIC! I actually make video game soundfonts and use them! This is brilliant!


RE: SFX ripping/decoding/dumping features? - jackoalan - 06-22-2015

oh cool! yea, the smpl chunk was something I added for MrSinistar's work with MP's sounds.. it was easy enough to carry that code over


RE: SFX ripping/decoding/dumping features? - iteachvader - 06-23-2015

(06-22-2015, 12:14 PM)jackoalan Wrote: oh cool! yea, the smpl chunk was something I added for MrSinistar's work with MP's sounds.. it was easy enough to carry that code over

One question, is it possible that the instrument banks can be exported to a .DLS format?


RE: SFX ripping/decoding/dumping features? - jackoalan - 06-23-2015

we never got around to reverse-engineering the "song group" format.. it's very similar to sound groups, but adds MIDI-style keymaps.. MP has one song group that we'll eventually get to, but it's a fairly low priority


RE: SFX ripping/decoding/dumping features? - iteachvader - 06-23-2015

(06-23-2015, 05:18 AM)jackoalan Wrote: we never got around to reverse-engineering the "song group" format.. it's very similar to sound groups, but adds MIDI-style keymaps.. MP has one song group that we'll eventually get to, but it's a fairly low priority

Alrighty then. If you ever decide to get around to that, please let me know.