nillerusr / source-engine

Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
Other
1.13k stars 174 forks source link

black screen after loading #350

Closed TheLocalMoon closed 3 weeks ago

TheLocalMoon commented 1 month ago

ermm what the sigma

image

TheLocalMoon commented 1 month ago

when i hover on buttons (i know where they are) the sounds are playing tho

maksw2 commented 1 month ago

i'm experiencing the same problem (32 bit binaries), it can load up a map through launch arguments, but doesn't recognize any inputs in game. there are some problems with viewmodels. what i did is copy hl2dm, delete bin folder, copy compiled files and overwrite existing ones. i used these launch arguments: hl2_launcher.exe -game hl2mp -dxlevel 95 -w 1920 -h 1080 -windowed -noborder -insecure +map dm_lockdown

maksw2 commented 1 month ago

the 64 bit binaries crash on load

dimhotepus commented 1 month ago

-dxlevel 85 as launch arguments.

Or copy shaders from tf2

Reason is dx 9+ shaders are changed by valve and not compatible with source.

maksw2 commented 1 month ago

with -dxlevel 85 it crashes. i'm looking forward to the tf2 approach. can you tell me which files to copy over?

dimhotepus commented 1 month ago

with -dxlevel 85 it crashes. i'm looking forward to the tf2 approach. can you tell me which files to copy over?

What if -dxlevel 90 ?

If not working, for TF2 go to tf2\shaders\, backup hl2\shaders, replace hl2\shaders with tf2\shaders.

maksw2 commented 1 month ago

hl2 works just fine, only hl2mp has that problem. i can't seem to find the shader files, is it in a .vpk?

dimhotepus commented 1 month ago

hl2 works just fine, only hl2mp has that problem. i can't seem to find the shader files, is it in a .vpk?

well, I know only about hl2 issue. With hl2mp all is possible.

try to extract shaders from VPK.

maksw2 commented 1 month ago

after copying hl2's shaders it looks something like this image

maksw2 commented 1 month ago

the buttons still make a sound when hovered over, and the loading image is still good. condebug showes this Convar developer has multiple help strings: parent (wins): "Set developer message level" child: "Set developer message level." CSoundEmitterSystem: Registered 5146 sounds CResponseSystem: scripts\talker\response_rules.txt (217 rules, 214 criteria, and 208 responses) maxplayers set to 2 Heap: 256.00 Mb CL_InitLanguageCvar Error: Material "debug/debugluxels" uses unknown shader "DebugLuxels" Error: Material "_fillrate0" uses unknown shader "FillRate" Error: Material "debugnormalmap_1" uses unknown shader "DebugNormalMap" Error: Material "_debugdrawenvmapmask2" uses unknown shader "DebugDrawEnvmapMask" Error: Material "debugdepth_3" uses unknown shader "DebugDepth" Error: Material "___debugdepth_4" uses unknown shader "DebugDepth" Shader 'shaders\fxc\compositor_ps20b.vcs' - Couldn't load combo 4 of shader (dyn=1) Shader 'shaders\fxc\compositor_ps20b.vcs' - Couldn't load combo 6 of shader (dyn=1) Binding uncached material "engine/preloadtexture", artificially incrementing refcount Steam config directory: D:\SteamLibrary\steamapps\common\hl2mp\platform\config Parsed 26 text messages CClientSteamContext logged on = 0 Convar developer has multiple help strings: parent (wins): "Set developer message level" child: "Set developer message level." Parent cvar in server.dll not allowed (props_break_max_pieces) Unable to access SteamHTMLSurface Failed to load Resource/UI/NavProgress.res execing touch.cfg material "vgui/touch/use" not found. --- Missing Vgui material vgui/touch/use material "vgui/touch/jump" not found. --- Missing Vgui material vgui/touch/jump material "vgui/touch/shoot" not found. --- Missing Vgui material vgui/touch/shoot material "vgui/touch/shoot_alt" not found. --- Missing Vgui material vgui/touch/shoot_alt material "vgui/touch/crouch" not found. --- Missing Vgui material vgui/touch/crouch material "vgui/touch/tduck" not found. --- Missing Vgui material vgui/touch/tduck material "vgui/touch/zoom" not found. --- Missing Vgui material vgui/touch/zoom material "vgui/touch/speed" not found. --- Missing Vgui material vgui/touch/speed material "vgui/touch/load" not found. --- Missing Vgui material vgui/touch/load material "vgui/touch/save" not found. --- Missing Vgui material vgui/touch/save material "vgui/touch/reload" not found. --- Missing Vgui material vgui/touch/reload material "vgui/touch/flash_light_filled" not found. --- Missing Vgui material vgui/touch/flash_light_filled material "vgui/touch/next_weap" not found. --- Missing Vgui material vgui/touch/next_weap material "vgui/touch/prev_weap" not found. --- Missing Vgui material vgui/touch/prev_weap material "vgui/touch/settings" not found. --- Missing Vgui material vgui/touch/settings material "vgui/touch/menu" not found. --- Missing Vgui material vgui/touch/menu material "vgui/touch/back" not found. --- Missing Vgui material vgui/touch/back LoadLibrary: pModule: haptics, path: D:\SteamLibrary\steamapps\common\hl2mp/bin/haptics execing config.cfg Sound Initialization: Start DS:stereo speaker configuration detected Set primary sound buffer format: yes Using secondary sound buffer 2 channel(s) 16 bits/sample 44100 samples/sec DirectSound initialized Sound Initialization: Finish, Sampling Rate: 44100 12 CPUs, Frequency: 3.8 Ghz, Features: AuthenticAMD SSE SSE2 MMX RDTSC CMOV FCMOV execing valve.rc Host_WriteConfiguration: Wrote cfg/config.cfg TODO: Refusing to discard 0 bytes TODO: Refusing to discard 0 bytes CreateEvent: event 'server_shutdown' not registered. Shutdown function ShutdownMixerControls() not in list!!!

maksw2 commented 1 month ago

it's probably to do with vgui.

nillerusr commented 1 month ago
  1. add -dxlevel 95 option
  2. copy shaders( or hl2misc*.vpk ) from hl2 sp folder to mp hl2 folder. Also you can recompile stdshaders_dx9 from mp branch.
maksw2 commented 1 month ago

i was able to run hl2mp and connect to a server simply by moving "hl2mp" folder to half-life 2 dir. lol.