Users browsing this thread: 1 Guest(s)
Help ripping dialogue from Ratchet & Clank: A Crack in Time
#1
I've been trying to extract the dialogue from Ratchet & Clank: A Crack in Time, but I'm stuck. I have been able to use tools to dig into the game's files and I've found both a "streaming_dialogue.us.dat" file and a "streaming_sound.dat" file. I couldn't find any ripping documentation for the game so I tried throwing them at the recommended game audio rippers to no avail. I did manage to get something that resembles distorted dialogue through importing it into Audacity, but it's incomprehensible and has high-pitched buzzing. I haven't been able to find much elsewhere about extracting stuff from this game, so I'm hoping someone here knows how this game stores data.

Edit:
I ran the file through Trid and it was identified as being in the .vag format. Sure enough, renaming the .dat file to .vag and putting it through VGSC gives me an audio file with dialogue! However, it seems like the file includes more than just one line of dialogue given how big it is. I can't get VGSC to export more than the first line of dialogue contained within, though. Is there some sort of setting I'm missing?
Psychedelic!
Reply
Thanked by:
#2
I was playing around with the files from Tools of Destruction and encountered the same thing. I don't know if Crack in Time works the same way, but in ToD, the streaming_sounds.dat and streaming_dialogue.xx.dat contain both .vag and .xvag files all baked together, and there's probably other crap in there as well, and VGSC stops after it sees data that isn't .vag. I used ChatGPT to write a python script that splits up the .dat files into smaller chunks based on the headers in the file. Give it a shot and see if it works for you!

Save the script as "split_dat.py" in the same folder as your .dat file, and run it using "python split_dat.py streaming_dialogue.us.dat" from command line/terminal

Here is the script: https://pastebin.com/314h42L0, or change the file type of the attached .txt to .py


Attached Files
.txt   split_dat.txt (Size: 1.73 KB / Downloads: 17)
Reply
Thanked by: skatterbugged
#3
That works! Thank you so much!
Psychedelic!
Reply
Thanked by:


Forum Jump: