ClientParameters

From Onset Developer Wiki
Revision as of 17:32, 15 July 2021 by Voltaism (talk | contribs) (add -logfunctioncalls)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This describes the game console parameters which can be set in Steam.

Switch Description
-dev Enables the development mode. Currently this enables file logging of Lua errors and more. File is to be found under %LocalAppData%\Onset\Saved\Logs\DevLog.txt
-cefdebug= Specifies a different CEF remote debugging port (Default port is 9222).
-ConnectAddress= Connects to a specific server by ip or hostname.
-ConnectPort= Specifies connect port.
-ConnectPassword= Specifies server password.
-dx12, -dx11 (default) Specifies DirectX RHI version.
-windowed Starts game in windowed mode.
-fullscreen Starts game in fullscreen mode.
-statunit Shows the unit graph.
-logfunctioncalls Log Lua function calls to the dev log. (requires -dev)

Client Folder Paths

Paths
Settings save files %LocalAppData%\Onset\Saved\SaveGames
Server files (client cache) %LocalAppData%\Onset\Saved\ServerContent
Game logs (Requires dev mode) %LocalAppData%\Onset\Saved\Logs
Crash dumps %LocalAppData%\Onset\Saved\Crashes
Custom pak files %LocalAppData%\Onset\Saved\PakFiles