Just so I don't forget next time how I did it here's a way to extract dead space 1/2 audio files.
1. git clone
https://github.com/gibbed/Gibbed.Visceral2. cd Gibbed.Visceral
3. git submodule update --init --recursive
4. Download Visual Studio: If you don't have a Windows account, get it from here:
https://gist.github.com/pablotolentino/61ae8cfeea48548b6ad1489534e8482d5. During installation, select .NET desktop development
6. Open Visual Studio and load the folder/project where Gibbed.Visceral.sln is located.
7. Select the recommended method to run the project with the latest .NET Framework.
8. Go to Build -> Build Solution. (If it says 0 failed, the build was successful.)
9. Near the Start button, select Gibbed.Visceral.BigViewer from the dropdown menu then hit the Start button to run.
10. Open -> select any .DAT file from your Dead Space game directory.
11. Look for a folder named audiostreams: Right-click it and select Save to extract the folder. (There could be audiostream folders in multiple .DAT files)
12. Download VGMStream to convert .snu files to .wav:
https://github.com/vgmstream/vgmstream/releases13. Use this Python script to convert .snu to .wav:
import os
import subprocess
root_dir = r"\audiostreams" # The folder containing .snu files
vgmstream_dir = r"\vgmstream-win64" # Path to VGMStream directory containing `vgmstream-cli.exe`
output_dir = os.path.join(vgmstream_dir, "output")
if not os.path.exists(output_dir):
os.makedirs(output_dir)
for root, dirs, files in os.walk(root_dir):
for file in files:
if file.endswith(".snu"):
input_file = os.path.join(root, file)
output_file = os.path.join(output_dir, f"{os.path.splitext(file)[0]}.wav")
command = [
os.path.join(vgmstream_dir, "vgmstream-cli.exe"),
"-o", output_file,
input_file
]
print(f"Converting: {file} -> {output_file}")
subprocess.run(command, shell=True)
print(f"All conversions completed. WAV files are in: {output_dir}")