Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There was an error building the puzzle. #4429

Open
DexperienceIsTrashAtCSS opened this issue Jun 15, 2024 · 5 comments
Open

There was an error building the puzzle. #4429

DexperienceIsTrashAtCSS opened this issue Jun 15, 2024 · 5 comments
Labels
Bug Something isn't working correctly Compile Error Something is preventing the map from compiling

Comments

@DexperienceIsTrashAtCSS

BEE2 Application Version

v2.4.45.2 64-bit

BEE2 Package Version

v4.45.0

What operating system are you running on?

No response

Logs and Reports

VBSP failed.

[I] compiler_launch.<module>(): Arguments: ['D:/SteamLibrary/steamapps/common/Portal 2/bin/vbsp.exe', '-entity_limit', '1750', '-game', 'D:/SteamLibrary/steamapps/common/Portal 2/portal2/', 'D:/SteamLibrary/steamapps/common/Portal 2/sdk_content\\maps/preview.vmf']
[I] compiler_launch.<module>(): Running "vbsp", version 2.4.45.2 64-bit:
[I] vbsp.main(): BEE2.4.45.2 64-bit VBSP hook initiallised, srctools v2.3.17.dev5+823ca80.dirty.2024.04.17.
[I] cond.core.import_conditions(): Imported all conditions modules!
[I] vbsp.main(): Map path is "D:/SteamLibrary/steamapps/common/Portal 2/sdk_content\maps/preview.vmf"
[I] vbsp.main(): New path: "D:/SteamLibrary/steamapps/common/Portal 2/sdk_content\maps\styled\preview.vmf"
[E] logger.except_handler(): Uncaught Exception:
Traceback (most recent call last):
  File "compiler_launch.py", line 56, in <module>
  File "trio\_core\_run.py", line 2303, in run
  File "vbsp.py", line 1608, in main
  File "srctools\game.py", line 33, in __init__
  File "srctools\keyvalues.py", line 519, in parse
srctools.keyvalues.KeyValError: End of text reached with remaining open sections.

File ended with at least one keyvalue that didn't have an ending "}".
Open properties: 
- Root at line 1
- "GameInfo" on line 2
Error occurred with file "D:\SteamLibrary\steamapps\common\Portal 2\portal2\gameinfo.txt".
[33852] Failed to execute script 'compiler_launch' due to unhandled exception!

Additional information

Portal 1 Style

@DexperienceIsTrashAtCSS DexperienceIsTrashAtCSS added Bug Something isn't working correctly Compile Error Something is preventing the map from compiling labels Jun 15, 2024
@TeamSpen210
Copy link
Member

Can you post your D:\SteamLibrary\steamapps\common\Portal 2\portal2\gameinfo.txt file?

@DexperienceIsTrashAtCSS
Copy link
Author

DexperienceIsTrashAtCSS commented Jun 16, 2024

"GameInfo"
{
	game 		"PORTAL 2"
	title 		"PORTAL 2"
	GameData	"portal2.fgd"
	gamelogo 	1

	SupportsDX8     0
	SupportsXbox360 1

	FileSystem
	{
		SteamAppId				620		// This will mount all the GCFs we need (240=CS:S, 220=HL2).
		ToolsAppId				211		// Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.
		
		//
		// The code that loads this file automatically does a few things here:
		//
		// 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
		// 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
		//    For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
		// 3. For the first "Game" search path, it adds a search path called "MOD".
		// 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
		//

		//
		// Search paths are relative to the base directory, which is where hl2.exe is found.
		//
		// |gameinfo_path| points at the directory where gameinfo.txt is.
		// We always want to mount that directory relative to gameinfo.txt, so
		// people can mount stuff in c:\mymod, and the main game resources are in
		// someplace like c:\program files\valve\steam\steamapps\half-life 2.
		//

		SearchPaths
		{
			Game				|gameinfo_path|.
			Game	|gameinfo_path|../bee2
			Game	"BEE2"
	}
}

@TeamSpen210
Copy link
Member

Get rid of the Game "BEE2" line, and replace it with a }. That's missing for some reason, maybe BEE malfunctioned in the past.

@DexperienceIsTrashAtCSS
Copy link
Author

Now it shows this error:

VRAD failed.

[I] vrad.main(): BEE2.4.43.0 64-bit VRAD hook initiallised, srctools v2.3.4, Hammer Addons v(unknown)
[I] vrad.main(): Map path is D:\SteamLibrary\steamapps\common\Portal 2\sdk_content\maps\preview.bsp
[I] vrad.main(): Loading Settings...
[I] vrad.main(): Reading BSP
[I] vrad.main(): Map status: is_peti=True, is_preview=True light_args=FAST
[I] vrad.main(): Done!
[I] vrad.main(): Reading our FGD files...
[I] vrad.main(): Reading soundscripts...
[I] vrad.main(): Reading particles....
[I] vrad.main(): Loading transforms...
[I] vrad.main(): Checking for music:
[I] vrad.main(): Run transformations...
[I] bsp_trans.run_transformations(): Running "Model Ropes"...
[I] bsp_trans.run_transformations(): Running "Attachment Points"...
[I] bsp_trans.run_transformations(): Running "VScript Init Code"...
[I] bsp_trans.run_transformations(): Running "VScript RunScript Inputs"...
[I] bsp_trans.run_transformations(): Running "func_instance_io_proxy"...
[I] bsp_trans.run_transformations(): Running "trigger_brush Input Filters"...
[I] bsp_trans.run_transformations(): Running "Fix alternate classnames"...
[I] bsp_trans.run_transformations(): Running "BEE2: Coop Responses"...
[I] bsp_trans.run_transformations(): Running "BEE2: Cube VScript Filters"...
[I] filter.cube_filter(): Script buffers: []
[I] bsp_trans.run_transformations(): Running "BEE2: User Error"...
[E] logger.except_handler(): Uncaught Exception:
Traceback (most recent call last):
File "compiler_launch.py", line 26, in
File "trio_core_run.py", line 2010, in run
File "vrad.py", line 245, in main
File "hammeraddons\bsp_transform_init_.py", line 157, in run_transformations
File "postcomp\user_error.py", line 50, in start_error_server
File "postcomp\user_error.py", line 145, in load_server
ValueError: Failed to start error server!
Traceback (most recent call last):
File "compiler_launch.py", line 26, in
File "trio_core_run.py", line 2010, in run
File "vrad.py", line 245, in main
File "hammeraddons\bsp_transform_init_.py", line 157, in run_transformations
File "postcomp\user_error.py", line 50, in start_error_server
File "postcomp\user_error.py", line 145, in load_server
ValueError: Failed to start error server!
[53184] Failed to execute script 'compiler_launch' due to unhandled exception!

@TeamSpen210
Copy link
Member

That's actually version BEE2.4.43.0 for VRAD, you might need to export again to make sure you have new compilers..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working correctly Compile Error Something is preventing the map from compiling
Projects
None yet
Development

No branches or pull requests

2 participants