sbox-public README

README проекта с github.com/Facepunch/sbox-public. Одним файлом markdown: README.md.

s&box logo

Website | Getting Started | Forums | Documentation | Contributing

s&box

s&box is a modern game engine, built on Valve's Source 2 and the latest .NET technology, it provides a modern intuitive editor for creating games.

s&box editor

If your goal is to create games using s&box, please start with getting started guide. This repository is for building the engine from source for those who want to contribute to the development of the engine.

Getting the engine

Steam

You can download and install the s&box editor directly from Steam.

Compiling from source

This repository contains the C# engine, editor, tooling and game content. The native Source 2 core is distributed as prebuilt binaries that setup downloads for your platform, so no C++ toolchain is needed.

Platform Setup Notes
Windows 10 / 11 (x64) Setup.bat
Linux (x64) ./Setup.sh Binaries target the Steam Linux Runtime, most distros should work.
macOS (Apple Silicon) ./Setup.sh Intel Macs are not supported.

Prerequisites

Setup

# Clone the repo
git clone https://github.com/Facepunch/sbox-public.git
cd sbox-public

# Windows
Setup.bat

# Linux / macOS
./Setup.sh

Once setup completes, the game (sbox) and editor (sbox-dev.exe) run from the game folder.

Staying up to date

Pulling on Git will run a hook that fetches any new native binaries or content that changed and regenerates the interop bindings. Build the C# code from your IDE as usual, or rerun Setup.bat for a full incremental rebuild including shaders and content.

Contributing

If you would like to contribute to the engine, please see the contributing guide.

If you want to report bugs or request new features, see sbox-issues.

Documentation

Full documentation, tutorials, and API references are available at sbox.game/dev/.

License

The s&box engine source code is licensed under the MIT License.

Certain native binaries in game/bin are not covered by the MIT license. These binaries are distributed under the s&box EULA. You must agree to the terms of the EULA to use them.

This project includes third-party components that are separately licensed. Those components are not covered by the MIT license above and remain subject to their original licenses as indicated in game/thirdpartylegalnotices.

sbox-public (Facepunch/sbox-public)

Ищем в базе…

Что это такое?s&box — современный игровой движок, построенный на технологии Source 2 от Valve и последней версии .NET, с редактором для создания игр. Этот конкретный репозиторий содержит исходный код самого движка и предназначен для тех, кто хочет собирать или дорабатывать сам движок.
Что нужно установить, прежде чем я смогу его скомпилировать?Нужно установить Git, Visual Studio 2026 и .NET 10 SDK.
Есть ли способ просто пользоваться s&box, не компилируя его самостоятельно?Да — большинству людей стоит вообще пропустить этот репозиторий и просто скачать редактор s&box напрямую из Steam, а не собирать из исходников.
Можно ли собрать этот движок на Mac или Linux, или это только для Windows?Процесс сборки опирается на Visual Studio 2026 и скрипт Bootstrap.bat — оба инструмента специфичны для Windows, и других ОС не упоминается, поэтому сборка из исходников фактически возможна только в Windows.
Весь движок распространяется по одной открытой лицензии?Исходный код движка распространяется по лицензии MIT, но некоторые нативные бинарные файлы в game/bin подпадают под отдельное лицензионное соглашение s&box (EULA), с которым нужно согласиться, а часть сторонних компонентов сохраняет свои исходные лицензии.
Какая технология на самом деле лежит в основе s&box?Он сочетает движок Source 2 от Valve с современной технологией .NET: редактор получает основу для отрисовки и инструментов из Source 2, а также слой скриптов и игровой логики на базе .NET.
Где узнать, как на самом деле делать игры в s&box?Полная документация, учебные материалы и справочники по API для создания игр (а не для сборки движка) находятся на sbox.game/dev, отдельно от этого репозитория с исходным кодом.
Какие есть похожие проекты?MonoGame, project-hedra, bgfx, ArcadeMaker, Terrain3D, Chisel, BRUTAL, CircuitLordVRModInstaller
Автор
Facepunch
Размер
33.5 MB
Звёзды
6.5K
Обновлён
КоммитNov 18
Возраст
1 г
Коммиты · 90 дней