One activity I enjoy doing is building objects from games inside of Second Life (SL). At one point, I tried making one of the vehicles from Planetside in SL, but needed sounds for it.

Planetside stores all its sounds in a single large .wav file, with an index file pointing to them. To extract the sounds, I decoded the index file format, and wrote a C program to go through and reconstruct individual wav files from the single large wav file.

One problem I encountered was not all sounds were recorded at the same sampling frequency. Some sounds would come out as noise or heavily distorted due to this, so I had to discard the provided headers describing the wav properties, and generate my own based off the information in the index.

Download:pssounds.tar.gz (Source only, should compile under any *NIX and possibly other systems)To compile:make