About this project
s&box is a modern game engine built on Valve's Source 2 engine and the latest .NET technology. It provides a modern, intuitive editor for creating games, with the engine, editor, tooling, and game content written in C#. The native Source 2 core is distributed as prebuilt binaries, eliminating the need for a C++ toolchain.
The engine can be obtained directly from Steam or compiled from source. Source compilation supports Windows 10/11 (x64), Linux (x64, targeting Steam Linux Runtime), and macOS (Apple Silicon only). Prerequisites include Git, .NET 10 SDK, and a recommended IDE such as Visual Studio 2026 or Rider on Windows, and Rider or VS Code on Linux and macOS.
The repository includes setup scripts (Setup.bat for Windows, Setup.sh for Linux/macOS) that fetch native binaries, content, and generate interop bindings. After setup, the game (sbox) and editor (sbox-dev.exe) run from the game folder. A git hook automatically fetches updated native binaries and content on pull.
The engine source code is licensed under the MIT License, though certain native binaries in game/bin fall under the s&box EULA. Third-party components retain their original licenses as noted in game/thirdpartylegalnotices. Full documentation, tutorials, and API references are available at sbox.game/dev/. Contributions are welcome via the contributing guide, and bugs or feature requests can be filed on the GitHub issues page.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.