Secrets of the .sng file

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

Secrets of the .sng file

Post by LightWolf » Fri Sep 09, 2016 3:39 pm

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!
Your friendly neighborhood diamond-loving light wolf.
(Who wouldn't love diamonds? They're so strong! Ever wonder why Diamond Claws did so much damage?)
Substance: 5/30 (6/35) Click here!
New Age Mod: Now hiring! Click here!
User avatar
DBB Master
DBB Master
Posts: 5504
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA

Re: Secrets of the .sng file

Post by Sirius » Sat Sep 10, 2016 1:44 am

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