RaidingForPants / hd2-audio-modder

11 stars 1 forks source link

Audio and Text Modder For Helldivers 2

I made this program to help make modding audio data easier.

Mini tutorial for audio modding

Thanks to everyone behind the Helldivers 2 Blender Addon for letting me use some of their code.

You can use the prebuilt executables (built with PyInstaller) in the releases tab, or you can run the Python.

If you run the Python code, you will need the appropriate distribution of vgmstream to play audio from within the program. Place the vgmstream folder into the same folder as the Python code.

Running the Python code

Requires Python 3.10 or later.

Windows

Install Python 3. Make sure to check in the Python installer the optional feature "tcl/tk and IDLE".

Install the dependencies:

python -m pip install -r requirements.txt

Run the program:

python audio_modder.py

Linux

PortAudio and tkinter must be installed.

Ubuntu:

apt-get install python3-tk

apt-get install portaudio19-dev python-all-dev

Install the dependencies:

python3 -m pip install -r requirements.txt

Run the program:

python3 audio_modder.py

MacOS

PortAudio and Python must be installed.

Python

Install Python.

PortAudio

Install Homebrew package manager.

Install portaudio:

brew install portaudio

Install the dependencies:

python3 -m pip install -r requirements.txt

Run the program:

python3 audio_modder.py