GTA 5 Crashes upon installing Add-on Vehicle(s)
-
I'm on GTA 5 version 1.0.2845.0 and it won't let me install any add-on cars at all, not even one and would crash while loading story mode. I've tried switching between back and forward slashes in dlclist.xml (no effect), and when I tried to install gameconfig v30 and both adjusters I got a memory error.
However, GTA 5 seemingly is fine with Scripthook V + .NET, Menyoo and Personal Army which are all script based, so its not all mods it has trouble with.
I did try installing an add-on car on a vanilla copy (still crashed).
The cars I tried were the Paramount Marauder and Vapid TARV Lore-Friendly Bearcat.
https://www.gta5-mods.com/vehicles/vapid-tarv-lore-friendly-bearcat-add-on-eup
https://www.gtainside.com/en/gta5/cars/143784-paramount-marauder-add-on/I don't think it's possible the cars themselves are the issue, as they have worked with previous versions just fine, and other cars also crash the game, it seems that for whatever reason, version 2845 just won't allow add-on vehicles at all.
-
@Psyulai said in GTA 5 Crashes upon installing Add-on Vehicle, even if it's only one:
I'm on GTA 5 version 1.0.2845.0 and it won't let me install any add-on cars at all, not even one and would crash while loading story mode. I've tried switching between back and forward slashes in dlclist.xml (no effect), and when I tried to install gameconfig v30 and both adjusters I got a memory error.
Very unlikely, you will crash a car by making a wrong entry in dlclist.xml. OpenIV will tell you if there is a major syntax error before saving. If unsure, post your dlclist.xml here or preferably on pastebin as this site doesn't treat slashes well. Dlclist entries are very flexible but if unsure, this is an example of acceptable syntax:
<Item>dlcpacks:\f8\</Item>
Same case for open and closing Item (both could be lowercase item, etc.). Slashes (or backslashes) between folder name and forwardslash for closing tag. Also, ensure the spawn name is the same as the folder name. If unsure check vehicles.rpf for spawn name.What memory error? Did you try a different gameconfig file? It's not a magic bullet, you often need to try several out.
However, GTA 5 seemingly is fine with Scripthook V + .NET, Menyoo and Personal Army which are all script based, so its not all mods it has trouble with.
Contrary to popular belief, SHVDN and Menyoo don't crash the game. In fact neither is required to load or spawn a car. You obviously can spawn a car with Menyoo but that is an optional method, scripting is the other method which doesn't require any trainer. Only OpenIV.asi loads cars or addons named dlc.rpf.
Make sure you have OpenIV.asi properly installed in the game folder. I have no idea what Personal Army is but you might want to disable it for testing purposes.
I did try installing an add-on car on a vanilla copy (still crashed).
Not sure exactly what that means but the vanilla game doesn't support non game DLC AFAIK.
The cars I tried were the Paramount Marauder and Vapid TARV Lore-Friendly Bearcat.
https://www.gta5-mods.com/vehicles/vapid-tarv-lore-friendly-bearcat-add-on-eup
https://www.gtainside.com/en/gta5/cars/143784-paramount-marauder-add-on/Can't comment on gtainside but if you took the time to look at the comments on the Vapid page you would see issues/crashes with this mod. So try with another car, hopefully one that doesn't have 20 comments saying
"adding this to the dlclist makes the game crash before it even loads."
Even if this car worked for you before, it is obviously potentially problematic. Start with something safe and simple first.I don't think it's possible the cars themselves are the issue, as they have worked with previous versions just fine, and other cars also crash the game, it seems that for whatever reason, version 2845 just won't allow add-on vehicles at all.
Seriously? You think with 2845 Rockstar disabled all vehicle addons? Nope, not even close. You haven't provided enough information to help. Such as what exactly you have installed and where, log file contents, etc. Recommend you try different vehicles and go back to basics to ensure your game is properly setup for modding.
https://gta5moddinghelp.blogspot.com/2023/02/asking-for-help-on-gta-forum-sites.html
-
@JohnFromGWN I have tried with this car (https://www.gta5-mods.com/vehicles/land-cruiser-black-horse-kj6-2022-add-on-fivem#comments_tab) but got the same results, comments don't speak of a crash.
The mods I have are ScriptHook V + .NET and NativeTrainer, Menyoo, Winch and Personal Army (https://www.gta5-mods.com/scripts/active-bodyguards-squads-and-teams).
Which logs are you expecting me to post and where would they be? I only know about launcher.log, which reports the crash happening and it says game exited with code 0xc0000005 (3221225477). I looked this up and found this post (https://forums.gta5-mods.com/topic/25597/exit-code-0xc0000005-indicates-a-game-crash-status_access_violation) which indicates Windows Update being the cause but it's an old post and I have Windows Update disabled.
Here's part of the launcher.log:
[2023-05-18 01:00:47.628] [DISPLAY] [ 7284] [gamelaunch] Launching game...
[2023-05-18 01:00:47.628] [DISPLAY] [ 7284] [gamelaunch] Path: C:\Users\goopl\Desktop\Steam\steamapps\common\Grand Theft Auto V\GTA5.exe
[2023-05-18 01:00:47.628] [DISPLAY] [ 7284] [gamelaunch] Command Line: "C:\Users\goopl\Desktop\Steam\steamapps\common\Grand Theft Auto V\GTA5.exe" -disableCustomLoadingScreen-disableCustomLoadingScreen-disableCustomLoadingScreen -skipPatcherCheck @commandline.txt -enableCrashpad -useSteam -steamAppId=271590 -scCommerceProvider=4 -scUseFQDNAvatars
[2023-05-18 01:00:47.628] [DISPLAY] [ 7284] [gamelaunch] Working Directory: C:\Users\goopl\Desktop\Steam\steamapps\common\Grand Theft Auto V
[2023-05-18 01:02:59.208] [DISPLAY] [ 7284] [gamelaunch] Game exited with code 0xc0000005 (3221225477)
[2023-05-18 01:02:59.208] [DISPLAY] [ 7284] [crashdetection] Game left no exit file.
[2023-05-18 01:02:59.208] [ ERROR ] [ 7284] [crashdetection] Exit code 0xc0000005 indicates a fatal game exit (reason: STATUS_ACCESS_VIOLATION)
[2023-05-18 01:02:59.211] [DISPLAY] [Main ] [cloudsaveop] Cloud Save sync requested for title 'gta5'
[2023-05-18 01:02:59.228] [DISPLAY] [Main ] [cloudsaveop] Starting cloud save enabled check for title 'gta5'
[2023-05-18 01:02:59.228] [DISPLAY] [Main ] [cloudsaveop] Received cloud saves enabled state for title 'gta5' = disabled
[2023-05-18 01:02:59.228] [DISPLAY] [Main ] [cloudsaveop] Finished syncing cloud saves for title 'gta5'
[2023-05-18 01:03:00.022] [DISPLAY] [ 7284] [launcher] Shutdown requested: false, false
[2023-05-18 01:03:00.039] [DISPLAY] [Main ] [launcher] StartShutdown - Now in progress
[2023-05-18 01:03:01.111] [DISPLAY] [Main ] [app] Application quit requested (exit code: 0)
-
@Psyulai
With respect to the link you provided on Windows Update causing crashes? Users will blame everything except themselves.
I've never seen a report of Windows Update break a modded game and definitely not preventing a vehicle from being added. If it does happen it's a super low probability.The first step in troubleshooting your issue is to ensure your game loads and runs stable without any mods installed. That's step 1. Rename dinput8.dll to dinput8.bak and start the game. If your game is already stable, without adding the vehicle, skip this step.
You don't need to post your log files here, you just need to skim through them and look for words like "Error", "Fail", "Warning", etc. Here is an article that can help.
Importance of GTA 5 Log Files.You can also post your dlclist.xml for review by using pastebin preferably - although an error is dlclist.xml is more likely to be a "no spawn" rather than a crash.
If those measures don't help, you really need to get back to basics to ensure you're setup properly for modding - but in your case, unless your hardware is at fault, the fix is likely a new gameconfig.xml.
-
@JohnFromGWN Yeah, the game runs fine with no mods installed, and also runs fine with most script mods, just when attempting to add vehicles or change gameconfig have I had problems. I checked the way I edited dlclist.xml multiple times, so that's not likely the culprit for all of them.
It is likely to be gameconfig, but there's no possible way I can find the right one, AFAIK there's not even one out for 2845; though people are saying the 2802 version worked, I got a memory allocation error when I tried it with mine.
Although I don't like it, it's much easier to simply forget about adding cars and stick to script mods instead, sorry for bothering you.
-
Just to mention packfilelimitadjuster and heapadjuster. These files were a fix for me once since my game crashed with mods and were fine with scripts and no mods. Since then no problems.
-
@Psyulai no bother, but no reason to give up on adding vehicles. Millions of gamers are updated with vehicle mods.
Try different gameconfig.xmls. A gameconfig.xml is really useful when you have many vehicles. It should not crash with just one.
-
@bmw740il those are absolutely mandatory for modding with addons.
-
@JohnFromGWN Do you know any gameconfigs that aren't by F7YO and are recently updated? I have the packfile limit adjuster and heapadjuster, but whenever I use the gameconfig by F7YO (I've tried several different ones) I always get the memory error ERR_MEM_EMBEDDEDALLOC_ALLOC
When I search for tutorials to fix it, I'm referred back to the same gameconfig, and it's damn frustrating. I keep getting told that the very thing that causes the error is the fix for it. There must be someone else making them, right?
-
@Psyulai
The one by @F7YO is the most popular one.
I'm on 2372 and have used the same gameconfig.xml with 1000s of addons installed from day one.
https://www.gta5-mods.com/misc/gameconfig-xml-dilapidatedThere are definitely others to try, and you can tweak and test.
https://www.gta5-mods.com/search/gameconfigHowever, I would first try to identify which mod or mods are crashing your system.
-
@Psyulai 2802 is the correct version. The 0.5x traffic and peds for less mods worked for me, then I've raised the values myself and it kept working. I have dozens of added dlcs and no issues even tho it's meant for less mods, while the "more mods" version hadn't worked. Packetfile limt adjuster crashed my game a while ago, I've removed it and hadn't missed it so far.
Try the gameconfig edits which come in Re-Sized, I felt it did good to my game
-
@Sata said in GTA 5 Crashes upon installing Add-on Vehicle, even if it's only one:
Packetfile limt adjuster crashed my game a while ago, I've removed it and hadn't missed it so far.
That is terrible advice bro. Removing the packfile limit adjuster may reflect your particular setup but is definitely not recommended for users in general.
I don't add mods unless they are absolutely essential, and for 99% of us the packfile limit adjuster is essential.
-
Update: I tried 0.1x traffic and still got the crash. So I searched for gameconfigs for a while and realized that Dilapidated and F7YO are not the same person (I thought they were), so I tried Dilapidated's gameconfig. I am now able to play the game for about 20-30 minutes but after that time the same memory error still occurs.
I currently have one add-on vehicle installed and I am able to use it within that time span. No idea what to do next though.
The vehicle is this: (https://www.gtainside.com/en/gta5/cars/147009-cadillac-escalade-2021-next-gen-add-on-replace/)
-
@Psyulai
A gameconfig.xml is just one variable and definitely not a one size fits all.
The first step in troubleshooting is to ensure the unmodded game can run stable for an hour or so.
You need the proper hardware to run a game, even more demanding requirements when modding.
Stability is also a function of what scripts, visual mods, maps, peds, vehicles, etc, you have installed.
Disable everything except your vehicle and see how long you can run.
-
@JohnFromGWN I can do that by renaming dinput8.dll right?
-
@Psyulai ERR_MEM_EMBEDDEDALLOC_ALLOC can be anything, even a single misconfigured parameter in one of your timecycle xmls. It basically means game reserved some space in memory for a resource but got something with a different size. If you're very aware and lucky you might possibly get what's the single thing that happens the moment it crashes, maybe a certain game time, a particular weather change. But it may as well be something you can't possibly actually see happening so the way to go is starting from scratch, one mod at a time. Add no more than two or three mods, see if it runs stable. Repeat. Make backup of all moded stuff whenever it is stable.
-
@JohnFromGWN I just checked and I have now 130 added entries on my dlclist.xml, using the "less mods" version of F7YO. Some of those contain multiples rpf files.
PacketFileLimitAdjuster will crash my game right away before load screen. It's anedoctal but I still think it's worth sharing. The most one will get is an extra crash.
-
@Psyulai Clarifying that you have now a new issue. Crashing when adding one addon vehicle was solved with your new gameconfig.xml. Now crashing after 30 minutes of gameplay on memory alloc error is a new issue, which may or may not be related to the gameconfig. I believe it is something else, but by (personal and limted) experience it's often easier to start again than finding the needle in the haystack.
-
@Sata It's most certainly related to add-on vehicles. With one it took about 20-30 minutes to give the error, with a second vehicle it's now taking 8-10 minutes to crash.
-
@Psyulai but see, you'll spend lots of 8, 10, 20, 30 minutes
I would say just move your mods folders elsewhere (the trash bin is an option), remove all your scripts, then start again with only the gameconfig and those vehicles.
And yes, you can play unmodded by renaming the dinput8.dll, it should work ok like this. If you still crash with no mod at all then you just got some extra fun time.
-
@Sata The crash still occurs when it's just gameconfig and vehicles. The more vehicles, the faster the crash happens. This gameconfig is seemingly the only one that will actually even let the game play, and it's still for only 8-10 minutes. Back when I bought GTA 5 in 2015-16 stuff like this didn't happen, hell I didn't even need to change gameconfig to have at least 10 add-on vehicles. What the hell happened?
-
@Psyulai Do you have any overclocking going on? I had some issues in the past by going too far with that
-
@Psyulai bro my fix is crazy , i had this issues before , in mods folder ,update.rpf /dlclist.xml ,delete the line mpheist4 ,and then cut everything in original dlcpacks into mods folder , so you just switch its location ,and leave nothing in original update folder into mods folder ,you still need required dll ,and asi loader installed , and now my gta v can install car mods without crashes , i don't know what cause this glitch,but make sure to backup your original update folder to somewhere before attempt this action, maybe try this
-
@iwansx-gaming thanx a lot, dude.
I had the same problem. I got clean installed game, but it crashes after installind an any add-on car mod after the starting story mode.
But a I did only one thing of you guide to fix this problem: deleted the line mpheist4 in dlclist.xml in folder mods\update\update.rpf\common\data. Without addind original dlcpacks into mods folder. Only added add-on car mod folder.
-
@iwansx-gaming small note, after my solution, some planes from dlc (i think mpheist4) stopped working. So, most likely, it's important to do this: "and then cut everything in original dlcpacks into mods folder"