Page 1 of 1
prt, min and lin files?
Posted: Sat Jul 08, 2006 10:02 am
by Liberator
I have a map that doesnt work. I see in my "dm" folder that another level I?ve made before(that works) have other files, a lin and a min file but no prt file. The one that doesnt work have a prt file but no lin or min file....
Does it says anything?
/Lib
Posted: Sat Jul 08, 2006 11:16 am
by lizardkid
prt and min files are created at the time that the map is first loaded. prt stands for Portals, or performance optimizing things, you probably know about them.
min is the loading bar file.
lin is for the pointfile, or leak errors. it's strictly Radiant. none but the script/bsp are required to run a level.
Posted: Sat Jul 08, 2006 1:36 pm
by Rookie One.pl
Lizard, PRT files are portal files. They are the effect of space partition by structural brushes and created during BSP stage and used for the VIS compile. If you have a leak, you get a LIN file instead of a PRT file.
Posted: Sat Jul 08, 2006 1:38 pm
by PKM
always wondered what the .min file was for; someone once told me it was so mac users could play the game. go figure. loading bar makes more sense .
Posted: Sun Jul 09, 2006 7:47 am
by jv_map
It is true though, for some reason mac's won't run the map if there isn't a .min file

. The windows version of the game will just make one while displaying the flashing 'loading' sign
But yah if you have a .lin file it's time to fix your leaks

Posted: Tue Jul 11, 2006 7:30 am
by Liberator
Rookie One.pl wrote:Lizard, PRT files are portal files. They are the effect of space partition by structural brushes and created during BSP stage and used for the VIS compile. If you have a leak, you get a LIN file instead of a PRT file.
Yes a leak ?? I do have some that leaks....What is it, what does it means and how do I solve it?
I took a screenshot while compiling and it says this:
When I try to test it it just say :
"couldnt find image for shader 0"
(It worked out fine yesterday)
Lib
Posted: Tue Jul 11, 2006 9:03 am
by tltrude
"Leaked" means your skybox has a hole in it. In the editor click on File/Pointfile and a red line will show you where the leak is. Follow the red line until it ends outside your skybox.
Posted: Tue Jul 11, 2006 5:44 pm
by Liberator
oh is that all?? Thank you tltrude

Posted: Tue Jul 11, 2006 6:38 pm
by Liberator
oh it wasnt that easy...
This Pointfile function the red line(1st pic.). Its "jumping" around my map and ends outside. Is it showing leaks inside also? I have closed all leaks to the outside but still it goes outside... (2nd pic.)
Can you tell me what to do? Im confused...
Pic 1
Pic 2
Lib
Posted: Tue Jul 11, 2006 9:32 pm
by lizardkid
I never actually figured out how the pointfile worked, but from a guess on how it's made then just look at the beginning / end of it.
Posted: Tue Jul 11, 2006 10:13 pm
by neillomax
I know it's none of my business, but why is the skyboy, and surrounding areas so big. Greatly reducing them may indeed help with the leak. You probably have a too large brush, and if you managed to fix it, with that oversized area, you'd surely find another and another. Shrink the outer areas to no more than you need, and recompile and see what happens. Instead of one big brush, make several smaller ones to fill the same area.
Posted: Tue Jul 11, 2006 11:33 pm
by Imagination
Well 1st and foremost enclose your map (total area) with the skybox, now the convenient and somewhat lazy way is making a large box and hollowing it.
This however is a sloppy and non performance friendly way, you should try to surround your world brushes around your map in such a way as to enclose as much as you can and minimising the amount of wasted space given to any one map : i.e you should attempt to enclose your map with structual brushes (sky in this case, as close to your perimiters of your map as you can) if this did not make any sense to you then pls reply and I will endevour to help.
Posted: Tue Jul 11, 2006 11:51 pm
by lizardkid
I always use the lazy way and just hollow a big box around my map. But i do try to minimize leaks and cracks, although during testing these are usually more apparent than in the editor, so i just test a new room/area every time i make one and run around it looking for holes in corners.
Of course i've never been known to be a mapping extraordinaire.
recompile
Posted: Wed Jul 12, 2006 6:41 am
by tltrude
You must recompile to see if the red line goes away. The line is made by a file that end with ".lin".
Posted: Thu Jul 13, 2006 7:22 am
by Liberator
Thank u all for your fine answers

. I did really learned something from this post!
My map was too messed up, so I startet a new.... -so all that work

... Well thats where were learning right?? to do it again and again and....
Lib
