ValveSoftware / ValveSoftware/source-sdk-2013

Source 2013 Singleplayer Crashes Immediately When Launched [Linux]

Open
#1,722 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10k
Forks
3k
Avg merge
8d 11h
Merged PRs (30d)
2

Description

Hello, I did some testing recently which required me to launch into a Source 2013 Singleplayer mod on Linux, however when I booted up the mod, it seemingly crashed instantly with no error message. When attempting to directly open Source SDK Base 2013 Singleplayer with the upcoming beta branch installed, the same crashing behaviour happened. This testing was done on my Steam Deck with SteamOS installed on it, which I factory reset twice and the issue still persists at the time of writing.

The only piece of useful information I have is when trying to run hl2.sh or hl2_linux, I get the message "Failed to load the launcher" with nothing else that could be used to determine the source of the crash, even when attempting to debug a mod via Visual Studio Code. Is anybody else experiencing this issue? What could be done to resolve it? I would really appreciate some advice! One thing to note is that I haven't experienced this behaviour with Source 2013 Multiplayer mods, Half-Life 2 or Portal, it looks like only Source 2013 Singleplayer mods are affected.

I've also created a short YouTube video which shows the crashing behaviour in action and the things I have already tried to stop this from happening: https://youtu.be/yMRdxg6Bdo8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash on SteamOS with Source SDK Base 2013 Singleplayer on the beta branch, using hl2.sh or hl2_linux. Read the launch output showing “Failed to load the launcher” and compare it with the reported working Multiplayer, Half-Life 2, and Portal launches. Done means identifying the cause and documenting or fixing the Singleplayer launch failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
game-dev, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.