ncw-decode
is a zero-dependency Rust-based library to decode NCW files. It also includes a wav unpack cli utility. It serves as part of a wider reverse engineering effort of proprietary audio formats, and this particular library is used in ni-file.
NCW is a compression algorithm which is essentially DPCM and bit truncation.
To install the cli utility, install it from the example:
bash
git clone https://github.com/monomadic/ncw.git
Compile the project:
bash
cd ncw-decode
cargo build --release
Run the program with the following command-line arguments:
bash
ncw-decode <INPUT> <OUTPUT>
<INPUT>
: Path to the input NCW file.<OUTPUT>
: Path where the output WAV file will be saved.To contribute, create a pull request with your proposed changes.