filediver

module
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause

README

FileDiver

GitHub Actions Workflow Status Scrutinizer quality (GitHub/Bitbucket) GitHub License

GitHub Release GitHub Downloads (all assets, all releases)

An unofficial Helldivers 2 game asset extractor.

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"

Features

File Types/Formats
  • 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

Planned: bones, animations

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

FileDiver is licensed under the 3-Clause BSD License (https://opensource.org/license/bsd-3-clause).

Directories

Path Synopsis
Implements LSb-First reader and writer for reading/writing arbitrary bit width integers from/to normal go byte streams.
Implements LSb-First reader and writer for reading/writing arbitrary bit width integers from/to normal go byte streams.
cmd
bik
"triad" describes a storage unit used in the game files.
"triad" describes a storage unit used in the game files.
The following is mostly manually converted from vgmstream (https://github.com/vgmstream/vgmstream)
The following is mostly manually converted from vgmstream (https://github.com/vgmstream/vgmstream)
vorbis
The following is manually converted from ww2ogg by hcs (https://github.com/hcs64/ww2ogg)
The following is manually converted from ww2ogg by hcs (https://github.com/hcs64/ww2ogg)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL