Warning! Can't find xxx.prt!

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

Moderator: Moderators

User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Warning! Can't find xxx.prt!

Post by mohaa_rox »

When I compile, the MBuilder will say "Warning! Can't locate xxx.prt!" How do I solve the problem? I've tried the 3 steps of compiling, you know the bsp, then vis, then light. But I still can't get the prt!
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

I've tried the 3 bsp steps, but they said, "bad command or file name"
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Probably the paths you've set in MBuilder are incorrect.
Guest

Post by Guest »

Then what are the paths I'm supposed to set?
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Sorry, the post above was mine. Forgot to login. Too excited to reply. :oops:
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Mirek
Colour Sergeant
Posts: 77
Joined: Mon Jul 08, 2002 2:12 am
Location: Melbourne, Australia
Contact:

Post by Mirek »

Hey Mohaa_rox,

Do you by any chance also get this error in the compile window, somewhere near the start?

entity reached from outside -- no filling
**********************
******* leaked *******
**********************

I say this because if a map does not have a completelly closed sky box - that is top, all sides and bottom touching together, basically inclosing your map in a box, you will get the above error and no .prt file will be created.
Thus Mbuilder will say that .prt is missing.

This may seem like an error but I belive not. I never build a complete sky box - just top and sides. Infact if you look at the original MOHAA maps, inside pak5.pak3 - you will find that none of them have a .prt file with them. And if you do some spactating around the maps, there are no bottoms.

Not having a complete skybox or .prt file reduces compiling time quiet considerably.


Cheers,
Mirek
Mapping !!! Who needs sleep anyway !?!?!?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Don't have leaks in your map!

Post by jv_map »

Don't ever make a map that's leaky!!!!!!!
(sorry for '!'s, it's just overly important ;) )

You need a complete skybox if you want q3map to run a visibility compile. Thus, when you have a leaky map, all faces in the map will be drawn from any location, so you'll get a horrible framerate. Moreover, MOHLight can't do a radiosity compile when no VIS data is present.

Original MOHAA maps don't seem to have a .prt file, but that's because it's only used by the q3map compiler. Then it's saved to the bsp.

When spectating there appear to be no bottoms, but that's because a spectator is non-solid and can go through any brush.

Ofcourse compiling a leaked map is much faster, that's because the entire VIS stage is skipped, but the time winning when compiling is entirely converted into a loss of fps when playing the map.
Mirek
Colour Sergeant
Posts: 77
Joined: Mon Jul 08, 2002 2:12 am
Location: Melbourne, Australia
Contact:

Post by Mirek »

Really?? Well that makes my previous post a pile of garbage and bad advice then :lol:

I felt justified in my theory after decompiling all the original maps using scorpios Mohaa Tools and found no floors on the maps, but then again they could have used caulk which the tools don't seem to decompile.

So how do they save the .prt in the BSP?

I will do more research on this one with my final map version.

At the very least what I sugest is a good way to quick compile your test maps to check your achitecture. :) My 15 meg map compiles in 5 minutes with fast vis turned on.

Thanks JV_Map

Mirek
Mapping !!! Who needs sleep anyway !?!?!?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

The .prt file is automatically saved to the bsp by the q3map compiler. Or, more correctly, the .prt file is extracted from the bsp to make the VIS compile easier. After you compiled the map, you don't need the .prt and .vis files anymore.

And by the way, my map compiles a complete vis in less than five minutes even though it has a lot of hint brushes. :P
Surgeon
Site Admin
Posts: 1386
Joined: Tue Jun 04, 2002 1:15 am
Location: Stirling, Scotland
Contact:

Post by Surgeon »

No one likes a showoff :P
Admin
Image

.map Forums

Truth and Honor.
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

What do you mean by a complete sky box? Is it that the top sky must be touching the sides, making it a box?
Surgeon
Site Admin
Posts: 1386
Joined: Tue Jun 04, 2002 1:15 am
Location: Stirling, Scotland
Contact:

Post by Surgeon »

yup
Admin
Image

.map Forums

Truth and Honor.
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

However, when I compile, everything is fine. 1 file was copied, but when I play, the map was the same old one which I edited a lot of features. Besides, I've made the sky box.
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Never mind anyway. Can someone help me see what the problem is? Please give me your email (promise won't flood) and I'll send my map to you. It's kind of stupid. My first dm map, and I'm a rookie. Please don't laugh at me. :wink: I'm only 13!!!!
Post Reply