Dead Space Extraction by OrangeC at 1:48 PM EDT on September 22, 2009
I got here a cut of the file that contains the music, it seems to be all headerless dsp or some wii adpcm. Not sure how to play these in vgmstream.

link
by hcs at 12:35 AM EDT on September 23, 2009
The NGCA ones are obvious:
00-03: NGCA (maaaagix)
04-07: length in nibbles
08-0b: start ("current") nibble, maybe loop start
0c-2b: filter coefficients
2c-2d: prolly gain
2e-2f: initial p/s
30-31: prolly initial hist1
32-33: prolly initial hist2
34-35: prolly loop p/s
36-37: prolly loop hist1
38-39: prolly loop hist2
40-..: DSP data

I think the music is probably the DAT4 chunks. DAT4 header:
00-03: DAT4 (silencio)
04-07: byte size of data
08-0b: channels
0c-0f: sample rate
10 blah blah maybe loop stuff padding blah
800-..: "DAT4" data

The data looks strangely familiar, particularly the A-Z byte, but I can't remember where I've seen it. Looks like IMA, anyway, header looks like:
0-1: initial history (first sample?)
2 : initial step
3 : A through Z

Frames are 0x20 bytes, stereo frames are interleaved.
by OrangeC at 12:40 AM EDT on September 23, 2009
Thanks for the info, however is there anyway make a GENH header out of this?

I started a pirates of the caribbean at worlds nd thread one also with a sample, thats hwrre you probably saw it.
by hcs at 3:47 AM EDT on September 23, 2009
Ah yes, and in fact I made the same comment over there. I'll try to cobble together some support eventually. I don't think GENH will cut it for the IMA as it is now.

edited 3:48 AM EDT September 23, 2009
by pietastesgood at 11:51 AM EDT on September 23, 2009
Sounds good. :)
by OrangeC at 12:51 PM EDT on September 23, 2009
Nice hcs :).
by hcs at 4:21 PM EDT on September 23, 2009
I tried out a quick hack, that file_002.musx at least works with something like NDS IMA if you ignore that 3rd byte in the frame header (ordinarily we assume that's the high byte of the step index, though that's always zero since frame index only goes up to 88) and read the nibbles in reverse order (high nibble first).
wait by pepper at 5:43 PM EST on December 3, 2009
So how obvious are the ngca files, I don't really know what to do with them/how to decode them from it. Im kinda inexperienced with nintendo audio formats.
by hcs at 3:31 AM EST on December 16, 2009
Finally got this supported somewhat in vgmstream as of r718. It expects the files to be called .musx. The extractor I used calls them .sfx so I had to rename them (this is another form the Eurocom's MUSX format seen in several other places).
Only the DAT4 form is supported, as the NGCA only seems to be used in multi-sound banks.


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source