Page 1 of 1

ZDoom Error

Posted: Thu Dec 25, 2008 8:43 pm
by Renegade
I've been trying to test my WAD, but when I try to load it, I get this error:

Code: Select all

W_OpenLumpNum: 4294967295 >= NumLumps
Does anyone know what this means and how I can fix it?

Re: ZDoom Error

Posted: Thu Dec 25, 2008 8:46 pm
by Necromage
Without your wad its impossible to tell but are you sure its not corrupted?

Re: ZDoom Error

Posted: Thu Dec 25, 2008 8:59 pm
by Renegade
I'm pretty sure... It worked one day and the next it didn't. Based on the message itself I thought it might be a problem with some sort of internal indexing, resulting in an attempt to load a lump which doesn't exist. i.e. load lump #x, which is > the total lumps therefore it doesn't exist.
Maybe I'll start transferring stuff one section at a time and see when it stops working.

Re: ZDoom Error

Posted: Fri Dec 26, 2008 1:22 am
by Ceeb
Or just show us your WAD... :roll:

Re: ZDoom Error

Posted: Fri Dec 26, 2008 2:35 am
by Graf Zahl
Your WAD is referencing data that does not exist but the engine never does a proper check for that. Without the WAD creating the error it will not be easy to locate.

Re: ZDoom Error

Posted: Fri Dec 26, 2008 11:45 pm
by Xaser
Do you have any backups of your wad handy? If you use XWE or Doom Builder at all to edit it, they regularly back up your data by default (though I believe the former only does it when you hit the "clean wad" command). Try using an older version and see if it works. I'd place my bets on wad corruption -- not a pretty sight in either case.

Re: ZDoom Error

Posted: Sat Dec 27, 2008 10:43 am
by Renegade
Nope. Graf is exactly right, one of the graphics in my hirestex lump was misspelled. Thanks, Graf.

Re: ZDoom Error

Posted: Sat Dec 27, 2008 12:19 pm
by Graf Zahl
Which ZDoom version were you using? 2.2.0? I believe I fixed this a few months ago so if this happens with a recent SVN build I'd need to recheck.

Re: ZDoom Error

Posted: Sat Dec 27, 2008 12:51 pm
by Renegade
No, I use 2.2.0.