Added peds limit FIX - GTA 5 Legacy
If you tried to add peds to GTA 5 Legacy you may have faced game crash/game auto close when loading story mode (or even when selecting a suit or playing for a while), this is a possible FIX for this issue:
Step 1 - Heap limit adjuster
https://www.gta5-mods.com/tools/heapadjuster
Extract the .asi file to your gta5.exe folder
Obs.: This is a .ASI script so, you need ASI Loader installed
Step 2 - Packet file limit adjuster
https://www.gta5-mods.com/tools/packfile-limit-adjuster
Extract the files to your gta5.exe folder the same way you did with the files in step 1, it also needs ASI Loader installed.
Step 3 - Gameconfig.xml
https://www.gta5-mods.com/misc/gta-5-gameconfig-300-cars
Video: https://youtu.be/ovethfgRLxU
-Open the ZIP file
-Open the folder "Gta Config v36 for A Safehouse in the Hills" (or the folder with "Gta Config" in name, the names may change with time). Case your game is outdated, you should find the correct one in the folder "Old Versions" based in your gta5.exe file version)
-Open the folder "For More Mods" (You also can try "For Less Mods" but it's recommended the other)
-Open the folder "Stock Traffic (Means Gta base)" (or anything with text: "Means Gta base")
-Extract the file "gameconfig.xml" to your desktop.
Now open the OpenIV app and navigate to: mods\update\update.rpf\common\data
*Important: If you don't have the file in mods folder you should navigate to:
"update\update.rpf\common\data", click in the button "Edit mode" and then click in the indicated button to Copy the file to mods folder. *
-Click in the button "Edit mode"
-Click in top menu New
-Click in Add
-Select the gameconfig.xml that we extracted to desktop in previous steps and click in Open
Extra step: "clothStore thing"
Video: https://youtu.be/-Cn5QQeq1eI
-Now, in OpenIV, right click the file gameconfig.xml that you just added and click in Edit
-Press Ctrl+F and type "cloth" to search for the ClothStore setting
-Edit the PoolSize value from 60 to 600 then click in Save to apply the changes
Special thanks to MTN4456 for this tip about the "clothStore thing" 😎
Step 4 - Removing recent official DLC packs
Obs.: This step can be done using the attached files of this post
Video: https://youtu.be/QurasdoPSEU
To increase the number of peds we can add to the game, we can try removing some official big DLC packs that adds peds, one example is the Cayo Perico Heist DLC that adds lot of peds, removing that dlc entry line from dlclist.xml will increase max. number of added peds.
To do this, right click the file dlclist.xml (that is located in mods\update\update.rpf\common\data), click in Edit and then find and remove the lines with the following entries:
mpheist4
mptuner
mpsecurity
mpsum2
mpsum2_g9ec
Then click in Save to save the file
If you don't use MP vehicles/peds/objects launched since 2023 in single player mode, you also can remove those entries:
mp2023_01, mp2023_01_g9ec, mp2023_02, mp2023_02_g9ec, mp2024_01, mp2024_01_g9ec, mp2024_02, mp2024_02_g9ec, mp2025_01, mp2025_01_g9ec, mp2025_02 and mp2025_02_g9ec
Step 5 (Optional) - Outdated update2.rpf
-Case you have update2.rpf in mods/update folder, you must delete it (rename it to update222.rpf instead, to keep as backup), there is no reason to have this file there, unless a mod that you installed uses it, probably not the case, some people manually copy this file to mods folder structure causing issues when game updates.
Done :)
If all goes well now you can run your game with added peds, props and vehicles without issues :)
Tip
There is a limit related to how many added peds with "working cape" (Cloth physics) you can have, so, test the game each time you add a ped with working cape (cloth physics) before install other stuff in sequence, actually it's good do this for each single change you make in game files, this way is easier identify what is causing issues.
Comments (101)
Getting "ERR_GFX_INIT" and game won't start up. Did I mess up somewhere or how would I fix this?
not a expected result, try renaming mods folder to modsss to see if issue is there
Hey just wondering did you get this guy "Fritas" banned on steam? he was posting mods similar if not exactly like yours on GMOD
mmm, somebody contacted my about this recently
hi when i did all this all my mods disappeared why?
Wtf i did everything right, but it crashes. Legacy, version 38 something (most current on Steam)
crashes at loading story mode?
what do i do for "Error Ped models" cause i bougth the patreon and now the characters aint even showing? they just show error ped models in the suit
this happens because game can't create the ped models, you must download and install ped models, check links on readmes
i think i might have a crush on you
😁
where's the oiv generator to add peds?
commonly linked in readmes of my mods add peds tool: https://www.patreon.com/posts/35298524 game crash fix for added peds(all steps): https://www.patreon.com/posts/123679009
i got NIB AuxProp error also the menu of hulk keep open and close and the power of hulk appear and disappear
install openiv.asi, install the mod choosing mods folder
I've added homelander and Superman, it crashed but I did this method as you said it worked but when I added some more PEDs, the game crashes
make sure you did all steps including clothstore thing in gameconfig and remove official MP entries from dlclist
when i start the game and enter story mode my screen turns black
rename mods folder to modsss to test
Hello, I'm using the enhanced version, but I noticed in your installation tutorial that the OpenIV tool isn't supported in the enhanced version. What should I do?
my installation video tells exactly what to do... openrpf.asi renamed to openiv.asi
ERR_GAMECONFIG_1 , when i change my cloth to 600 , the error show , and when i put back 60 the errorshow again
never saw this one, but considering the error didn't changed after resetting the value, the issue is something else
Hi, when I try to add game-config into the folder you want me to it just says "This process cannot access the file because it's being used by another process"
make sure game is closed, restart your PC
why i follow all the setp on youtube but when i click click to the superman in the menu and doesnt appear anything
maybe your Nibmods menu is outdated
for the people who says that gta dont start is because if you delate mpheist4 from dlclist it dont start, but if you remove the other entries like mpsecurity,mpsum2.... it will start
i did all the following steps, but when i play the game, theres no npcs to fight to
not even game normal NPC appears?
I have Menyoo updated. I performed the "Remove Entries from DLCLIST" updates (Basic + most recent ones) and have the latest configuration. Yet, for the past two days, the game simply won't launch.
rename mods folder to modsss to test if issue is there
The game hasn't started for the past two days.
i need help. each time i put game config in the folder it forces gta to update. anyway to stop this from happening?
you should use mods folder... install openiv.asi in OpenIV > tools> ASI manager in gta enhanced you need to use openrpf.asi instead (renamed to openiv.asi)
i got my game off steam and my game dosent even launch it just says error code 162 on the rockstar launche and it says play again
try restarting your PC, remove .asi loader files to see if issue is related
and i want someone to add superman and god of war and some mods using anydesk pls
add peds tool: https://www.patreon.com/posts/35298524 game crash fix for added peds(all steps): https://www.patreon.com/posts/123679009
hello when when i connect for local server two clones show from nowhere how to fix it ?
local server? what are you talking about exactly?
When I installed the Superman mod and played the game, the game ran smoothly. When I installed Thor mod, the game kept crashing on the story mode loading screen. Now tell me how I can fix this.
probably due to added peds... game crash fix for added peds(all steps): https://www.patreon.com/posts/123679009
i added all the steps exept for the extra but whenever i launch my screen goes black?
update your gameconfig and do the clothstore thing mentioned in the guide also update your .asi mods
bro when i play and spawn enemy of different mod the game starts to shutter after 5 mins like my specs(24gb ram RTX 4050 mobile gpu)
which mods exactly?
Hi JulioNIB i have a problem if i add more than 2 peds to the game it crashes i tried gameconfig heap aujister and packlimit can you help me pls
apply all steps of this guide, don't skip any
Hello my game crash :/ when i try to install spiderman
did you installed ped models? it's gta5 enhanced or legacy?
i did everything in the video and then i get in the game and then i click ctrl + N and nothing happens any tips to fix?
Run game launcher as administrator: -With game and Rockstar Launcher closed use windows explorer (or any folder in your computer) to navigate to "C:\Program Files\Rockstar Games\Launcher" (Or wherever your rockstar launcher is installed) -Right click the file "Launcher.exe" and click in "Properties" -Click in "Compatibility" and check the box "Run this program as an administrator" then click in "Ok"
MY GAME DOES NOT EVEN START IT DOES NOT SHOW ANY SCREEN AT ALL
PROBABLY RELATED TO .ASI SCRIPTS OR OUTDATED GAMECONFIG
i did steps 1 2 and 3 now when i open the game it doesent crash but i also cant open either menyoo or your menu
not related, you probably removed ASI loader or scripthookv
Ok I've followed all the steps, done this all twice... I can get the Superman mod working, so I can fly around, use Laser eyes etc, but then as soon as I add a Ped... the game will no longer load. I test after every step, I'm not sure if it is to do with the way I created the .oiv for the Ped, or part of the crash fixes that is causing the game not to load.
check latest post if your game stop loading before start loading stiry mode, may be related
This is unrelated to this, but I am unsure where to text. I would love a super advanced god level telekinesis mod where you can do everything imaginable from ripping of limbs to grabbing planes out the air. I'd be willing to personally pay you for it.
When I add the Omni-Man, Homelander, and Superman peds, my game crashes I don't know why
maybe you have too much added peds or huge custom DLC packs
idk what to do now, ive tried everything, gameconfing steps and removing entries. It all happend after i downloaded a mod from dark knight but im not sure what ped it was that caused the issue since i did multiple packs, and also not sure how to get the file back to properly uninstall (forgetting there was a uninstall file attached to every ped, i just deleted it out of my mods folder) Once i get in the game i got to superman and select a ped, the ped will go on but then a error message pops up then my screen goes black and kicks me off.
which error message exactly? you can remove the new entries from dlclist xml until you find the possible problematic one you also can rename mods folder to modsss and start a new one extract and send me your dlclist.xml and gameconfig.xml files from mods/update/update.rpf/common/data gtaivscripting@gmail.com identify yourself and the issue
Hi Julio, I followed all the steps from your guide for fixing crashes with added peds. But I still have a very strange crash behavior. Sometimes the game crashes right after loading into Story Mode, when the map/game world finishes loading. Sometimes I can play for more than 1 hour with many enemies spawned at the same time without any crash. But other times the game crashes after 10–30 minutes, or even when I spawn only the first 2–3 enemies. So the crash is not consistent. It feels random, and I’m not sure if the issue is related to dlclist.xml, one specific added ped, cloth/cape physics, gameconfig limits, or something else. I’m using several added superhero/boss peds like Superman, Spider-Man, Venom, Hulk, Thanos, Godzilla, Kong, Mechagodzilla, Sentry, Green Lantern, Invincible, Omni-Man, etc. Here is my dlclist.xml below. I noticed it is quite large, and I also have many added peds installed. I would be very grateful if you could give me any hints about what I should check next. If needed, I can also send logs, crash files, screenshots, or test specific peds one by one. Thank you very much for your work and support. I really appreciate it. platform:/dlcPacks/mpBeach/ platform:/dlcPacks/mpBusiness/ platform:/dlcPacks/mpChristmas/ platform:/dlcPacks/mpValentines/ platform:/dlcPacks/mpBusiness2/ platform:/dlcPacks/mpHipster/ platform:/dlcPacks/mpIndependence/ platform:/dlcPacks/mpPilot/ platform:/dlcPacks/spUpgrade/ platform:/dlcPacks/mpLTS/ dlcpacks:/mpheist/ dlcpacks:/mppatchesng/ dlcpacks:/patchday1ng/ dlcpacks:/patchday2ng/ dlcpacks:/mpchristmas2/ dlcpacks:/patchday2bng/ dlcpacks:/patchday3ng/ dlcpacks:/patchday4ng/ dlcpacks:/mpluxe/ dlcpacks:/patchday5ng/ dlcpacks:/mpluxe2/ dlcpacks:/patchday6ng/ dlcpacks:/mpreplay/ dlcpacks:/patchday7ng/ dlcpacks:/mplowrider/ dlcpacks:/mphalloween/ dlcpacks:/patchday8ng/ dlcpacks:/mpapartment/ dlcpacks:/mpxmas_604490/ dlcpacks:/mplowrider2/ dlcpacks:/mpjanuary2016/ dlcpacks:/mpvalentines2/ dlcpacks:/patchday9ng/ dlcpacks:/mpexecutive/ dlcpacks:/patchday10ng/ dlcpacks:/mpstunt/ dlcpacks:/patchday11ng/ dlcpacks:/mpimportexport/ dlcpacks:/mpbiker/ dlcpacks:/patchday12ng/ dlcpacks:/patchday13ng/ dlcpacks:/mpspecialraces/ dlcpacks:/mpgunrunning/ dlcpacks:/mpairraces/ dlcpacks:/mpsmuggler/ dlcpacks:/mpchristmas2017/ dlcpacks:/mpassault/ dlcpacks:/mpbattle/ dlcpacks:/patchday14ng/ dlcpacks:/patchday15ng/ dlcpacks:/patchday16ng/ dlcpacks:/patchday17ng/ dlcpacks:/patchday18ng/ dlcpacks:/patchday19ng/ dlcpacks:/patchday20ng/ dlcpacks:/mpchristmas2018/ dlcpacks:/patchday21ng/ dlcpacks:/mpvinewood/ dlcpacks:/patchday22ng/ dlcpacks:/mpheist3/ dlcpacks:/mpsum/ dlcpacks:/patchday23ng/ dlcpacks:/patchday24ng/ dlcpacks:/patchday25ng/ dlcpacks:/patchday26ng/ dlcpacks:/mpg9ec/ dlcpacks:/patchdayg9ecng/ dlcpacks:/patchday27ng/ dlcpacks:/patchday27g9ecng/ dlcpacks:/mpchristmas3/ dlcpacks:/mpchristmas3_g9ec/ dlcpacks:/patchday28ng/ dlcpacks:/patchday28g9ecng/ dlcpacks:/patch2023_01/ dlcpacks:/patch2023_01_g9ec/ dlcpacks:/patch2023_02/ dlcpacks:/patch2024_01/ dlcpacks:/patch2024_01_g9ec/ dlcpacks:/patch2024_02/ dlcpacks:/patch2025_01/ dlcpacks:/patch2025_02/ dlcpacks:/patch2025_02_g9ec/ dlcpacks:\CW\ dlcpacks:\Godzilla_30052026_135806\ dlcpacks:\MK85_30052026_141115\ dlcpacks:\mpchristmas2\ dlcpacks:\Omni-Man_UHD_pack_dreadnot\ dlcpacks:\Superman_03062026_203641\ dlcpacks:\True_03062026_205326\ dlcpacks:\Venom_03062026_210723\ dlcpacks:\Spider-Man(PS4)_03062026_211640\ dlcpacks:\FlashJL_03062026_235143\ dlcpacks:\Homelander_04062026_162440\ dlcpacks:\Kong_04062026_170044\ dlcpacks:\Mechagodzilla_04062026_171150\ dlcpacks:\Goku_06062026_155443\ dlcpacks:\PeacemakerMK1_06062026_171259\ dlcpacks:\HULK_07062026_221406\ dlcpacks:\Thanos_09062026_225808\ dlcpacks:\nibmods_thanos_eg\ dlcpacks:\The_Sentry_Pack_Thunderbolts_dreadnot\ dlcpacks:\nib_mods_anims\ dlcpacks:\Green_lantern_DCU_Hal_dreadnot_pack\ dlcpacks:\Invincible_Pack_dreadnot\
bro i have tried everything, IDK what to do, The game keeps crashng when i try to load ino story mode
send me your dlclist.xml and gameconfig.xml from mods/update/update.rpf/common/data gtaivscripting@gmail.com identify yourself and the issue
Why do NPCs disappear when I fly up using the Superman mod?
normal game behavior deleting stuff that are away from player ped
my CPU usage spikes to 100% when i run any mods, game start lagging and freezing please help me in this
probably antivirus making verifications
yeah this aint work, i installed darthknight thragg pack and its just crashing my game after i removed EVERY ped i downloaded and yes i applied EVERY step.
how exactly you removed the peds?
meu jogo fica travando no meio da gameplay, já fiz de tudo, fiz todos os passos, suspeito que seja os peds do kwabz
após qntos minutos?
anytime i try to install peds for superman, i did the install exactly as you have. it crashes as sopon as i hit storymode. I dont know what else to do
how many added peds you have?
whenever I try to load the game it crashes, I tried all the steps but it still crashes
crashes when exactly?
Thanks! Your help fixed it!
ok i dont understant my game keeps crashing right as i load in at my first my mods were working until i added peds from darth knight then it started crashing so i came here and followed all the steps exactly i removed the dlc lines that needed to be removed and the extra ones too then i seen the remove dlc entries basic+most recent oiv and i ran it too through oiv and my game is still crashing i dont have an outdated update rpf and i reapplied the gameconfig.xml step aswell nothing changed
fixed it
I just wanna add that all of your mods I use are causing the game to lag and it makes a robotic sound whenever I use melee option I am not sure if I have corrupted files but it seems very laggy I'm using gta5 legacy
change sound play method in mod options menu
why does my enemy peds attack and it damage them too? how do i fix this they keep dying so fast
check your main game folder and see if you have a file called pedDamageOverhaul.asi
Hey Julio can u make a the boys mod for example butcher or maybe soldier boy too
will try later
Not related to this post but I have a good idea for the mods. Add power scaling presets in the config. They can range from like 1-10 or 1-5, etc. But basically the numbers determine how powerful you want the ped to be. Higher levels of power by default have higher hit force coefficients and damage and give the character more heatlh by default. Also a cool addition would be if hit force coefficients were dynamic like for example if a power scale level 1 tries to hit a power scale level 5 they would barely be move or take damage but if vise versa then the weaker ped would be hit hard and flying and take significant damage. I think of something like this when watching invincible and when mark tries to hig thragg who is much stronger he doesnt really get affected but thragg could send mark or invincible flying with a punch. Bonus if the power scaling also changes things like stronger ones can move/fly faster and jump higher etc.
helloo, all i did to my openiv was follow the replacing the gameconfig instructions and now my gta wont load when i click on story mode it striaght up jus kicks me out, i think it crashes because it was a config that i already had but idk, i did it in an attempt to fix the sentry ped bc everytime i try to select it, it doesnt load and kicks me out but now i have a bigger problem lol
your sentry ped issue was probably due to non converted ped model (case you are on enhanced) make sure you applied correct gameconfig for your game type and don't forget to edit the clothstore thing mentioned in the guide
Bro Remove Entries from DLCLIST Basic broke my entire game
apply the gameconfig.xml steps again
Hello, I'm trying to fight the hulk and it crashes when he kills me. Script Hook Error | FATAL: Can't find native: 0xFFFFFFFFF04B9B8E
cracked game?
Hi Julio, my subscription is over, so I can't write to you in the bos. After a while, I decided to go into GTA to play with mods, but I can't go in, he writes to me: The game could not start, please try to reinstall the game. Do you know what this might be about?
probably outdated things like menyoo.asi other possibility is outdated update2.rpf in mods/update folder
well well.. when i installed the "Remove Entries from DLCLIST (Basic ones).oiv" i cant loaded into the game, it keep me stuck in loading screen
are you sure that this was the only change you made? because it wouldn't cause issues. Maybe you installed a ped model too before testing game again.
i load gta and it keeps crashing
it means there is a ped that needs to be removed and then you need to use this method if you havent already
