Osiris stores all settings in a JSON configuration file namedDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/danielkrupinski/Osiris/llms.txt
Use this file to discover all available pages before exploring further.
default.cfg. This file is automatically created the first time you change a setting.
File Location
Configuration files are stored in platform-specific directories:Windows
Linux
File Format
The configuration file uses JSON format with a hierarchical structure. Here’s an example:Data Types
Boolean Values
Most toggles are stored astrue or false:
Unsigned Integers
Numeric values are stored as integers:- Color modes:
0,1,2,3(representing dropdown options) - Hue values:
0to359(degrees on the color wheel) - FOV values:
40to90(viewmodel field of view)
Buffer Size
The configuration system uses a 4096-byte buffer for file operations. Config files must fit within this limit. The current schema comfortably fits within this constraint.Atomic Writes
To prevent corruption, Osiris uses atomic file writes:- Configuration is written to
default.cfg.new - The temporary file is renamed to
default.cfg - The rename operation is atomic at the OS level
Manual Editing
You can manually edit the config file with a text editor, but:- Ensure the JSON syntax is valid
- Use correct data types for each field
- Keep numeric values within valid ranges
- The file will be overwritten when you change settings in the GUI