Jump to content
The Dark Mod Forums

Maybe have a leak, can't do pointfile


Recommended Posts

Due to some recent stuff I did, I suspect I have a leak. When I dmap it gets only a little ways then crash to desktop. The same thing happened to me a few months ago and it was because I had bumped one of my brushes and opened a large leak which I fixed and the crash went away. So it's the same type of situation but I did a lot of stuff and can't find the leak.

 

So I searched and read that I can do the "pointfile" but it won't work. It gives me the error:

 

Could not open pointfile:

C:/Games/doom3/darkmod/maps/komag_city44.lin

 

I don't see any ANY "lin" files anywhere though. What's going on?

shadowdark50.gif keep50.gif
Link to comment
Share on other sites

Unless the dmap command actually reports ****** leaked *******, there is probably no .lin pointfile created by the compiler, hence nothing to be found by DarkRadiant.

 

I never had the map compiler crashing to desktop at any time - what kind of map is this you're working on?

Link to comment
Share on other sites

It IS pretty wide spread and huge, a large city mission I'm working on roughly to stress the limits of the editor and engine and anything else. Everything is just brushes mostly, with just a few patches and lights, but no finished areas.

 

Maybe I'll test just using a tiny map and having a leak and see how it works

shadowdark50.gif keep50.gif
Link to comment
Share on other sites

Aha, I tried a little two room map with a gap in the wall and it compiled just fine with the leak warning, then in the editor I could see that nice fat red line heading right out through the gap.

 

So I guess my own map is just too much for it to work. One thing that I have no idea whether it might contribute, I haven't done ANY optimizing yet, and have placed no visportals, so the whole entire map is affected by the leak.

shadowdark50.gif keep50.gif
Link to comment
Share on other sites

I did some more tests and it turns out in my case that it largely had to do with the width of the map (since the pointfile line always wanted to come out and fly off to the furthest side of the map). When I cut off and shrunk some brushes on the fringes and got it under 80,000 the crashes went away and leaks are properly reported.

 

This backs up my previous tests that building huge wide sprawl that extends out past the inner four sections on the whole grid is asking for trouble. The inner sections I'm talking about are the whole area from 32768 to -32768 on the X and Y (don't know about Z but I assume it would be the same).

 

So in other words, the maximum safe boundaries to build in are within a cube in the center of the editing space that extends from [-32k -32k -32k] to [32k 32k 32k].

shadowdark50.gif keep50.gif
Link to comment
Share on other sites

So in other words, the maximum safe boundaries to build in are within a cube in the center of the editing space that extends from [-32k -32k -32k] to [32k 32k 32k].

These should go into the wiki - I don't know if there is an article about this already (Fidcal maybe knows), but we can always create one ("Engine Limits").

 

A 32k cube is still pretty huge, this should be enough for general mapping. :)

Link to comment
Share on other sites

Heh, yes, silly me - one should think that a physicist would be able to multiply a number by 2, but I should know better by now. :laugh:

 

No, physicists never have to deal with piddling little numbers like 2, they would be much better at multiplying it by 2 x 10^368 or something more manageable.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 0 replies
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 2 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 7 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
×
×
  • Create New...