Please or Register to create posts and topics.

Map Won't Load...

PreviousPage 2 of 3Next

Oops, I said "validate", I meant "verify." You can verify your game files by right clicking on the game in your Library and selecting Properties. Then, in the Local Files tab, click the "Verify Integrity of Game Cache..." Do this for both Portal 2 and the Authoring Tools.

Released Maps
[spoiler]WOM Test 1
Laser Cube Quest
Mho' Power - Community Spotlight!
Four Corners[/spoiler]
wrathofmobius wrote:
Oops, I said "validate", I meant "verify." You can verify your game files by right clicking on the game in your Library and selecting Properties. Then, in the Local Files tab, click the "Verify Integrity of Game Cache..." Do this for both Portal 2 and the Authoring Tools.

Okay, I did that
and it still won't run levels :(
I'll try removing source SDK from my comp

this is what I get when I compile a map.
Error Opening *file path* *file Name*.bsp
...
It doesn't say what kind of error it is, or what's causing it, it just says 'error'.....

That sounds like VBSP is not running when you compile, so the other compile steps can't pack their data into the BSP. Make sure in your Compile Options menu that "Run BSP" is set to Normal.

Edit: Nope, can't reproduce that error when not running VBSP. Is this when compiling or when launching it in-game? I'm relatively sure this is caused by the BSP not being created. Could you upload your compile log? It should be in Portal 2/sdk_content/maps/<mapname>.log.
Basically the line we're looking for is:

Code: Select all
Writing C:Program FilesSteamsteamappscommonportal 2sdk_contentmaps<mapname>.bsp
Released Maps
[spoiler]WOM Test 1
Laser Cube Quest
Mho' Power - Community Spotlight!
Four Corners[/spoiler]
wrathofmobius wrote:
That sounds like VBSP is not running when you compile, so the other compile steps can't pack their data into the BSP. Make sure in your Compile Options menu that "Run BSP" is set to Normal.

Edit: Nope, can't reproduce that error when not running VBSP. Is this when compiling or when launching it in-game? I'm relatively sure this is caused by the BSP not being created. Could you upload your compile log? It should be in Portal 2/sdk_content/maps/<mapname>.log.
Basically the line we're looking for is:

Code: Select all
Writing C:Program FilesSteamsteamappscommonportal 2sdk_contentmaps<mapname>.bsp

The map fully compiles(at least it appears to)
then it closes and doesn't launch.
The only reason I know what the error even is is because I clicked 'wait for keypress before launching' so I could see what was wrong.

I will check and see if that option is up or not.

Edit(Yes I'm making an edit before I make the post, so sue me xD): I finally got it working!
Basically at the run menu I went into expert mode and made the configurations to Run Map-full screen.

So, until I figure out what's bugging up the regular old compile, I guess that'll do?

Okay...
I give up...
I tried resetting Hammer to factory defaults (Through Reg-edit which thankfully I know how to use properly) and it STILL gives me the same freaking error <_<
And when it does run, it only loads the portal gun and the player and the map, NOTHING ELSE
This is really starting to piss me off...

Are you hiding anything maybe using vis groups, custom ones or the default ones?

This Signature is Beyond Your Range of Seeing.

Image

Run Map - Fullscreen doesn't compile the map, it just launches the game with the most recent compiled version of the map. That's why there's no error (and probably why stuff is missing) What we need to do is figure out why VBSP is crashing. The compile log would be fantastic to have for this very reason. I'm guessing it's a problem in your config, maybe it's looking in the wrong folder for your bsp. To be sure though, I'd have to see the compile log.

Released Maps
[spoiler]WOM Test 1
Laser Cube Quest
Mho' Power - Community Spotlight!
Four Corners[/spoiler]
wrathofmobius wrote:
Run Map - Fullscreen doesn't compile the map, it just launches the game with the most recent compiled version of the map. That's why there's no error (and probably why stuff is missing) What we need to do is figure out why VBSP is crashing. The compile log would be fantastic to have for this very reason. I'm guessing it's a problem in your config, maybe it's looking in the wrong folder for your bsp. To be sure though, I'd have to see the compile log.

I looked in the directory you were talking about, and I can't find a .log file anywhere...
NVM I searched for .log in the directory and found it.

this is what the.log has in it...

4 threads
reading c:program files (x86)steamsteamappscommonportal 2portal2mapsportalchamber.bsp
Error opening c:program files (x86)steamsteamappscommonportal 2portal2mapsportalchamber.bsp

4 threads
reading c:program files (x86)steamsteamappscommonportal 2portal2mapsportalchamber.bsp
Error opening c:program files (x86)steamsteamappscommonportal 2portal2mapsportalchamber.bsp

4 threads
reading c:program files (x86)steamsteamappscommonportal 2portal2mapsportalchamber.bsp
Error opening c:program files (x86)steamsteamappscommonportal 2portal2mapsportalchamber.bsp

There is no BSP file....only vmf.......so is that why it's not running after compiling?

metroid101 wrote:
There is no BSP file....only vmf.......so is that why it's not running after compiling?

Yep. Since VVIS and VRAD need a BSP file to function, if VBSP doesn't generate a BSP file, you're going to have a problem. I was able to get the same output by pointing to the wrong executable for vbsp in the config. Try checking your config in Tools > Options... > Build Programs and make sure the BSP executable looks like this:

Code: Select all
$SteamUserDirportal 2binvbsp.exe

Just to double-check, make sure the others look somewhat like that. If that doesn't work, post all the filepaths in both that tab and the Game Configurations tab.

Released Maps
[spoiler]WOM Test 1
Laser Cube Quest
Mho' Power - Community Spotlight!
Four Corners[/spoiler]
PreviousPage 2 of 3Next