This guide is designed to achieve the highest possible performance in s&box by disabling as many graphical effects and rendering options as possible.
To automate the process and avoid entering commands manually every time you launch the game, we will create a configuration file that will automatically apply all selected settings.
You don't have to use all the commands. Choose only the ones you need and experiment with them.
All commands are divided into two categories:
Un-cheated configuration that do not requiresv_cheats 1
Cheated configuration that requiresv_cheats 1
Commands without sv_cheats will work in any game, both in singleplayer and multiplayer. Commands that require will only work singleplayer or on servers where cheats are enabled.
Creating the Configuration
Make a new text file with the .cfg extension in the sbox/core/cfg directory
Use only Latin characters in the file name. Use underscores (_) instead of spaces. Example: low_graphics.cfg, low.cfg
Important: Make sure file name extensions are visible In Windows 11 File Explorer: View tab → Show → check File name extensions
After creating the file, open it with any text editor and paste the desired commands.