I need help Dead or Alive 2 Ultimate Audio files .wva?

Codecs, formats, encoding/decoding of game audio, video and music
dcooper
Posts: 17
Joined: Fri Nov 04, 2022 7:16 pm

I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by dcooper »

I need help unpacking the games voice lines and repacking them. they are .wva? for the original Xbox this thread right here doesn't really help and I'm so confuse on what to do?

https://zenhax.com/viewtopic.php?f=6&t=4047
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by BloodRaynare »

I made these script to extract and re/built the wva files here
doa2u_wva_scripts.zip
Use QuickBMS to run the scripts.
To re/build the WVA file, use the build script and point it to the ini file that the extractor script generates.
To convert your audio use XboxADPCM tool
Also a warning: Whatever you do, don't ever modify/shifting/remove the sound slot around as it might crash the game! But renaming the WAV file is fine though.
dcooper
Posts: 17
Joined: Fri Nov 04, 2022 7:16 pm

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by dcooper »

BloodRaynare wrote:I made these script to extract and re/built the wva files here

doa2u_wva_scripts.zip

Use QuickBMS to run the scripts.
To re/build the WVA file, use the build script and point it to the ini file that the extractor script generates.
To convert your audio use XboxADPCM tool
Also a warning: Whatever you do, don't ever modify/shifting/remove the sound slot around as it might crash the game! But renaming the WAV file is fine though.
It giving me an error??? do I have to use ninjatools to extract the .wva's or use .dvd file?
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by BloodRaynare »

dcooper wrote: It giving me an error??? do I have to use ninjatools to extract the .wva's or use .dvd file?
You need to extract the the files first of course. I thought you've already extracted it. Use this tool to extract/repack the AFS file.
dcooper
Posts: 17
Joined: Fri Nov 04, 2022 7:16 pm

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by dcooper »

BloodRaynare wrote:
dcooper wrote: It giving me an error??? do I have to use ninjatools to extract the .wva's or use .dvd file?
You need to extract the the files first of course. I thought you've already extracted it. Use this tool to extract/repack the AFS file.
I didn't sorry. I open the afs but the command prompt keeps closing quick when I double click on it?
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by BloodRaynare »

dcooper wrote: I didn't sorry. I open the afs but the command prompt keeps closing quick when I double click on it?
It's a command line program, so you need to pass a parameter to make it work. Use command prompt or write an batch file (.bat) to extract the files. Here's some example:

Code: Select all

AFSPacker -e data_hdd.afs data_hdd
To repack the files back:

Code: Select all

AFSPacker -c data_hdd data_hdd.afs
dcooper
Posts: 17
Joined: Fri Nov 04, 2022 7:16 pm

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by dcooper »

BloodRaynare wrote:
dcooper wrote: I didn't sorry. I open the afs but the command prompt keeps closing quick when I double click on it?
It's a command line program, so you need to pass a parameter to make it work. Use command prompt or write an batch file (.bat) to extract the files. Here's some example:

Code: Select all

AFSPacker -e data_hdd.afs data_hdd
To repack the files back:

Code: Select all

AFSPacker -c data_hdd data_hdd.afs
Can u send some screenshots or a video on how to do all this? Cause I'm loss at trying to do this. it just not working on my end.
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by BloodRaynare »

Alright.

I don't know what OS are you on, so let's just assume you're on Win10. Though I'm using 8.1 but it should mostly be the same

I'm using AFSes from Tales of the Abyss as an example, because I don't have the dump of DOA2U at the moment.

1. Copy the AFS file to the same directory as the AFSPacker, like this:

Image

Or better yet, copy the AFSPacker.exe to the same directory as the AFS file, like this:

Image

2. In Windows Explorer, Go to "File" then "Open Command Prompt" -> "Open command Prompt" again:

Image

3. After command prompt is opened, Enter the command from my previous reply above

Extracting:
Image

Repacking:
Image
dcooper
Posts: 17
Joined: Fri Nov 04, 2022 7:16 pm

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by dcooper »

BloodRaynare wrote:Alright.

I don't know what OS are you on, so let's just assume you're on Win10. Though I'm using 8.1 but it should mostly be the same

I'm using AFSes from Tales of the Abyss as an example, because I don't have the dump of DOA2U at the moment.

1. Copy the AFS file to the same directory as the AFSPacker, like this:

Image

Or better yet, copy the AFSPacker.exe to the same directory as the AFS file, like this:

Image

2. In Windows Explorer, Go to "File" then "Open Command Prompt" -> "Open command Prompt" again:

Image

3. After command prompt is opened, Enter the command from my previous reply above

Extracting:
Image

Repacking:
Image
I'm on windows 10. and this happens? not recognized as a command
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by BloodRaynare »

dcooper wrote: I'm on windows 10. and this happens? not recognized as a command
How did you open the Command Prompt? From Windows Explorer or from Start Menu?
Because if you did it from start menu that means you have to change directories by using cd command

What's the full address/path of the "New Folder"?
dcooper
Posts: 17
Joined: Fri Nov 04, 2022 7:16 pm

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by dcooper »

BloodRaynare wrote:
dcooper wrote: I'm on windows 10. and this happens? not recognized as a command
How did you open the Command Prompt? From Windows Explorer or from Start Menu?
Because if you did it from start menu that means you have to change directories by using cd command

What's the full address/path of the "New Folder"?
I use the start menu and change the path to
c:/Users/demet/onedrive/Desktop/new Folder>ASFPacker -e data_hdd.afs data_hdd

Then I hit enter and it gave me a fatal error?
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by BloodRaynare »

Give me the screenshot of the error
dcooper
Posts: 17
Joined: Fri Nov 04, 2022 7:16 pm

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by dcooper »

BloodRaynare wrote:Give me the screenshot of the error
here you go.
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by BloodRaynare »

dcooper wrote: here you go.

Ah yes I forgot. You need to install .NET Core Runtime first.
dcooper
Posts: 17
Joined: Fri Nov 04, 2022 7:16 pm

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by dcooper »

BloodRaynare wrote:
dcooper wrote: here you go.

Ah yes I forgot. You need to install .NET Core Runtime first.
It now said file data_hdd.afs has not been found? yet I have it in the folder?
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by BloodRaynare »

dcooper wrote: It now said file data_hdd.afs has not been found? yet I have it in the folder?
Check the names again. Your AFS file doesn't have the underscore (_) on it's name.
dcooper
Posts: 17
Joined: Fri Nov 04, 2022 7:16 pm

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by dcooper »

BloodRaynare wrote:
dcooper wrote: It now said file data_hdd.afs has not been found? yet I have it in the folder?
Check the names again. Your AFS file doesn't have the underscore (_) on it's name.
yeah, I check my games files in the do2 folder. they all not underscore only .afs
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by BloodRaynare »

dcooper wrote: yeah, I check my games files in the do2 folder. they all not underscore only .afs
So change the name of your AFS file input:

Code: Select all

AFSPacker -e datahdd.afs datahdd
dcooper
Posts: 17
Joined: Fri Nov 04, 2022 7:16 pm

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by dcooper »

BloodRaynare wrote:
dcooper wrote: yeah, I check my games files in the do2 folder. they all not underscore only .afs
So change the name of your AFS file input:

Code: Select all

AFSPacker -e datahdd.afs datahdd
it work. it gave me a .json what do I do now?
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: I need help Dead or Alive 2 Ultimate Audio files .wva?

Post by BloodRaynare »

dcooper wrote: it work. it gave me a .json what do I do now?
Check the folder with the same name as your AFS file then find the WVA files inside there.