Couldn't Read Empty File

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

Moderator: Moderators

Post Reply
mffpetergriffin
Sergeant
Posts: 64
Joined: Sat Jan 26, 2008 4:53 pm
Contact:

Couldn't Read Empty File

Post by mffpetergriffin »

I've searched for this and haven't found anything. I was editing my map just like I always did, saved it, did the bsp, vis, light thing, compiled with mbuilder, loaded game, started game with that map and the game promptly crashed with the empty file error. I don't know why it is doing that now because I didn't change anything major and anything I added, I removed and tried again. I noticed that mbuilder isn't producing the .MIN file anymore. What's going on with this?
Thanks!
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Min file

Post by tltrude »

The Min file is made by the game itself. If your map crashed, it wouldn't of made a Min file. But, that's not your problem. Most likely there was an error during the compile and only a shell of the bsp was made. Add pauses after each step of the compile and watch for errors.
Tom Trude,

Image
mffpetergriffin
Sergeant
Posts: 64
Joined: Sat Jan 26, 2008 4:53 pm
Contact:

Post by mffpetergriffin »

Okay, I am doing it again. I noticed now that a .MIN file is in there. I tried several times last night and it was never there so that's good. As I compile, I will share some of the errors I get, whether they are pertinent or not I don't know. My map name is testroom.

1. What does it mean when light entities leak?
2. LoadPortals: Couldn't read .....\testroom.prt
--I don't think I have any portals. What exactly is a portal anyway?

It start to load for a second or two and then crashes and doesn't give anything in console.
neillomax
Lieutenant General
Posts: 880
Joined: Thu Jun 23, 2005 6:57 am

Post by neillomax »

that one is easy to find here

/forum/viewtopic.php?t=2406

Also, when I make maps, I remove all custom maps and pk3 files before I start. They create problems sometimes.
*GCC*Nigel
Second Lieutenant
Posts: 169
Joined: Sun Dec 04, 2005 5:13 am

Post by *GCC*Nigel »

1. An entity will leak if it can reach the infinite void of not your map. Make a big box around your map and it won't leak. Texure it with a sky and you have what is affectionately known as a "sky box"

2. A .prt will be made when you don't have a leak.
Stein Auf
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Leak

Post by tltrude »

Nigel is talking about a "vis" leak where the skybox is not sealing the world from the outside (void). If that's the case, the editor will create a ".lin" file (red Line) which can be viewed by clicking on File > Pointfile in the editor.

However, light leaks are not always caused by leaky skyboxes. And, light leaks are common and don't cause the game to crash. The bright part of a light entity should not stick through a wall brush. But, if it doesn't look bad in the game, you can live with the errors.
Tom Trude,

Image
Post Reply