prt, min and lin files?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Liberator
First Lieutenant
Posts: 196
Joined: Sun Jul 02, 2006 10:55 am
Location: Denmark

prt, min and lin files?

Post 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....

Image

Does it says anything?

/Lib
I liberate stuff...the danish way..
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post 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.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post 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.
Last edited by Rookie One.pl on Sat Jul 08, 2006 1:52 pm, edited 1 time in total.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
PKM
General
Posts: 1888
Joined: Tue Aug 09, 2005 4:43 pm
Location: Philadelpia but stuck in San Antonio TX (hell)

Post 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 .
i'm not f****** angry, i'm from philadelphia .
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

It is true though, for some reason mac's won't run the map if there isn't a .min file :roll:. 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 :wink:
Image
User avatar
Liberator
First Lieutenant
Posts: 196
Joined: Sun Jul 02, 2006 10:55 am
Location: Denmark

Post 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:

Image

When I try to test it it just say : "couldnt find image for shader 0"
(It worked out fine yesterday)

Lib
I liberate stuff...the danish way..
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Post 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.
Tom Trude,

Image
User avatar
Liberator
First Lieutenant
Posts: 196
Joined: Sun Jul 02, 2006 10:55 am
Location: Denmark

Post by Liberator »

oh is that all?? Thank you tltrude :)
I liberate stuff...the danish way..
User avatar
Liberator
First Lieutenant
Posts: 196
Joined: Sun Jul 02, 2006 10:55 am
Location: Denmark

Post by Liberator »

oh it wasnt that easy... :cry:

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
Image

Pic 2
Image


Lib
I liberate stuff...the danish way..
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post 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.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
neillomax
Lieutenant General
Posts: 880
Joined: Thu Jun 23, 2005 6:57 am

Post 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.
Imagination
Sergeant
Posts: 56
Joined: Thu May 04, 2006 7:35 am

Post 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.
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post 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.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

recompile

Post by tltrude »

You must recompile to see if the red line goes away. The line is made by a file that end with ".lin".
Tom Trude,

Image
User avatar
Liberator
First Lieutenant
Posts: 196
Joined: Sun Jul 02, 2006 10:55 am
Location: Denmark

Post 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 :cry: ... Well thats where were learning right?? to do it again and again and.... :wink:

Lib ;)
I liberate stuff...the danish way..
Post Reply