rFactor 2 コマンドラインオプションの使用可否 一覧 v1128RC時点

CLI.txtに乗っているコマンドラインオプションのうち
どれが使えるかをまとめていきます。

情報求む

================================================================================

rFactor2 Main Application Executables

================================================================================
--------------------------------------------------------------------------------

Each command line parameter is listed here with the syntax and then a
description followed in parentheses by which modes it available:

  SP = Single Player
  MP = Multiplayer
  DEV = Developer (Mod Mode)
  DS = Dedicated Server

In addition, parameters which are not officially supported may also include the
word "unsupported" in parentheses.

今はゲーム内でsingle multiを決めるので、そこに関連するショートカットは使えない可能性が高い。

--------------------------------------------------------------------------------

 

トラブってる時に使うやつ

+trace=<level>(使用可)
Enables trace logging. (SP,MP,DEV,DS)
"rfactor 2/UserData/Log"にログファイルを作る。1~3の3段階。

+logtime (使用不可)
Adds time to trace log messages. (SP,MP,DEV,DS)
logファイルに時間を足す、とあるが変化はなかった。

+perfhud (使用不可)
Performance overlay for testing/debug. (SP,MP,DEV,unsupported)

+memstats
Display of some video memory statistics. (SP,MP,DEV,unsupported)

 

CPU関連

+procmask=<bitfield>
Allows user to specify processor affinity mask, using same bitfield as the
call SetProcessAffinityMask(). (SP,MP,DEV,DS)

+highprio
Sets the priority class of the app to high. (SP,MP,DEV,DS,unsupported)

+SimThreadPrio=<priority_level_value>
Sets the thread priority for the simulation thread. The default is "time
critical", anything lower can result in random latency spikes of over 30ms,
anything higher can result in your whole machine coming to a standstill.
(SP,MP,DEV,unsupported).

鯖(ホスト側)

+maxplayers <number>
Limits the maximum number of players that can join a race. (DS)

+port <number>
Set the multiplayer.json value "Simulation Port". (SP,MP,DS)

+path=<relative or absolute path>(使用可)
Informs the simulation of the location of data files required for proper
operation. (SP,MP,DEV,DS)

+multiple
Allows multiple instances of rFactor2 to run at the same time on the same
machine. (SP,MP,DEV,unsupported)

+testday
Configures the settings to run a test day. (SP,MP,DEV,unsupported)

+quickrace
+grandprix
Configures the settings to run a grand prix. (SP,MP,DEV,unsupported)

鯖(クライアント側)

+connect="<named server>"(使用不可)
+connect <url or address> (使用不可)
+autojoin="<named server>" (使用不可)
+autojoin <url or address> (使用不可)
These allow a multiplayer client to automatically join a server. Note that
+connect and +autojoin are equivalent. (MP)

鯖に入る用の設定のはずだが+connectではエラーが出て入れない。
+autojoinでは鯖に入らず普通に起動する。

+multiplayer(使用不可)
Selects multiplayer mode for the executable. (MP)
ありとなしで差はなく、まったく同じように起動する。

+pass=<password> (使用不可)
Password for online user. Required if attempting to start without using the
Launcher. Used in conjunction with +pass. (SP,MP,DS,unsupported)
+connectなどと合わせて使うものだが、+connectが使えないので入力する意味なし。

 

メインメニュー関連?

+uireset
Resets the UI to the default on load. (SP,MP,DEV,unsupported)

+mainmenu=<x>
Sets the main menu. (SP,MP,DEV,DS,unsupported)

+page=<name>
Name of the UI page to start on. (SP,MP,DEV,unsupported)

レースの設定関連

+spectate
-spectate
Turns on or off spectator mode. (MP,unsupported)

+vehicle "<name.veh>"
Selects vehicle to spectate. (MP,unsupported)

+scene "<name.scn>"
Selects track to load. (SP,MP,DEV,unsupported)

レース中の視点

+tvcockpit
Chooses TV cockpit as the starting view. If +spectate is specified, this refers
to the multiplayer starting view as opposed to the driving starting view. (SP,
MP,DEV,unsupported)

+cockpit
Chooses cockpit as the starting view. If +spectate is specified, this refers
to the multiplayer starting view as opposed to the driving starting view. (SP,
MP,DEV,unsupported)

+nosecam
Chooses nosecam as the starting view. If +spectate is specified, this refers
to the multiplayer starting view as opposed to the driving starting view. (SP,
MP,DEV,unsupported)

+swingman
Chooses swingman as the starting view. If +spectate is specified, this refers
to the multiplayer starting view as opposed to the driving starting view. (SP,
MP,DEV,unsupported)

+trackside
Chooses trackside as the starting view. If +spectate is specified, this refers
to the multiplayer starting view as opposed to the driving starting view. (SP,
MP,DEV,unsupported)

+onboard<x>
Chooses onboard camera <x> as the starting view. If +spectate is specified, this
refers to the multiplayer starting view as opposed to the driving starting view.
(SP,MP,DEV,unsupported)

devmode関連

+testbed
Starts a special testbed mode. (DEV,unsupported)

+pTool(使用可)
Starts a testbed mode with a chassis editor. (DEV,unsupported)
devmodeのショートカットにつけるとptoolを起動する。

+tTool(使用可)
Starts a testbed mode for tire testing. (DEV)
devmodeのショートカットにつけるとptoolを起動する。

+cTool(起動はする)
Starts a testbed mode for collision. (DEV,unsupported)
devmodeのショートカットにつけるとptoolを起動するが、
使い方の説明などはない。

+batch
Runs through a series of test batch files and outputs some results. (DEV,
unsupported)

+racedata
Enables the same output as +batch. (DEV,unsupported)

+autohdtest
Automatically presses the Race button and drives the player vehicle but without
human assistance. (DEV,unsupported)

+autotest
Automatically presses the Race button and toggles to AI control. (DEV,
unsupported)

+noplayer
Runs without a player vehicle. (SP,MP,DEV,unsupported)

+nosound
Runs without any sound. (SP,MP,DEV)

-detectliveries
Speeds up startup by never looking for vehicle skins. (DEV,unsupported)

+altosc
Load Dev options. (SP,MP,DEV,unsupported)

+assert
-assert
Turn on or off asserts (popup warnings that you can choose to debug or ignore).
(DEV,unsupported)

その他

+email=<email address>  
Email account of online user. Required if attempting to start without using the
Launcher. Used in conjunction with +pass. (SP,MP,DS,unsupported)

+hash=<value>
A hash value passed from the Launcher to the executable.

+publicid=<identifier>
Public identifier of a user's session. This is generated by the Launcher and
passed to the simulation at startup. (SP,MP)

+privateid=<identifier> 
Private identifier of a user's session. This is generated by the Launcher and
passed to the simulation at startup. (SP,MP)

+relaunched
Skips the splash screen (may be used in the case where the executable had to be
restarted by rF Config). (SP,MP,DEV,unsupported)

+demo
Runs the demo version. (SP)

 

分類中

+oneclick
+nowindow
These start a dedicated server quickly without going through the configuration
screens. +nowindow is the same as +oneclick except that it destroys all
windows (leaving only the process running). (DS)

+ui=<dedi_server_ui>
Sets the desired dedicated server UI. Choices are NONE/CONSOLE/WIN32. (DS,
unsupported)

+vmod=<vmod>
Which mod to use. (DS)

+rfm=<rfm>
Which RFM to use. (SP,MP,DEV,DS,unsupported)

+plrfile=<file>
Which player file to use. (DS)

+profile "<plrfile>"
Uses the specified player file. (SP,MP,DEV,DS,unsupported)

+config=<x>
Uses the specified config file. (SP,MP,DEV,unsupported)

+setup "<setupname.svm>"
Overrides the current vehicle setup for the player's vehicle. (SP,MP,DEV,
unsupported)