GTA settings XML
This page documents the gta5_settings.xml format FiveLaunch manages.
FiveLaunch applies this file (on launch) to every location FiveM reads settings from:
%APPDATA%\\CitizenFX\\gta5_settings.xml(most common)%LOCALAPPDATA%\\CitizenFX\\gta5_settings.xml(some installs)FiveM.app/settings.xml(some launch flows)
Import from game
Section titled “Import from game”The Import from game button in the settings editor reads your existing GTA settings so a client starts from your real configuration. It reads the authoritative file first — the one GTA V itself writes:
Documents\\Rockstar Games\\GTA V\\settings.xml(preferred) — resolved through the Windows known-folder API, so OneDrive and custom Documents redirects are followed automatically. Steam, Rockstar, and Epic installs all write to this same location.- then the FiveM/CitizenFX copies listed above, as fallbacks
The Documents copy is preferred on purpose: it is the only file guaranteed to
carry the full graphics config and <VideoCardDescription> — the name of
your detected GPU. That value matters (see below).
Why settings sometimes “apply but don’t take effect” — the GPU name
Section titled “Why settings sometimes “apply but don’t take effect” — the GPU name”GTA records your graphics card in <VideoCardDescription> and compares it
against the hardware it detects at boot. If that element is missing or
doesn’t match, GTA assumes your hardware changed, throws the graphics
block away, and re-runs auto-detection — so the file on disk looks right, but
the game runs on regenerated defaults.
FiveLaunch carries the real <VideoCardDescription> from your authoritative GTA
settings into every file it saves and applies, so the graphics block is
accepted instead of being discarded. Where that name comes from, in order:
- your authoritative
Documents\\Rockstar Games\\GTA V\\settings.xml; - the settings file currently applied to FiveM;
- auto-detected from your hardware — as a last resort (e.g. a brand-new machine with no GTA settings yet), FiveLaunch queries the OS for your GPU and fills the name in. On a laptop/desktop with both an integrated and a discrete GPU it prefers the discrete card (the one GTA renders on).
Nothing is hardcoded — the value always reflects your actual graphics card.
Example file (template)
Section titled “Example file (template)”This is the template shipped in this repo at src/content/docs/reference/settings-template.xml:
<?xml version="1.0" encoding="UTF-8"?><Settings> <configSource>SMC_USER</configSource> <version value="27"></version> <graphics> <Tessellation value="1"></Tessellation> <LodScale value="0.5"></LodScale> <PedLodBias value="0.200000"></PedLodBias> <VehicleLodBias value="0.000000"></VehicleLodBias> <ShadowQuality value="0"></ShadowQuality> <ReflectionQuality value="0"></ReflectionQuality> <ReflectionMSAA value="2"></ReflectionMSAA> <SSAO value="0"></SSAO> <AnisotropicFiltering value="0"></AnisotropicFiltering> <MSAA value="0"></MSAA> <MSAAFragments value="0"></MSAAFragments> <MSAAQuality value="0"></MSAAQuality> <SamplingMode value="0"></SamplingMode> <TextureQuality value="0"></TextureQuality> <ParticleQuality value="0"></ParticleQuality> <WaterQuality value="0"></WaterQuality> <GrassQuality value="0"></GrassQuality> <ShaderQuality value="0"></ShaderQuality> <Shadow_SoftShadows value="5"></Shadow_SoftShadows> <UltraShadows_Enabled value="false"></UltraShadows_Enabled> <Shadow_ParticleShadows value="false"></Shadow_ParticleShadows> <Shadow_Distance value="2.000000"></Shadow_Distance> <Shadow_LongShadows value="false"></Shadow_LongShadows> <Shadow_SplitZStart value="0.930000"></Shadow_SplitZStart> <Shadow_SplitZEnd value="0.890000"></Shadow_SplitZEnd> <Shadow_aircraftExpWeight value="0.990000"></Shadow_aircraftExpWeight> <Shadow_DisableScreenSizeCheck value="false"></Shadow_DisableScreenSizeCheck> <Reflection_MipBlur value="false"></Reflection_MipBlur> <FXAA_Enabled value="false"></FXAA_Enabled> <TXAA_Enabled value="false"></TXAA_Enabled> <Lighting_FogVolumes value="false"></Lighting_FogVolumes> <Shader_SSA value="false"></Shader_SSA> <DX_Version value="2"></DX_Version> <CityDensity value="1.000000"></CityDensity> <PedVarietyMultiplier value="1.000000"></PedVarietyMultiplier> <VehicleVarietyMultiplier value="1.000000"></VehicleVarietyMultiplier> <PostFX value="0"></PostFX> <DoF value="false"></DoF> <HdStreamingInFlight value="false"></HdStreamingInFlight> <MaxLodScale value="1.000000"></MaxLodScale> <MotionBlurStrength value="0.000000"></MotionBlurStrength> </graphics> <system> <numBytesPerReplayBlock value="9000000"></numBytesPerReplayBlock> <numReplayBlocks value="30"></numReplayBlocks> <maxSizeOfStreamingReplay value="1024"></maxSizeOfStreamingReplay> <maxFileStoreSize value="65536"></maxFileStoreSize> </system> <audio> <Audio3d value="false"></Audio3d> </audio> <video> <AdapterIndex value="0"></AdapterIndex> <OutputIndex value="0"></OutputIndex> <ScreenWidth value="2560"></ScreenWidth> <ScreenHeight value="1440"></ScreenHeight> <RefreshRate value="239"></RefreshRate> <Windowed value="2"></Windowed> <VSync value="0"></VSync> <Stereo value="0"></Stereo> <Convergence value="0.100000"></Convergence> <Separation value="1.000000"></Separation> <PauseOnFocusLoss value="1"></PauseOnFocusLoss> <AspectRatio value="5"></AspectRatio> </video></Settings>Template breakdown (line-by-line)
Section titled “Template breakdown (line-by-line)”This table lists every <Setting value="…" /> entry that appears in the template, along with the allowed values from the mapping.
| XML element | In-game name | Template value | Meaning / allowed values |
|---|---|---|---|
<version value="…" /> | version | 27 | Free text / numeric (depends on GTA) |
<Tessellation value="…" /> | Tessellation | 1Normal |
|
<LodScale value="…" /> | Distance Scaling | 0.5 | 0 … 1 (step 0.1) |
<PedLodBias value="…" /> | Ped Lod Bias | 0.200000 | 0 … 1 (step 0.1) |
<VehicleLodBias value="…" /> | Vehicle Lod Bias | 0.000000 | 0 … 1 (step 0.1) |
<ShadowQuality value="…" /> | Shadow Quality | 0Off |
|
<ReflectionQuality value="…" /> | Reflection Quality | 0Normal |
|
<ReflectionMSAA value="…" /> | Reflection MSAA | 2X2 |
|
<SSAO value="…" /> | Ambient Occlusion | 0Off |
|
<AnisotropicFiltering value="…" /> | Anisotropic Filtering | 0Off |
|
<MSAA value="…" /> | MSAA | 0Off |
|
<MSAAFragments value="…" /> | MSAAFragments | 0 | Free text / numeric (depends on GTA) |
<MSAAQuality value="…" /> | MSAAQuality | 0 | Free text / numeric (depends on GTA) |
<SamplingMode value="…" /> | Frame Scaling Mode | 0Off |
|
<TextureQuality value="…" /> | Texture Quality | 0Normal |
|
<ParticleQuality value="…" /> | Particles Quality | 0Normal |
|
<WaterQuality value="…" /> | Water Quality | 0Normal |
|
<GrassQuality value="…" /> | Grass Quality | 0Normal |
|
<ShaderQuality value="…" /> | Shader Quality | 0Normal |
|
<Shadow_SoftShadows value="…" /> | Soft Shadows | 5NVIDIA PCSS |
|
<UltraShadows_Enabled value="…" /> | High Resolution Shadows | falseOff |
|
<Shadow_ParticleShadows value="…" /> | Particle Shadows | falseOff |
|
<Shadow_Distance value="…" /> | Extended Shadows Distance | 2.000000 | 0 … 2 (step 0.1) |
<Shadow_LongShadows value="…" /> | Long Shadows | falseOff |
|
<Shadow_SplitZStart value="…" /> | Shadow Split ZStart | 0.930000 | 0.5 … 1 (step 0.01) |
<Shadow_SplitZEnd value="…" /> | Shadow Split ZEnd | 0.890000 | 0.5 … 1 (step 0.01) |
<Shadow_aircraftExpWeight value="…" /> | Shadow aircraft Exp Weight | 0.990000 | 0.9 … 1 (step 0.01) |
<Shadow_DisableScreenSizeCheck value="…" /> | Shadow Disable Screen Size Check | falseOff |
|
<Reflection_MipBlur value="…" /> | Reflection Mip Blur | falseOff |
|
<FXAA_Enabled value="…" /> | FXAA | falseOff |
|
<TXAA_Enabled value="…" /> | NVIDIA TXAA | falseOff |
|
<Lighting_FogVolumes value="…" /> | Fog Volumes | falseOff |
|
<Shader_SSA value="…" /> | Shader SSA | falseOff |
|
<DX_Version value="…" /> | DirectX Version | 2DirectX 11 |
|
<CityDensity value="…" /> | Population Density | 1.000000 | 0 … 1 (step 0.1) |
<PedVarietyMultiplier value="…" /> | Population Variety (Peds) | 1.000000 | 0 … 1 (step 0.1) |
<VehicleVarietyMultiplier value="…" /> | Population Variety (Vehicles) | 1.000000 | 0 … 1 (step 0.1) |
<PostFX value="…" /> | Post FX | 0Normal |
|
<DoF value="…" /> | In-Game Depth Of Field Effects | falseOff |
|
<HdStreamingInFlight value="…" /> | High Detail Streaming While Flying | falseOff |
|
<MaxLodScale value="…" /> | Extended Distance Scaling | 1.000000 | 0 … 1 (step 0.1) |
<MotionBlurStrength value="…" /> | Motion Blur Strength | 0.000000 | 0 … 1 (step 0.1) |
<numBytesPerReplayBlock value="…" /> | num Bytes Per Replay Block | 9000000 | Free text / numeric (depends on GTA) |
<numReplayBlocks value="…" /> | num Replay Blocks | 30 | Free text / numeric (depends on GTA) |
<maxSizeOfStreamingReplay value="…" /> | max Size Of Streaming Replay | 1024 | Free text / numeric (depends on GTA) |
<maxFileStoreSize value="…" /> | max File Store Size | 65536 | Free text / numeric (depends on GTA) |
<Audio3d value="…" /> | 3D Audio | falseOff |
|
<AdapterIndex value="…" /> | Adapter Index | 0 | Free text / numeric (depends on GTA) |
<OutputIndex value="…" /> | Output Monitor | 0 | Free text / numeric (depends on GTA) |
<ScreenWidth value="…" /> | Resolution Width | 2560 | Free text / numeric (depends on GTA) |
<ScreenHeight value="…" /> | Resolution Height | 1440 | Free text / numeric (depends on GTA) |
<RefreshRate value="…" /> | Refresh Rate | 239 | Free text / numeric (depends on GTA) |
<Windowed value="…" /> | Screen Type | 2Windowed Borderless |
|
<VSync value="…" /> | VSync | 0Off |
|
<Stereo value="…" /> | Stereoscopic 3D | 0Off |
|
<Convergence value="…" /> | Convergence | 0.100000 | 0 … 1 (step 0.01) |
<Separation value="…" /> | Separation | 1.000000 | 0 … 1 (step 0.01) |
<PauseOnFocusLoss value="…" /> | Pause Game On Focus Loss | 1On |
|
<AspectRatio value="…" /> | Aspect Ratio | 516:9 |
|
What each setting means (mapping)
Section titled “What each setting means (mapping)”The tables below are generated from gtaSettingsMap.ts. As of v2.7, every value
label is the exact name the in-game menu shows (verified against files GTA V
itself writes), and the “In-game name” column is the setting’s name in the GTA
menus — so what you see in FiveLaunch matches the game’s own settings screen
one-to-one. A few notable corrections from the older mapping:
SamplingModeis “Frame Scaling Mode” (Advanced Graphics), a render-resolution multiplier fromx0.500tox2.000— not a DLSS/FSR selector.Shadow_SoftShadowsruns Sharp → Soft → Softer → Softest, then the vendor techniques AMD CHS and NVIDIA PCSS.AnisotropicFilteringhas no x1 step: the menu writes Off / X2 / X4 / X8 / X16 only.Stereois written by the game as0/1, nottrue/false.MSAAFragmentsandMSAAQualityare hidden tuning values the menu never exposes, so they’re treated as raw values instead of getting invented labels.
Advanced
| XML element | In-game name | Type | Values |
|---|---|---|---|
<AsyncComputeEnabled value="…" /> | Async Compute Enabled | select |
|
<DX_Version value="…" /> | DirectX Version | select |
|
<maxFileStoreSize value="…" /> | max File Store Size | text | Free text / numeric (depends on GTA) |
<maxSizeOfStreamingReplay value="…" /> | max Size Of Streaming Replay | text | Free text / numeric (depends on GTA) |
<MSAAFragments value="…" /> | MSAAFragments | text | Free text / numeric (depends on GTA) |
<MSAAQuality value="…" /> | MSAAQuality | text | Free text / numeric (depends on GTA) |
<numBytesPerReplayBlock value="…" /> | num Bytes Per Replay Block | text | Free text / numeric (depends on GTA) |
<numReplayBlocks value="…" /> | num Replay Blocks | text | Free text / numeric (depends on GTA) |
<Shader_SSA value="…" /> | Shader SSA | select |
|
Anti-Aliasing
| XML element | In-game name | Type | Values |
|---|---|---|---|
<FXAA_Enabled value="…" /> | FXAA | select |
|
<MSAA value="…" /> | MSAA | select |
|
<SamplingMode value="…" /> | Frame Scaling Mode | select |
|
<TXAA_Enabled value="…" /> | NVIDIA TXAA | select |
|
Audio
| XML element | In-game name | Type | Values |
|---|---|---|---|
<Audio3d value="…" /> | 3D Audio | select |
|
Display
| XML element | In-game name | Type | Values |
|---|---|---|---|
<AdapterIndex value="…" /> | Adapter Index | text | Free text / numeric (depends on GTA) |
<AspectRatio value="…" /> | Aspect Ratio | select |
|
<OutputIndex value="…" /> | Output Monitor | text | Free text / numeric (depends on GTA) |
<PauseOnFocusLoss value="…" /> | Pause Game On Focus Loss | select |
|
<RefreshRate value="…" /> | Refresh Rate | text | Free text / numeric (depends on GTA) |
<ScreenHeight value="…" /> | Resolution Height | text | Free text / numeric (depends on GTA) |
<ScreenWidth value="…" /> | Resolution Width | text | Free text / numeric (depends on GTA) |
<TripleBuffered value="…" /> | Triple Buffering | select |
|
<VSync value="…" /> | VSync | select |
|
<Windowed value="…" /> | Screen Type | select |
|
Effects
| XML element | In-game name | Type | Values |
|---|---|---|---|
<DoF value="…" /> | In-Game Depth Of Field Effects | select |
|
<MotionBlurStrength value="…" /> | Motion Blur Strength | slider | 0 … 1 (step 0.1) |
<ParticleQuality value="…" /> | Particles Quality | select |
|
<PostFX value="…" /> | Post FX | select |
|
Graphics Quality
| XML element | In-game name | Type | Values |
|---|---|---|---|
<AnisotropicFiltering value="…" /> | Anisotropic Filtering | select |
|
<GrassQuality value="…" /> | Grass Quality | select |
|
<Lighting_FogVolumes value="…" /> | Fog Volumes | select |
|
<Reflection_MipBlur value="…" /> | Reflection Mip Blur | select |
|
<ReflectionMSAA value="…" /> | Reflection MSAA | select |
|
<ReflectionQuality value="…" /> | Reflection Quality | select |
|
<ShaderQuality value="…" /> | Shader Quality | select |
|
<ShadowQuality value="…" /> | Shadow Quality | select |
|
<SSAO value="…" /> | Ambient Occlusion | select |
|
<Tessellation value="…" /> | Tessellation | select |
|
<WaterQuality value="…" /> | Water Quality | select |
|
Performance
| XML element | In-game name | Type | Values |
|---|---|---|---|
<HdStreamingInFlight value="…" /> | High Detail Streaming While Flying | select |
|
<LodScale value="…" /> | Distance Scaling | slider | 0 … 1 (step 0.1) |
<MaxLodScale value="…" /> | Extended Distance Scaling | slider | 0 … 1 (step 0.1) |
<PedLodBias value="…" /> | Ped Lod Bias | slider | 0 … 1 (step 0.1) |
<VehicleLodBias value="…" /> | Vehicle Lod Bias | slider | 0 … 1 (step 0.1) |
Population
| XML element | In-game name | Type | Values |
|---|---|---|---|
<CityDensity value="…" /> | Population Density | slider | 0 … 1 (step 0.1) |
<PedVarietyMultiplier value="…" /> | Population Variety (Peds) | slider | 0 … 1 (step 0.1) |
<VehicleVarietyMultiplier value="…" /> | Population Variety (Vehicles) | slider | 0 … 1 (step 0.1) |
Shadows
| XML element | In-game name | Type | Values |
|---|---|---|---|
<Shadow_aircraftExpWeight value="…" /> | Shadow aircraft Exp Weight | slider | 0.9 … 1 (step 0.01) |
<Shadow_DisableScreenSizeCheck value="…" /> | Shadow Disable Screen Size Check | select |
|
<Shadow_Distance value="…" /> | Extended Shadows Distance | slider | 0 … 2 (step 0.1) |
<Shadow_LongShadows value="…" /> | Long Shadows | select |
|
<Shadow_ParticleShadows value="…" /> | Particle Shadows | select |
|
<Shadow_SoftShadows value="…" /> | Soft Shadows | select |
|
<Shadow_SplitZEnd value="…" /> | Shadow Split ZEnd | slider | 0.5 … 1 (step 0.01) |
<Shadow_SplitZStart value="…" /> | Shadow Split ZStart | slider | 0.5 … 1 (step 0.01) |
<UltraShadows_Enabled value="…" /> | High Resolution Shadows | select |
|
Stereoscopic 3D
| XML element | In-game name | Type | Values |
|---|---|---|---|
<Convergence value="…" /> | Convergence | slider | 0 … 1 (step 0.01) |
<Separation value="…" /> | Separation | slider | 0 … 1 (step 0.01) |
<Stereo value="…" /> | Stereoscopic 3D | select |
|
System Info
| XML element | In-game name | Type | Values |
|---|---|---|---|
<configSource value="…" /> | config Source | text | Free text / numeric (depends on GTA) |
<version value="…" /> | version | text | Free text / numeric (depends on GTA) |
<VideoCardDescription value="…" /> | Video Card | text | Free text / numeric (depends on GTA) |
Texture & Details
| XML element | In-game name | Type | Values |
|---|---|---|---|
<TextureQuality value="…" /> | Texture Quality | select |
|
Validation & repair
Section titled “Validation & repair”GTA discards its settings file and regenerates auto-detected defaults whenever the file is missing, truncated, structurally incomplete, or contains a value it doesn’t accept. To keep that from wiping your setup, FiveLaunch (v2.6+) validates and repairs the document both when you save it and again right before it is applied on launch:
- Each value is checked against the schema in the mapping above. Booleans must be
true/false, enums must be one of the values the in-game menu actually writes, and numbers/resolutions must parse; invalid values are replaced. - Hidden below-menu values are preserved: quality settings accept
-1(widely shared low-end “potato” configs rely on it), even though the menu itself only goes down to Normal. The settings editor shows such values as “(custom)” instead of discarding them. - Any missing settings are filled in so the file is always complete, including the
versionnode,configSource=SMC_USER, and<VideoCardDescription>(your GPU, taken from your real settings or auto-detected from your hardware if none exists yet). - Replacement values are taken from your authoritative GTA settings (the real
Documents\\Rockstar Games\\GTA V\\settings.xml) and current live game settings first, then the template, so nothing silently drops to a hardcoded default. - The file is written atomically and read back to verify, so the game never sees a partial write.
Fixes made while saving in the editor are reported back to you.
- If you set an unknown value, GTA/FiveM may clamp it, ignore it, or rewrite it on launch.
- If your graphics settings “apply but don’t take effect”, it’s almost always a missing or
mismatched
<VideoCardDescription>. FiveLaunch now carries your real GPU name into the applied file; Import from game (which reads the realDocuments\\Rockstar Games\\GTA V\\settings.xml) is the most reliable way to seed it. - If your settings “keep resetting”, FiveLaunch now repairs the file before applying it;
a reset after that usually means something else (an “optimizer” tool,
fivem_sdk.cfg, or a read-only file) is overwriting it after launch.