[Bad wads] Music Crash

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [Bad wads] Music Crash

by Graf Zahl » Sat Dec 06, 2003 10:27 am

Sparky wrote:well yes of course i will rename thta lump
but it still shouldnt crash

With that I agree. ;)

by Sparky » Sat Dec 06, 2003 6:51 am

well yes of course i will rename thta lump
but it still shouldnt crash

by Lexus Alyus » Sat Dec 06, 2003 6:16 am

Urm, well, what else is it gonna use as the title pic? Man, just change the damn name and be done with it!
Sparky wrote:in english please i dont know all these wacky terms
It made perfect sense to me... not very hard to understand, unless... no, I won't say it :-D

:twisted:

by Sparky » Fri Dec 05, 2003 3:15 pm

well, i guess it is
i mean the crash its trying to load a music file as a graphic
that makes sence
but the fact that its crashing is a bug, instead of that it shouldnt do anything at all

by Ty Halderman » Fri Dec 05, 2003 3:12 pm

It's not a bug, it's an enhancement request. Granted it's nice when things don't crash when you abuse them, but right now it's your fault. Let's let Randy fix bugs for the moment. He has a deadline to meet :P

by Sparky » Fri Dec 05, 2003 2:35 pm

ok ic, but that still shouldnt make zdoom crash
the music file just wouldnt be a music file
so there, no crash. ill post a bug about this then

by randomlag » Fri Dec 05, 2003 11:51 am

Graf Zahl wrote:The problem is most likely that there is no certain way to identify a graphics lump as such. So it will try to display your TITLE MP3 and crash. The only solution to avoid such a crash is to put an exception handler in the patch drawing function.
As I've said many times before, you can identify a graphics lump with high certainty. That's from actually doing it, not an idle guess :)

So the solution is to put some better checking in there.

by Graf Zahl » Fri Dec 05, 2003 8:37 am

The game tries to display your music file as a picture and screws up. That's all!

by Sparky » Fri Dec 05, 2003 6:56 am

in english please :) i dont know all these wacky terms :)

by Graf Zahl » Fri Dec 05, 2003 6:54 am

The problem is most likely that there is no certain way to identify a graphics lump as such. So it will try to display your TITLE MP3 and crash. The only solution to avoid such a crash is to put an exception handler in the patch drawing function.

by Sparky » Fri Dec 05, 2003 6:49 am

ok, interesting
but whats the deal with a crash? it shouldnt crash if theres that lump there

by Kappes Buur » Thu Dec 04, 2003 11:32 pm

Kappes Buur wrote: Well, it appears to be a file size limit.
Hmmm, at least that's what I thought. I had renamed both your music files to D_RUNNIN.WAD (one at a time, of course),
stuffed it into the skins folder, started up ZDoom and they would not play. That's when I reduced the size of the mp3 file,
and it would play, following the same method as before.

Now, after Randy's comment I tried it again with the fullsized file and lo and behold, the blasted music starts playing.
Even with the TITLE lump still present. So, it's not a file size limit.

@Enjay

all the mp3 files I work with are 44100 Hz and 16 bits
.

by randi » Thu Dec 04, 2003 9:36 pm

The problem with both your wads is the same: You have a lump called TITLE that contains music. TITLE is the title picture, not the music. The title music for Heretic is supposed to be in a lump called MUS_TITL.

by Sparky » Thu Dec 04, 2003 6:40 am

interesting
i really dont want to cut up my music :( but im thinking this is a limit in zdoom?

by Enjay » Thu Dec 04, 2003 6:00 am

When you cut it down, did you save the cut down version in exactly the same format as the original? The reason I ask is (as I mentioned before) a long time ago I came across an MP3 file that made Zdoom crash, but loading into GoldWave and saving with a slightly different format (I dunno, a different sample rate or something) allowed the file to work.

I don't know if I have ever used a file as long as 33 mins, but I have used some fairly long ones without problems.

Top