Descent 1/2 sound question for coders - BNK files used when?

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
original_jynx
DBB Ace
DBB Ace
Posts: 40
Joined: Wed Nov 08, 2006 11:50 pm

Descent 1/2 sound question for coders - BNK files used when?

Post by original_jynx »

Dear Descent coders -

In the DESCENT.SNG files found in DESCENT.HOG in both Descent 1/2, there are BNK files listed after the music track names. What are those files? Are they instrument sample files, and if so, under what circumstances are they loaded, according to the source code?

Thanks!
User avatar
Jeff250
DBB Master
DBB Master
Posts: 6539
Joined: Sun Sep 05, 1999 2:01 am
Location: ❄️❄️❄️

Post by Jeff250 »

http://www.descent2.com/ddn/specs/bnk/

Doesn't look like they affect AWE32 playback.
original_jynx
DBB Ace
DBB Ace
Posts: 40
Joined: Wed Nov 08, 2006 11:50 pm

Post by original_jynx »

Thanks! Last question - the Descent 1 music files: are they in fact just renamed MIDIs?
User avatar
Jeff250
DBB Master
DBB Master
Posts: 6539
Joined: Sun Sep 05, 1999 2:01 am
Location: ❄️❄️❄️

Post by Jeff250 »

They have the functionality of a MIDI, but they are a weird and troublesome file format.
original_jynx
DBB Ace
DBB Ace
Posts: 40
Joined: Wed Nov 08, 2006 11:50 pm

Post by original_jynx »

Well, let me be more specific. Is there a 1-to-1 correspondence between the functionality of a MIDI and a HMP file? (in other words, can you convert a HMP to a MID without loss?)
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Post by Krom »

DTX (and DTX2) never seemed to have any trouble converting D1/2 music to midi format, and it always sounded the same either playing the midi in windows with winamp or playing the music in game.
User avatar
Duper
DBB Master
DBB Master
Posts: 9214
Joined: Thu Nov 22, 2001 3:01 am
Location: Beaverton, Oregon USA

Post by Duper »

I can't get DTX to run in XP! :(
original_jynx
DBB Ace
DBB Ace
Posts: 40
Joined: Wed Nov 08, 2006 11:50 pm

Post by original_jynx »

So, to recap -

1) HMP files are simply re-arranged MIDI files;
2) HMP files can be converted to MIDI files with identical functionality, and
3) It doesn't matter if MIDI playback occurs in-game or not with respect to MIDI (or HMP) playback.

That might make my job of recording these off my AWE64 easier if all those are true...

Another question - is it true that the Playstation version of Descent has the same music as the Mac version, which has Redbook audio? (I ask because while I DO have a program which can strip audio out of Playstation games, I'd rather just copy the Redbook if they're the same).
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Post by Krom »

Yes, as I recall the playstation and mac versions have the same music. However the playstation audio is some odd sampling rate like 38,000 Hz instead of the standard 44,100 Hz.
Post Reply