Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
TheDarkArchon

SNDSEQ is missing from the ZDoom items

Recommended Posts

It's a minor thing but XWE 1.14 does not recognise the SNDSEQ lump for ZDoom. It can still be edited, though.

EDIT: Sounds without "DS" at the beginning don't appear as sounds until you select them. Likewise, any lump with "DS" or "DP" at the beginning is assumed a sound.

Share this post


Link to post

This is by sort of by design. If you want the SNDSEQ lump to show up with the little "Z" icon, you can just add this into the XWE.INI file:

[SNDSEQ]
Entry : "SNDSEQ"
Icon : zdoom

Although it's not a ZDooM specific lump, is it? Anyway, you can make XWE "recognize" anything, if you edit the XWE.INI file this way.

The sound thing happens for a similar reason. This is what's in the INI file:

[WAVESOUND]
Entry : "DS*;*.WAV;*.VOC;*.RAW;*.AUDLOG;*.OGG"
;Signature : "$03 $00"
Editor : WaveEditor
ExportMethod : WAV
Icon : wave

The signature line is commented out, and any entry that begins with DS is assumed to be a sound. If you don't like this, just remove the DS*; from the entry list. If you uncomment the signature line, XWE will recognize the sounds, but it might make mistakes.

The Doom sound entries are a bit weird. The first two bytes are $03, $00, then the playback speed, followed by the length of the sound data. I guess something could be done to make XWE recognize them when you first open your WAD, but this would involve reading the first few bytes of EVERY entry, just to determine that it's a sound. And XWE is kind of slow when first opening a WAD.

In fact this is a bit better in 1.14, previously, if a lump was not recognized during open as a sound, but when you clicked on it XWE showed it as a sound, the list did not get refreshed. At least now it does, and the lump is marked as a sound, it's a late identification.

Share this post


Link to post
Csabo said:

This is by sort of by design. If you want the SNDSEQ lump to show up with the little "Z" icon, you can just add this into the XWE.INI file:

[SNDSEQ]
Entry : "SNDSEQ"
Icon : zdoom

Although it's not a ZDooM specific lump, is it?


But mapinfo, sndinfo and animdefs have the icon (which aren't ZDoom specific either). Sorted anyway.

Archon: you need to add the editor line, too:

[SNDSEQ]
Entry : "SNDSEQ"
Editor : ScriptEditor,SNDSEQ
Icon : zdoom

Share this post


Link to post

The Ultimate Doomer: I'm surprised that you are correcting me. You don't need to add the Editor line, a text editor will come up anyway. The second parameter after "ScriptEditor" would only mean something if you define it in the XWE.INI file. You can take a look, all the other lump types are defined later on like this: (DECORATE) and then the keywords for that lump, etc. Since (SNDSEQ) is not defined, it won't do anything. I'll add it for the next version anyway.

Share this post


Link to post

I played around with identifying the Doom WAVEs during startup. I was wrong! If it's done, there's no noticable performance hit (and that's tested with a 15,000 lump WAD). So it will be done in the next version.

What's strange though is that during startup, what takes the most time is populating the ListView control. Infact, if I removed the Size and Position columns, there's an about 20% speed increase. I think I will make those two columns optional in the list, am I correct to think that most people don't care/use them anyway?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×