Skip to content

justedni/indywvtowav

Repository files navigation

IndyWV To WAV converter

IndyWV is a sound file format developed by LucasArts. It was used in multiple games in the late 90s. The audio data is compressed. indywvtowav.exe can be used to convert those files to playable .wav files.

Currently handled conversions:

  • INDYWV to WAV (mono, stereo ADPCM, or stereo WVSM)
  • LAB to multiple WAVs (LAB is another proprietary format. It is basically a collection of files)
  • WAV to INDYWV (mono ADPCM only)

Usage

-in <FilePath> : full path of input file, INDYWV, WAV or LAB (file type will be auto-deduced)
-out <FileOrFolderPath> : path of output file or output folder
[-unit_test] : performs unit test - checks algorithm integrity (optional)

Examples:

  • to convert a single WV file and write the output WAV in the same folder
    indywvtowav -in ABM3627.wv -out .
  • to parse a LAB archive file and extract all of its INDYWV files
    indywvtowav -in voice.lab -out .\converted_files\
  • to perform the unit test (for developers: to check the algorithm's integrity when you make modifications). The program assumes that the test files are located in a "....\UnitTest" subfolder.
    indywvtowav -unit_test

Games

This tool has been tested on the following games:

  • Star Wars Episode 1: The Phantom Menace (1999 - Windows) : the file VOICE.LAB on the game disc contains all the dialog files (mono) compressed with the ADPCM algorithm.
  • Indiana Jones and the Infernal Machine (1999 - Windows) : the .NDY files extracted from the two CDs contain all SFX, dialog and music (mono and stereo files), compressed with the WVSM algorithm.

Please let me know if you are aware of other games that also use the INDYWV format! Also, I wasn't able to verify that the ADPCM algorithm works on stereo files so I'd love to add that usecase to the unit test.

Credits