pretty sure it's resrec |
Marked this version for translation |
||
Line 1: | Line 1: | ||
<languages /> | |||
<translate> | |||
<!--T:1--> | <!--T:1--> | ||
Desktop builds of Resonite support several command line arguments. For most of these arguments you can use the Resonite Launcher to configure them in a more visual way and save them across launches. | Desktop builds of Resonite support several command line arguments. For most of these arguments you can use the Resonite Launcher to configure them in a more visual way and save them across launches. | ||
</translate> | |||
<!--T:24--> | <translate><!--T:24--> | ||
These command line arguments, can be useful in setting up [[Standalone Experiences]]. | These command line arguments, can be useful in setting up [[Standalone Experiences]].</translate> | ||
<translate>== Forcing specific hardware == <!--T:2--></translate> | |||
<!--T:3--> | <!--T:3--> | ||
* ''none'' - autodetect | * ''<translate>none</translate>'' - <translate>autodetect </translate> | ||
* '''-SteamVR''' - SteamVR | * '''-SteamVR''' - <translate>SteamVR</translate> | ||
* '''-RiftTouch''' - Oculus Rift + Touch controllers | * '''-RiftTouch''' - <translate>Oculus Rift + Touch controllers</translate> | ||
* '''-Screen''' - Screen mode (also called Desktop mode) | * '''-Screen''' <translate>- Screen mode (also called Desktop mode)</translate> | ||
* '''-Screen360''' - Screen mode (with 360 projection) | * '''-Screen360''' - <translate>Screen mode (with 360 projection)</translate> | ||
* '''-StaticCamera''' - non-interactive Camera Mode | * '''-StaticCamera''' - <translate>non-interactive Camera Mode</translate> | ||
* '''-StaticCamera360''' - non-interactive Camera Mode using 360 equirectangular rendering | * '''-StaticCamera360''' - <translate>non-interactive Camera Mode using 360 equirectangular rendering</translate> | ||
* '''-MixedRealityCamera''' - non-interactive Camera Mode using Mixed Reality rendering | * '''-MixedRealityCamera''' - <translate>non-interactive Camera Mode using Mixed Reality rendering</translate> | ||
* '''-LegacySteamVRInput''' - Force Legacy Steam VR Input Handling. Used as a work-around for some Steam VR devices that have a missing or bad hand skeletal model, such as Virtual Desktop used with the Oculus Quest. | * '''-LegacySteamVRInput''' - <translate>Force Legacy Steam VR Input Handling. Used as a work-around for some Steam VR devices that have a missing or bad hand skeletal model, such as Virtual Desktop used with the Oculus Quest.</translate> | ||
* '''-ForceSRAnipal''' - Force the SR Anipal SDK to initialize for HTC eye and lip tracking, even if Vive Pro Eye is not present. | * '''-ForceSRAnipal''' - <translate>Force the SR Anipal SDK to initialize for HTC eye and lip tracking, even if Vive Pro Eye is not present.</translate> | ||
* '''-LegacyScreen''' - Force Resonite to run in the old Desktop "debugging" mode. | * '''-LegacyScreen''' - <translate>Force Resonite to run in the old Desktop "debugging" mode.</translate> | ||
* '''-EnableOWO ''Insert_ip_address_here''''' - Enables the [https://owogame.com/ OWO Game haptic vest] integration, requires you pass in the vest's ip address. Currently not functional, see related [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/186 Github issue.] | * '''-EnableOWO ''Insert_ip_address_here''''' - <translate>Enables the [https://owogame.com/ OWO Game haptic vest] integration, requires you pass in the vest's ip address. Currently not functional, see related [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/186 Github issue.]</translate> | ||
== Joining sessions / Opening worlds == <!--T:4--> | <translate>== Joining sessions / Opening worlds == <!--T:4--></translate> | ||
<!--T:5--> | <!--T:5--> | ||
* '''-Join Auto''' - Automatically join and follow active sessions on LAN (will switch to world with most present users) | * '''-Join Auto''' - <translate>Automatically join and follow active sessions on LAN (will switch to world with most present users)</translate> | ||
* '''-Join ''Insert_URL_or_IP:Port_here''''' - Join a session at given URi (Resonite-session | lnl) | * '''-Join ''Insert_URL_or_IP:Port_here''''' - <translate>Join a session at given URi (Resonite-session | lnl)</translate> | ||
* '''-Open ''Insert_URL_here''''' - Open world at given URL on start (Resoniterec) | * '''-Open ''Insert_URL_here''''' - <translate>Open world at given URL on start (Resoniterec)</translate> | ||
* '''-Scratchspace ''Insert_port_here''''' - Starts a new scratchspace world on a given port (legacy, will be likely removed) | * '''-Scratchspace ''Insert_port_here''''' - <translate>Starts a new scratchspace world on a given port (legacy, will be likely removed)</translate> | ||
* '''-AnnounceHomeOnLAN''' - Home and [[Userspace]] will be accessible from LAN by default | * '''-AnnounceHomeOnLAN''' - <translate>Home and [[Userspace]] will be accessible from LAN by default</translate> | ||
* '''-Bootstrap ''Insert_bootstrap_class_here''''' - Run a custom [[Bootstrapping|bootstrap]] function in a class of given name | * '''-Bootstrap ''Insert_bootstrap_class_here''''' - <translate>Run a custom [[Bootstrapping|bootstrap]] function in a class of given name</translate> | ||
== Networking == <!--T:34--> | <translate>== Networking == <!--T:34--></translate> | ||
<!--T:35--> | <!--T:35--> | ||
* '''-ForceLANOnly''' - All worlds will be forced to announce only on the LAN network by default and won't be accessible from the internet | * '''-ForceLANOnly''' - <translate>All worlds will be forced to announce only on the LAN network by default and won't be accessible from the internet</translate> | ||
* '''-ForceRelay''' - Skips the [[Networking_Information#LNL|NAT Punchthrough process]] when connecting to a session, effectively forcing the use of the Relay Server | * '''-ForceRelay''' - <translate>Skips the [[Networking_Information#LNL|NAT Punchthrough process]] when connecting to a session, effectively forcing the use of the Relay Server</translate> | ||
* '''-UseLocalCloud''' - Uses local cloud API servers - used mostly for debugging | * '''-UseLocalCloud''' - <translate>Uses local cloud API servers - used mostly for debugging</translate> | ||
* '''-UseStagingCloud''' - Uses Staging API servers - used mostly for debugging | * '''-UseStagingCloud''' - <translate>Uses Staging API servers - used mostly for debugging</translate> | ||
== Drone Camera presets == <!--T:6--> | <translate>== Drone Camera presets == <!--T:6--></translate> | ||
<translate> | |||
<!--T:7--> | <!--T:7--> | ||
These initialize the static camera with a drone script, using a specific movement preset. | These initialize the static camera with a drone script, using a specific movement preset. | ||
</translate> | |||
<!--T:8--> | <!--T:8--> | ||
Line 51: | Line 57: | ||
<!--T:39--> | <!--T:39--> | ||
And also these args usable for Drone Camera. | <translate>And also these args usable for Drone Camera.</translate> | ||
* '''-UseResoniteCamera''' - Will spawn Static Camera as the Resonite Camera with zoom controls, preview and other functions | * '''-UseResoniteCamera''' - <translate>Will spawn Static Camera as the Resonite Camera with zoom controls, preview and other functions</translate> | ||
== Common Avatar Builder == <!--T:9--> | <translate>== Common Avatar Builder == <!--T:9--></translate> | ||
* '''-ForceNoVoice''' - CommonAvatarBuilder won't setup any avatars with voice (useful for local presentations) | * '''-ForceNoVoice''' - <translate>CommonAvatarBuilder won't setup any avatars with voice (useful for local presentations)</translate> | ||
== Data Folders == <!--T:40--> | <translate>== Data Folders == <!--T:40--></translate> | ||
Resonite has multiple [[Resonite Data Folders|Data Folders]], these have various command line arguments to control: | <translate>Resonite has multiple [[Resonite Data Folders|Data Folders]], these have various command line arguments to control:</translate> | ||
<!--T:43--> | <!--T:43--> | ||
* You can use [[Relocate Resonite Folders | command line arguments to move]] your data folders to other locations. | * <translate>You can use [[Relocate Resonite Folders | command line arguments to move]] your data folders to other locations.</translate> | ||
== Logs Folder == | <translate>== Logs Folder ==</translate> | ||
* '''-LogsPath''' ''C:\specified\directory'' - Redirect log files to be saved in a custom specified directory. | * '''-LogsPath''' ''<translate>C:\specified\directory</translate>'' - <translate>Redirect log files to be saved in a custom specified directory.</translate> | ||
== Synchronization Issues == <!--T:44--> | <translate>== Synchronization Issues == <!--T:44--></translate> | ||
* If you're having synchronization issues then see [[Sync Errors]] which has various guides on how to use command line arguments to resolve sync issues. | * <translate>If you're having synchronization issues then see [[Sync Errors]] which has various guides on how to use command line arguments to resolve sync issues.</translate> | ||
== Database Repair == <!--T:45--> | <translate>== Database Repair == <!--T:45--></translate> | ||
* If you're having database issues then [[Database repair]] is a guide on how to use a Command Line Argument to resolve the issue. | * <translate>If you're having database issues then [[Database repair]] is a guide on how to use a Command Line Argument to resolve the issue.</translate> | ||
== Post Processing == <!--T:41--> | <translate>== Post Processing == <!--T:41--></translate> | ||
* '''-ctaa''' - Enables ctaa (Cinematic Temporal Anti-Aliasing) | * '''-ctaa''' - <translate>Enables ctaa (Cinematic Temporal Anti-Aliasing)</translate> | ||
* '''-ctaaTemporalEdgePower ''Insert_Number_here''''' - Sets ctaa's TemporalEdgePower | * '''-ctaaTemporalEdgePower ''<translate>Insert_Number_here</translate>''''' - <translate>Sets ctaa's TemporalEdgePower</translate> | ||
* '''-ctaaSharpnessEnabled ''Insert_True_or_False_here''''' - Sets whether ctaa's Sharpness is Enabled | * '''-ctaaSharpnessEnabled ''<translate>Insert_True_or_False_here</translate>''''' - <translate>Sets whether ctaa's Sharpness is Enabled</translate> | ||
* '''-ctaaAptiveSharpness ''Insert_Number_here''''' - Sets ctaa's ctaaAptiveSharpness amount | * '''-ctaaAptiveSharpness ''<translate>Insert_Number_here</translate>''''' - <translate>Sets ctaa's ctaaAptiveSharpness amount</translate> | ||
== Misc == <!--T:10--> | <translate>== Misc == <!--T:10--></translate> | ||
* '''-Watchdog ''Insert_filepath_here''''' - Resonite will periodically write current time into given file. This can be used to restart the process when it freezes | * '''-Watchdog ''<translate>Insert_filepath_here</translate>''''' - <translate>Resonite will periodically write current time into given file. This can be used to restart the process when it freezes</translate> | ||
* '''-LoadAssembly ''Insert_path_here''''' - Loads extra CLR assembly into the Resonite process | * '''-LoadAssembly ''<translate>Insert_path_here</translate>''''' - <translate>Loads extra CLR assembly into the Resonite process</translate> | ||
* '''-Kiosk''' - Will run Resonite in Kiosk mode (hides the [[Userspace]] items such as logo and world switcher and disables teleporting for guests by default) | * '''-Kiosk''' - <translate>Will run Resonite in Kiosk mode (hides the [[Userspace]] items such as logo and world switcher and disables teleporting for guests by default)</translate> | ||
* '''-NoUI''' - Hides the [[Userspace]] UI | * '''-NoUI''' - <translate>Hides the [[Userspace]] UI</translate> | ||
* '''-CubemapResolution ''Insert_resolution_here''''' - Force the 360 equirectangular rendering to use this resolution for the cubemap | * '''-CubemapResolution ''<translate>Insert_resolution_here</translate>''''' - <translate>Force the 360 equirectangular rendering to use this resolution for the cubemap</translate> | ||
* '''-DoNotAutoLoadHome''' - Wont' automatically load your cloud home on start (can still load manually) | * '''-DoNotAutoLoadHome''' - <translate>Wont' automatically load your cloud home on start (can still load manually)</translate> | ||
* '''-ResetDash''' - Resets the layout of the dash to the default configuration. | * '''-ResetDash''' - <translate>Resets the layout of the dash to the default configuration.</translate> | ||
* '''-SkipIntroTutorial''' - Prevents the intro tutorial from starting | * '''-SkipIntroTutorial''' - <translate>Prevents the intro tutorial from starting</translate> | ||
* '''-Forceintrotutorial''' - Forces the intro tutorial to run | * '''-Forceintrotutorial''' - <translate>Forces the intro tutorial to run</translate> | ||
* '''-Invisible''' - Force your online status to be invisible on login. | * '''-Invisible''' - <translate>Force your online status to be invisible on login.</translate> | ||
* '''-EngineConfig ''Insert_filepath_here''''' - Specifies a custom [[Startup Config File|config file]]. | * '''-EngineConfig ''<translate>Insert_filepath_here</translate>''''' - <translate>Specifies a custom [[Startup Config File|config file]].</translate> | ||
* '''-BackgroundWorkers ''Insert_number_here''''' - overrides the number of background worker processes. '''WARNING:''' Don't use this unless you really need to, things could break! | * '''-BackgroundWorkers ''<translate>Insert_number_here</translate>''''' - <translate>overrides the number of background worker processes. '''WARNING:''' Don't use this unless you really need to, things could break!</translate> | ||
* '''-PriorityWorkers ''Insert_number_here''''' - overrides the number of priority worker processes. '''WARNING:''' Don't use this unless you really need to, things could break! | * '''-PriorityWorkers ''<translate>Insert_number_here</translate>''''' - <translate>overrides the number of priority worker processes. '''WARNING:''' Don't use this unless you really need to, things could break!</translate> | ||
* '''-ForceReticleAboveHorizon''' - Disallows looking below the Horizon for desktop when in first person by default. | * '''-ForceReticleAboveHorizon''' - <translate>Disallows looking below the Horizon for desktop when in first person by default.</translate> | ||
== Resonite Custom Protocol Handler (Steam only) == <!--T:11--> | <translate>== Resonite Custom Protocol Handler (Steam only) == <!--T:11--></translate> | ||
<translate> | |||
<!--T:16--> | <!--T:16--> | ||
Resonite registers a custom protocol handler with your computer on installation. You can use this to create links which will open Resonite to a set location or world when they are clicked. These arguments are given to the Resonite launcher, which will make sure Resonite is launched and running and forward them to the running instance. | Resonite registers a custom protocol handler with your computer on installation. You can use this to create links which will open Resonite to a set location or world when they are clicked. These arguments are given to the Resonite launcher, which will make sure Resonite is launched and running and forward them to the running instance. | ||
</translate> | |||
<!--T:13--> | <!--T:13--> | ||
* '''Resonite:?world=''Insert_URL_here''''' - Open a world or session at given URL | * '''Resonite:?world=''<translate>Insert_URL_here</translate>''''' - <translate>Open a world or session at given URL</translate> | ||
** For example '''Resonite:?world=resrec:///U-ProbablePrime/R-9ce872e1-ffb8-4194-bb91-3d3ab5f157a1''' - Will Open "The Directory" by ProbablePrime | ** <translate>For example '''Resonite:?world=resrec:///U-ProbablePrime/R-9ce872e1-ffb8-4194-bb91-3d3ab5f157a1''' - Will Open "The Directory" by ProbablePrime</translate> | ||
** And for Sessions '''Resonite:?world=Resonite-session://eea1442e-0ff2-4d6a-ad16-2dac9ea786fc''' will join session eea1442e-0ff2-4d6a-ad16-2dac9ea786fc | ** <translate>And for Sessions '''Resonite:?world=Resonite-session://eea1442e-0ff2-4d6a-ad16-2dac9ea786fc''' will join session eea1442e-0ff2-4d6a-ad16-2dac9ea786fc</translate> | ||
The URL of a world can be accessed by opening the inspector for a world orb and navigating to the WorldOrb component or by using the Session menu's "Copy Record URL" button: | <translate>The URL of a world can be accessed by opening the inspector for a world orb and navigating to the WorldOrb component or by using the Session menu's "Copy Record URL" button:</translate> | ||
<translate> | |||
<!--T:17--> | <!--T:17--> | ||
[[File:CopyRecordUrlButton.png|600px|Dashboard on the "Session" tab and the "Settings" selected with the button "Copy Record URL" highlighted]] | [[File:CopyRecordUrlButton.png|600px|Dashboard on the "Session" tab and the "Settings" selected with the button "Copy Record URL" highlighted]] | ||
</translate> | |||
<translate> | |||
<!--T:18--> | <!--T:18--> | ||
The URL field can be selected by double clicking into the field. The URL text can be copied to the Windows clipboard via Ctrl+C. | The URL field can be selected by double clicking into the field. The URL text can be copied to the Windows clipboard via Ctrl+C. | ||
</translate> | |||
<translate> | |||
<!--T:36--> | <!--T:36--> | ||
When linking to a world on a platform that restricts the clickability protocol handlers, you can use the redirect junction located at '''https://api.resonite.com/open/''' instead. They will redirect to use the above Resonite: protocol handler. | When linking to a world on a platform that restricts the clickability protocol handlers, you can use the redirect junction located at '''https://api.resonite.com/open/''' instead. They will redirect to use the above Resonite: protocol handler. | ||
</translate> | |||
<translate> | |||
<!--T:37--> | <!--T:37--> | ||
* '''https://api.resonite.com/open/world/''Insert_ID_here''''' - Open a world at given URL | * '''https://api.resonite.com/open/world/''Insert_ID_here''''' - Open a world at given URL | ||
** For example '''https://api.resonite.com/open/world/U-ProbablePrime/R-9ce872e1-ffb8-4194-bb91-3d3ab5f157a1''' - Will Open "The Directory" by ProbablePrime | ** For example '''https://api.resonite.com/open/world/U-ProbablePrime/R-9ce872e1-ffb8-4194-bb91-3d3ab5f157a1''' - Will Open "The Directory" by ProbablePrime | ||
</translate> | |||
<translate> | |||
<!--T:38--> | <!--T:38--> | ||
* '''https://api.resonite.com/open/session/''Insert_ID_here''''' - Open a session at given URL | * '''https://api.resonite.com/open/session/''Insert_ID_here''''' - Open a session at given URL | ||
** For example '''https://api.resonite.com/open/session/S-eea1442e-0ff2-4d6a-ad16-2dac9ea786fc''' will join session S-eea1442e-0ff2-4d6a-ad16-2dac9ea786fc | ** For example '''https://api.resonite.com/open/session/S-eea1442e-0ff2-4d6a-ad16-2dac9ea786fc''' will join session S-eea1442e-0ff2-4d6a-ad16-2dac9ea786fc | ||
</translate> | |||
== Unity Standalone Player command line arguments == <!--T:14--> | <translate>== Unity Standalone Player command line arguments == <!--T:14--></translate> | ||
<!--T:15--> | <!--T:15--> | ||
The [https://docs.unity3d.com/Manual/CommandLineArguments.html Unity Standalone Player command line arguments] can be useful for setting a specific resolution, or the windowed mode. | <translate>The [https://docs.unity3d.com/Manual/CommandLineArguments.html Unity Standalone Player command line arguments] can be useful for setting a specific resolution, or the windowed mode.</translate> | ||
* '''-screen-fullscreen 0''' - Launch Resonite in a window. | * '''-screen-fullscreen 0''' - <translate>Launch Resonite in a window.</translate> | ||
* '''-screen-fullscreen 1''' - Launch Resonite in full-screen. | * '''-screen-fullscreen 1''' - <translate>Launch Resonite in full-screen.</translate> | ||
* '''-screen-width''' - Sets the horizontal resolution. | * '''-screen-width''' - <translate>Sets the horizontal resolution.</translate> | ||
* '''-screen-height''' - Sets the vertical resolution. | * '''-screen-height''' - <translate>Sets the vertical resolution.</translate> | ||
Example: If you use <code>-screen-fullscreen 0 -screen-width 1280 -screen-height 720</code> Resonite will launch in a 1280x720 window. | <translate>Example: If you use <code>-screen-fullscreen 0 -screen-width 1280 -screen-height 720</code> Resonite will launch in a 1280x720 window.</translate> | ||
== How to use command line arguments == <!--T:25--> | <translate>== How to use command line arguments == <!--T:25--> </translate> | ||
<translate> | |||
<!--T:26--> | <!--T:26--> | ||
Below are three methods for launching Resonite using non-default command line arguments. Each example explains how to combine the '''-Invisible''' and '''-CachePath ''Insert_path_here''''' commands. Here the examples show how to specify a non-default cache location at <code>D:\Temporary files\ResoniteCache\</code>. '''DO NOT COPY THIS EXAMPLE IF YOU DO NOT NEED TO DO THIS!''' Choosing the best method to use depends on how you normally launch Resonite. For most users, the setup described in [[#Launching from Steam]] is likely the best choice. | Below are three methods for launching Resonite using non-default command line arguments. Each example explains how to combine the '''-Invisible''' and '''-CachePath ''Insert_path_here''''' commands. Here the examples show how to specify a non-default cache location at <code>D:\Temporary files\ResoniteCache\</code>. '''DO NOT COPY THIS EXAMPLE IF YOU DO NOT NEED TO DO THIS!''' Choosing the best method to use depends on how you normally launch Resonite. For most users, the setup described in [[#Launching from Steam]] is likely the best choice. | ||
</translate> | |||
=== Launching from Steam === <!--T:27--> | <translate>=== Launching from Steam === <!--T:27--></translate> | ||
{{SteamCommandLineArguments}} | <translate>{{SteamCommandLineArguments}}</translate> | ||
=== For the Standalone build === <!--T:42--> | <translate>=== For the Standalone build === <!--T:42--></translate> | ||
{{StandaloneCommandLineArguments}} | <translate>{{StandaloneCommandLineArguments}}</translate> |
Revision as of 02:34, 6 February 2024
Desktop builds of Resonite support several command line arguments. For most of these arguments you can use the Resonite Launcher to configure them in a more visual way and save them across launches.
These command line arguments, can be useful in setting up Standalone Experiences.
Forcing specific hardware
- none - autodetect
- -SteamVR - SteamVR
- -RiftTouch - Oculus Rift + Touch controllers
- -Screen - Screen mode (also called Desktop mode)
- -Screen360 - Screen mode (with 360 projection)
- -StaticCamera - non-interactive Camera Mode
- -StaticCamera360 - non-interactive Camera Mode using 360 equirectangular rendering
- -MixedRealityCamera - non-interactive Camera Mode using Mixed Reality rendering
- -LegacySteamVRInput - Force Legacy Steam VR Input Handling. Used as a work-around for some Steam VR devices that have a missing or bad hand skeletal model, such as Virtual Desktop used with the Oculus Quest.
- -ForceSRAnipal - Force the SR Anipal SDK to initialize for HTC eye and lip tracking, even if Vive Pro Eye is not present.
- -LegacyScreen - Force Resonite to run in the old Desktop "debugging" mode.
- -EnableOWO Insert_ip_address_here - Enables the OWO Game haptic vest integration, requires you pass in the vest's ip address. Currently not functional, see related Github issue.
Joining sessions / Opening worlds
- -Join Auto - Automatically join and follow active sessions on LAN (will switch to world with most present users)
- -Join Insert_URL_or_IP:Port_here - Join a session at given URi (Resonite-session | lnl)
- -Open Insert_URL_here - Open world at given URL on start (Resoniterec)
- -Scratchspace Insert_port_here - Starts a new scratchspace world on a given port (legacy, will be likely removed)
- -AnnounceHomeOnLAN - Home and Userspace will be accessible from LAN by default
- -Bootstrap Insert_bootstrap_class_here - Run a custom bootstrap function in a class of given name
Networking
- -ForceLANOnly - All worlds will be forced to announce only on the LAN network by default and won't be accessible from the internet
- -ForceRelay - Skips the NAT Punchthrough process when connecting to a session, effectively forcing the use of the Relay Server
- -UseLocalCloud - Uses local cloud API servers - used mostly for debugging
- -UseStagingCloud - Uses Staging API servers - used mostly for debugging
Drone Camera presets
These initialize the static camera with a drone script, using a specific movement preset.
- -CameraBiggestGroup
- -CameraTimelapse
- -CameraStayBehind
- -CameraStayInFront
And also these args usable for Drone Camera.
- -UseResoniteCamera - Will spawn Static Camera as the Resonite Camera with zoom controls, preview and other functions
Common Avatar Builder
- -ForceNoVoice - CommonAvatarBuilder won't setup any avatars with voice (useful for local presentations)
Data Folders
Resonite has multiple Data Folders, these have various command line arguments to control:
- You can use command line arguments to move your data folders to other locations.
Logs Folder
- -LogsPath C:\specified\directory - Redirect log files to be saved in a custom specified directory.
Synchronization Issues
- If you're having synchronization issues then see Sync Errors which has various guides on how to use command line arguments to resolve sync issues.
Database Repair
- If you're having database issues then Database repair is a guide on how to use a Command Line Argument to resolve the issue.
Post Processing
- -ctaa - Enables ctaa (Cinematic Temporal Anti-Aliasing)
- -ctaaTemporalEdgePower Insert_Number_here - Sets ctaa's TemporalEdgePower
- -ctaaSharpnessEnabled Insert_True_or_False_here - Sets whether ctaa's Sharpness is Enabled
- -ctaaAptiveSharpness Insert_Number_here - Sets ctaa's ctaaAptiveSharpness amount
Misc
- -Watchdog Insert_filepath_here - Resonite will periodically write current time into given file. This can be used to restart the process when it freezes
- -LoadAssembly Insert_path_here - Loads extra CLR assembly into the Resonite process
- -Kiosk - Will run Resonite in Kiosk mode (hides the Userspace items such as logo and world switcher and disables teleporting for guests by default)
- -NoUI - Hides the Userspace UI
- -CubemapResolution Insert_resolution_here - Force the 360 equirectangular rendering to use this resolution for the cubemap
- -DoNotAutoLoadHome - Wont' automatically load your cloud home on start (can still load manually)
- -ResetDash - Resets the layout of the dash to the default configuration.
- -SkipIntroTutorial - Prevents the intro tutorial from starting
- -Forceintrotutorial - Forces the intro tutorial to run
- -Invisible - Force your online status to be invisible on login.
- -EngineConfig Insert_filepath_here - Specifies a custom config file.
- -BackgroundWorkers Insert_number_here - overrides the number of background worker processes. WARNING: Don't use this unless you really need to, things could break!
- -PriorityWorkers Insert_number_here - overrides the number of priority worker processes. WARNING: Don't use this unless you really need to, things could break!
- -ForceReticleAboveHorizon - Disallows looking below the Horizon for desktop when in first person by default.
Resonite Custom Protocol Handler (Steam only)
Resonite registers a custom protocol handler with your computer on installation. You can use this to create links which will open Resonite to a set location or world when they are clicked. These arguments are given to the Resonite launcher, which will make sure Resonite is launched and running and forward them to the running instance.
- Resonite:?world=Insert_URL_here - Open a world or session at given URL
- For example Resonite:?world=resrec:///U-ProbablePrime/R-9ce872e1-ffb8-4194-bb91-3d3ab5f157a1 - Will Open "The Directory" by ProbablePrime
- And for Sessions Resonite:?world=Resonite-session://eea1442e-0ff2-4d6a-ad16-2dac9ea786fc will join session eea1442e-0ff2-4d6a-ad16-2dac9ea786fc
The URL of a world can be accessed by opening the inspector for a world orb and navigating to the WorldOrb component or by using the Session menu's "Copy Record URL" button:
The URL field can be selected by double clicking into the field. The URL text can be copied to the Windows clipboard via Ctrl+C.
When linking to a world on a platform that restricts the clickability protocol handlers, you can use the redirect junction located at https://api.resonite.com/open/ instead. They will redirect to use the above Resonite: protocol handler.
- https://api.resonite.com/open/world/Insert_ID_here - Open a world at given URL
- For example https://api.resonite.com/open/world/U-ProbablePrime/R-9ce872e1-ffb8-4194-bb91-3d3ab5f157a1 - Will Open "The Directory" by ProbablePrime
- https://api.resonite.com/open/session/Insert_ID_here - Open a session at given URL
- For example https://api.resonite.com/open/session/S-eea1442e-0ff2-4d6a-ad16-2dac9ea786fc will join session S-eea1442e-0ff2-4d6a-ad16-2dac9ea786fc
Unity Standalone Player command line arguments
The Unity Standalone Player command line arguments can be useful for setting a specific resolution, or the windowed mode.
- -screen-fullscreen 0 - Launch Resonite in a window.
- -screen-fullscreen 1 - Launch Resonite in full-screen.
- -screen-width - Sets the horizontal resolution.
- -screen-height - Sets the vertical resolution.
Example: If you use -screen-fullscreen 0 -screen-width 1280 -screen-height 720
Resonite will launch in a 1280x720 window.
How to use command line arguments
Below are three methods for launching Resonite using non-default command line arguments. Each example explains how to combine the -Invisible and -CachePath Insert_path_here commands. Here the examples show how to specify a non-default cache location at D:\Temporary files\ResoniteCache\
. DO NOT COPY THIS EXAMPLE IF YOU DO NOT NEED TO DO THIS! Choosing the best method to use depends on how you normally launch Resonite. For most users, the setup described in #Launching from Steam is likely the best choice.
Launching from Steam
- Open Steam
- Right click on Resonite in your library
- Select "Properties" and then "Set Launch Options".
- Enter the command you need to use, exactly as it appears above and Run Resonite.
Now, if Resonite is launched via Steam, the custom command line arguments will take effect.
Commands entered via this method will not take effect if Resonite is launched any other way, such as directly launching the Resonite.exe.
For the Standalone build
Use a shortcut
It is possible to use launch commands via a custom shortcut targeting the Resonite.exe file.
To create a shortcut:
- Find the Resonite install folder and right-click on the Resonite.exe.
- In the context menu click 'Create Shortcut'
- Move the 'Resonite.exe - Shortcut' file to somewhere more convenient (such as the Desktop).
- Right-click on the shortcut file and click 'Properties' in the context menu.
- This opens a dialog window. Select the 'Shortcut' tab.
- In the 'Target' text box add a space after the Resonite.exe filepath and then add your command line arguments.
- Click 'Apply' and 'OK'.
Now, if Resonite is launched by double clicking on the shortcut it will launch using the custom options. These will not be applied if a different method is used to start Resonite.