GTA settings XML
This page covers the gta5_settings.xml format that FiveLaunch manages. When gtaSettings is on, FiveLaunch writes the file at launch to every location FiveM reads settings from:
%APPDATA%\CitizenFX\gta5_settings.xml, the usual one%LOCALAPPDATA%\CitizenFX\gta5_settings.xml, used by some installsFiveM.app/settings.xml, used by some launch flows
Import from game
Section titled “Import from game”Import from game in the settings editor reads your existing GTA settings, so a client starts from your real configuration. It reads the file GTA V itself writes first:
Documents\Rockstar Games\GTA V\settings.xmlcomes first. FiveLaunch finds it through the Windows known-folder API, so OneDrive and custom Documents locations work. Steam, Rockstar, and Epic installs all write to this same file.- The FiveM and CitizenFX copies listed above are fallbacks.
FiveLaunch prefers the Documents copy because it’s the only file that always has the full graphics config and <VideoCardDescription>, the name of your GPU. The next section explains why that name matters.
When settings apply but don’t take effect
Section titled “When settings apply but don’t take effect”GTA records your graphics card in <VideoCardDescription> and compares it to the hardware it detects at boot. If the element is missing or doesn’t match, GTA decides your hardware changed, throws away the graphics block, and runs auto-detection again. The file on disk looks right, but the game runs on regenerated defaults.
To prevent that, FiveLaunch copies the real <VideoCardDescription> into every file it saves and applies. It gets the name from the first of these that has one:
- your
Documents\Rockstar Games\GTA V\settings.xml - the settings file FiveM currently uses
- your hardware. On a new PC with no GTA settings yet, FiveLaunch asks Windows for your GPU. If you have both integrated and discrete graphics, it picks the discrete card, since that’s the one GTA renders on.
FiveLaunch never hardcodes the value. It always matches your actual graphics card.
Example file (template)
Section titled “Example file (template)”FiveLaunch ships this template, and Load example in the editor loads it. This copy lives in the docs 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 values, element by element
Section titled “Template values, element by element”This table lists every element in the template, its value there, and the values GTA accepts for it.
| 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 come from gtaSettingsMap.ts. Since v2.7, every value label matches the name the in-game menu shows, checked against files GTA V writes itself. The “In-game name” column is the setting’s name in GTA’s menus, so FiveLaunch and the game’s settings screen line up one to one.
A few settings changed from the older mapping:
SamplingModeis Frame Scaling Mode in Advanced Graphics. It multiplies render resolution fromx0.500tox2.000. It doesn’t pick DLSS or FSR.Shadow_SoftShadowsgoes Sharp, Soft, Softer, Softest, then the vendor options AMD CHS and NVIDIA PCSS.AnisotropicFilteringhas no x1 step. The menu only writes Off, X2, X4, X8, and X16.Stereois0or1in files the game writes, nottrueorfalse.MSAAFragmentsandMSAAQualityare hidden tuning values the menu never shows, so FiveLaunch keeps them as raw numbers without 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 and repair
Section titled “Validation and repair”GTA throws away its settings file and regenerates auto-detected defaults when the file is missing, cut off, incomplete, or has a value GTA rejects. Since v2.6, FiveLaunch validates and repairs the file when you save it and again right before launch:
- It checks each value against the schema in the tables above. Booleans must be
trueorfalse, enums must be values the in-game menu writes, and numbers and resolutions must parse. FiveLaunch replaces anything invalid. - It keeps hidden below-menu values. Quality settings accept
-1, which popular low-end “potato” configs use, even though the menu stops at Normal. The editor shows these as “(custom)” and leaves them alone. - It fills in missing settings, including the
versionnode,configSource=SMC_USER, and<VideoCardDescription>. - It takes replacement values from your
Documents\Rockstar Games\GTA V\settings.xmland your live game settings first, and only then from the template. - It writes the file atomically and reads it back, so the game never sees a partial write.
The editor lists every fix it made when you save.
Troubleshooting
Section titled “Troubleshooting”- You set a value GTA doesn’t know. GTA or FiveM may clamp it, ignore it, or rewrite it at launch.
- Settings apply but don’t take effect. The cause is almost always a missing or wrong
<VideoCardDescription>. FiveLaunch copies your real GPU name into the file, and Import from game is the most reliable way to get it there. - Settings keep resetting. FiveLaunch repairs the file before it applies it, so a reset after that means something else overwrites it after launch. Check for “optimizer” tools,
fivem_sdk.cfg, and read-only files.