ahx2wav 0.14 mod
Decode SA2 Voice files

A few weeks ago, I started writing a program to decode AHX files. I had spoken to the author of the WinAmp in_cube plugin, and he informed me that AHX files were based on the MPEG Layer 2 Audio standard. He also informed me that he thought such a program already existed.I searched around later, and found out that he was right. The tool ahx2wav does already exist, it came out a few months ago. You can find it here: http://gomaigasane.b...g-entry-19.htmlHowever, it did not work with the Voice files in Sonic Adventure 2. Since it's open source, I've released a modified version of the program. It's been tested an works with Sonic Adventure 2 and Sonic Heroes .AHX voice files. Since the original is GPL, my modified source is also included.Here is the download link: http://projects.sapp...wav_v014mod.zipI don't have time to write much more now, but here are a few interesting finds.From the SA2 ending, voice files 678 to 683 are unused.

Quote

Secretary: "There's an emergency message from the space bureau. They are tracking the space colony's re-entry trajectory, and it seems to have re appeared in quadrant L1." President: "You know, when I was a kid, I used to dream about heroes like them, and their heroic deeds"Secretary: "Mr. President. That's why.. you should be like them. Never give up believing in your dreams"

There are some more, such as 2305 is Omochao "Am I annoying you?".Perhaps someone else can post more of the interesting ones. Sorry for such a brief post, but I figured it would be a good idea to post this now as I won't have time to write up a more complete post for awhile.

Sonicblur, a winner is u! :DBeen looking for a prog like this, you made my day. Just testing the program now. Nice finds and lol for Omochao: A: "Damn Fucking right you're Annoying me!"btw, Any chance/thoughts of making a repacker in the future? (Importing Custom sounds & all that...)

Now if only that proto/press demo of SA2 dreamcast didn't have fucked up voice audio... =/Anyone mind upping the AHX files from SA2 to rapidshit or something? Don't have an dump of SA2 on me atm.

Surprisingly, the press demo converted successfully. All Omochao audio and audio over speakers is completely unrendered. Also, it doesn't have all those sinewave audio files, instead, it has corresponding Japanese audio.Eh, for the hell of it, I will include some of the unused audio clips:Extended cutscene from the "Last" story:Secretary: "The space colony is still accelerating toward Earth. In five minutes, there will be no way to stop it."President: "Nothing can stop the colony now."Rouge: "Mr. President, don't give up just yet! Sonic and his friends can still help us!"Secretary: "I've located the two hedgehogs; they're in the lower quadrant. The space colony has entered the Earth's atmosphere and is accelerating."President: "That's ridiculous. There's no way two hedgehogs can stop the colony now."Amy: "They can! I believe in them! Together they can do it; I just know it!"(used audio) Sonic: "No way that's getting through!" ect......(used audio) Shadow: "Maria... This is what you wanted right? This is my promise I made to you."Secretary: "There's an emergency message from the Space Bureau: They are tracking the space colony's re-entry trajectory, and it seems to have re-appeared in quadrant L-1"President: "(slightly chuckles as he says first word) Y-yaknow, when I was a kid, I used to dream about heroes like them, and their heroic deeds."Secretary: "Mr. President... that's why.. you should be like them... never give up... believing. in. your. dreams."(used audio) Rouge: "Where is Shadow?" ect......(used audio) Tails: "We all did it together!"(used audio) Eggman: "You're right."Tails: "Where are you going!?"Eggman: "Next time, I will pull this off without anyones help. I will use my own power to take over the world."Eggman: (quite angy and quite serious, forceful) "Next time we meet, all bets are off!"Tails: (very angry and very forceful) "Same here!"(used audio) Knuckles: "So what's next for your Rouge? Off again to find those jewels you love so much?"As for most of the other unused audio, it's shitloads of Omochao. Some personal favorites include:"I want to wind a spring.""Did you know the doctor's mustache is fake?""I have a stomach ache.""Don't play a T.V. game over one hour."(surprised) "My allowance is all gone!"(sad) "Don't make fun of me""I wonder how Big is doing?...""I'm resting now""Chao are so cute"(quite sarcastic, and my absolute favorite) "It's not easy to give you a hint.""Made in the U.S.A. for our fans.""Chao! Chao! Cha!""I lost my contact lenses!"(annoyingly) "Am I annoying you?""Omochao knows everything!""Omochao wants to be chao"Then there's a FUCKTON of Omochao going over the various Chao gardens, none of witch I recall being in the game... mainly because..."You can download a new scenario of Chao Adventure from the Library.""There is also the Black Market, where you can download a lot of surprises!""Visit the parks and classrooms, where you might meet some new friends from around the world.""To visit the Chao Kindergarten, you have to go online. Make sure to ask to ask your parents first. The Chao Kindergarten is so much fun!"(sadly)"The Chao Kindergarten is soo much fun! Omochao wants to go to the Chao Kindergarten!""Welcome to the Chao Kindergarten!""You forgot your Chao! Kindergarten for Chao only please!""Bring your Chao here! It's a lot of fun!"Neat stuff. Neat stuff.

This post has been edited by biggestsonicfan: 05 August 2007 - 01:24 AM

You have to decode the AFS-file containing the AHX files, first using AFS2ADX or something like that. It\'ll convert them to ADX, even though that\'s not quite correct, seeing as those files are AHX-files. Just convert these \"ADX\" files to waves using \"ahx2wav\" then.

Even though it's almost on every Dreamcast utilities site, here you go. It's almost the single most used tool in the DC scene, as downsampling the ADX files within the AFS is how people manage to burn selfbooting games onto a single CD.EDIT: If you EVER need anything Dreamcast related, this is the best place to go.

This post has been edited by biggestsonicfan: 06 August 2007 - 10:17 AM

Even though it's almost on every Dreamcast utilities site, here you go. It's almost the single most used tool in the DC scene, as downsampling the ADX files within the AFS is how people manage to burn selfbooting games onto a single CD.EDIT: If you EVER need anything Dreamcast related, this is the best place to go.

word of warning, I tried that .com file on Vista x64 and it gave me an architecture error. You sure that file is x86/x64 or is it 16 bit?

word of warning, I tried that .com file on Vista x64 and it gave me an architecture error. You sure that file is x86/x64 or is it 16 bit?

It's 16-bit, and Vista will not run it simply because Microsoft didn't include a subsystem (MS-DOS) in Windows Vista. You may be able to download a MS-DOS boot disk and run it from there.Edit: Try running it on DOSBox, an x86 emulator w/ DOS that should work on Vista