Uploaded May 2024 | Updated September 2026, 18 hours ago
Hopefully this qualifies as a 'short' video this time around! Anyway, here is another Source related video where I outline how to resolve an issue regarding the shotgun in Source 2013 Multiplayer, where a weird reload bug can occur when using the phys_swap command (where a player can switch to the Gravity Gun and back). This glitch does not happen in Source 2013 Singleplayer (as far as I can tell) and doesn't happen when switching weapons normally. If you have any ideas about how this can be implemented in Half-Life 2: Deathmatch, that doesn't involve contacting Valve, then leave a comment! Please let me know what you think about this and I'll see you for the next video! Thanks for watching.
► You can buy me a coffee to support the effort of creating videos on my new channel! -- buymeacoffee.com/gareththegamer
► My new channel: GarethTheGamer -- youtube.com/channel/UC36qEnApR9ua9eDjaRLYcbA
Hopefully this qualifies as a 'short' video this time around! Anyway, here is another Source related video where I outline how to resolve an issue regarding the shotgun in Source 2013 Multiplayer, where a weird reload bug can occur when using the phys_swap command (where a player can switch to the Gravity Gun and back). This glitch does not happen in Source 2013 Singleplayer (as far as I can tell) and doesn't happen when switching weapons normally. If you have any ideas about how this can be implemented in Half-Life 2: Deathmatch, that doesn't involve contacting Valve, then leave a comment! Please let me know what you think about this and I'll see you for the next video! Thanks for watching.
► You can buy me a coffee to support the effort of creating videos on my new channel! -- buymeacoffee.com/gareththegamer
► My new channel: GarethTheGamer -- youtube.com/channel/UC36qEnApR9ua9eDjaRLYcbA








![Valve Source Code 2013 Tutorial (Episode 0 Alt): Downloading and Compiling the Code [Linux + Docker]
Hello everyone and welcome to a new (probably short) series of videos I do involving the source code from Valve for Half-Life 2, and some guides on how to do stuff with this code. In this alternative introductory episode, I go over how to download (and get into a position to compile) the 2013 source code on Linux operating systems using what is known as the docker or container method, including the Steam Deck! I do not, however, go over how to get into a position to debug the code (I actually dont know how to do this right now on Linux!). Please note this only applies to the Source 2013 Singleplayer code and the pre-Team Fortress 2 32-bit version of the Source 2013 Multiplayer code. Please let me know what you think and see you for whatever I decide to do next, thanks for watching!
Episode 0: https://youtu.be/Vbs2RDUzUBM
Tutorial Basis: https://developer.valvesoftware.com/wiki/Setting_up_Source_SDK_Base_2013_Singleplayer
Timestamps
00:00 Introduction
00:59 Getting Steam & Source 2013 Singleplayer/Multiplayer
02:07 Downloading the Source 2013 code
04:17 Creating the make projects
06:30 Installing docker
11:10 Accessing the docker container
14:00 Issues with the docker method
15:32 How to add your Source mod into your Steam library
16:16 Source 2013 Singleplayer doesnt work on Linux?
16:54 Issues with SDL
17:24 Gamepad UI warnings with the chroot method
17:44 Outro
► My new channel: GarethTheGamer https://www.youtube.com/channel/UC36qEnApR9ua9eDjaRLYcbA
► My Discord server: https://discord.gg/AynhkAED4S Valve Source Code 2013 Tutorial (Episode 0 Alt): Downloading and Compiling the Code [Linux + Docker]](https://i.ytimg.com/vi/Cfa-rZeZYwI/mqdefault.jpg)

