Log in to reply
 

Likely 99.99% my fault


  • MODERATOR

    Seriously, I'm 99.99% sure it's my own fault, but I'm using this well-known mod:

    Simple Trainer for GTA V

    Yet about 5% of the cars won't spawn, though ('Invalid model'). When I started installing mods for the first time, a week or so ago, I very likely replaced some default file (like dlclist.xml or extratitleupdatedata.meta, the kind you're often instructed to replace). Not putting blame anywhere, as now I know better. :) Just a quick question, though, what file could I have replaced that holds the car id's?!

    Thanks.



  • @meimeiriver Maybe try starting with a fresh mods folder if you use it


  • MODERATOR

    @NotCrunchyTaco I can do that, yes; but it basically means I'll have to start from scratch. :) I was hoping it would be something simple.



  • @meimeiriver Do you have any replace cars? Maybe that's what messed up the models


  • MODERATOR

    @NotCrunchyTaco On the other hand, doing it properly this time around might be a good idea too :) (I messed up a few minor peds).

    Just FTR, anything can go under mods, right? Like the x64x -> x64v directories as well (I replaced a few peds in there, only later realizing I should have copied the pertinent ones to mods too).



  • @meimeiriver Ah, that may be the problem or simply deleting the Simple Trainer config and .asi will fix the problem then reinstalling. Which may have been the first thing you did



  • @meimeiriver dlclist.xml is the key file as that contains all the references to the addon cars. extratitleupdatedata.meta is a pointless file for mods but an error in it could possibly cause problems. You could put the vanilla version of that back into your mods folder as a first step... and then ignore any mod that tells you to add anything to it.

    Other than that, make sure there are no errors in the dlclist.xml file. Check all the elements are closed properly. So where there's an <item> tag, make sure there is a matching </item> tag on the end of the line.

    Make sure there are no missing > signs or anything after that will fail. Also make sure there are no rogue spaces or other characters after a closing tag, as that can also cause a failure.


  • MODERATOR

    @LeeC2202 Very early in the game (pun intended), I realized dlclist.xml was NOT meant to be really replaced. My guess is that I likely initially replaced it with a older one that came with an older mod (thus likely missing some of the latest patchday dlc vehicles).

    Let me go into my (untouched) game right now, and seek to retrieve the original dlclist.xml file first. If no apparent items are missing, I'll get back to you with some of the names of cars that won't spawn.

    P.S. Your thinking-along is highly appreciated. :)



  • @meimeiriver Don't worry, you won't be the first to get caught out by the instructions in a mod and you won't be the last. Not while the modders keep putting out mods with dangerous instructions anyway.

    Take a look at the image in this post to see what happens when it all goes really bad... https://forums.gta5-mods.com/topic/6886/couldn-t-find-a-model/29

    Their vanilla dlclist.xml file looked like that picture and so did the one in their mods folder. And just today I had another one that had replaced their dlclist.xml from a mod and lost everything since patchday7ng.


  • MODERATOR

    @LeeC2202 Yep, a very precursory comparison shows me I'm missing patchday13ng in dlclist.xml. I knew it! :)

    I'll hold off on marking this as 'Solved' just yet, but I'm now 99.99% positive I've located the source of the issue! :)


  • MODERATOR

    @LeeC2202 said in Likely 99.99% my fault:

    @meimeiriver Don't worry, you won't be the first to get caught out by the instructions in a mod and you won't be the last. Not while the modders keep putting out mods with dangerous instructions anyway.

    Take a look at the image in this post to see what happens when it all goes really bad... https://forums.gta5-mods.com/topic/6886/couldn-t-find-a-model/29

    Their vanilla dlclist.xml file looked like that picture and so did the one in their mods folder. And just today I had another one that had replaced their dlclist.xml from a mod and lost everything since patchday7ng.

    Yikes, that's losing a lot! Eek! :)

    Perhaps it would indeed be a good idea for modders to exercise some, erm, moderation in their suggestion to replace stuff. I wasn't born yesterday, so I soon realized what had to be done instead; but yeah, new ppl (like me) tend to be very literal when it comes to following installation instructions (I'd say, especially because we're new at it, and don't want to mess things up).


  • MODERATOR

    @NotCrunchyTaco YAY! As pretty much expected, the missing vehicles are spawning again! :)

    Again, thank you kindly for all your help!



  • @meimeiriver Cheers! Glad it's working for you!



  • @meimeiriver No problem, that's what the forums are here for. :D


  • MODERATOR

    @NotCrunchyTaco I think I spoke too soon; working thru the night is never a good idea :P. It wasn't just patchday13ng I was missing, but also mpimportexport. The two seem related. The cars I'm still missing (and now I'm wondering whether I really had some of them back, after all), are apparently from the mpimportexport DLC. Seems Rockstar prevents spawning them. Okay, so there's a known fix for that: placing mpimportexport.asi in your main GTV dir. Check! The thing just is, adding mpimportexport to my dlclist.xml again, makes my game crash on startup. Even replaced the entire folder with the original, to no avail.

    It's just a handful of cars, I know; but still. Anyone else have this happen too?



  • @meimeiriver If you disable your mods folder, you should still be able to spawn every car that exists in the game (excluding addons of course). If you can't, then the problem lies outside your mods folder.


  • MODERATOR

    @LeeC2202 I temporarily renamed the mods folder, and, indeed, game still crashes. How quaint! The game with mods folder, but without mpimportexport, runs just fine; but the game, with or without mods folder, crashes as soon as mpimportexport is added.



  • @meimeiriver Your next test is to prevent any scripts from running and the easiest way to do that is to rename your scripts folder and remove any .asi mods.

    That should effectively leave you with a completely clean game but without the potential conflict of any mods of any kind. If that works, then maybe the problem is a script that is using something from mpimportexprt.


  • MODERATOR

    @LeeC2202 Very strange! This is the error I'm getting, btw:

    [2017-02-14 14:51:12.495] [DISPLAY] (path: I:\SteamLibrary\steamapps\common\Grand Theft Auto V\GTA5.exe cmdline: "I:\SteamLibrary\steamapps\common\Grand Theft Auto V\GTA5.exe")
    [2017-02-14 14:52:10.015] [WARNING] Device lost.
    [2017-02-14 14:52:25.795] [WARNING] Resetting device...
    [2017-02-14 14:52:25.987] [ ERROR ] GameComm: ReadFile failed.
    [2017-02-14 14:52:26.037] [DISPLAY] Reset succeeded.
    [2017-02-14 14:52:26.157] [DISPLAY] Game exited with code 0xc0000005
    [2017-02-14 14:52:26.157] [ ERROR ] Unable to stat out-file!
    [2017-02-14 14:52:26.159] [ ERROR ] ************************************************************************
    [2017-02-14 14:52:26.159] [ ERROR ] * Setting error condition
    [2017-02-14 14:52:26.160] [ ERROR ] * Category: 1 (ERROR_CATEGORY_LAUNCHER)
    [2017-02-14 14:52:26.160] [ ERROR ] * Code: 107 (LAUNCHER_ERR_GAME_CRASHED)
    [2017-02-14 14:52:26.160] [ ERROR ] * Extra:
    [2017-02-14 14:52:26.160] [ ERROR ] * Localised: Launcher error. Code: 107
    [2017-02-14 14:52:26.160] [ ERROR ] ************************************************************************
    [2017-02-14 14:52:26.162] [ ERROR ] Unable to read out-file!
    [2017-02-14 14:52:26.164] [ ERROR ] ************************************************************************
    [2017-02-14 14:52:26.164] [ ERROR ] * Setting error condition
    [2017-02-14 14:52:26.164] [ ERROR ] * Category: 5 (ERROR_CATEGORY_EXIT_CODE)
    [2017-02-14 14:52:26.164] [ ERROR ] * Code: -1073741819 (c0000005)
    [2017-02-14 14:52:26.164] [ ERROR ] * Extra:
    [2017-02-14 14:52:26.164] [ ERROR ] * Localised: Grand Theft Auto V exited unexpectedly.

    Please click Retry below to enter the game again, or click Safe Mode to launch the game with reduced graphics settings.

    If you continue to have problems playing the game, please contact Rockstar Games Customer Service at http://support.rockstargames.com
    [2017-02-14 14:52:26.164] [ ERROR ] ************************************************************************
    [2017-02-14 14:52:26.167] [ ERROR ] Exit code 0xc0000005 indicates a game crash (STATUS_ACCESS_VIOLATION)
    [2017-02-14 14:52:26.179] [ ERROR ] Unable to clear in-file and out-file!
    [2017-02-14 14:52:30.632] [DISPLAY] Uninitializing.


  • MODERATOR

    @LeeC2202 said in Likely 99.99% my fault:

    @meimeiriver Your next test is to prevent any scripts from running and the easiest way to do that is to rename your scripts folder and remove any .asi mods.

    That should effectively leave you with a completely clean game but without the potential conflict of any mods of any kind. If that works, then maybe the problem is a script that is using something from mpimportexprt.

    Yeah, I'm in the process of doing that right now. Thx! :)



  • @meimeiriver said in Likely 99.99% my fault:

    Exit code 0xc0000005 indicates a game crash (STATUS_ACCESS_VIOLATION)

    That seems like a permissions error.

    Try this... make a backup of your GTA V folder folder in *Documents\Rockstar Games*. Either copy it somewhere of just zip it up with something.

    When you've done that, delete the original folder and then re-run the game. Don't worry, you can just copy everything back from the backup you've just made.

    The idea is that it creates a new set of folders in your Documents, I'm just trying to see whether you have an access problem in that folder or not.


  • MODERATOR

    Without any of the .asi scripts in the root dir, the game immediately says 'Game data corrupted' (without even going to graphics shell). I'm going to recheck the data integrity now (may take a while).



  • @meimeiriver You know, I can never sus that one out. If I remove all the scripthook stuff, I get the same problem and I have no idea why, as scripthookv doesn't change anything. :confused:


  • MODERATOR

    @LeeC2202 said in Likely 99.99% my fault:

    ACCESS_VIOLATION)

    From my programming days, an ACCESS_VIOLATION usually doesn't refer to a permissions issue (like having access to a folder), but to a memory access violation (like trying to access memory from a null-pointer or something). I did try your suggestion out, of course, but that wasn't it. :)

    N.B. It said 7 files needed to be re-downloaded (not entirely surprsing, as I made some changes to the non-modded x64 dirs too, to override some ped, which I will just redo, but then in the mods folder this time)


  • MODERATOR

    @LeeC2202 said in Likely 99.99% my fault:

    @meimeiriver You know, I can never sus that one out. If I remove all the scripthook stuff, I get the same problem and I have no idea why, as scripthookv doesn't change anything. :confused:

    Yeah, LOL, I was thinking the exact same thing! :) Those .asi scripts aren't a native part of GTA V, so removing them should make no difference. Unless the game calculates some checksum over its root files (but that seems unlikely, as I can make changes to trainer.ini just fine).


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.