Download
Extract the achive into a new folder.
The program is called "filediver.exe" (or just "filediver" on Linux). See usage.
What is "ffmpeg.exe"?
"ffmpeg.exe" (FFmpeg) is used for converting video and audio files. It is downloaded from an official source by the GitHub workflow that generates the .zip archive you can download.
You only need to keep it in the folder if you don't have it installed on your computer already.
Usage
Windows
Navigate to the folder where you unpacked the program into. SHIFT+Right-Click in the folder and select "Open in PowerShell".
In PowerShell/Terminal, run ./filediver -h to get a list of options.
Here are some example commands:
Simply running the app should automatically detect your installation directory and dump all files into the "extracted" directory in your current folder:
./filediver
Print a detailed description of all command line options:
./filediver -h
Extract the files into a directory called "custom_dir":
./filediver -o "custom_dir"
Extract only video files:
./filediver -c "enable:video"
Extract the Super Earth anthem as mp3:
./filediver -c "audio:format=mp3" -i "content/audio/291227525.wwise_stream"
Combine several models into one file, then import into Blender with Thejudsub's accurate shader applied (requires hd2_accurate_blender_importer.zip to be downloaded and unzipped to the same folder filediver is):
./filediver -c "unit:single_glb=true,format=blend" -t "0x3d8cf2088ed56091" -i "0x76cf8e26aad1bf7e.unit" -o "extracted/DP-00-Tactical/"
Features
- Audio: Audiokinetic wwise bnk/wem; automatically converted to WAV; other formats require FFmpeg
- Video: Bink; automatically converted to MP4 via FFmpeg (shipped with Windows binary)
- Textures: Direct Draw Surface (.dds); automatically converted to PNG
- Models (WIP): Stingray Unit; automatically converted to GLB (=glTF); can be imported into Blender; for importing bones, see Importing Bones
Planned: animations
Importing Bones
When importing the .glb into blender, you need to change the "Bone Dir" option from "Blender" to "Temperance", or you will see huge spheres for bones.
Thejudsub's Accurate Shader
.glb models exported from filediver can be imported into Blender with the accurate shader pre-applied, saving a lot of manual work finding and applying textures:
- Download
hd2_accurate_blender_importer.zip from the Releases tab and unzip it to the same directory filediver is located.
- Export a model that uses procedural materials (most armor pieces and weapons do)
- Run
./scripts_dist/hd2_accurate_blender_importer/hd2_accurate_blender_importer.exe path/to/filediver/exported.glb path/to/output.blend
path/to/output.blend will be a new, completely fresh/overwritten blend file containing the exported models with the shader applied.
Credits/Links
This app builds on a lot of work from other people. This includes:
Some useful discussion on the topic of HD2 resource extraction: https://reshax.com/topic/507-helldivers-2-model-extraction-help/
Hacking
- Install Go
go run ./cmd/filediver-cli
License
Copyright (c) Darwin Schuppan and contributors
FileDiver is licensed under the 3-Clause BSD License (https://opensource.org/license/bsd-3-clause).