Both sides previous revisionPrevious revisionNext revision | Previous revision |
notes:game_command-line_arguments [2020/07/14 12:27] – Sean Rhone | notes:game_command-line_arguments [2024/03/09 22:30] (current) – Sean Rhone |
---|
| ====== Engines ====== |
| |
| ===== Unity ===== |
| |
| * https://docs.unity3d.com/Manual/PlayerCommandLineArguments.html |
| |
| * Most flags apply to any games/programs using Unity engine ((such as [[#djmax_respect_v|DJMAX RESPECT V]] and [[#zeniththe_last_city|Zenith: The Last City]])) |
| * ''-nolog'' is generally safe |
| * :!: Forcing D3D12 or Vulkan is expected to crash most applications that don't explicitly support it |
| |
| <code>-nolog</code> |
| |
====== Steam ====== | ====== Steam ====== |
| |
===== Half-Life: Alyx ===== | * [[https://steamcommunity.com/discussions/forum/0/1743342647556802646/#c1743342647559141217|-fulldesktopres]] |
| * [[https://steamcommunity.com/discussions/forum/1/1735465524702746586/#c1735465524702796023|-silent]] |
| * Add to desktop Steam shortcut as ''Steam.exe -fulldesktopres -silent'' |
| * ''-fulldesktopres'' allows Big Picture mode to use the full desktop resolution, specifically anything above 1080p |
| * ''-silent'' starts Steam up silently without any log-in prompts, and starts it in the system tray |
| |
* https://www.pcgamingwiki.com/wiki/Half-Life:_Alyx | <code>-fulldesktopres -silent</code> |
| |
* No MSAA | ===== Autostart ===== |
* Auto-graphics disabled | |
* Spectator window CV1 resolution divided by 4 | |
| |
<code>-console -vconsole +vr_msaa 0 +vr_fidelity_level_auto 0 +vr_fidelity_level 3 -w 270 -h 300</code> | **** |
| |
<code>-vulkan</code> | <code> |
| %appdata%\Microsoft\Windows\Start Menu\Programs\Startup</code> |
| |
| ====== Age of Empires II: Definitive Edition ====== |
| |
| **** |
| |
| <code>SKIPINTRO DEBUGSPEEDS</code> |
| |
| ====== American Truck Simulator ====== |
| |
| * [[https://steamdb.info/app/270880/config/|SteamDB]] |
| |
| <code>-nointro</code> |
| |
| ===== Oculus ===== |
| |
| * :!: ''-oculus'' requires the ''oculus'' Beta branch |
| * :!: Don't use with ALVR or Virtual Desktop |
| |
| <code>-oculus -nointro</code> |
| |
| ====== Beat Saber ====== |
| |
| * :!: This is required to use native Oculus mode for Beat Saber on Steam |
| * :!: Don't use with ALVR or Virtual Desktop |
| |
| <code>-vrmode oculus -nolog</code> |
| |
| ====== Blade & Sorcery ====== |
| |
| * [[https://steamdb.info/app/629730/config/|SteamDB]] |
| * :!: Don't use with ALVR or Virtual Desktop |
| |
| <code>-vrmode Oculus -nolog</code> |
| |
| ====== DJMAX RESPECT V ====== |
| |
| * 2024/02/02: ''-force-d3d12'' is reported to work but caused DJMAX to crash on-start on Intel UHD 630 |
| |
| <code>-nolog -window-mode exclusive -no-stereo-rendering -force-d3d11 -force-d3d11-bitblt-model</code> |
| |
| ====== Dota 2 ====== |
| |
| * https://dota2.fandom.com/wiki/Launch_Options |
| * 2023: The default D3D11 mode randomly crashes on Intel UHD 630, but Vulkan seems fine |
| * :!: 2024/03/08: Dota 2 crashes randomly even on Vulkan on Intel UHD 630 |
| |
| <code>-autoconfig</code> |
| |
| <code>-vulkan -vulkan_disable_steam_shader_cache -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings</code> |
| |
| ===== Linux ===== |
| |
| * 2023: Disabling GPL seemingly stops random crashing on Intel UHD 630 |
| * :!: 2024/02/09: ''ANV_NO_GPL=1'' was required to stop frequent GPU crashing at the main menu |
| * :!: 2024/03/08: Dota 2 still had random crashing in-game with ''ANV_NO_GPL=1'' and ''-vulkan_disable_graphics_pipeline_library'' and isn't playable; stick with Dota 1 and [[games:wine:warcraft_3|Warcraft III]] |
| |
| <code>ANV_NO_GPL='1' %command% -vulkan_disable_steam_shader_cache -vulkan_disable_graphics_pipeline_library -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings</code> |
| |
| <code>-autoconfig</code> |
| |
| ====== Guild Wars ====== |
| |
| * https://wiki.guildwars.com/wiki/Command_line_arguments |
| |
| <code>-lodfull -dsound -email x -password x -character "x"</code> |
| |
| ===== Linux ===== |
| |
| * Expects [[https://github.com/ChthonVII/dsoal-GW1|DSOAL-GW1]] to be installed |
| |
| <code>RADV_TEX_ANISO='16' WINEDLLOVERRIDES='dsound=n' %command% -lodfull -dsound -email x -password x -character "x"</code> |
| |
| ====== Guild Wars 2 ====== |
| |
| * https://wiki.guildwars2.com/wiki/Command_line_arguments |
| |
| <code>-provider Portal -autologin</code> |
| |
| <code>-image</code> |
| |
| ====== Half-Life: Alyx ====== |
| |
| * [[https://www.pcgamingwiki.com/wiki/Half-Life:_Alyx|PCGamingWiki]] |
| |
| * 2x MSAA |
| * Vulkan |
| * Spectator window disabled |
| |
| <code>-console -vulkan -vconsole +vr_msaa 2 +vr_fidelity_level_auto 0 +vr_fidelity_level 3 -nowindow</code> |
| |
| ===== Other ====== |
| |
<code>+volume_fog_disable 1</code> | <code>+volume_fog_disable 1</code> |
| |
<code>-novid</code> | ====== Old School RuneScape ====== |
| |
===== Blade & Sorcery ===== | ===== Linux ===== |
| |
* https://steamdb.info/app/629730/config/ | * Add as launch option in Steam (see [[games:wine:old_school_runescape_jagex_launcher_c|these notes]] for non-Steam) |
| * :!: ''MESA_LOADER_DRIVER_OVERRIDE'' and ''MESA_VK_WSI_PRESENT_MODE'' are needed if using Wayland to workaround an odd FPS limit |
| * ''PULSE_LATENCY_MSEC'' is needed to prevent audio glitches |
| |
<code>-vrmode Oculus</code> | <code>MESA_LOADER_DRIVER_OVERRIDE='zink' MESA_VK_WSI_PRESENT_MODE='immediate' </code> |
| |
===== Beat Saber ===== | <code>PULSE_LATENCY_MSEC='400' %command%</code> |
| |
**** | ====== Path of Exile ====== |
| |
<code>-vrmode oculus</code> | * [[https://pathofexile.gamepedia.com/Launch_options|Path of Exile Wiki]] |
| |
===== Pavlov VR ===== | <code>--nologo --waitforpreload</code> |
| |
* https://steamdb.info/app/555160/config/ | ====== Pavlov VR ====== |
| |
| * [[https://steamdb.info/app/555160/config/|SteamDB]] |
| * :!: Don't use with ALVR or Virtual Desktop |
| |
<code>-OculusNative</code> | <code>-OculusNative</code> |
| |
===== Non-Steam ===== | ====== Project CARS 3 ====== |
| |
====== StarCraft II ====== | * https://steamcommunity.com/app/958400/discussions/0/2952628008343704603/#c2952629278006826550 |
| |
* [[Battle.net Launcher URIs|notes:battle.net_launcher_uris]] | <code>-nocrowds</code> |
| |
<code>C:\Program Files (x86)\Battle.net\Battle.net Launcher.exe</code> | ====== Non-Steam ====== |
| |
<code>StarCraft II</code> | ===== Diablo (DevilutionX) ===== |
| |
<code>--exec="launch S2"</code> | <code>"C:\Program Files\devilutionx\devilutionx.exe"</code> |
| |
====== legendary ====== | <code>Diablo</code> |
| |
* https://github.com/derrod/legendary | ===== osu! ===== |
| |
==== Main ==== | <code>"%localappdata%\osulazer\osu!.exe"</code> |
| |
<code>legendary.exe auth</code> | <code>osu!</code> |
| |
<code>legendary.exe list-games</code> | ===== Battle.net ===== |
| |
===== Grand Theft Auto V ===== | * See [[notes:battle.net_launcher_uris|Battle.net Launcher URIs]] |
| |
<code>legendary.exe import-game "9d2d0eb64d5c44529cece33fe2a46482" "GTAV"</code> | ===== EA App ===== |
| |
<code>legendary.exe verify-game "9d2d0eb64d5c44529cece33fe2a46482"</code> | ==== STAR WARS: Squadrons ==== |
| |
<code>legendary.exe repair "9d2d0eb64d5c44529cece33fe2a46482"</code> | <code>"C:\Program Files\EA Games\STAR WARS Squadrons\starwarssquadrons.exe"</code> |
| |
<code>legendary.exe install "9d2d0eb64d5c44529cece33fe2a46482" --update-only</code> | <code>STAR WARS™: Squadrons</code> |
| |
<code>legendary.exe launch "9d2d0eb64d5c44529cece33fe2a46482"</code> | ===== Oculus ===== |
| |
===== Killing Floor 2 ===== | ==== Contractors ==== |
| |
<code>legendary.exe import-game "Finch" "KillingFloor2"</code> | <code>"C:\Program Files\Oculus\Software\Software\caveman-game-production-contractors-vr\Contractors_UE4_22_Oculus.exe"</code> |
| |
<code>legendary.exe verify-game "Finch"</code> | <code>Contractors</code> |
| |
<code>legendary.exe repair "Finch"</code> | ==== Pistol Whip ==== |
| |
<code>legendary.exe install "Finch" --update-only</code> | **** |
| |
<code>legendary.exe launch "Finch"</code> | <code>"C:\Program Files\Oculus\Software\Software\cloudhead-games-ltd-pistol-whip\Pistol Whip.exe" %command%</code> |
| |
====== Other ====== | ==== Synth Riders ==== |
| |
===== Guild Wars 2 ===== | <code>"C:\Program Files\Oculus\Software\Software\kluge-interactive-synthriders\SynthRiders.exe"</code> |
| |
<code>-autologin</code> | <code>Synth Riders</code> |
| |
<code>-image</code> | ==== VRChat ==== |
| |
| **** |
| |
| <code>"C:\Program Files\Oculus\Software\Software\vrchat-vrchat\VRChat.exe" %command%</code> |
| |
| ==== Zenith: The Last City ==== |
| |
| * https://steamcommunity.com/app/1403370/discussions/0/3175603119504316508/#c3175603119505386371 |
| |
<code>-repair</code> | <code>"C:\Program Files\Oculus\Software\Software\ramen-vr-zenith\UnityClient@Windows.exe"</code> |
| |
===== Diablo II ===== | <code>Zenith: The Last City</code> |
| |
<code>-3dfx</code> | <code>-screen-fullscreen 0 -screen-width 1280 -screen-height 720 -nolog</code> |
| |