Map doesn't open [SOLVED]

Avatar
srs bsnss
552 Posts
Posted Nov 05, 2012
So I'm experiencing a strange issue here...I've been making a map in Hammer (via the P2AT), and today when I tried to load it, it just opened a blank map. Nothing in it except the origin marker.

I'm not having trouble opening any other maps.

I've googled it, I've tried re-launching Hammer, and verifying the GCFs, but to no avail.

Does anybody have any idea what's going on here/how I can fix it?

Advertisement
Registered users don’t see ads! Register now!
Avatar
josepezdj
2,386 Posts
Posted Nov 05, 2012
Replied 4 minutes later
For what I understand your maps does open... the problem is that you can't really see much, am I right? If so, maybe you didn't place at least 1 light entity in your level... try that out. Or try checking this way: open the console and type "mat_fullbright 1"... maybe you can see the map now; thought anyway, that would only mean you don't have any light entity in your map, place at least one :wink:

Or maybe it is that you didn't place an info_player_start?? ...and btw... did you add a couple of elevators and the transition instance as well?

Avatar
srs bsnss
552 Posts
Posted Nov 05, 2012
Replied 7 minutes later
The problem is that there is nothing there when I open the map in Hammer. It looks like I just opened a new map, like this: http://bulk.destructoid.com/ul/110286-a ... 5-468x.jpg

The map has the arrival/departure transitions, an info_player_start, elevator etc, and I've been able to open and run it in the past.

EDIT: The last time I had the map open, my computer bluescreened and shut down suddenly - could that have corrupted the map?

Avatar
srs bsnss
552 Posts
Posted Nov 05, 2012
Replied 1 hour later
Hang on a sec.
I think I found a workaround - decompiling the working .bsp and editing it.
Hopefully that'll work.

EDIT: Oh thank god. I'm loving BSPSource right now. My I/O's are a little broken but that's an easy fix. A small price to pay.

Thank you josepezdj for your suggestions :thumbup:

Avatar
Lpfreaky90
2,842 Posts
Posted Nov 05, 2012
Replied 7 minutes later

Quote:
EDIT: The last time I had the map open, my computer bluescreened and shut down suddenly - could that have corrupted the map?

Your file got corrupted. that happened to me a few times before as well.
Browse to your sdk folder; grab the vmx file and rename it to yourmapname_vmx.vmf and try to load that.

If that doesn't work go to your default hammer autosave location (c:/hammerautosave for me) grab the file that starts with your filename and remove the _autosave at the end of the map.

IF you can recover your map in any of those two ways its better than decompiling your map. Decompiling will lose instances for example!

Avatar
josepezdj
2,386 Posts
Posted Nov 05, 2012
Replied 54 minutes later

srs bsnss wrote:
Thank you josepezdj for your suggestions :thumbup:

LOL... I didn't help you at all though! :smile: I was about to tell you that I only had a similar case than yours before, but was because of a change in my game folders: I had to edit all GameConfig.txt files for each steamapp to change the game paths... and I could see my maps and the instances back again... but what LpFreaky said is the best to do, if your map file seems to be corrupted, check for the _vmx or _autosave files :thumbup:

Advertisement
Registered users don’t see ads! Register now!
Avatar
srs bsnss
552 Posts
Posted Nov 06, 2012
Replied 20 hours later

Lpfreaky90 wrote:

Your file got corrupted. that happened to me a few times before as well.
Browse to your sdk folder; grab the vmx file and rename it to yourmapname_vmx.vmf and try to load that.

I tried that one, unfortunately no luck. The other method I might try if the need arises.

And yes, my precious instances D: but luckily all the stuff is still there, it's just not packed into one easy instance.

josepezdj wrote:
LOL... I didn't help you at all though!

True, but you took the time to try and help, which I appreciated. :thumbup: