Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.76 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.76 KB

Source V1 Engine

Build GitHub Repo Size in Bytes

Prerequisites

  • CMake. Can be C++ CMake Tools component of Visual Studio.
  • [windows] Visual Studio 2022 with v143+ platform toolset.

How to build

  • Use git clone --recurse-submodules
  • Run create_<GAME_NAME>_dev_<ARCH>.bat from Developer Command Prompt (Use x64 version for x64 CPU arch). See directory tree for supported games.
  • Open hl2_<ARCH>.sln.
  • Build.

How to debug

  • Ensure you placed hl2 / episodic / portal game into game folder near cloned repo.
  • Open <GAME_NAME>_<ARCH>.sln.
  • Set launcher_main project Command property to $(SolutionDir)..\game\hl2.exe.
  • Set launcher_main project Command Arguments property to -dxlevel 85 -windowed.
  • Set launcher_main project Working Directory property to $(SolutionDir)..\game\.
  • Use Set as Startup Project menu for launcher_main project.
  • Start debugging.

How to release

  • Ensure you placed hl2 / episodic / portal game into game folder near cloned repo.
  • Open <GAME_NAME>_<ARCH>.sln.
  • Choose Release Configuration.
  • Build.
  • game folder contains the ready game.

If you found a bug, please file it at https://github.com/Source-Authors/obsolete-source-engine/issues.

SAST Tools

PVS-Studio - static analyzer for C, C++, C#, and Java code.