Gameconfig.xml 4.0 Diamond Casino DLC / Story Mode Fixes
259,859
681
259,859
681
4.0 UPDATE: Diamond Casino update support added
Includes experimental new limit increases that were found by reverse engineering gta5.exe. All unused SP gameconfig values have been added, online values will be added in a later update for those who plan to use this with FiveM. Big thanks to CamxxCore for sharing his knowledge and helping me better understand IDA and Alexguirre for his research, assistance, and findings.
For the best experience please use this gameconfig with the following mods:
https://www.gta5-mods.com/tools/heap-limit-adjuster-600-mb-of-heap
https://www.gta5-mods.com/tools/packfile-limit-adjuster
https://www.gta5-mods.com/tools/cweaponinfoblob-limit-adjuster
Later I may also update 4.0 with optional population configs like I did previous releases.. Default, X3 Population, X5 Population.
IF you're unsure of what this mod does then you most likely don't need it... Carry on.
Over the course of the last few years I've sunk countless hours into editing gameconfig.xml. These files have been restricted to RDE and while I realize its a fantastic mod not everyone wishes to use it. Considering the scope of what gameconfig does I figured I'd share this as a standalone for the community.
Permissions: You may use this in your own mods permitted you give credit and leave all commented lines intact. In fact I'd love to see people add more comments going forward to help the community understand how the gameconfig.xml lines work and what the affects of changing said line does.
Includes experimental new limit increases that were found by reverse engineering gta5.exe. All unused SP gameconfig values have been added, online values will be added in a later update for those who plan to use this with FiveM. Big thanks to CamxxCore for sharing his knowledge and helping me better understand IDA and Alexguirre for his research, assistance, and findings.
For the best experience please use this gameconfig with the following mods:
https://www.gta5-mods.com/tools/heap-limit-adjuster-600-mb-of-heap
https://www.gta5-mods.com/tools/packfile-limit-adjuster
https://www.gta5-mods.com/tools/cweaponinfoblob-limit-adjuster
Later I may also update 4.0 with optional population configs like I did previous releases.. Default, X3 Population, X5 Population.
IF you're unsure of what this mod does then you most likely don't need it... Carry on.
Over the course of the last few years I've sunk countless hours into editing gameconfig.xml. These files have been restricted to RDE and while I realize its a fantastic mod not everyone wishes to use it. Considering the scope of what gameconfig does I figured I'd share this as a standalone for the community.
Permissions: You may use this in your own mods permitted you give credit and leave all commented lines intact. In fact I'd love to see people add more comments going forward to help the community understand how the gameconfig.xml lines work and what the affects of changing said line does.
First Uploaded: August 10, 2017
Last Updated: August 19, 2019
Last Downloaded: 9 minutes ago
All Versions
513 Comments
More mods by Dilapidated:

- Ped Config
- Emergency
- Los Santos
- San Andreas
- Blaine County
- Lore Friendly
- Realism
- Featured
- Lore Friendly Pack
4.4
181,810
2,152
RDE 3.1.1 Patched
By Dilapidated

- Boat
- Submarine
4.32
15,708
228
[BETA] 1.1
By Dilapidated
4.0 UPDATE: Diamond Casino update support added
Includes experimental new limit increases that were found by reverse engineering gta5.exe. All unused SP gameconfig values have been added, online values will be added in a later update for those who plan to use this with FiveM. Big thanks to CamxxCore for sharing his knowledge and helping me better understand IDA and Alexguirre for his research, assistance, and findings.
For the best experience please use this gameconfig with the following mods:
https://www.gta5-mods.com/tools/heap-limit-adjuster-600-mb-of-heap
https://www.gta5-mods.com/tools/packfile-limit-adjuster
https://www.gta5-mods.com/tools/cweaponinfoblob-limit-adjuster
Later I may also update 4.0 with optional population configs like I did previous releases.. Default, X3 Population, X5 Population.
IF you're unsure of what this mod does then you most likely don't need it... Carry on.
Over the course of the last few years I've sunk countless hours into editing gameconfig.xml. These files have been restricted to RDE and while I realize its a fantastic mod not everyone wishes to use it. Considering the scope of what gameconfig does I figured I'd share this as a standalone for the community.
Permissions: You may use this in your own mods permitted you give credit and leave all commented lines intact. In fact I'd love to see people add more comments going forward to help the community understand how the gameconfig.xml lines work and what the affects of changing said line does.
Includes experimental new limit increases that were found by reverse engineering gta5.exe. All unused SP gameconfig values have been added, online values will be added in a later update for those who plan to use this with FiveM. Big thanks to CamxxCore for sharing his knowledge and helping me better understand IDA and Alexguirre for his research, assistance, and findings.
For the best experience please use this gameconfig with the following mods:
https://www.gta5-mods.com/tools/heap-limit-adjuster-600-mb-of-heap
https://www.gta5-mods.com/tools/packfile-limit-adjuster
https://www.gta5-mods.com/tools/cweaponinfoblob-limit-adjuster
Later I may also update 4.0 with optional population configs like I did previous releases.. Default, X3 Population, X5 Population.
IF you're unsure of what this mod does then you most likely don't need it... Carry on.
Over the course of the last few years I've sunk countless hours into editing gameconfig.xml. These files have been restricted to RDE and while I realize its a fantastic mod not everyone wishes to use it. Considering the scope of what gameconfig does I figured I'd share this as a standalone for the community.
Permissions: You may use this in your own mods permitted you give credit and leave all commented lines intact. In fact I'd love to see people add more comments going forward to help the community understand how the gameconfig.xml lines work and what the affects of changing said line does.
First Uploaded: August 10, 2017
Last Updated: August 19, 2019
Last Downloaded: 9 minutes ago
@lspdfrofficerjoey ReNNie had taken it upon himself to examine the latest 1868.1 gameconfig, in order to extract 10 relevant values that needed to be increased. He gave me permission to share those. I added a few of my own, and together, when applied to the Gameconfig.xml 4.0 by Dilapidated, you'll have a working game again! :) Adjust the following poolsizes:
activeloadedinfo, 240000
combatmountedmanager_attacks, 2
mapdatastore, 20000
maptypesstore, 50000
metadatastore, 162900
object, 6000
peds, 450
scaleformstore, 720
scenariocargensperregion, 8000
scriptstore, 950
vehicles, 3600
vehiclestreamrender, 1000
vehiclestreamrequest, 600
vehiclestruct, 3600
N.B. 'Working' is a tentative notion. THESE VALUES COME WITH NO GUARANTEE, EXPRESS OR IMPLIED, save to say that if you had a working game before, with Gameconfig.xml 4.0 by Dilapidated, and it no longer worked, there's a good chance it will work once again. :)
Does this one increase space?
Does this increase the plugin space so I dont lag out everytime?
doesn't work, i even deleted all add on cars... (steam version)
how many addon cars can this have?
Will this work for version 1.0.1868.4?
The Gameconfig does not work with World of Variety. Why?
doesnt work anymore gents
Still crashes even with the changes in the pinned comment. Only with NVR installed
@meimeiriver Thanks for the tips. Those tweaked values work for me. (I'm using 1868.1)
Now it crashes faster.
how the hell do you install this?
Have you came across hidden Graphical Settings? I would love to know more about it.
By peds does this mean add-on peds? I'm knew to this modding stuff so i don't know a lot
This is the only gameconfig (with the edits) that actually works. Everything else just crashes. Great mod!
Can you update it for the new LS Summer thing?
@BadgerOnTheLoose Use openIV to navigate to mods>update>update.rpf>common>data and replace the games gameconfig.xml with the mod's. What initially worked for me and fixed a crash I was having was to find the line
<PoolName>ScaleformStore</PoolName>
<PoolSize value="700"/>
and change the value to 720. I have yet to try out teh moderator's pinned edits, just discovered them now, and will be trying them out.
@Dilapidated bro u have to know this issue .. when i use ur GC it's so cool against (crash error) but the world was missing many thing like ( After Hour ) belong to (HMH) or (AfterHourSP) it causes not loading the interior i figure out this after many time trying to swap between urs and other GC files but i found yours was the main Reason causes this error >> so
if u want to test this by your self go ahead may i missing another file in my game data files IDK .
Has anyone tried it with Natural Vision Remastered? does it crash?
yah i tried increasing all these values and it didnt work lol, good effort tho