Dororo (PS2) - .DAT sound files (ps2_DTPK)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Dororo (PS2) - .DAT sound files (ps2_DTPK)

Post by BloodRaynare »

Anyone can parse this audio file?

Almost finished undubbing this game with only these dat files being a hurdle. Simple replacing the files by copying them is not enough as the replaced sounds will become silent.

EDIT: Looks like I posted on a wrong sections again, care to move it to audio section or just keep it here?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Dororo (PS2) - .DAT sound files (ps2_DTPK)

Post by aluigi »

The section is not totally wrong so it's ok for me.

The problem is that the format is not so easy.
Try this script:
http://aluigi.org/bms/dororo_dat_dtpk.bms

The output format already has a SShd header for playing but you can edit the script for dumping the raw ps adpcm data as-is.
Not sure if it plays since hte file was very small.
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Dororo (PS2) - .DAT sound files (ps2_DTPK)

Post by BloodRaynare »

Unfortunately the scripts doesn't work due to ps2_VAGD magic being in different offsets from each files so the script fails to find them.
Here's more samples:
https://drive.google.com/open?id=10kWhs ... KFztBGQ-EM
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Dororo (PS2) - .DAT sound files (ps2_DTPK)

Post by aluigi »

Added a work-around, version 0.1.1
Dragokai180
Posts: 1
Joined: Tue Apr 23, 2019 12:44 am

Re: Dororo (PS2) - .DAT sound files (ps2_DTPK)

Post by Dragokai180 »

After extracting, can you change the files and rebuild the .dat file?
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Dororo (PS2) - .DAT sound files (ps2_DTPK)

Post by BloodRaynare »

Unfortunately, no.
Since the script is using MEMORY_FILE functions which means no reimport or even rebuild support.

And, once again, another of my undub projects that remains stuck in limbo.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Dororo (PS2) - .DAT sound files (ps2_DTPK)

Post by aluigi »

I think reimporting should work.
The MEMORY_FILE is used only for building the VAG header but the raw data is dumped directly to the file, quickbms should warn you about something related the header, answer 'y' and go forward.