Secrets of the .sng file

For Descent, Descent II and Descent3 level editing and modification assistance.
Post Reply
User avatar
LightWolf
DBB Captain
DBB Captain
Posts: 908
Joined: Sat Mar 09, 2013 2:27 pm
Location: Yes

Secrets of the .sng file

Post by LightWolf »

Everyone knows it as that music thing thing that you need a batch file for it to work, and then a way to undo it for everything else to work. However, that is not strictly true. Did you know:
1. You do not need a batch file for it to work. It can be placed under the name descent.sng within the .hog file.
2. If you do this, it does not need an undo mechanism. It is .hog-dependent with this method.
3. You can actually use it to deviate from the classic "game01,game02,game03,game..." filename order. You can actually use it to allow music to play with different filenames. I'very actually gotten a "final.hmp" to play because of this.
.
The first two probably make sense, but the third? That's because of how a .sng works. It is essentially a configuration file that tells Descent what track to play when. The first 5 are for stuff that usually doesn't matter (like the title song - you can't change that within a custom .hog anyway). After that, however, the magic happens. You put "asdf.hmp" in the seventh spot within the levels' allocated space, and, so long as asdf.hmp exists within the .hog, it will play on level seven.

So there ya have it! If you have any .sng questions, just shoot me a PM!
Whatever I just said, I hope you understood it correctly. Understood what I meant, I mean.
#AllLivesMatter
User avatar
Sirius
DBB Master
DBB Master
Posts: 5616
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Re: Secrets of the .sng file

Post by Sirius »

I believe placing it in the .hog file only works with D1X/D2X - which is why the older missions resorted to the .bat approach.
Post Reply