User Tools

Site Tools


ofp:tools:wssfileconverter

WSS File Converter

WSS File Converter by Stoppelhopser

Used to convert WAV files into WSS files which OFP uses and the other way around.

pmc.editing.wiki_images_wss_util.jpg

This program was written for the OFP community to convert BIS´s wss soundfiles to wav format and vice versae.

This program used to be based on two DOS applications called wsscod and wssdec. It used to serve as a GUI for these progs to save the annoying command line inputs. There was, however, the problem that filepaths needed to be converted to 8.3 format, which caused a bug in the application because i did not do it. Instead of adding this feature, i implemented file conversion routines to get rid of the DOS utilities.

Usage

  • To convert wav-files into wss, click the “wss encode” button. If you want the source wav-files to be deleted after encoding, check the “Delete wav files after encode” box. Select one or multiple files in the “File Open” dialog and click ok to start conversion.
  • To convert wss-files into wav, click the “wss decode” button and select files to be converted from the “File Open” dialog and click ok to start conversion.
  • When conversion is done, the conversion list will show extended information. If a file could not be convertet, a “ - ” will be prefixed to the filename. Successfully converted files are marked “ + ”.
  • The converted files will be created in the same directory as the source files. If a file with the same filename already exists in the directory, it will be replaced by the new file.

Notes On Audiofiles

OFP uses Microsofts DirectSound runtime to playback sounds. DirectSound is only capable of playing back sound PCM data, which is an uncompressed format. The most common format types are:

  • Sample rate: 11,025 / 22,05 / 44,1 kHz
  • Bit depth: 8 / 16
  • Channels: mono / stereo

Other format types (e.g. 24bit/sample) might also be supported, but this depends on the audio hardware.

If the sound is a 3D-sound (in flashpoint, all sounds except radio and music), it has to be a mono file, because stereo impression is generated dynamically by the DirectSound engine.

Thus, using ogg-files for flashpoint only makes sense for music, environment sounds and (maybe) radio. ogg-compressed files only reduce resource size, but flashpoint must convert these files to PCM before using them, so loading the file may reduce performance due to the required conversion process.

Notes

Download official link filefront - 1.5mb (but that includes some installed which inserts dll's to your windows dir, NOT recommended to use)
Download from PMC Tactical: wss_file_converter.rar - 11kb.

ofp/tools/wssfileconverter.txt · Last modified: 2017-10-13 21:20 by snakeman