D1 music not playing after lvl 7?

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

D1 music not playing after lvl 7?

Post by original_jynx »

OK. I have my P2 350 legacy setup with my nifty old AWE64 to enjoy the tunes in-game .... only after level 7, the music doesn't play anymore! What is up with that?
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 assume you're playing D1? If that is true, what version of D1 are you playing? Try 1.5. it fixes a sound issue or two.
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 »

Wrong. It is a bug in the D1 1.x to 1.5 patch. Here is what you need to do: install D1, then use the 1.x to 1.4(a) patch, then use the 1.4(a) to 1.5 patch and the music will still play properly after level 7.
original_jynx
DBB Ace
DBB Ace
Posts: 40
Joined: Wed Nov 08, 2006 11:50 pm

Post by original_jynx »

That may be the issue - I just installed D1 and noticed a \"patch.exe\" in the Descent dir, so I ran it... woops, I guess.

... or not. It appears the CD contains D1 v1.5, and that's it. So... can I install the 1.0-1.4a patch and then the 1.5 patch OVER version 1.5, or am I out of luck?

edit - I found a fix, but can't get the file referred to, here: http://forums.3drealms.com/vb/showthread.php?t=17932

Can someone post a \"correct\" 1.4a DESCENT.SNG file somewhere? Thanks!
User avatar
akula65
DBB Ace
DBB Ace
Posts: 372
Joined: Mon Sep 20, 2004 6:34 pm
Location: Virginia

Post by akula65 »

Sorry to hear you have a bad copy of Descent 1.5. In order to download the copy of DESCENT.SNG at the 3D Realms Forums, you do have to be a registered user and logged in. I just tested the download, and it works fine.

For better or for worse, you can't post downloadable material on this board, but since the DESCENT.SNG file is so small, I thought we might resort to an ancient Unix technique for transmitting binary files, namely uuencoding/uudecoding. I am placing a uuencoded version of the DESCENT.SNG file at the end of this post. In order to generate the DESCENT.SNG file, you will need to do two things:

1) Cut and paste everything between and including the 'begin' and 'end' below into a file. Name the file whatever you want, although you might need to alter the filename extension to something else in step (2).

2) Find a UUDECODE program compatible with the operating system you are using and execute it against the file you created in step (1). You might need to set the filename extension to some particular value in order to get your decoding program to work (consult your documentation). Here is the Wiki for uuencoding/uudecoding:

http://en.wikipedia.org/wiki/Uuencode

At the end of the Wiki you will see links to a couple of open-source programs that can be used to perform the uudecoding. I understand that WinZip can be used for uudecoding, and I am sure Google can provide you with additional programs that can be used for this purpose.

If you use the procedure described in the 3D Realms post to fix your Descent 1.5 installation, please post your results here. Nobody has ever provided feedback on the procedure, and if it actually works, I might be willing to write a patch program to automate the fix. It would also be helpful if you could post which of the disk versions you have (CD-ICD-500-0, CD-H95-700-3, etc.), particularly if you have a version which is not listed.

begin 0666 descent.sng
M9&5S8V5N=\"YH;7`):&%M;65L;RYB;FL):&%M9')U;2YB;FL-\"F)R:65F:6YG
M+FAM<`EM96QO9&EC+F)N:PED<G5M+F)N:PT*96YD;&5V96PN:&UP\"6EN=&UE
M;&\\N8FYK\"6EN=&1R=6TN8FYK#0IE;F1G86UE+FAM<`EI;G1M96QO+F)N:PEI
M;G1D<G5M+F)N:PT*8W)E9&ET<RYH;7`);65L;V1I8RYB;FL)9')U;2YB;FL-
M\"F=A;64P,2YH;7`):&%M;65L;RYB;FL):&%M9')U;2YB;FL-\"F=A;64P,BYH
M;7`):&%M;65L;RYB;FL):&%M9')U;2YB;FL-\"F=A;64P,RYH;7`):6YT;65L
M;RYB;FL):6YT9')U;2YB;FL-\"F=A;64P-\"YH;7`);65L;V1I8RYB;FL)9')U
M;2YB;FL-\"F=A;64P-2YH;7`);65L;V1I8RYB;FL)9')U;2YB;FL-\"F=A;64P
M-BYH;7`);65L;V1I8RYB;FL)9')U;2YB;FL-\"F=A;64P-RYH;7`);65L;V1I
M8RYB;FL)9')U;2YB;FL-\"F=A;64P.\"YH;7`)<FEC:VUE;&\\N8FYK\"7)I8VMD
M<G5M+F)N:PT*9V%M93`Y+FAM<`EM96QO9&EC+F)N:PED<G5M+F)N:PT*9V%M
M93$P+FAM<`EM96QO9&EC+F)N:PED<G5M+F)N:PT*9V%M93$Q+FAM<`EI;G1M
M96QO+F)N:PEI;G1D<G5M+F)N:PT*9V%M93$R+FAM<`EM96QO9&EC+F)N:PED
M<G5M+F)N:PT*9V%M93$S+FAM<`EI;G1M96QO+F)N:PEI;G1D<G5M+F)N:PT*
M9V%M93$T+FAM<`EI;G1M96QO+F)N:PEI;G1D<G5M+F)N:PT*9V%M93$U+FAM
M<`EM96QO9&EC+F)N:PED<G5M+F)N:PT*9V%M93$V+FAM<`EM96QO9&EC+F)N
M:PED<G5M+F)N:PT*9V%M93$W+FAM<`EM96QO9&EC+F)N:PED<G5M+F)N:PT*
M9V%M93$X+FAM<`EI;G1M96QO+F)N:PEI;G1D<G5M+F)N:PT*9V%M93$Y+FAM
M<`EM96QO9&EC+F)N:PED<G5M+F)N:PT*9V%M93(P+FAM<`EM96QO9&EC+F)N
M:PED<G5M+F)N:PT*9V%M93(Q+FAM<`EI;G1M96QO+F)N:PEI;G1D<G5M+F)N
H:PT*9V%M93(R+FAM<`EH86UM96QO+F)N:PEH86UD<G5M+F)N:PT*&G5M
`
end
original_jynx
DBB Ace
DBB Ace
Posts: 40
Joined: Wed Nov 08, 2006 11:50 pm

Post by original_jynx »

They haven't moved so swiftly to enable my account at the 3d realms board, unfortunately...

I have CD-ICD-500-0. That is how I happened upon your 3d realms post.

Query: how big is the resulting DESCENT.SNG supposed to be?

Thanks a million!
User avatar
akula65
DBB Ace
DBB Ace
Posts: 372
Joined: Mon Sep 20, 2004 6:34 pm
Location: Virginia

Post by akula65 »

The file length should be 940 bytes. Here are MD5 and SHA1 checksums for DESCENT.SNG:

MD5: 2cda062750c19302533965dcb2dc2257 descent.sng
SHA1: c868d5223bf22bb66d6a60f35bbed402801deef8 descent.sng


If you look at DESCENT.SNG with a text editor it should look something like this:

descent.hmp hammelo.bnk hamdrum.bnk
briefing.hmp melodic.bnk drum.bnk
endlevel.hmp intmelo.bnk intdrum.bnk
endgame.hmp intmelo.bnk intdrum.bnk
credits.hmp melodic.bnk drum.bnk
game01.hmp hammelo.bnk hamdrum.bnk
game02.hmp hammelo.bnk hamdrum.bnk
game03.hmp intmelo.bnk intdrum.bnk
game04.hmp melodic.bnk drum.bnk
game05.hmp melodic.bnk drum.bnk
game06.hmp melodic.bnk drum.bnk
game07.hmp melodic.bnk drum.bnk
game08.hmp rickmelo.bnk rickdrum.bnk
game09.hmp melodic.bnk drum.bnk
game10.hmp melodic.bnk drum.bnk
game11.hmp intmelo.bnk intdrum.bnk
game12.hmp melodic.bnk drum.bnk
game13.hmp intmelo.bnk intdrum.bnk
game14.hmp intmelo.bnk intdrum.bnk
game15.hmp melodic.bnk drum.bnk
game16.hmp melodic.bnk drum.bnk
game17.hmp melodic.bnk drum.bnk
game18.hmp intmelo.bnk intdrum.bnk
game19.hmp melodic.bnk drum.bnk
game20.hmp melodic.bnk drum.bnk
game21.hmp intmelo.bnk intdrum.bnk
game22.hmp hammelo.bnk hamdrum.bnk

It has been a while since I looked at it with a hex editor, but I think it has tab characters in it, and I can't remember what is used to mark the end of line.

Good luck!
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 »

I can verify from my working copy of D1 version 1.5 that the hash values on Descent.sng are:
CRC32: 9d9d53aa
MD5: 2cda062750c19302533965dcb2dc2257
SHA1: c868d5223bf22bb66d6a60f35bbed402801deef8
The file size is 940 bytes.

Normally this file is stored inside Descent.hog, which is why you don't see it in the descent folder. The correct version of Descent.hog has the following hash values:
CRC32: cd5a4a5a
MD5: 4f4451c4c7af50b66bb24ce941f37ea0
SHA1: 008dbf12c33cb56d902871ca8649fb152eeb954a
Size: 7,091,100 bytes.

By default just placing descent.sng in the descent folder where descent.hog is located should correct the problem.

akula65: if you wish to create a patch that directly modifies the descent.hog file to correct bug from the 1.0 -> 1.5 patch I don't think anyone would complain since a patch would not be distributing game files.
original_jynx
DBB Ace
DBB Ace
Posts: 40
Joined: Wed Nov 08, 2006 11:50 pm

Post by original_jynx »

It worked!

Thanks!

Now I just need to figure out a way to record this stuff!
User avatar
akula65
DBB Ace
DBB Ace
Posts: 372
Joined: Mon Sep 20, 2004 6:34 pm
Location: Virginia

Post by akula65 »

Cool. Thanks for the feedback. I guess there IS some need for such a patch.

Hey Krom, if you think the thread needs to be deleted for CYA reasons, I would certainly understand.
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 »

No need, I think fixing a bug in the 1.x > 1.5 patch is perfectly safe. I had to do a lot of digging to find a fix when I had this same bug a long time ago, a thread like this would have saved me a lot of trouble.
Post Reply