Someone Help. How can i convert these? by peronmls at 1:03 PM EDT on September 9, 2013
http://www.mediafire.com/?w95r55quavugetw

Help me.

They came out as .XMA1 .XMA2 .XMA3 etc

edited 1:14 PM EDT September 9, 2013
by peronmls at 7:50 PM EDT on September 9, 2013
Yo peeps!
by guest at 11:19 PM EDT on September 9, 2013
These have a standard RIFF header within the file. You should take a look to become familiar with it. It is very common and easy to spot.

Use a RIFF extractor to trim the extraneous header, and run the output through xmash.exe then towav.exe.
by Alpha23 at 12:59 PM EDT on September 10, 2013
Or just use my xma_transform script: http://forum.xentax.com/viewtopic.php?f=17&t=9023&sid=4683927de921ba8950e3c6a695d0cdae
HCS' xma parser (xma_parse.exe) needs to be in the same folder as the script.
by peronmls at 10:55 PM EDT on September 11, 2013
Xma parse doesn't work...
by Nisto at 1:28 AM EDT on September 12, 2013
Here's the first one (xma0) converted to WAV:
https://dl.dropboxusercontent.com/u/48454461/aud/sh3_bgm_105.rar

As guest said, extract the RIFF chunk (personally I used a hex editor), run that through xmash and then towav.exe *.* with the .pos/.xma files that was generated by xmash inside of the same folder as towav.

edited 1:31 AM EDT September 12, 2013
by peronmls at 4:48 PM EDT on September 12, 2013
wait extract it or cut it??? and what part did you extract becuase i thought i trimed the header but its still not working.
by Nisto at 5:45 PM EDT on September 12, 2013
Extract it, not cut it (i.e. put the RIFF chunk into a separate file). If you need the specs for the RIFF format, here's a spec page that's easy to understand:
https://ccrma.stanford.edu/courses/422/projects/WaveFormat/

But essentially what you need to look for is "RIFF". The next four bytes after that defines how many bytes are in the RIFF chunk, so you just need to copy that amount of bytes following the field as well as those first 8 bytes ("RIFF" and chunk-size).

The chunk-size is in little-endian format, so the bytes are "reversed", so to speak. For example, little-endian 0x[AC][28][16][00] is supposed to be read 0x[00][16][28][AC] = 1452204 bytes.
by peronmls at 10:26 PM EDT on September 12, 2013
ok dumb question. how do i "convert" the hex to show me bytes?
by Nisto at 10:45 PM EDT on September 12, 2013
You mean the _amount_ of bytes? If so: I don't know what hex editor you use, but with HxD (which I highly recommend) it's shown directly in the status bar when you put mark-up on the bytes.

If you find it complicated doing this through a hex editor, VGMToolbox can extract RIFF data (Misc. Tools -> Extraction Tools -> Generic -> Advanced Cutter/Offset Finder -> Presets: RIFF style header). That would most definitely be faster, too. I haven't tried it though...

(Not that I don't want to help you with the hex editing. Just letting you know there's probably easier ways. I just personally used a hex editor as I wasn't aware of any RIFF extraction tools at the time of making the first post)

edited 10:51 PM EDT September 12, 2013
by peronmls at 11:06 PM EDT on September 12, 2013
yep that worked. Thanks nisto


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