Skip to content

v2.5.2

Choose a tag to compare

@davidvanderburgh davidvanderburgh released this 28 Feb 13:36
· 78 commits to main since this release

What's New

OGG Vorbis Auto-Conversion

OGG replacement files are now auto-converted to match the original file's format, just like WAV files. The pipeline:

  • Parses the OGG Vorbis header from both the replacement and the original file
  • Detects mismatches in channel count, sample rate, and bitrate
  • Re-encodes via ffmpeg to match the original's exact parameters (e.g. stereo/44100Hz/112kbps)

This fixes the issue where replacement OGG files exported from Audacity with different settings (e.g. mono, 48kHz, wrong bitrate) were silently ignored by the game.

Full Changelog

  • audio.py: added detect_ogg_format(), ogg_formats_match(), ogg_format_description(), ogg_format_diff()
  • pipeline.py: added _maybe_convert_ogg(), _get_original_ogg_format(), _convert_ogg_ffmpeg(); encrypt phase now handles both .wav and .ogg files
  • README.md: updated audio format docs to cover OGG auto-conversion