Shenmue 2 sound ripping/converting AHX files

(Modding and other series related projects)

Shenmue 2 sound ripping/converting AHX files

Postby Gensei » Fri Apr 08, 2016 2:38 pm

Hello shenmue fans and talented modders. I looked everywhere for hours (not to say days) and I'm facing an issue. I can't encode shenmue 2 AHX (speech) files. Of course I can read them using cri middle ware tools but you can't recode them to wav (or even ADX). I tried ahx2wav, ahx2wavmod, adx2wav and many other tools/versions but none of them worked for me. In the best case I just obtained noise wavfiles.
Certain people managed to release 80min/99min CDR shenmue2 downsampled versions (of course everything needed to be recoded). I wonder which tools they used to do so. Let me explain what I'm thinking : if an easy to use direct AHX to wav encoder for shenmue II files doesn't exist maybe an encoder which would recode AHX to ADX (for example) might allow me to convert speech files to wav. Anyone can help ?
Thanks in advance for your help xD
Gensei
Asia Travel Representative
Asia Travel Representative
 
Joined: April 2016
Favorite title: Shenmue II
Currently playing: Ryo Hazuki

Re: Shenmue 2 sound ripping/converting AHX files

Postby ReeceKun » Fri Apr 08, 2016 5:51 pm

I dunno if you have seen this tools link, it lists every tool available ( i think )
http://shenmuesubs.sourceforge.net/download/ ADX Tools should be the one you need, however I havent moved onto audio ripping for Shenmue2 and its a bit sketchy for Shenmue1

ReeceKun has received a thanks from: Gensei
User avatar
ReeceKun
Man Mo Acolyte
Man Mo Acolyte
 
Joined: November 2009
Location: North Wales (UK)
Favorite title: Shenmue
Currently playing: Skyrim

Re: Shenmue 2 sound ripping/converting AHX files

Postby Gensei » Fri Apr 08, 2016 6:13 pm

ReeceKun wrote: I dunno if you have seen this tools link, it lists every tool available ( i think )
http://shenmuesubs.sourceforge.net/download/ ADX Tools should be the one you need, however I havent moved onto audio ripping for Shenmue2 and its a bit sketchy for Shenmue1


Thanks for your help. I tried these tools and none of them worked for these ahx files. I think that speech files from shenmue I can be extracted and converted. Althought I tried many tools, many foobar and winamp plugins to read them (because you can recode using these programs). Until now only cri tools can play them I can confirm that but you can't recode them to WAV. No luck with shenmue II right now.
Gensei
Asia Travel Representative
Asia Travel Representative
 
Joined: April 2016
Favorite title: Shenmue II
Currently playing: Ryo Hazuki

Re: Shenmue 2 sound ripping/converting AHX files

Postby Gensei » Fri Apr 08, 2016 6:17 pm

I really wonder how these ahx files could be downsampled for some CDR releases, it means some program can decode them properly. I've been looking for infos until now and I could not find anything about tools which were used.
Gensei
Asia Travel Representative
Asia Travel Representative
 
Joined: April 2016
Favorite title: Shenmue II
Currently playing: Ryo Hazuki

Re: Shenmue 2 sound ripping/converting AHX files

Postby Sappharad » Fri Apr 08, 2016 7:15 pm

Here's what you need:
http://projects.sappharad.com/tools/ahx2wav_v014mod.zip

For encoding AHX, everyone just uses the official CRI tool ahxencd.exe. (If the resulting file doesn't work, I wrote a tool once called ahx2ahx that will convert the output from ahxencd into the same format that Shenmue 2 uses. It's never been publicly released, so I assume it's not necessary or that someone else wrote their own tool to do the same thing. I can try to dig it up if it's necessary.)

Sappharad has received a thanks from: Gensei
Sappharad
Man Mo Acolyte
Man Mo Acolyte
 
Joined: October 2015
Favorite title: Shenmue II

Re: Shenmue 2 sound ripping/converting AHX files

Postby Gensei » Fri Apr 08, 2016 7:38 pm

Sappharad wrote: Here's what you need:
http://projects.sappharad.com/tools/ahx2wav_v014mod.zip

For encoding AHX, everyone just uses the official CRI tool ahxencd.exe. (If the resulting file doesn't work, I wrote a tool once called ahx2ahx that will convert the output from ahxencd into the same format that Shenmue 2 uses. It's never been publicly released, so I assume it's not necessary or that someone else wrote their own tool to do the same thing. I can try to dig it up if it's necessary.)


Thanks for your answer. I tried everything even with your converter. It seems not to be capable to decode files.
I might send you some ahx samples for you to see what is the problem (if you agree of course).
Gensei
Asia Travel Representative
Asia Travel Representative
 
Joined: April 2016
Favorite title: Shenmue II
Currently playing: Ryo Hazuki

Re: Shenmue 2 sound ripping/converting AHX files

Postby Gensei » Fri Apr 08, 2016 7:57 pm

Sappharad wrote: Here's what you need:
http://projects.sappharad.com/tools/ahx2wav_v014mod.zip

For encoding AHX, everyone just uses the official CRI tool ahxencd.exe. (If the resulting file doesn't work, I wrote a tool once called ahx2ahx that will convert the output from ahxencd into the same format that Shenmue 2 uses. It's never been publicly released, so I assume it's not necessary or that someone else wrote their own tool to do the same thing. I can try to dig it up if it's necessary.)


I even tried some of your encoders made to recode ahx files without any success. It didn't even write anything. I tried to use one of your adx decoder (adx2wavmodv3): this one could write wave files but I obtained noisy erratic files.
Gensei
Asia Travel Representative
Asia Travel Representative
 
Joined: April 2016
Favorite title: Shenmue II
Currently playing: Ryo Hazuki

Re: Shenmue 2 sound ripping/converting AHX files

Postby Sappharad » Fri Apr 08, 2016 8:12 pm

Gensei wrote: I even tried some of your encoders made to recode ahx files without any success. It didn't even write anything. I tried to use one of your adx decoder (adx2wavmodv3): this one could write wave files but I obtained noisy erratic files.

None of the tools are mine. The only thing I touched is the version of ahx2wav_mod that I linked above, and that's just a mod of someone else's program to support more games.

The files you PM'd to me worked perfectly fine for me in the ahx2wav version I linked you to. Do you know how to use the program? Just throw the exe into the same directory as your AHX files, navigate to the directory and do "ahx2wav *.ahx"
It decodes all of them and they work fine.
Sappharad
Man Mo Acolyte
Man Mo Acolyte
 
Joined: October 2015
Favorite title: Shenmue II

Re: Shenmue 2 sound ripping/converting AHX files

Postby Gensei » Fri Apr 08, 2016 8:55 pm

Sappharad wrote:
Gensei wrote: I even tried some of your encoders made to recode ahx files without any success. It didn't even write anything. I tried to use one of your adx decoder (adx2wavmodv3): this one could write wave files but I obtained noisy erratic files.

None of the tools are mine. The only thing I touched is the version of ahx2wav_mod that I linked above, and that's just a mod of someone else's program to support more games.

The files you PM'd to me worked perfectly fine for me in the ahx2wav version I linked you to. Do you know how to use the program? Just throw the exe into the same directory as your AHX files, navigate to the directory and do "ahx2wav *.ahx"
It decodes all of them and they work fine.


Thanks for your précisions but I already did this and it didn't work. I'm astonished of your results. Please have a look, it did nothing.

Répertoire de P:\DCUTILS\ahx2wav_v014mod

09/04/2016 02:43 <REP> .
09/04/2016 02:43 <REP> ..
24/07/2001 15:02 6 357 0038A001.adx
24/07/2001 15:02 1 324 0038A002.ahx
24/07/2001 15:02 3 026 0038A003.ahx
24/07/2001 15:02 10 424 0038A004.ahx
24/07/2001 15:02 3 420 0038A005.ahx
24/07/2001 15:02 3 412 0038A006.ahx
24/07/2001 15:02 5 482 0038A007.ahx
24/07/2001 15:02 6 300 0038A008.ahx
24/07/2001 15:02 8 006 0038A009.ahx
24/07/2001 15:02 9 265 0038A010.ahx
24/07/2001 15:02 1 742 0038A011.ahx
24/07/2001 15:02 10 061 0038A012.ahx
24/07/2001 15:02 4 267 0038A013.ahx
24/07/2001 15:02 2 969 0038A014.ahx
24/07/2001 15:02 13 403 0038A015.ahx
24/07/2001 15:02 14 525 0038A016.ahx
24/07/2001 15:02 11 361 0038A017.ahx
24/07/2001 15:02 3 853 0038A018.ahx
24/07/2001 15:02 7 212 0038A019.ahx
24/07/2001 15:02 2 207 0038A020.ahx
24/07/2001 15:02 10 461 0038A021.ahx
24/07/2001 15:02 1 357 0038A022.ahx
24/07/2001 15:02 3 012 0038A023.ahx
24/07/2001 15:02 4 209 0038A024.ahx
24/07/2001 15:02 3 003 0038A025.ahx
24/07/2001 15:02 2 999 0038A026.ahx
24/07/2001 15:02 1 328 0038A027.ahx
24/07/2001 15:02 8 898 0038A028.ahx
24/07/2001 15:02 4 273 0038A029.ahx
09/04/2016 02:42 126 976 ahx2wav.exe

P:\DCUTILS\ahx2wav_v014mod>ahx2wav *.ahx

P:\DCUTILS\ahx2wav_v014mod>
Gensei
Asia Travel Representative
Asia Travel Representative
 
Joined: April 2016
Favorite title: Shenmue II
Currently playing: Ryo Hazuki

Re: Shenmue 2 sound ripping/converting AHX files

Postby Sappharad » Fri Apr 08, 2016 9:04 pm

Maybe you're just missing something that needs to be installed for the tool to work. Do you get any errors?

I've only tried the tool on Windows XP. Maybe someone needs to rebuild the source for a newer version of Windows? What version are you running?
Sappharad
Man Mo Acolyte
Man Mo Acolyte
 
Joined: October 2015
Favorite title: Shenmue II

Re: Shenmue 2 sound ripping/converting AHX files

Postby Gensei » Fri Apr 08, 2016 9:18 pm

Well I didn't get any errors. I'm using windows 7. I don't see any other stuff to be installed. This program seems to work but it didn't do anything at all.
Gensei
Asia Travel Representative
Asia Travel Representative
 
Joined: April 2016
Favorite title: Shenmue II
Currently playing: Ryo Hazuki

Re: Shenmue 2 sound ripping/converting AHX files

Postby Gensei » Fri Apr 08, 2016 9:30 pm

In fact I made some more researches and people were facing the same problem. http://forums.x-cult.org/topic/3086-ahx ... ge__st__20
Gensei
Asia Travel Representative
Asia Travel Representative
 
Joined: April 2016
Favorite title: Shenmue II
Currently playing: Ryo Hazuki

Re: Shenmue 2 sound ripping/converting AHX files

Postby Sappharad » Fri Apr 08, 2016 10:08 pm

Gensei wrote: In fact I made some more researches and people were facing the same problem. http://forums.x-cult.org/topic/3086-ahx ... ge__st__20

Oh yeah, I forgot that I originally made the changes for Sonic Heroes to work rather than Shenmue 2. Anyway, how about this build, does it work for you?
http://projects.sappharad.com/tools/ahx2wav_v014alt.zip

Exact same version, but rebuilt using Windows 7. If this one doesn't work for you, then it's something with your machine and I don't know how to help you.

Sappharad has received a thanks from: Gensei
Sappharad
Man Mo Acolyte
Man Mo Acolyte
 
Joined: October 2015
Favorite title: Shenmue II

Re: Shenmue 2 sound ripping/converting AHX files

Postby Gensei » Fri Apr 08, 2016 10:59 pm

Sappharad wrote:
Gensei wrote: In fact I made some more researches and people were facing the same problem. http://forums.x-cult.org/topic/3086-ahx ... ge__st__20

Oh yeah, I forgot that I originally made the changes for Sonic Heroes to work rather than Shenmue 2. Anyway, how about this build, does it work for you?
http://projects.sappharad.com/tools/ahx2wav_v014alt.zip

Exact same version, but rebuilt using Windows 7. If this one doesn't work for you, then it's something with your machine and I don't know how to help you.


Thanks a lot ! this build worked just fine I can confirm it ! You should release this binary as the latest build xD. I hope people who had the same problem will use this updated build. This thread should stay up.
Gensei
Asia Travel Representative
Asia Travel Representative
 
Joined: April 2016
Favorite title: Shenmue II
Currently playing: Ryo Hazuki


Return to Community Projects

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000-
ShenmueDojo.net