Jump to content

Dear Chocolate Doom. plz stop judging my music choices, kthxbai. (Chocolate Doom Music error question.)


Kyka

Recommended Posts

 

wAphnQN.png

 

So chocolate Doom just crashed with this error. I thought I would post it and see if anyone knows what causes such an error.

 

Cheers.

Edited by Kyka

Share this post


Link to post

Well, as you may know, Doom likes to use arrays and enums to hold its data, and music is no exception. Here it complains about the music number, 70, which is bad because it's too large.

 

Specifically, if you go and look here, you'll see a list of all Doom track names from both Ultimate Doom and Doom II/Final Doom. There are 32 tracks for Doom (mus_e1m1 to mus_introa in that list), and 35 for Doom II (mus_runnin to mus_dm2int), for a total of 67 tracks. Then there's also the mus_None that's no music and used to fill slot 0, and NUMMUSIC that's a special constant with value 68. And over there, you can see your error message: if the game attempts to play a music number that's outside of the safe 1--67 range, it complains with that error message.

 

So the question here would be "why is it trying to play music number 70". And on that point I'm at a loss. Technically if you tried to play a map on the slot MAP38 you would get that, but based on your screenshot your map is  in the MAP10 slot, so it should be safe. We need more info, I think.

 

Share this post


Link to post

Thanks for the detailed reply Gez. Incredibly knowledgeable as always.

 

Reading through this, the pertinent piece of new information would be this: I launched chocolate doom from GZDB, and obviously Chocolate Doom loaded the map 10 mapslot. Once I had finished looking around, testing that particular map, I then IDCLEV'd to map 29, another map that I wanted to test, and that I know runs in Chocolate Doom also. (Barring one area that has visiplane issues.) And seeing that I type really fast generally, I figure now that the error message could have come from me perhaps typing the wrong number... '39' instead of '29' perhaps? I am guessing here, but it is the only thing that I can think of that might explain what happened. Chocolate Doom crashed immediately upon entering the final key of "idclev xx"

 

[edit] yes upon actually trying this, I launched chocolate doom and typed in "idclev 39" and it gave the error "Bad Music Number 71". Typing in "idclev 38" gave the error "Bad Music Number 70" So apparently I typed in both numbers wrong. 29 /= 38. Thanks again Gez. [/edit]

Edited by Kyka

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...