Duke4.net Forums: Resolving map corruption ? - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Resolving map corruption ?  "Me again :)"

User is offline   lynal 

#1

Sorry to bother you once more :D, I just try to handle mapster32, as I'm more familiar with the original Build ^^

My map is corrupt (level 3) with 3 errors. But how can I find and fix them ? I can see them in the 3D mode (strange floor going nowhere) but I don't know what to do about it :D
0

#2

Hmm there is a command that finds the errors. I'm not sure if it works that well. I usually make a safecopy of my map and then start deleting sectors if i have a bug in my map. As soon as the Corruption level falls, you know that you deleted something that has to do with the bug.
1

User is offline   TerminX 

  • el fundador

  #3

I think you can just move "a.m32" out of the "samples" directory into where your mapster32.exe is, then open the console and type "include a.m32" followed by "corruptcheck tryfix".
1

User is offline   Sangman 

#4

I'm not exactly sure what this corruption thing is anyway. I have a level that has 2 errors but it plays just fine and I don't see anything. What's up with this? :D
0

#5

The original levels also has corruption errors.
0

User is offline   Hank 

#6

I'm tagging on.
How exactly is the corruption fix to work?
I have one map with one error. I see no highlighted wall or sprite, and using [ ] gives 0 clue. Posted Image

then I use the command as per TX and get all of those 'fixes' - like more than one.
[attachment=4391:corruptionthingy.jpg]

This post has been edited by Hank: 10 February 2012 - 05:46 PM

0

User is offline   Micky C 

  • Honored Donor

#7

View Postlynal, on 10 February 2012 - 11:45 AM, said:

Sorry to bother you once more :D, I just try to handle mapster32, as I'm more familiar with the original Build ^^

My map is corrupt (level 3) with 3 errors. But how can I find and fix them ? I can see them in the 3D mode (strange floor going nowhere) but I don't know what to do about it :D


This is how you can go to the various corruptions and fix them manually:

[+ALT goto previous corruption
]+ALT goto next corruption

@Hank that is done to help avoid the bug where some sectors' slopes are reset for no reason. At first it did show up as corruptions, but then maps which weren't corrupted before showed dozens of them so he made it that they were fixed when 'corruptcheck tryfix' was invoked but didn't show up as actual corruptions.

This post has been edited by Micky C: 10 February 2012 - 06:25 PM

1

User is offline   Hank 

#8

View PostMicky C, on 10 February 2012 - 06:24 PM, said:

@Hank that is done to help avoid the bug where some sectors' slopes are reset for no reason. At first it did show up as corruptions, but then maps which weren't corrupted before showed dozens of them so he made it that they were fixed when 'corruptcheck tryfix' was invoked but didn't show up as actual corruptions.

This went right over my head. Can you somehow explain this, like say, for your little brother? When I open my old maps, I get this pink message bla bla (1 Errors) . What shall I do next? Posted Image
0

User is offline   Micky C 

  • Honored Donor

#9

Basically if it doesn't show up as a corruption, then you don't have to worry about it. I think level 1 and 2 corruptions are more like warnings than anything thing else (although it's best to fix them if possible). Most of those corruptions in old maps are probably only level 1 and 2. Obviously if the map plays as intended there's no real problem.

You can cycle through the individual corruptions to see where they are using the key combinations in my previous post. Some are pretty easy to fix, like if there's a sprite outside of valid player space then you can just delete that to fix the problem. Helixhorned once said that "corruptcheck tryfix" should only be used as a last resort to fix those pink corruption messages if you can't figure out how to do it yourself. It works about 90% of the time but there are some things it just can't fix. But you can still type it in the console any time you want to clear up any of those tiny slope issues. I think "corruptcheck" by itself will print any of them in the console without attempting to fix them.
0

User is offline   lynal 

#10

Hey ! That's good !

I've found the 3 errors. In fact, this was hidden child sectors within child sectors (don't know If you understand :D).

Well, I just deleted the 2 child sectors and the main one, and then it was fine !

That's strange, I'm pretty sure not to have create those 3 bad child sectors...

Thanks :D
0

User is offline   Hank 

#11

View PostMicky C, on 10 February 2012 - 06:52 PM, said:

Helixhorned once said that "corruptcheck tryfix" should only be used as a last resort to fix those pink corruption messages if you can't figure out how to do it yourself. It works about 90% of the time but there are some things it just can't fix. But you can still type it in the console any time you want to clear up any of those tiny slope issues. I think "corruptcheck" by itself will print any of them in the console without attempting to fix them.

Ok. Here is an image showing one of my biggest issues, a true fuck up.
[attachment=4405:slopeissues.jpg]

I used mapster 0.4 way back when, and made hardly visible slopes to get very tricky shading effects done. Now somehow the ratio is different, and it looks like shit. Thus if slopes are the cause of getting the error (as per my previous posts), and mapster32 looks for the slopes, I really would like an explanation what it is looking for or what the autocorrect is 'fixing', even if it is just so I know why I have to redo my shadings. Posted Image

This post has been edited by Hank: 11 February 2012 - 03:01 PM

0

User is offline   Micky C 

  • Honored Donor

#12

Just to be 100% clear, the slopes problem I talked about will not cause any pink text error messages and shouldn't be worried about.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options