* FAQ    * Search  * Register * Login 
Active topics
Unanswered topics

All times are UTC-06:00



Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Knowledge about Outrage Sound Format wanted!
PostPosted: Wed Apr 16, 2008 9:59 am 
Offline
DBB Ace
DBB Ace

Joined: Wed Nov 22, 2006 1:50 pm
Posts: 53
ICQ: 193114620
Website: http://www.odf-online.org
AOL: aquariaboy
Location: Schwieberdingen (Germany)
Hey,
I am searching for some source-code about converting Outrage's Sound Format (*.osf) to WAVE-audio-files (*.wav) or in the other direction.
I couldn't find any useful code, neither in the D3SDK nor in the D3EDIT-source.

Does anyone have some C++-source-code or knowledge about what OSF is? (e.g. OGF-files are some header-changed TGA-files).
Someone said OSF would be vorbis audio, but the files are too big for vorbis.

Please help!


Top
   
 Post subject:
PostPosted: Wed Sep 17, 2008 10:53 pm 
Offline
DBB Admiral
DBB Admiral

Joined: Fri Jun 08, 2001 2:01 am
Posts: 1020
Location: Ariel, WA USA
On the off chance that anyone cares after this long (this category is dead anyway), there's a tool called Game Audio Player that can convert OSF to WAV. OSF just an Interplay ACM renamed. Some information here, and a decoder library here.

Anyway, the only way I know of to make decent-sounding OSF files is with the MusicTester tool that comes with D3Edit. Creating mono files is effortless, just make sure that the input is 22KHz 16 bit. Stereo is a little more painful, as there must be an even number of samples in the audio (or maybe odd, I never actually checked), or the program will crash. Adding or deleting a single sample in any half decent audio program should fix the crash.

And yes, you can have stereo audio taunts in D3, although instead of being limited to 2.8 seconds, it's about 1.4 seconds (32kb limit per file). But think of the possibilities: you could have a missile sound come from off to the right... :P

_________________
-pATCheS

Did that brighten your day?


Top
   
 Post subject:
PostPosted: Thu Sep 18, 2008 8:16 am 
Offline
DBB Ace
DBB Ace

Joined: Wed Nov 22, 2006 1:50 pm
Posts: 53
ICQ: 193114620
Website: http://www.odf-online.org
AOL: aquariaboy
Location: Schwieberdingen (Germany)
Thank you so much!!! :)

I will write my own tool and will let you know when it's finished!


Top
   
 Post subject: Re:
PostPosted: Thu Sep 18, 2008 9:31 am 
Offline
DBB Ace
DBB Ace
User avatar

Joined: Mon Apr 17, 2006 2:13 pm
Posts: 197
Location: The Netherlands
pATChes11 wrote:
OSF just an Interplay ACM renamed.

Oh wow! Why haven't I ever read this before...

I've seen this question more than once, and wondered about it myself,
but I never found an answer, although I could run MusicTester and
capture the sound.

So thanks a lot! I tested it by running acmtool on an .osf file to create
a .wav and it worked.

By the way, acmtool comes with the aforementioned decoder library,
in addition to plugins for some common audio players, so there's no
need to wait for a new tool to be written.

Basic usage info:
Code:
acmtool -d -o outfile.wav infile.osf


(P.S. don't use "here" as link text. Imagine if e.g. Wikipedia did it
that way... It's no big deal for a very short text, but always better to
have descriptive links.)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Descent'rs have piloted these pages
 
The layout and contents contained within this site are © DescentBB.net 1997-2006.
Descent, Descent II are © Parallax Software Corporation.
Descent III is Outrage Entertainment.
Descent is a Trademark of Interplay Productions.

Miner Wars™ is trademark of Keen Software House s. r. o.
.


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group