Skip to content
Vaas_Kahn_Grim edited this page Aug 29, 2020 · 3 revisions

Welcome to the sourcesdk-minimal wiki!

This should make it quick and easy to find any information you need. This wiki will try to help you find various portions of the SDK, setting everything up for using it and various other useful bits of information information.

GETTING STARTED

This is a quick guide for getting the SDK easily setup on your PC and setting things up so that you can easily compile your projects for both windows and linux with minimal hassle. (Steps may need to be cleaned up a bit and revised.)

  1. First download the SDK repo, and extract it to a folder you will be able to easily find.(For example: C:\source_sdk_minimal)

  2. Next lets setup an enviornment variable inside windows. Go to your file explorer, navigate to "This PC", go to computer at the top right and click properties. Next go to "Advanced System Settings" and you should see a button that says "Enviornment Variables", click that and in the list under "User variables for " click NEW, and add a variable as follows: Name should be "SOURCE_SDK" and Value should be "C:\source_sdk_minimal". Do the same for thing for the list under "System Variables" aswell.

  3. This next portion is for setting things up for linux compiles, your going to want something such as WSL(Windows Subsystem for Linux), you can find this on the microsoft store. Alternatively you could setup a VM using software such as VirtualBox or VMWare. WSL however comes with a shared folder between linux and your windows install. Meaning you can easily have your project in a single place and not have to transfer it between windows and linux in order to compile it for each platform.

  4. Setup a folder for easily managing your projects.(For example: C:\my_cpp_projects) This folder will be used for easily compiling projects for linux without having to move them from windows to linux, as mentioned in step 3.

  5. TODO:Finish this step for setting up Enviornment Variables on linux for the SDK.

EXTERNAL REPOS

This is a list of useful repos to also use along side this SDK.

GARRYSMOD_COMMON

DETOURING

SCANNING

Clone this wiki locally