We have noticed that there is a loose repository size limit on GitHub, so we have decided to remove the SDKs from being directly included in the repository. We also removed the batch and shell files that were already included in the src/ directory and replaced them with dynamic batch/shell files to download a specific SDK and build against a specific SDK.
To download a specific SDK, use the SDK.bat/sh which uses the ../src/makefiles/sdk/ directory to list out which SDKs the plugin supports. To create build files for a specific SDK, use the Build.bat/sh which uses the ../src/sdks/ directory to list out which SDKs you have downloaded. If on Linux, we already include "make clean" and "make" to build the files. Obviously, on Windows, you will still need to navigate to the ../src/Builds directory to build using the solution (.sln file).
We still currently only support the OrangeBox and CSGO engines, so nothing has changed there as of yet.
SDK and build changes
Another update on this. AlliedMods moved their repositories from https://hg.alliedmods.net/hl2sdks to https://github.com/alliedmodders/hl2sdk and now use branches instead of having each SDK being its own repo. Due to this, we have made changes to the Build.bat/sh files and have removed the SDK.bat/sh files. The Build files now take care of both functionalities, as they get the latest version of the selected SDK and create the build files, and on Linux build the binaries.
You might notice that there is no ob-valve branch anymore. AlliedMods did not create that branch within the new repo, so we are now using css, dods, hl2dm, and tf2. All 4 of those are the same, currently, and set the sp_engine_ver value to "orangebox". You can build with any of the 4, and it will work on all 4 games along with the other Valve OrangeBox games (HL2, Ep1, Ep2, and Portal).
Every once in a while, Valve will update one or more of the 4 games and cause issues between branches. It is at this time that we will create a new branch, ourselves, to handle these differences until all 4 have been updated.
You might notice that there is no ob-valve branch anymore. AlliedMods did not create that branch within the new repo, so we are now using css, dods, hl2dm, and tf2. All 4 of those are the same, currently, and set the sp_engine_ver value to "orangebox". You can build with any of the 4, and it will work on all 4 games along with the other Valve OrangeBox games (HL2, Ep1, Ep2, and Portal).
Every once in a while, Valve will update one or more of the 4 games and cause issues between branches. It is at this time that we will create a new branch, ourselves, to handle these differences until all 4 have been updated.
You need the following things to compile on Linux:
In the next two steps the script will ask you for a game you would like to compile for and a build type (choose "Release").
After that it might take some minutes to compile. The build files are written to ../Source.Python/src/Builds/<game>.
That's all
- git (sudo apt-get install git)
- cmake (sudo apt-get install cmake)
- g++ (sudo apt-get install g++)
In the next two steps the script will ask you for a game you would like to compile for and a build type (choose "Release").
After that it might take some minutes to compile. The build files are written to ../Source.Python/src/Builds/<game>.
That's all
Return to “News & Announcements”
Who is online
Users browsing this forum: No registered users and 0 guests