Jump to content


Photo

Strange Map Corruption


  • Please log in to reply
6 replies to this topic

#1 Epifire

Epifire

    Member

  • Active Developer
  • PipPip
  • 393 posts

Posted 03 June 2017 - 12:17 AM

So this seems to something I've only ran into since 2.05 dropped a while back but is happening often enough to be problematic. Sometimes it can be a fresh map save, other times I can be working in the same map for weeks before this pops up. At some given point when I testmap (or dmap) I get this error, Entity (number) has surfaces, but no name key 

This in fact will always point to the worldspawn notation in the .map file and will shift entity number depending on what ever else is crammed in there. I don't know what this information is declaring (so I can't do much with it myself) but this is what my current test map had under that bracket. It's a simple box map so the six primitive definitions are all that follow under worldspawn.

 

Spoiler

 

This happened in my ongoing tram test map. Copying all of the tram components out into a new space didn't seem to help either. In the opposite affect, deleting all tram components (leaving only the box) only accomplishes the same thing. So how does one go about fixing this?


Edited by Epifire, 04 June 2017 - 03:10 PM.
I changed the title to match the issue you were reporting, to make it easier for other people in the future to find it should they be having the same issue.

Needing dem environment models?

 

Speak to the EPI!

 

Or rummage my online mesh repository instead...  https://www.mediafire.com/folder/7q1r8him1y63d/TDM%20Repository


#2 Epifire

Epifire

    Member

  • Active Developer
  • PipPip
  • 393 posts

Posted 03 June 2017 - 12:28 AM

MEANWHILE, BACK AT THE RANCH

 

Okay, so I did a little bit of comparison checking. From what I'm gathering, the issue lies in how DR is saving the map. I looked at proper compiling maps and realized that the worldspawn is always slotted in at the beginning after entity 0. I rearranged the data in the correct order and it all works fine now. If my case may help any digging into this problem in the future (should it arise) this occurred on DarkRadiant 2.1.0 x64

 

I may try and update to the most recent version to see if this still happens. As far as I can tell it's a sorting issue that gets botched, as to what causes it I can't really tell you. Hope this can help someone else in the future tho.


Edited by Epifire, 03 June 2017 - 12:29 AM.

Needing dem environment models?

 

Speak to the EPI!

 

Or rummage my online mesh repository instead...  https://www.mediafire.com/folder/7q1r8him1y63d/TDM%20Repository


#3 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 18643 posts

Posted 03 June 2017 - 03:00 AM

I started seeing some weirdness in DR last night also -

  1. Save a map, then modify the textures or skins on a model.
  2. All would be fine for a while but then the models would appear black in-game.
  3. Save the map with a new name and the models were fine again..

I was banging my head against the wall untill I got to step 3.. Im running DR 2.2.1 x64



#4 Obsttorte

Obsttorte

    Scripting guru, Mapper

  • Active Developer
  • PipPipPipPipPip
  • 5153 posts

Posted 03 June 2017 - 03:04 AM

Did you guys tried reinstalling DR? Maybe something got broken during the install process or afterwards.


FM's: Builder Roads, Old Habits, Old Habits Rebuild
WIP's: Several. Although after playing Thief 4 I really wanna make a city mission.
Mapping and Scripting: Apples and Peaches
Sculptris Models and Tutorials: Obsttortes Models
My wiki articles: Obstipedia
Let's Map TDM YouTube playlist: ObstlerTube
Texture Blending in DR: DR ASE Blend Exporter

End of shameless self promotion.

#5 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 18643 posts

Posted 03 June 2017 - 03:18 AM

Did you guys tried reinstalling DR? Maybe something got broken during the install process or afterwards.

Will do that and see how it goes.



#6 Epifire

Epifire

    Member

  • Active Developer
  • PipPip
  • 393 posts

Posted 03 June 2017 - 05:49 PM

Did you guys tried reinstalling DR? Maybe something got broken during the install process or afterwards.

 

I could do that. At this point I'll probably just upgrade my version to the current DR release and report again if I have this problem. At the very least I'm hoping we can log the fix (or at least catalog the bug) for future knowledge in that regard.


Needing dem environment models?

 

Speak to the EPI!

 

Or rummage my online mesh repository instead...  https://www.mediafire.com/folder/7q1r8him1y63d/TDM%20Repository


#7 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 18643 posts

Posted 04 June 2017 - 04:25 AM

I could do that. At this point I'll probably just upgrade my version to the current DR release and report again if I have this problem.

While my issue isnt the same as the one your having, I am running the latest version so it will be interesting to see if upgrading fixes it. might I suggest you nuke your DR prefs folder before installing the newer verson as I have found in the past that will also fix issues.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users