ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
787 stars 69 forks source link

CS:GO Crash on startup through folder launch instead of Steam (Mac) #3225

Open JonasHuygh opened 1 year ago

JonasHuygh commented 1 year ago

Following up from a previous issue I posted (#3207) and a duplicate to several others, I have tried launching the game from the launcher (the csgo_osx64 file) which comes back with this in the Terminal console:

"/Users/jonash./Library/Application\ Support/Steam/steamapps/common/Counter-Strike\ Global\ Offensive/csgo_osx64 ; exit; Failed to load the launcher (dlopen(bin/osx64/launcher.dylib, 0x0002): tried: 'bin/osx64/launcher.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSbin/osx64/launcher.dylib' (no such file), '/usr/lib/bin/osx64/launcher.dylib' (no such file, not in dyld cache), 'bin/osx64/launcher.dylib' (no such file))"

Does anyone know how to fix this issue as it seems I am missing the 'launcher.dylib' file?

Steps for reproducing this issue:

  1. Launching the CS:GO executable file through the folder instead of Steam
  2. Crashes
kisak-valve commented 1 year ago

Hello @JonasHuygh, it looks like Steam calls csgo.sh -steam, and not the executable directly. From what I can see, this sets a couple variables that could matter. In particular export DYLD_LIBRARY_PATH="${GAMEROOT}"/bin:"${GAMEROOT}"/bin/osx64:$DYLD_LIBRARY_PATH.

I don't expect that running the game's executable from outside of Steam is supported, but using csgo.sh instead might be worth a try.

JonasHuygh commented 1 year ago

Hello @JonasHuygh, it looks like Steam calls csgo.sh -steam, and not the executable directly. From what I can see, this sets a couple variables that could matter. In particular export DYLD_LIBRARY_PATH="${GAMEROOT}"/bin:"${GAMEROOT}"/bin/osx64:$DYLD_LIBRARY_PATH.

I don't expect that running the game's executable from outside of Steam is supported, but using csgo.sh instead might be worth a try.

Thanks for the reply,

I cd'd into the folder /Users/jonash./Library/Application\ Support/Steam/steamapps/common/Counter-Strike\ Global\ Offensive/, subsequently I ran the following command: ./csgo.sh -steam. This gives me the following response in the terminal app:


SDL video target is 'cocoa'
SDL failed to create GL compatibility profile (whichProfile=0!
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 supports 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 supports the OpenGL extension GL_EXT_bindable_uniform.
This system supports the OpenGL extension GL_APPLE_flush_buffer_range.
This system DOES NOT support 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 supports the OpenGL extension GL_APPLE_texture_range.
This system supports 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 DOES NOT support the OpenGL extension GL_ARB_debug_output.
This system DOES NOT support the OpenGL extension GL_EXT_direct_state_access.
This system DOES NOT support the OpenGL extension GL_NV_bindless_texture.
This system DOES NOT support 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 DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt5.
This system DOES NOT support the OpenGL extension GL_ARB_buffer_storage.
This system DOES NOT support the OpenGL extension GLX_EXT_swap_control_tear.
Created D3D9 device successfully
./csgo.sh: line 98: 34280 Segmentation fault: 11  ${DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"```
NeverLandeyalt commented 1 year ago

hey ran the same command in terminal and gave me the same stuff

chair-man-f commented 1 year ago

i did the same, gave me the same