Invalid or corupt Map-Problem

Status
Not open for further replies.

Kratzean

Member
Hi, i have a big problem with my map! Since 1,5 years, I make a very big map with buildings, but my map have a problem now.

After adding 20 or 30 sectors, I become a eror mesage, when I test my map:
Invalid or corupt map.
Look in log file or text console for technical details.

But after deleting this sectors, my map works without problems. After I add this sectors again, the erros message come back.

Is there perhaps a maximum of linedefs or sectors for a map?

I Upload the map.

http://www.file-upload.net/download-7290764/mt_TwoHouseForest2.wad.html
 
Just add another sector inside the big square sector like this.
new.png
 
Well first the first thing that I would do is look inside the log file for any technical details like the error message tells you to. I don't really know if there are too many linedefs used but maybe someone else might be able to answer that.
-------------------------------------------------------------------------------------------------------------------------------------------
OFFTOPIC: You may want to fix you spelling and grammatical errors, "I made a very big map", "but my map has a problem now", "I get a error message"- you do not turn into a error message,"But after deleting these sectors", unless you have auto-correct, you're typing too fast or your not use to this language then I will understand these errors.
 
Sry, but it doesn't work!:(

But why?

Wait, here i the log:

R_GetFlatNumForName: Could not find flat FLOOR0_6
R_GetFlatNumForName: Could not find flat -
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13553 (line #6865, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13554 (line #6865, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13555 (line #6866, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13556 (line #6866, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13557 (line #6867, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13558 (line #6867, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13561 (line #6869, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13562 (line #6869, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13569 (line #6878, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13570 (line #6878, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13581 (line #6884, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13582 (line #6884, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13583 (line #6885, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13584 (line #6885, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13606 (line #6894, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13607 (line #6894, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13608 (line #6895, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13609 (line #6895, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13612 (line #6897, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13613 (line #6897, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13614 (line #6898, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13615 (line #6898, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13620 (line #6902, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13621 (line #6902, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13624 (line #6909, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13625 (line #6909, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13626 (line #6910, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13627 (line #6910, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13628 (line #6911, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13629 (line #6911, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13636 (line #6915, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13637 (line #6915, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13764 (line #6977, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13765 (line #6977, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13776 (line #6978, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13777 (line #6978, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13778 (line #6979, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13779 (line #6979, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13786 (line #6984, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13787 (line #6984, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13788 (line #6985, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13789 (line #6985, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13896 (line #7045, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13897 (line #7045, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13910 (line #7052, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13911 (line #7052, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13924 (line #7059, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13925 (line #7059, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13926 (line #7060, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13927 (line #7060, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13928 (line #7061, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13929 (line #7061, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13990 (line #7091, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #13991 (line #7091, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14212 (line #7197, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14213 (line #7197, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14218 (line #7201, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14219 (line #7201, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14232 (line #7212, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14233 (line #7212, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14234 (line #7213, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14235 (line #7213, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14262 (line #7222, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14263 (line #7222, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14264 (line #7223, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14265 (line #7223, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14268 (line #7225, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14269 (line #7225, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14270 (line #7226, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14271 (line #7226, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14276 (line #7229, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14277 (line #7229, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14282 (line #7232, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14283 (line #7232, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14284 (line #7238, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14285 (line #7238, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14286 (line #7239, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14287 (line #7239, side 2).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14294 (line #7243, side 1).
Defaulting to REDWALL.
WARNING: R_CheckTextureNumForName: TELE1G not found on sidedef #14295 (line #7243, side 2).
Defaulting to REDWALL.
Map 111 is corrupt: P_GroupLines: seg->sidedef refers to sidedef 65535 of 64929 (subsector 180, firstline is 716)
I_Error(): Invalid or corrupt map.
 
I have test it and delete the Stairs at the bottom of the map and then it works fine!
But when I add again new Sectors/Linedefs (for example much tees), then the problem come back.

So I Think, that it is a problem with the nuber of linedefs! What I can do to fix this without move sectors/linedefs?
 
Last edited:
There appears to be a limit of 32768 (2^15) linedefs per map, and you have surpassed it. I'm afraid the only thing you can do is cut down on the number of linedefs in your map.
 
Last edited:
Thanks for the answer! The Topic can closed now!

PS: Its possible, to have moe than 32768 Linedefs in future versions of SRB2?
 
That's a Doom file format limitation, not an SRB2 one, so... no.
Then how come the error appears if and only if there are more than 32768 linedefs in the level, regardless of which ones I delete to get below that number? Maybe SRB2's linedef limit is elsewhere, but is it possible that going above the 32768 limit causes a bug because whoever changed the limit wasn't quite thorough in figuring out the implications of it?
 
Just so you know, SRB2DB reassigns a deleted linedef's number to the highest linedef number at the time, which really ruins your point.
 
Please disregard what I said. I thought Shadow Hog was replying to me and was trying to say that the limit is removed in SRB2, when in fact he was replying to Kratzean and what he was saying is that the limit cannot be removed because it's part of the file format.
 
Last edited:
What's not to get? There's a limit of 32768 linedefs. 32769 or higher is over the limit, so it produces an invalid map. Deleting a linedef whose index is under the limit allows DoomBuilder to reassign the linedef whose index is over it to the one you just freed up. Deleting the one with an index over the limit would mean there's no longer one over the limit. Either way, you'd be back under the maximum number.

According to Doomwiki.org, you should've encountered a SEGS overflow long before reaching any other, though.
 
What's not to get? There's a limit of 32768 linedefs. 32769 or higher is over the limit, so it produces an invalid map. Deleting a linedef whose index is under the limit allows DoomBuilder to reassign the linedef whose index is over it to the one you just freed up. Deleting the one with an index over the limit would mean there's no longer one over the limit. Either way, you'd be back under the maximum number.
See my post above, which I was editing just as you replied.
 
But the most of the linedefs and sectors are needed.

I'm pretty certain that those humps along the edges aren't exactly necessary...and IMO, they look rather ugly being all uniform and such. If you wanna make it look forest-y, you can enhance the visuals and cut down on linedefs by drawing them yourself with varying degrees of size, stick-outedness, and texture.

EDIT: I deleted about five of the humps to make the map run. The fact that you can barely tell where they are deleted vs. where they are not just reiterates my point.

0zzAkNfl.png
0wJpFAkl.png


However, I do enjoy your visual touches. Good stuff. Although I haven't actually gone through much of the map yet, it looks quite vast and rich.

Except for the bordering trees. I should say I'd also suggest modifying the ceilings close to them to create "overhanging" leaves.

Stuff I liked:

9CfK7ywl.png
FvWgpxel.png
 
Last edited:
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top