Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Please sign up or log in to edit the wiki.

Console commands: Difference between revisions

From the Star Citizen Wiki, the fidelity™ encyclopedia
Content deleted Content added
Mr Aegis (talk | contribs)
m formatting fix
Mr Aegis (talk | contribs)
Added additional console command info.
Line 104: Line 104:
|i_DumpDeviceInformation
|i_DumpDeviceInformation
|
|
|Outputs information about registered input devices (mouse/keyboard/gamepads/eye trackers/etc).
|
|-
|-
|pl_carryable.logClench
|pl_carryable.logClench
Line 239: Line 239:
|r_GetScreenShot
|r_GetScreenShot
|0
|0
|Capture a single screenshot (variable is set to 0 after capturing)
|
1 = Take screenshot immediately
2 = Take screenshot 8 frames after resetting temporal effects<ref name=":0">https://github.com/emilwojcik93/sc-cmd/blob/main/parameters.txt</ref>
|-
|-
|r_GPUMarkers
|r_GPUMarkers
Line 251: Line 253:
|r_MotionBlur
|r_MotionBlur
| 1
| 1
|0 = Motion Blur enabled
|0 = Motion blur disabled
1 = Motion Blur disabled
1 = Camera motion blur

2 = Camera and object motion blur

3 = Debug mode<ref name=":0" />
|-
|-
|r_RenderDocCapture
|r_RenderDocCapture
Line 272: Line 278:
|r_ssdo
|r_ssdo
|2
|2
|Screen space directional occlusion<ref>https://en.wikipedia.org/wiki/Screen_space_directional_occlusion</ref>
|Screen Space Directional Occlusion<ref>https://en.wikipedia.org/wiki/Screen_space_directional_occlusion</ref>
0 = Off
0 = Disabled


1 = Obscurance-based (very fast)
1 = On - Performance


2 = Optimized horizon-based
2 = On - Quality

3 = Reference horizon-based (very slow)<ref name=":0" />
|-
|-
|r_VSync
|r_VSync
|0
|1
|0 = VSync disabled
|0 = VSync disabled
1 = VSync enabled
1 = VSync enabled
Line 286: Line 294:
|r_VSync_disablePIAdjustment
|r_VSync_disablePIAdjustment
|1
|1
|Toggles vertical sync time step adjust (if VSync is on).<ref name=":0" />
|
0 = Disabled
1 = Enabled
|-
|-
|sys_maxFps
|sys_maxFps
Line 295: Line 305:
|sys_maxIdleFps
|sys_maxIdleFps
|60
|60
|Limits the framerate while loading, in menu, or paused.
|
|-
|-
|sys_trap_silent_shutdowns
|sys_trap_silent_shutdowns

Revision as of 05:15, 1 May 2023

In Star Citizen the Console can be accessed at any time by pressing the ~ key.

This allows you to see the lines being actively written out to the game's log file as well as the ability to execute commands or modify certain command variables as listed out below.

Many command variables will have a simple enabled/disabled value represented by a 0 (disabled/off) or a 1 (enabled/on).

Console Commands/Variables
Command Default Value Description
cig_peak_detection_enabled 0
cig_profile_auto_logging_capture_duration 16
cig_profile_auto_logging_enabled 0
cig_profile_auto_logging_enabled_during_level_load 0
cig_profile_auto_logging_enabled_frame_delay_after_level_load 100
cig_profile_auto_logging_max_captures 5
cig_profile_auto_logging_output_path AutoPerfCaptures/AutoCapture
cig_profile_auto_logging_slow_frame_threshold 10
cig_profile_auto_logging_slow_frame_tolerance 0.25
cig_profile_auto_logging_slow_frame_window 2
cig_profile_etw_trace_enabled 0
cig_profile_json_summary_output 0
cig_profile_json_summary_output_name json_summary/profile_log
cig_profile_log_path StressTest/manual_profile
cig_profile_optick_file_output 0
cig_profile_optick_file_output_name Opticks/StarEngine
cig_profile_optick_server_port 31318
cig_profile_sampling_rate 1003
e_ZoneSystemVerifyBounds 0
grpc_push_stresstest_subscriptions 0
g_playerGroupManager.on_foot_partymarker_cull_distance 1000
g_playerGroupManager.on_vehicle_partymarker_cull_distance 50000
g_shield.ui_legacy_mfd_swap_recharge_and_delay 0
i_DumpDeviceInformation Outputs information about registered input devices (mouse/keyboard/gamepads/eye trackers/etc).
pl_carryable.logClench 0
pl_dead.enableDownedKillOnDisconnect 1
pl_ground.debugDivergence 1
pl_ground.debugDivergenceGoTo 0
pl_mouse_reinverted_during_im 1
pl_shopping.log 0
pl_shopping.trackPortTryOnRemoval.duration 5000
pl_shopping.trackPortTryOnRemoval.enabled 0
pl_stranded.debug 0
pl_usable.enableExitRotationCorrection 1
pp_RebindKeys
pp_ResortDevices
quit Exits game immediately back to desktop
q_ShaderCompute 2
q_ShaderFX 2
q_ShaderGeneral 2
q_ShaderGlass 2
q_ShaderParticle 2
q_ShaderProjectedDecal 2
q_ShaderShadow 2
q_ShaderSky 2
q_ShaderWater 2
r_DisplayInfo 0 0 = Off

1 = Shows some basic information

2 = Shows additional info (Session, Shard ID, CPU load, etc) and everything above.

3 = Shows additional info (RAM, VRAM usage, etc.) and everything above.

4 = GPU Load stats and everything above.

r_DisplaySessionInfo 0 When turned on (set to 1) a QR Code is displayed in the upper right corner which can be used by CIG to gain additional info during bug reports.
r_enable_full_gpu_sync 0 Enabling this syncs the CPU with the GPU after every driver call. This means if one call crashes the GPU we know exactly which one it was, but this comes at a massive hit to performance.

It's very useful if someone can consistently reproduce a GPU crash. They can enable this setting just before the crash occurs and then submit the error report.[1]

r_FogShadows 0
r_FourierShadowPoolSize 512
r_full_gpu_sync_timeout 10
r_GasCloudUpsample 2
r_Gen12 2 Setting for the new Gen12 renderer.

0 = Off (use old renderer)

1 = Hybrid old and new Gen12 renderer

2 = Gen12 renderer only

r_GetScreenShot 0 Capture a single screenshot (variable is set to 0 after capturing)

1 = Take screenshot immediately 2 = Take screenshot 8 frames after resetting temporal effects[2]

r_GPUMarkers 2
r_GPUMarkersForceEnableREsMask 524288
r_MotionBlur 1 0 = Motion blur disabled

1 = Camera motion blur

2 = Camera and object motion blur

3 = Debug mode[2]

r_RenderDocCapture 0
r_RenderThreadDebugEventsEnable 1
r_RuntimeCubeMapDisableForwardRendering 0
r_ShadowsPoolSize 8192
r_ssdo 2 Screen Space Directional Occlusion[3]

0 = Disabled

1 = Obscurance-based (very fast)

2 = Optimized horizon-based

3 = Reference horizon-based (very slow)[2]

r_VSync 1 0 = VSync disabled

1 = VSync enabled

r_VSync_disablePIAdjustment 1 Toggles vertical sync time step adjust (if VSync is on).[2]

0 = Disabled 1 = Enabled

sys_maxFps 0 Sets the max FPS.

If the value is 0 the FPS will not be restricted.

sys_maxIdleFps 60 Limits the framerate while loading, in menu, or paused.
sys_trap_silent_shutdowns 0
sys_vectored_handler 0
v_debug_shop_operations 0
v_vjoyType 2

References

  1. Enable Full Gpu Sync 2. Spectrum
  2. Jump up to: 2.0 2.1 2.2 2.3 https://github.com/emilwojcik93/sc-cmd/blob/main/parameters.txt
  3. https://en.wikipedia.org/wiki/Screen_space_directional_occlusion
On this page