Log in to reply
 

[ Tutorial ] - dlclist.xml Troubleshooting/Syntax Rules/All DLC stopped working possible FIX



  • Just covering the most common 'dlclist.xml' errors that can cause all your dlc to stop working/loading & also some guidelines on formatting & avoiding syntax errors.

    Note: Reference to capital ('I') or lowercase ('i') apply only to the <Item>/~/</item> parts of the lines. Not to the dlc name or anything else.

    No DLC is loading:
    If all your dlc has suddenly stopped loading, the most common cause is that there is a line in your 'dlclist.xml' that starts with a capital 'I' in the '<Item>' part & ends with a lowercase 'i' in the '</Item>' or vice versa (<item>/dlc-name-here/</Item> etc).

    Capital ('<Item>')/Lowercase ('<item>'):

    Both of these will work:

    		<Item>dlcpacks:/mpxmas_604490/</Item>
    
    		<item>dlcpacks:/mpchristmas2/</item>
    

    You can have different lines, some with two capital 'I's ('<Item>' & '</Item>'), some with two lowercase 'i's ('<item>' & '</item>'). That's totally fine. They will both work. :thumbsup:

    Example (all your dlc will load perfectly fine if formatted something like this):

    		<item>platform:\dlcPacks\mpBeach\</item>
    		<Item>platform:\dlcPacks\mpBusiness\</Item>
    		<item>platform:\dlcPacks\mpChristmas\</item>
    		<item>platform:\dlcPacks\mpValentines\</item>
    		<Item>platform:\dlcPacks\mpBusiness2\</Item>
    		<Item>platform:\dlcPacks\mpHipster\</Item>
    		<Item>platform:\dlcPacks\mpIndependence\</Item>
    		<item>platform:\dlcPacks\mpPilot\</item>
    		<item>platform:\dlcPacks\spUpgrade\</item>
    		<Item>platform:\dlcPacks\mpLTS\</Item>
    

    Just make sure not to mix & match capitals 'I's ('<Item>' or '</Item>') & lowercase 'i's ('<item>' or '</item>') within the same line (see below).

    Any one or more lines like this, will break 'dlclist.xml' functionality & STOP ALL DLC from loading:

    		<item>dlcpacks:/mpxmas_604490/</Item>
    
    		<Item>dlcpacks:/mpchristmas2/</item>
    

    Example (some of these lines will cause your game to not load any dlc):

    		<item>platform:\dlcPacks\mpBeach\</Item> (bad)
    		<Item>platform:\dlcPacks\mpBusiness\</item> (bad)
    		<item>platform:\dlcPacks\mpChristmas\</item> (good)
    		<Item>platform:\dlcPacks\mpValentines\</item> (bad)
    		<Item>platform:\dlcPacks\mpBusiness2\</Item> (good)
    		<item>platform:\dlcPacks\mpHipster\</Item> (bad)
    		<Item>platform:\dlcPacks\mpIndependence\</Item> (good)
    		<item>platform:\dlcPacks\mpPilot\</item> (good)
    		<item>platform:\dlcPacks\spUpgrade\</Item> (bad)
    		<Item>platform:\dlcPacks\mpLTS\</Item> (good)
    

    Easy way to find syntax errors:
    If you use 'Edit' (right-click file>'Edit' or 'Ctrl+Enter') to open a file using OpenIV, a '[</> XML]' button will appear at the top when you are in the file. Tap that button & OpenIV will check the file for syntax errors & take you to where it thinks the error is if it finds one. After you fix the error, hit the '[</> XML]' button again to check there isn't more than one & then '[Save]' the file (bottom right). :thumbsup:
    Note: OpenIV will now also notify you of syntax errors when you attempt to '[Save]' a file after editing it.

    Backslashes or Forwardslashes on either side of the dlc name:
    These don't matter, in that they can be backslashes (' \ ') OR forwardslashes (' / ') & even if you mix & match in the same line, the dlc will still load perfectly fine.

    Example (all this dlc will still load perfectly, even if formatted like this):

    		<Item>dlcpacks:/forest/</Item>
    		<Item>dlcpacks:\firebird77/</Item>
    		<item>dlcpacks:\na1\</item>
    		<item>dlcpacks:/16challenger\</item>
    

    Correct general formatting of 'dlclist.xml' file & where to add new lines:

    If you're new to GTAV modding, it's not always clear in mod instructions where exactly one should add the dlc line, so just to clarify, it can go anywhere below '<Paths>' but above '</Paths>' & in it's own line is usually best/easiest to read etc.

    <?xml version="1.0" encoding="UTF-8"?>
    <SMandatoryPacksData>
    	<Paths>
    Add DLC Lines HERE (below what already exists is usually best, but anywhere here, in it's own line, will work)
    	</Paths>
    </SMandatoryPacksData>
    

    Example:

    <?xml version="1.0" encoding="UTF-8"?>
    <SMandatoryPacksData>
    	<Paths>
    		...~
    		<Item>dlcpacks:/forest/</Item>
    		<Item>dlcpacks:/firebird77/</Item>
    		<item>dlcpacks:\na1\</item>
    		<item>dlcpacks:\16challenger\</item>
    		<Item>dlcpacks:\zmissile\</Item>
    		<Item>dlcpacks:\dov\</Item>
    		<Item>dlcpacks:\satoca\</Item>
    		<Item>dlcpacks:\gto2\</Item>
    		Adding a new line in here is usually easiest
    	</Paths>
    </SMandatoryPacksData>
    

    That's the basics coverered I think :thinking: but if you find any other common 'dlclist.xml' issues I've forgotten to mention, give me a shout & I'll add them :thumbsup:


  • Banned

    This post is deleted!


  • my syntax error is in paths



  • @a63nt-5m1th Excellent summary. Only thing you might want to add is that there are 2 files with that name.

    the one you want to update, generally speaking, is the one in the mods folder

    .....**\mods\**update\update.rpf\common\data

    and not this one:
    your GTA install folder\update\update.rpf\common\data



  • @JohnFromGWN
    My post is older than 365 days, so can no longer edit it :confused:
    People will hopefully read enough to catch your post. Cheers :thumbsup:

    @lolno99 said in [ Tutorial ] - dlclist.xml Troubleshooting/Syntax Rules/All DLC stopped working possible FIX:

    my syntax error is in paths

    Give us a little more info. What does OpenIV syntax check say exactly?

    Alternatively, upload your 'dlclist.xml' somewhere (Mediafire etc) or use a codeblock (see below) to post it here & I'll check it for you :thumbsup:

    How to Post a Codeblock:

    ```xml
    Copy these three lines to a blank txt etc file, overwrite only this line with everything in dlclist.xml, copy all & paste into gta5-mods forum post.
    ```
    It will then appear like this when posted & be an exact copy of everything you have in 'dlclist.xml':

    Example:

    <?xml version="1.0" encoding="UTF-8"?>
    
    <SMandatoryPacksData>
    	<Paths>
      		<Item>platform:\dlcPacks\mpBeach\</Item>
    		<Item>platform:\dlcPacks\mpBusiness\</Item>
    		<Item>platform:\dlcPacks\mpChristmas\</Item>
    		<Item>platform:\dlcPacks\mpValentines\</Item>
    		<Item>platform:\dlcPacks\mpBusiness2\</Item>
    		<Item>platform:\dlcPacks\mpHipster\</Item>
    		<Item>platform:\dlcPacks\mpIndependence\</Item>
    		<Item>platform:\dlcPacks\mpPilot\</Item>
    		<Item>platform:\dlcPacks\spUpgrade\</Item>
    		<Item>platform:\dlcPacks\mpLTS\</Item>
    	</Paths>	
    </SMandatoryPacksData>
    


  • @a63nt-5m1th Now if they will only read your post!

    I think the fact that the "Mods file structure" creates what are duplicates in name goes a long way to explain why there are so many posted issues, not just here but on Steam and elsewhere.

    Anyway, excellent work.



  • @a63nt-5m1th going to add an error i made just yesterday which surprised me, not that i made the error but rather the nature.

    I forgot to close the path and this resulted in my addon not loading, no error, just no load

    For example
    <Item>dlcpacks:/mycar</Item>
    Instead of <Item>dlcpacks:/mycar/</Item>

    So that closing slash or backslash is mandatory.

    I apologize if this was already accounted for.



  • hello guys, I think I have some trouble with dlclist.xml.
    I can't figure it out. here is my dlclist.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <SMandatoryPacksData>
    <Paths>
    <Item>platform:/dlcPacks/mpBeach/</Item>
    <Item>platform:/dlcPacks/mpBusiness/</Item>
    <Item>platform:/dlcPacks/mpChristmas/</Item>
    <Item>platform:/dlcPacks/mpValentines/</Item>
    <Item>platform:/dlcPacks/mpBusiness2/</Item>
    <Item>platform:/dlcPacks/mpHipster/</Item>
    <Item>platform:/dlcPacks/mpIndependence/</Item>
    <Item>platform:/dlcPacks/mpPilot/</Item>
    <Item>platform:/dlcPacks/spUpgrade/</Item>
    <Item>platform:/dlcPacks/mpLTS/</Item>
    <Item>dlcpacks:/mpheist/</Item>
    <Item>dlcpacks:/mppatchesng/</Item>
    <Item>dlcpacks:/patchday1ng/</Item>
    <Item>dlcpacks:/patchday2ng/</Item>
    <Item>dlcpacks:/mpchristmas2/</Item>
    <Item>dlcpacks:/patchday2bng/</Item>
    <Item>dlcpacks:/patchday3ng/</Item>
    <Item>dlcpacks:/patchday4ng/</Item>
    <Item>dlcpacks:/mpluxe/</Item>
    <Item>dlcpacks:/patchday5ng/</Item>
    <Item>dlcpacks:/mpluxe2/</Item>
    <Item>dlcpacks:/patchday6ng/</Item>
    <Item>dlcpacks:/mpreplay/</Item>
    <Item>dlcpacks:/patchday7ng/</Item>
    <Item>dlcpacks:/mplowrider/</Item>
    <Item>dlcpacks:/mphalloween/</Item>
    <Item>dlcpacks:/patchday8ng/</Item>
    <Item>dlcpacks:/mpapartment/</Item>
    <Item>dlcpacks:/mpxmas_604490/</Item>
    <Item>dlcpacks:/mplowrider2/</Item>
    <Item>dlcpacks:/mpjanuary2016/</Item>
    <Item>dlcpacks:/mpvalentines2/</Item>
    <Item>dlcpacks:/patchday9ng/</Item>
    <Item>dlcpacks:/mpexecutive/</Item>
    <Item>dlcpacks:/patchday10ng/</Item>
    <Item>dlcpacks:/mpstunt/</Item>
    <Item>dlcpacks:/patchday11ng/</Item>
    <Item>dlcpacks:/mpimportexport/</Item>
    <Item>dlcpacks:/mpbiker/</Item>
    <Item>dlcpacks:/patchday12ng/</Item>
    <Item>dlcpacks:/patchday13ng/</Item>
    <Item>dlcpacks:/mpspecialraces/</Item>
    <Item>dlcpacks:/mpgunrunning/</Item>
    <Item>dlcpacks:/mpairraces/</Item>
    <Item>dlcpacks:/mpsmuggler/</Item>
    <Item>dlcpacks:/mpchristmas2017/</Item>
    <Item>dlcpacks:/mpassault/</Item>
    <Item>dlcpacks:/mpbattle/</Item>
    <Item>dlcpacks:/patchday14ng/</Item>
    <Item>dlcpacks:/patchday15ng/</Item>
    <Item>dlcpacks:/patchday16ng/</Item>
    <Item>dlcpacks:/patchday17ng/</Item>
    <Item>dlcpacks:/patchday18ng/</Item>
    <Item>dlcpacks:/patchday19ng/</Item>
    <Item>dlcpacks:/patchday20ng/</Item>
    <Item>dlcpacks:/mpchristmas2018/</Item>
    <Item>dlcpacks:/patchday21ng/</Item>
    <Item>dlcpacks:/mpvinewood/</Item>
    <Item>dlcpacks:/patchday22ng/</Item>
    <Item>dlcpacks:/mpheist3/</Item>
    <Item>dlcpacks:/mpsum/</Item>
    <Item>dlcpacks:/patchday23ng/</Item>
    <Item>dlcpacks:/mpheist4/</Item>
    <Item>dlcpacks:/patchday24ng/</Item>
    <Item>dlcpacks:/mptuner/</Item>
    <Item>dlcpacks:/patchday25ng/</Item>
    <Item>dlcpacks:/mpsecurity/</Item>
    <Item>dlcpacks:/patchday26ng/</Item>
    <Item>dlcpacks:/mpg9ec/</Item>
    <Item>dlcpacks:/patchdayg9ecng/</Item>
    <Item>dlcpacks:/NVR_carcols/</Item>
    <Item>dlcpacks:/NVR_textures/</Item>
    <Item>dlcpacks:/vremastered/</Item>
    <Item>dlcpacks:/forest_n/</Item>
    <Item>dlcpacks:/forest_s/</Item>
    <Item>dlcpacks:/roma22/</Item>
    <Item>dlcpacks:/ram16/</Item>
    <Item>dlcpacks:/765lt/</Item>
    <Item>dlcpacks:/x6m/</Item>
    <Item>dlcpacks:/NC1/</Item>
    <Item>dlcpacks:/bbentayga/</Item>
    <Item>dlcpacks:/supra19/</Item>
    <Item>dlcpacks:/gtr/</Item>
    <Item>dlcpacks:/nissantitan17/</Item>
    <Item>dlcpacks:/pcs18/</Item>
    <Item>dlcpacks:/ben17/</Item>
    <Item>dlcpacks:/evoque/</Item>
    <Item>dlcpacks:/SCLkuz/</Item>
    <Item>dlcpacks:/superd3/</Item>
    <Item>dlcpacks:/ikx365gtb/</Item>
    <Item>dlcpacks:/Taycans20/</Item>
    <Item>dlcpacks:/clique2/</Item>
    <Item>dlcpacks:/vxr/</Item>
    <Item>dlcpacks:/land/<Item>
    <Item>dlcpacks:/zephyr41c/</Item>
    <Item>dlcpacks:/dubsta22/</Item>
    <Item>dlcpacks:/22bengt/</Item>

    </Paths>
    

    </SMandatoryPacksData>

    ps.(when I save this file, it says the xml parsing error at line 102, col 4: the end of mark 'Paths' doesn't match with 'Item'



  • @ziziorz

    Close all your tags. Unfortunately xml validation often results in useless error messages. I was pretty sure this was a closing tag so I did a find in page from my browser and found it immediately.

    This is the problem

    <Item>dlcpacks:/land/<Item>

    Should be <Item>dlcpacks:/land/</Item>

    This is a tutorial thread, better off next time using the help forums


Log in to reply
 

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