No edit summary |
|||
Line 31: | Line 31: | ||
== Sample File == | == Sample File == | ||
This is a sample file: | This is a sample file: | ||
< | <syntaxhighlight lang="json"> | ||
{ | { | ||
"noUI": true, | "noUI": true, | ||
Line 62: | Line 62: | ||
] | ] | ||
} | } | ||
</ | </syntaxhighlight> | ||
== See Also == | == See Also == | ||
* [[Headless_Client/Configuration_File]] | * [[Headless_Client/Configuration_File]] |
Revision as of 07:56, 6 July 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
When launching Resonite, you can use a configuration file to edit some advanced features and settings that will control your Resonite session.
Usage
To use a config file you have two options.
Using the default Config file
If a file exists in the same directory as the main Resonite executeable(Resonite.exe), that is named "Config.json", it will be used.
Using a custom Config file
Start Resonite with the -EngineConfig
command line argument. Following the argument enter a space and then the file path to your config file. Example: -EngineConfig "C:\Cheese\cheese.json"
Configuration Properties
Property | Description |
---|---|
noUI | Identical to the -NoUI command line flag, hides any user space UI. |
inputs | allows you to tweak trigger dead zones and axis dead zones |
universeId | Specifies the UniverseId for this session |
disableDesktop | completely disabling the Desktop functionality in Resonite |
unsafeModeWhiteList | TODO |
autoStartWorlds | Identical to the "startWorlds" parameter of a headless session configuration |
Sample File
This is a sample file:
{
"noUI": true,
"disableDesktop": false,
"inputs": {
"triggerDeadZone": 0,
"axisDeadZone": 0
},
"universeId": "cheese",
"unsafeModeWhiteList":["a","b"],
"autoStartWorlds": [
{
"sessionName": "The Cheese Dimension",
"customSessionId": "cheese-dimension",
"description": "Cheese for all!",
"maxUsers": 32,
"accessLevel": "Anyone",
"hideFromPublicListing": false,
"tags": ["cheese", "dimension"],
"mobileFriendly": false,
"loadWorldUrl": "resrec:///U-Cheese/R-c59ca2b2-2239-492d-98ee-b37cefbb6ba7",
"loadWorldPresetName": "GridSpace",
"forcePort": 4020,
"keepOriginalRoles": true,
"defaultUserRoles": {
"CheeseLord": "Admin"
},
"awayKickMinutes": 5
}
]
}