compile error

  • Thread starter Thread starter lockjaw
  • Start date Start date
L

lockjaw

Guest
Last time I compiled one of my maps Im working on something bad happeded. Now when I try to load the map in the editor I get an error message basically saying "Unexpected end of file". Is there a way to fix this or have a learned a painfull lesson to copy files when nearing completion?
 
Ouch, that sucks man...

One thing I do is backup the *.vmf before I compile it and the *.bsp after. I do this with the Expert Compile...
Like so...

Command:
Copy File

Parameters:
$path\$file.vmf $bspdir\backups\$file.vmf

Place it before bsp, vis, etc.
Notice this backs up to \maps\backups... If you choose this same path then the directory "backups" must be created.

If you wish to also backup the *.bsp simply change .vmf to .bsp. Place it after the compile programs. This may seems like overkill to some but you never know what might happen...
 
ohhhh...Not what I wanted to hear. :dozey: But thanks for the advice...Ill be using that trick from now on. Im going to sit in the corner and cry for a bit.
 
it sounds a little like a writing error of the hard disk. Maybe the file ending is corrupted.
 
Maybe something is messed up then cuz it just happened to another map...it worked fine for the last 5 weeks or so but the last couple of days its all gone haywire...I may have goofed something up. Im not a fan of the whole reinstall thing but maybe its in my best interest.
 
Back
Top