#What am i doing wrong?

107 messages · Page 1 of 1 (latest)

viral hawk
sleek ingot
#

it didn't record properly

#

I'm guessing a leak

#

read the compile log

#

also you should use Hammer++

#

+t hammer++

#

shit that doesn't work in forum posts

viral hawk
sleek ingot
#

you need to keep the authoring tools to have access to the compilers and other programs

#

but Hammer++ is generally a lot better

viral hawk
#

i need vstdlib.dll

#

i need to install it?

#

or what

sleek ingot
#

where did you put hammer++

#

it should be in your game's bin/ folder

viral hawk
#

ooh

#

in here?

sleek ingot
#

it should go in Portal 2/bin/

#

where regular Hammer is

#

this is written in the readme or in the VDC wiki

viral hawk
#

there is no Hammer

sleek ingot
#

because you're only seeing folders

#

you're not in the regular windows explorer, this one was opened by an application and is set to only view folders

viral hawk
#

so i need to put it in this folder?

sleek ingot
#

yea in the bin/ folder

viral hawk
#

ok thx

#

i works thxx

#

aaand yup another problem

CDynamicFunction: Loading library 'Kernel32.dll' (76560000)
CDynamicFunction: Lookup of 'TryEnterCriticalSection' in 'Kernel32.dll': 77AF0F30


Running command:

cd "D:\SteamLibrary\steamapps\common\Portal 2\bin"


Running command:

"D:\SteamLibrary\steamapps\common\Portal 2\bin\vbsp.exe" -game "D:\SteamLibrary\steamapps\common\Portal 2\portal2" "D:\SteamLibrary\steamapps\common\Portal 2\sdk_content\maps\fsvsfsd.vmf"


Command failed with return code 0x2! ═х єфрхЄё  эрщЄш єърчрээ√щ Їрщы.

** Screenshot the WHOLE window when showing this compile log
** Or upload the .log file generated beside your VMF

2 command(s) finished in 0 seconds

Press a key to close.

sleek ingot
#

use backticks

viral hawk
#

?

sleek ingot
#

three backticks so that the text is actually readable

#

backticks are `

#

and 0x2 means the file was not found

viral hawk
#

aaand where to?

#

and is it normal?

sleek ingot
#

that means the materials were not found

#

it's a game config issue I assume

#

go in tools>options and make sure the paths are correctly set

viral hawk
#

it's correct i guess

sleek ingot
#

every path

viral hawk
#

i still don't understand

sleek ingot
#

and for the compilers ?

#

but it's defintely a strange issue, if the path to the game directory is correct, then you wouldn't see white sprites for entities

#

do you have HammerAddons badly mounted or smth ?

viral hawk
#

no i guess

#

Beemod counts?

sleek ingot
#

it doesn't change the fgd afaik

#

it could be an issue with beemod2 compilers tho

#

you're supposed to keep a backup of the real compilers when you install beemod

#

maybe it's an issue with that, you're not supposed to use beemod's compilers for real mapping

viral hawk
#

okay i deleted things from beemod but i still can't start map

sleek ingot
#

because it doesn't compile I assume

#

what's the log again ?

viral hawk
#

CDynamicFunction: Loading library 'Kernel32.dll' (76560000)
CDynamicFunction: Lookup of 'TryEnterCriticalSection' in 'Kernel32.dll': 77AF0F30


Running command:

cd "D:\SteamLibrary\steamapps\common\Portal 2\bin"


Running command:

"D:\SteamLibrary\steamapps\common\Portal 2\bin\vbsp.exe" -game "D:\SteamLibrary\steamapps\common\Portal 2\portal2" "D:\SteamLibrary\steamapps\common\Portal 2\sdk_content\maps\fsvsfsd.vmf"


Command failed with return code 0x2! ═х єфрхЄё  эрщЄш єърчрээ√щ Їрщы.

** Screenshot the WHOLE window when showing this compile log
** Or upload the .log file generated beside your VMF

2 command(s) finished in 0 seconds

Press a key to close.

sleek ingot
#

backticks

viral hawk
#

but i don't understand where do i need to put them

sleek ingot
#

you need to put three backticks at the top and three backticks at the bottom

viral hawk
#

of log?

sleek ingot
#

of the message

#

so that it looks nice

#

and readable

#

but the error is still the same, I don't know why it happens

viral hawk
#
CDynamicFunction: Loading library 'Kernel32.dll' (76560000)
CDynamicFunction: Lookup of 'TryEnterCriticalSection' in 'Kernel32.dll': 77AF0F30

-------------------------------------------------------------------------------
Running command:

cd "D:\SteamLibrary\steamapps\common\Portal 2\bin"
-------------------------------------------------------------------------------



-------------------------------------------------------------------------------
Running command:

"D:\SteamLibrary\steamapps\common\Portal 2\bin\vbsp.exe" -game "D:\SteamLibrary\steamapps\common\Portal 2\portal2" "D:\SteamLibrary\steamapps\common\Portal 2\sdk_content\maps\fsvsfsd.vmf"
-------------------------------------------------------------------------------


-------------------------------------------------------------------------------
Command failed with return code 0x2! ═х єфрхЄё  эрщЄш єърчрээ√щ Їрщы.


** Screenshot the WHOLE window when showing this compile log
** Or upload the .log file generated beside your VMF
-------------------------------------------------------------------------------


2 command(s) finished in 0 seconds

Press a key to close.
#

oh so now i can't launch portal 2

sleek ingot
#

press f9 and go in the expert compile window

#

for some reason there's vmf at the end of the filename

#

while it's just supposed to be the file name whitout an extension

#

so it might be looking for fsvsfsd.vmf.vmf

#

"C:\Program Files (x86)\Steam\steamapps\common\Portal 2\bin\vbsp.exe" -game "C:\Program Files (x86)\Steam\steamapps\common\Portal 2\portal2" "c:\program files (x86)\steam\steamapps\common\portal 2\sdk_content\maps\coopfan"

#

for instance, this is how it should look

#

so in the expert compile window, if there's something after $file, remove it

viral hawk
#

i have this in here

sleek ingot
#

where the hell did you install hammer++

#

the exe should be in the bin/ folder

#

next to hammer.exe

#

and the compilers

viral hawk
#
CDynamicFunction: Loading library 'Kernel32.dll' (76560000)
CDynamicFunction: Lookup of 'TryEnterCriticalSection' in 'Kernel32.dll': 77AF0F30

-------------------------------------------------------------------------------
Running command:

cd "D:\SteamLibrary\steamapps\common\Portal 2\bin"
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Running command:

"D:\SteamLibrary\steamapps\common\Portal 2\bin\vbsp.exe" -game "D:\SteamLibrary\steamapps\common\Portal 2\portal2" "D:\SteamLibrary\steamapps\common\Portal 2\sdk_content\maps\fsvsfsdhammer.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\fsvsfsdhammer.vmf"
[I] vbsp.main(): New path: "D:\SteamLibrary\steamapps\common\Portal 2\sdk_content\maps\styled\fsvsfsdhammer.vmf"
[W] vbsp.main(): Hammer map detected! skipping conversion..
[I] <Valve>.run_compiler(): Calling original VBSP...
[I] <Valve>.run_compiler(): Args: '-game', 'D:\\SteamLibrary\\steamapps\\common\\Portal 2\\portal2', 'D:\\SteamLibrary\\steamapps\\common\\Portal 2\\sdk_content\\maps\\fsvsfsdhammer.vmf'
[I] <valve>.vbsp(): Valve Software - vbsp.exe (Jan 17 2025)
[I] <valve>.vbsp(): 4 threads
[I] <valve>.vbsp(): Using shader api: shaderapiempty.dll
[I] <valve>.vbsp(): materialPath: D:\SteamLibrary\steamapps\common\Portal 2\portal2\materials
[I] <valve>.vbsp(): Loading D:\SteamLibrary\steamapps\common\Portal 2\sdk_content\maps\fsvsfsdhammer.vmf
[I] <valve>.vbsp(): ConVarRef gpu_level doesn't point to an existing ConVar
[I] <valve>.vbsp(): Could not open instance file instances/bee2_corridor/sp/entry/corr_3.vmf
[I] <valve>.vbsp():
-------------------------------------------------------------------------------
Command failed with return code 0x1!

** Screenshot the WHOLE window when showing this compile log
** Or upload the .log file generated beside your VMF
-------------------------------------------------------------------------------
2 command(s) finished in 1 second
#

now 0x1

#

not 0x2

sleek ingot
#

looks like it's still the beemod compiler

#

try verifying the authoring tool integrity of game files

#

and then the game's

viral hawk
#

and must observation room look like this?

sleek ingot
#

no

#

it's facing the wrong way I assume

#

there's a dedicated portal mapping and modding discord called the Portal Mapping and Modding discord btw

#

and you should use TeamSpen's HammerAddons when mapping for P2, though don't set it up until you're finished with compiling this map

viral hawk
#

ill make a new map without beemod and try wait

sleek ingot
#

because this is an exported map or smth ?

viral hawk
#

yes

sleek ingot
#

ah

#

you should only really use those to study them

#

if you want to turn your puzzlemaker map into a Hammer map, you should really just redo it from scratch

viral hawk
#

so if ill make a map i souldn't use basic editor?

sleek ingot
#

for making the puzzle you can

#

but then for making the actual map, don't

#

the exported maps are an unoptimized mess

viral hawk
#

oh thx

#

but it's the right direction i hope

sleek ingot
#

it's a leak

viral hawk
#

does this counts as a leak?

sleek ingot
#

read the page

#

and don't use materials with the vertex shader