Support for ARMA2 .wss files?

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
quatermass
Posts: 6
Joined: Sun Apr 26, 2009 10:06 am
Operating System: Please select

Support for ARMA2 .wss files?

Post by quatermass » Sun Jul 28, 2013 3:21 pm

I've just started to use ARMA2 game platform to edit my missions and discovered that this game uses .wss sound files.

These will not autoload in Audacity 2.03 for Windows.
But do, if I use the import raw data option.

I've tried to use the Extended Import option to set "*.wss" to 'WAV,AIFF and other uncompressed types.'
But it never wants to directly open the .wss file with a doubleclick. I always have to use the import function.

Any way to get Audacity to just open these .wss sound files when I double click on them?

They are: Signed 16bit PCM. Litte-endian, mono, 44.1KHz WAV files.

Cheers. :D

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Support for ARMA2 .wss files?

Post by Gale Andrews » Sun Jul 28, 2013 10:18 pm

If these files are headerless then I don't think you can use Extended Import Preferences to force the importer.

You can I think use this command-line program to encode the WSS files to WAV:
http://ofp.gamepark.cz/utilities/OFP_WSSprogs.zip

If the WSS files have headers then please post an example somewhere.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

quatermass
Posts: 6
Joined: Sun Apr 26, 2009 10:06 am
Operating System: Please select

Re: Support for ARMA2 .wss files?

Post by quatermass » Mon Jul 29, 2013 9:50 pm

Just seems to have WSS0 as a header.

Here is a small sample file.

http://mytriops.com/files/fracture_1.wss

:D

steve
Site Admin
Posts: 80752
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Support for ARMA2 .wss files?

Post by steve » Mon Jul 29, 2013 10:43 pm

Gale Andrews wrote:You can I think use this command-line program to encode the WSS files to WAV:
The example file can be converted with SoX if you add ".sb" to the end of the file name.
This command (for SoX) works:

Code: Select all

sox -r 44100 -b 16 -c 1 fracture_1.wss.sb fracture_1.wav
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Support for ARMA2 .wss files?

Post by Gale Andrews » Tue Jul 30, 2013 5:27 pm

quatermass wrote:Just seems to have WSS0 as a header.

Here is a small sample file.

http://mytriops.com/files/fracture_1.wss
Thanks, the file clearly has headers, but libsndfile (the library Audacity uses for uncompressed import) cannot understand the headers. I verified that sndfile-convert in libsndfile standalone does not understand the file.

You could write to libsndfile-devel and make a feature request about it:
http://www.mega-nerd.com/libsndfile/lists.html .

The decoder in http://ofp.gamepark.cz/utilities/OFP_WSSprogs.zip opens the WSS file without problem - you can just drop the file on "wssdec.exe".


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

quatermass
Posts: 6
Joined: Sun Apr 26, 2009 10:06 am
Operating System: Please select

Re: Support for ARMA2 .wss files?

Post by quatermass » Fri Aug 02, 2013 8:38 am

Thanks for that. I'll get on it! :)

Post Reply