source-engine icon indicating copy to clipboard operation
source-engine copied to clipboard

Black Screen Counter Strike Source

Open benjaminmcq opened this issue 10 months ago • 2 comments

I ported the game engine (kinda) to OpenBSD. I don't currently have access to a machine, but I did everything correctly, and the game shows the loading screen on Counter Strike Source, (yes I did copy the platform, cstrike and hl2 folders.) I had to make my own implementation of malloc_usable_size, as the engine depends on it heavily. I can't upload the changes right now, looking for clarification or if people have had similar issues on other platforms.

When I launch the game using ./hl2_launcher -game cstrike It shows the loading screen for a few seconds, then goes to a black screen. It hangs.

Either way, after if I add arguments -console +map de_dust2, It goes to black screen, then segfaults.

When I'm back on my machine, I can provide logs if requested.

Has anybody had similar issues? Thank you!

benjaminmcq avatar Jan 20 '26 20:01 benjaminmcq

the same on Windows 10 x64 and macOS (running on Mac mini M4, except that it wasn't black screen, but flashy white screen), resources files were copied from the latest Steam version of CS:S.

koriande avatar Feb 26 '26 17:02 koriande

I had segfaults too and it wouldn't load so I downloaded directly from steam depot Half Life 2 (app 220) Base (depot 221) November 14 2023 (manifest 3666218991449795038) Client (depot 224) November 14 2023 (manifest 5699984820642974318) Counter Strike Source (240) Shared (240) March 15 2013 (manifest 8533645887610833256) Client (depot 232333) July 2 2021 (manifest 8067518758157153958) Server (depot 241) July 2 2021 (manifest 3261854995366250836) This fixed the black screen/background hang but it did not fix the segfaults. I trimmed back my cflag optimizations but that didn't fix it.

knuxyl avatar Mar 08 '26 05:03 knuxyl