Build the Editor (Proton)
The Proton verison of the editor can be built in the following ways:
sbox-win-docker
The tool, by vinceTheProgrammer, sbox-wine-docker, simplifies the build process. It is meant to act as single command that can be used to build any instance of the sbox-public repo without needing to configure your build environment beyond installing Docker. The following steps can be used to build s&box from source using sbox-wine-docker:
- Ensure Docker is installed.
- Install
sbox-wine-docker:
sudo curl -L https://raw.githubusercontent.com/vinceTheProgrammer/sbox-wine-docker/refs/heads/main/sbox-build -o /usr/local/bin/sbox-build
sudo chmod +x /usr/local/bin/sbox-build
You should now have the sbox-build command.
- Clone the s&box source code:
git clone https://github.com/Facepunch/sbox-public.git
or any fork, provided it has the same structure as the official sbox-public repo.
- Navigate into the source code repo:
cd sbox-public
-
Run
sbox-buildand follow its prompts. -
Run
sbox-buildagain, whenever you need to rebuild after making changes.
Manually
[This is a stub, to be filled in with information at some point. If you would like to fill it out, feel free to make a PR]