Valve Source Code 2013 Tutorial (Episode 0 Alt): Downloading and Compiling the Code [Linux Edition!]

Ойындар

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, including the Steam Deck! I do not, however, go over how to get into a position to debug the code (I actually don't know how to do this right now on Linux!). Please let me know what you think and see you for whatever I decide to do next, thanks for watching!
Episode 0: • Valve Source Code 2013...
Tutorial Basis: developer.valvesoftware.com/w...
► You can buy me a coffee to support the effort of creating videos on my new channel! -- www.buymeacoffee.com/garethth...
► My new channel: GarethTheGamer -- / @gareththegamer1

Пікірлер: 22

  • @bouribou4073
    @bouribou40737 ай бұрын

    i don't even use linux but i want to thank you for making these tutorials, seriously nobody makes source tutorials anymore, this series is such a great resource.

  • @TheMaster974

    @TheMaster974

    7 ай бұрын

    Thanks for the comment!

  • @The_psp_secret
    @The_psp_secret7 ай бұрын

    It's very cool that you make tutorials for other platforms too Keep up the good work!

  • @TheMaster974

    @TheMaster974

    7 ай бұрын

    Thank you for the comment, I really appreciate it!

  • @PracticeMedicine
    @PracticeMedicine15 күн бұрын

    theres a debugger for Linux called "gdb" (GNU Debugger), its an portable debugger that supports more than 13 languages (C and C++ included). infact there are graphical frontends to "gdb" which which is KDbg, Seer and DDD. (let me know if theres other "gdb" graphical frontends or smth missing on this comment.)

  • @time825
    @time8256 ай бұрын

    btw how to do portal 1 themes like to voices and strange sounds in the background

  • @TheMaster974

    @TheMaster974

    6 ай бұрын

    Thanks for the comment and apologies for the delayed response, I'm unsure what it is you actually need help with? If you mean the effects to GLADOS' voice during the escape maps, then something like an env_microphone can be used to change the way the audio sounds. In regards to 'strange sounds in the background', that could be related to Soundscapes by playing a random sound at a random time. Is this what you are referring to?

  • @foxden908
    @foxden9082 күн бұрын

    i have an issue where the resulting binarys are absolutely massive (100+mb vs 10mbs for the windows alternative)

  • @TheMaster974

    @TheMaster974

    14 сағат бұрын

    That's weird, I don't know why that would be happening and I don't really know what to suggest as a solution.

  • @foxden908

    @foxden908

    14 сағат бұрын

    @@TheMaster974 i managed to find the solution, for some reason in valves default compile scripts they dont strip the binarys of debug symbols. the fix is actualy really simple just add "$GCC_ExtraLinkerFlags "$BASE -s" [$LINUXALL]" to the $Linker section in source_posix_base.vpc and rerun creategameprojects

  • @RModOfficial
    @RModOfficial6 ай бұрын

    hey master can you do tutorials how to fix stickylauncher pistol from hl2 beta? (on windows 10)

  • @TheMaster974

    @TheMaster974

    6 ай бұрын

    Thanks for the comment, the only issue I have with doing a video about the Sticky Launcher is that the code for it is only accessible through the Half-Life 2 Beta leaked code (as far as I know) and I have my reservations about creating tutorials where a required step is to gain access to leaked code.

  • @RModOfficial

    @RModOfficial

    6 ай бұрын

    @@TheMaster974 well you can find it on google, by typing source sdk 2003

  • @UtopicTahu
    @UtopicTahu7 ай бұрын

    is there a way to compile the .SO on Windows without a virtual machine?

  • @TheMaster974

    @TheMaster974

    7 ай бұрын

    Thanks for the comment! To answer your question, I'm not sure, the closest thing I could find to achieve what you want is to use the Windows Subsystem for Linux (WSL), however I believe this would store files in an isolated Linux file system, instead of being able to execute Linux commands on Windows. More information about it can be found here if you want to know more about it: learn.microsoft.com/en-us/windows/wsl/about

  • @chalkymalky
    @chalkymalky6 ай бұрын

    im planning on making my own mods but idk anything about programming, do u have any recommendations on how to get into it?

  • @TheMaster974

    @TheMaster974

    6 ай бұрын

    Thanks for the comment and apologies for the delayed response! To answer your question, I would recommend you to look at programming basics articles or videos, which can be for any programming language. The Valve Source code uses C++, however you can also look into Python as a starting point because that's a commonly used language and there will be loads of documentation to look up (also it's supposedly an 'easy' language to start with). To be honest, I only managed to somewhat understand the Source code by having experience with R and Python for university projects, so I'm probably not the best person to ask for advice about how to get started with programming! Regardless, I hope what I have suggested helps you out! This channel is good for programming basics, if you have the time to watch their videos: www.youtube.com/@BroCodez

  • @chalkymalky

    @chalkymalky

    6 ай бұрын

    @@TheMaster974 omg tysm for responding !! i appreciate it :3 i have been thinking of learning python first since it is smth alot of ppl recommend so ill probably check that out ty

  • @dreadcraftre
    @dreadcraftre7 ай бұрын

    Hello! How to add immolator in source sdk 2013?

  • @TheMaster974

    @TheMaster974

    7 ай бұрын

    Adding the Immolator is on my list of videos to (eventually) do, in the meantime, you can add weapon_immolator.cpp to the Server and add: STUB_WEAPON_CLASS(weapon_immolator, WeaponImmolator, C_BaseHLCombatWeapon); to c_weapon__stubs_hl2.cpp on the Client, then you need to get the weapon script, viewmodel, worldmodel and sounds in order for the Immolator to work properly. Hopefully this helps for now!

  • @dreadcraftre

    @dreadcraftre

    6 ай бұрын

    @@TheMaster974error, setThink (updatethink)

  • @TheMaster974

    @TheMaster974

    6 ай бұрын

    You should have been informed in the error about where the problematic line is and what the line should be: SetThink(&CWeaponImmolator::UpdateThink);

Келесі