Closed coreybruce closed 6 months ago
Update repo and try to rebuild it.
Update repo and try to rebuild it.
Hey thanks for that it now builds with no issues but did you document where it builds to at all? Idk where it goes after it finishes and I couldn't find documentation on it.
Update repo and try to rebuild it.
Hey thanks for that it now builds with no issues but did you document where it builds to at all? Idk where it goes after it finishes and I couldn't find documentation on it.
./waf configure -T release --prefix=./mypath
./waf install
Update repo and try to rebuild it.
Hey thanks for that it now builds with no issues but did you document where it builds to at all? Idk where it goes after it finishes and I couldn't find documentation on it.
./waf configure -T release --prefix=./mypath
./waf install
Great tho was --prefix=./mypath
needed? wouldn't it put the binary in the root of the source-engine folder of if I did `./waf configure -T release --prefix=./
for example? you might want to add this documentation
Also where do I go after compiling? I see a binary but there no documentation on how to even use this, is there anything else the game needs other than the binary?
Looks like I needed to copy the bin folder and replace the libs inside the game folder but I ran into this issue, it launched than crashed
./hl2_launcher ✔
SDL version: 2.28.5 rev: SDL-release-2.28.5-0-g15ead9a40
LoadLibrary: path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libfilesystem_stdio.so
SDL video target is 'x11'
SDL video target is 'x11'
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system DOES NOT support the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system DOES NOT support the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system supports the OpenGL extension GL_EXT_direct_state_access.
This system DOES NOT support the OpenGL extension GL_NV_bindless_texture.
This system supports the OpenGL extension GL_AMD_pinned_memory.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system DOES NOT support the OpenGL extension GL_NVX_gpu_memory_info.
This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt5.
This system supports the OpenGL extension GL_ARB_buffer_storage.
This system supports the OpenGL extension GLX_EXT_swap_control_tear.
OpenGL: Mesa Intel(R) UHD Graphics (CML GT2) 4.6 (Compatibility Profile) Mesa 23.1.9-manjaro1.1 (4.6.0)
GL_NV_bindless_texture: DISABLED
GL_AMD_pinned_memory: DISABLED
GL_ARB_buffer_storage: AVAILABLE
GL_EXT_texture_sRGB_decode: AVAILABLE
LoadLibrary: pModule: engine.so, path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libengine.so
LoadLibrary: pModule: inputsystem.so, path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libinputsystem.so
LoadLibrary: pModule: materialsystem.so, path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libmaterialsystem.so
LoadLibrary: pModule: datacache.so, path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libdatacache.so
LoadLibrary: pModule: studiorender.so, path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libstudiorender.so
LoadLibrary: pModule: vphysics.so, path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libvphysics.so
LoadLibrary: pModule: video_services.so, path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libvideo_services.so
LoadLibrary: pModule: vguimatsurface.so, path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libvguimatsurface.so
LoadLibrary: pModule: vgui2.so, path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libvgui2.so
LoadLibrary: pModule: sourcevr.so, path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/sourcevr.so
failed to dlopen /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/sourcevr.so error=/home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/sourcevr.so: wrong ELF class: ELFCLASS32
failed to dlopen sourcevr.so error=sourcevr.so: wrong ELF class: ELFCLASS32
AppFramework : Unable to load module sourcevr.so!
LoadLibrary: path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libfilesystem_stdio.so
LoadLibrary: pModule: shaderapidx9.so, path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libshaderapidx9.so
LoadLibrary: pModule: video_bink, path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/video_bink.so
failed to dlopen /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/video_bink.so error=/home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/video_bink.so: wrong ELF class: ELFCLASS32
failed to dlopen video_bink.so error=video_bink.so: wrong ELF class: ELFCLASS32
LoadLibrary: pModule: video_webm, path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/video_webm.so
failed to dlopen /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/video_webm.so error=/home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/video_webm.so: wrong ELF class: ELFCLASS32
failed to dlopen video_webm.so error=video_webm.so: wrong ELF class: ELFCLASS32
Using Breakpad minidump system. Version: 8491853 AppID: 220
filesystem BaseDir: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2
Did not detect any valid joysticks.
GL_NVX_gpu_memory_info: UNAVAILABLE
GL_ATI_meminfo: UNAVAILABLE
GL_MAX_SAMPLES_EXT: 16
Can't find module - /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/stdshader_dbg.so
Can't find module - /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libstdshader_dbg.so
Can't find module - stdshader_dbg.so
Can't find module - /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/stdshader_dx6.so
Can't find module - /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libstdshader_dx6.so
Can't find module - stdshader_dx6.so
Can't find module - /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/stdshader_dx7.so
Can't find module - /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libstdshader_dx7.so
Can't find module - stdshader_dx7.so
Can't find module - /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/stdshader_dx8.so
Can't find module - /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libstdshader_dx8.so
Can't find module - stdshader_dx8.so
LoadLibrary: path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/stdshader_dx9.so
failed to dlopen /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/stdshader_dx9.so error=/home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/stdshader_dx9.so: wrong ELF class: ELFCLASS32
LoadLibrary: path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libstdshader_dx9.so
Convar mat_specular has conflicting FCVAR_CHEAT flags (child: FCVAR_CHEAT, parent: no FCVAR_CHEAT, parent wins)
CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 5000 MHz, Processor: GenuineIntel
GlobalMemoryStatus: 4294967295
CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 5000 MHz, Processor: GenuineIntel
GlobalMemoryStatus: 4294967295
IDirect3DDevice9::Create: BackBufWidth: 1920, BackBufHeight: 1080, D3DFMT: 3, BackBufCount: 1, MultisampleType: 4, MultisampleQuality: 0
GL sampler object usage: DISABLED
Can't find module - /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/vaudio_minimp3
LoadLibrary: path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/bin/libvaudio_minimp3.so
##### swap interval = 1 swap limit = 1 #####
##### swap interval = -1 swap limit = 1 #####
Could not load program cache file glbaseshaders.cfg
Could not find base GL shader cache file
Could not load program cache file glshaders.cfg
Could not find user GL shader cache file
Precache: Took 0 ms, Vertex 0, Pixel 0
LoadLibrary: path: /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/hl2/bin/client.so
failed to dlopen /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/hl2/bin/client.so error=/home/corey/.local/share/Steam/steamapps/common/Half-Life 2/hl2/bin/client.so: wrong ELF class: ELFCLASS32
Can't find module - /home/corey/.local/share/Steam/steamapps/common/Half-Life 2/hl2/bin/libclient
Can't find module - client
##### Sys_Error: Could not load library client. Try restarting. If that doesn't work, verify the cache.zsh: trace trap (core dumped) ./hl2_launcher
Hey why did you close this? This isn't completed, did you not read the log? It fails to run
I've read changelog. You didn't install game libraries
What game library did I need? Ive got it compiled and working now, I didn't install anything else.
By the way can you use this for other games other than Half Life 2?
Hey there I was trying to build this on Manjaro Linux x64 but it failed