nillerusr / source-engine

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

[macOS] Can't run the game after building it #237

Closed Resident-Fortress closed 1 year ago

Resident-Fortress commented 1 year ago

I'm on a Apple M1 Macbook Pro 13"

After I went through the installation process and I dragged and dropped the hl2 folder that was built from the repository. I dragged and dropped the hl2_launcher in the terminal I got this error.

dlopen(bin/liblauncher.dylib, 0x0002): tried: 'bin/liblauncher.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSbin/liblauncher.dylib' (no such file), '/usr/lib/bin/liblauncher.dylib' (no such file, not in dyld cache), 'bin/liblauncher.dylib' (no such file) Failed to load the launcher dlopen(bin/launcher.dylib, 0x0002): tried: 'bin/launcher.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSbin/launcher.dylib' (no such file), '/usr/lib/bin/launcher.dylib' (no such file, not in dyld cache), 'bin/launcher.dylib' (no such file) Failed to load the launcher

Elc3r commented 1 year ago

Did you use: python3 waf install --destdir='' ?

Resident-Fortress commented 1 year ago

Did you use: python3 waf install --destdir='' ?

No I will try reinstalling it and see if that helps

Resident-Fortress commented 1 year ago

no dice

nillerusr commented 1 year ago

@CrimsonSquadron try run with DYLD_LIBRARY_PATH=bin/

Spritzerland commented 1 year ago

This worked for me: https://jameshug.notion.site/Guide-to-Installing-Half-Life-2-Using-Source-Engine-on-macOS-9fa5ffc910f5454ab0f0e5da2a9e5b9f

Resident-Fortress commented 1 year ago

Nothing. I do better with a video tutorial. Can someone redirect me there?

Resident-Fortress commented 1 year ago

Success I got the games running! I followed a guide on reddit. https://www.reddit.com/r/macgaming/comments/11qrqil/halflife_2_source_engine_running_natively_on/