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

"Can't find background image" #325

Closed DavidBuchanan314 closed 6 months ago

DavidBuchanan314 commented 6 months ago

Trying to launch portal2, I get Can't find background image 'materials/console/background_menu_widescreen.vtf', and trying to launch hl2 I get Can't find background image 'materials/console/background01_widescreen.vtf'. Both of these errors are presented as a dialog box on a black screen, after which the game exits.

At first I thought maybe these files were just missing from my copy of the games, and they are, but I've tried several versions and they're not present in any of them.

Any ideas?

fwiw I'm running on aarch64 Asahi Fedora, which may be related somehow. I had to set SDL_VIDEODRIVER=x11 to get the game to boot at all.

With some naive code searching, it seems like this function might be related? https://github.com/nillerusr/source-engine/blob/87150cc028a77d4a043835613d44bac68466ddba/engine/sys_getmodes.cpp#L691-L711

DavidBuchanan314 commented 6 months ago

Hm this might be a dupe of https://github.com/nillerusr/source-engine/issues/292

nillerusr commented 6 months ago

missing platform directory. Don't try to run portal 2, it's unsupported. Portal 2 uses separate engine branch.

DavidBuchanan314 commented 6 months ago

I got it working in the end with a different hl2 release, it runs great, thank you

neozeed commented 4 months ago

I got it working in the end with a different hl2 release, it runs great, thank you

which one?!