ClientParameters: Difference between revisions

From Onset Developer Wiki
No edit summary
Voltaism (talk | contribs)
add -logfunctioncalls
 
(7 intermediate revisions by 2 users not shown)
Line 7: Line 7:
|-
|-
| -dev
| -dev
|Enables the development mode. Currently this enables file logging of Lua errors and more. File is to be found under %appdata%\..\Local\Onset\Saved\Logs\DevLog.txt
|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=
| -ConnectAddress=
Line 26: Line 29:
| -fullscreen
| -fullscreen
|Starts game in fullscreen mode.
|Starts game in fullscreen mode.
|-
| -statunit
|Shows the unit graph.
|-
| -logfunctioncalls
|Log Lua function calls to the dev log. (requires -dev)
|}
|}


Line 34: Line 43:
|-
|-
|Settings save files
|Settings save files
|%appdata%\..\Local\Onset\Saved\SaveGames
|%LocalAppData%\Onset\Saved\SaveGames
|-
|Server files (client cache)
|%LocalAppData%\Onset\Saved\ServerContent
|-
|-
|Game logs (Requires dev mode)
|Game logs (Requires dev mode)
|%appdata%\..\Local\Onset\Saved\Logs
|%LocalAppData%\Onset\Saved\Logs
|-
|-
|Crash dumps
|Crash dumps
|%appdata%\..\Local\Onset\Saved\Crashes
|%LocalAppData%\Onset\Saved\Crashes
|-
|Custom pak files
|%LocalAppData%\Onset\Saved\PakFiles
|}
|}

Latest revision as of 17:32, 15 July 2021

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