Page 1 of 1

Mbuilder Compiling Error

Posted: Wed Nov 17, 2010 5:44 am
by SeaFoamStrat
Error I get when trying to compile any map.

Code: Select all

C:\PROGRA~1\EAGAME~1\MOHAA\main\maps\dm>"C:\PROGRA~1\MOHAAT~1\Q3map.exe"  -gamed
ir C:\PROGRA~1\EAGAME~1\MOHAA C:\PROGRA~1\EAGAME~1\MOHAA\main\maps\dm\zombie.map

---- q3map ----
----- FS_Startup -----
----------------------
18298 files in pk3 files

************ ERROR ************
Line 2 is incomplete


C:\PROGRA~1\EAGAME~1\MOHAA\main\maps\dm>pause
Press any key to continue . . .

C:\PROGRA~1\EAGAME~1\MOHAA\main\maps\dm>"C:\PROGRA~1\MOHAAT~1\Q3map.exe" -vis -f
ast  -gamedir C:\PROGRA~1\EAGAME~1\MOHAA C:\PROGRA~1\EAGAME~1\MOHAA\main\maps\dm
\zombie.map
---- vis ----
fastvis = true
----- FS_Startup -----
----------------------
18298 files in pk3 files
reading C:\PROGRA~1\EAGAME~1\MOHAA\main\maps\dm\zombie.bsp
vis_derived = 0
reading C:\PROGRA~1\EAGAME~1\MOHAA\main\maps\dm\zombie.prt

************ ERROR ************
LoadPortals: couldn't read C:\PROGRA~1\EAGAME~1\MOHAA\main\maps\dm\zombie.prt


C:\PROGRA~1\EAGAME~1\MOHAA\main\maps\dm>pause
Press any key to continue . . .

C:\PROGRA~1\EAGAME~1\MOHAA\main\maps\dm>"C:\PROGRA~1\MOHAAT~1\MOHlight.exe" -fas
t  -gamedir C:\PROGRA~1\EAGAME~1\MOHAA C:\PROGRA~1\EAGAME~1\MOHAA\main\maps\dm\z
ombie.map
======== MOHlight Version 1.48 ========
Fast, lower quality lighting on
----- FS_Startup -----
----------------------
18298 files in pk3 files

************ ERROR ************
Line 2 is incomplete


C:\PROGRA~1\EAGAME~1\MOHAA\main\maps\dm>pause
Press any key to continue . . .
Line 2 is incomplete?

I understand the LoadPortals: can't read yadda yadda .prt file has to do with skybox leaking issues, but as far as I'm concerned it doesn't apply here as this is doing this with all my maps I try to compile. The skybox is complete, no leaks, used the pointfile feature, nothing.

I also removed all but 1 or 2 of my custom .pk3 files, ones that had a lot of custom .shader files and what not.

My paths are correct in Mbuilder for the directories, never changed them.

Not sure if this has anything to with anything, but my entire "maps" folder is set to 'read-only'.

I searched the hell out of finding a solution for this but couldn't find anything on the Line 2 is incomplete deal. Any help would be appreciated, thanks.

Posted: Wed Nov 17, 2010 10:16 pm
by jv_map
That sounds like the .map file got corrupted somehow. You could try to open it with notepad (or something a bit more powerful), and have a look for stuff that's out of the ordinary (i.e. line 2 and further). If you have a .bak of the map or a snapshot, you could try to compile that.

Posted: Wed Nov 17, 2010 10:22 pm
by SeaFoamStrat
See that's what I thought too, but this happens to any .map file I try to compile. Ones that I haven't touched and that I know work. I'm going to try what you suggested though!

Posted: Wed Nov 17, 2010 10:29 pm
by jv_map
Oops, I missed the 'any' part. In that case, your mohaa installation is messed up. Why not (re)move the final 2 custom pk3s? Or maybe you have a 'main\scripts' folder that contains broken shader files? Can you even run the game (stock maps)?

Posted: Wed Nov 17, 2010 10:34 pm
by SeaFoamStrat
Hehe I just removed all my custom .pk3's and still a no go. I didn't try any stock maps but my last .bsp file for the .map file in question still runs like a charm. Mbuilder has been acting a little funky I just noticed. I tried setting a different path for my .map files to try and compile a .bak file, but it wasn't changing the list of maps after I close or refresh the list.

*Edit: I removed my .shader files I recently added before the problem so I don't think that's it.

*Edit: You have to close Mbuilder completely after making a path change, whoops!

Posted: Sun Nov 21, 2010 3:12 am
by SeaFoamStrat
It's been fixed. I had a shader file that I had named "light". The shader script was correct so I'm thinking you aren't allowed to name a shader light?

Haha well regardless, I chose a different name and everything works perfect now. Thanks for the help jv.