#What am i doing wrong?
107 messages · Page 1 of 1 (latest)
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
so i can't use P2 Autroring Tools?
you need to keep the authoring tools to have access to the compilers and other programs
but Hammer++ is generally a lot better
it should go in Portal 2/bin/
where regular Hammer is
this is written in the readme or in the VDC wiki
there is no Hammer
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
so i need to put it in this folder?
yea in the bin/ folder
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.
use backticks
?
three backticks so that the text is actually readable
backticks are `
and 0x2 means the file was not found
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
it's correct i guess
every path
i still don't understand
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 ?
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
okay i deleted things from beemod but i still can't start map
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.
backticks
but i don't understand where do i need to put them
you need to put three backticks at the top and three backticks at the bottom
of log?
of the message
so that it looks nice
and readable
but the error is still the same, I don't know why it happens
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
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
i have this in here
where the hell did you install hammer++
the exe should be in the bin/ folder
next to hammer.exe
and the compilers
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
looks like it's still the beemod compiler
try verifying the authoring tool integrity of game files
and then the game's
and must observation room look like this?
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
ill make a new map without beemod and try wait
because this is an exported map or smth ?
yes
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
so if ill make a map i souldn't use basic editor?
for making the puzzle you can
but then for making the actual map, don't
the exported maps are an unoptimized mess
does this counts as a leak?