Log in to reply
 

Help me with the dlcpacks.xml file pls



  • I've been trying to install a plane addon to my gta 5 but when I'm adding it to my dlcpacks.xml file it gives me an error saying "XML parsing error at line 5, col:4 only one top level element is allowed in XML document." so I went to check line 5 and it says <Item>platform:/dlcPacks/mpBusiness/</Item> pls help I've been dealing with this problem for 2 weeks now.



  • @D4rk_Ninja141

    Despite the error message, that's not the error.
    Paste your entire file on pastebin or here.



  • @JohnFromGWN <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:/mpsum2/</Item>
    <Item>dlcpacks:/patchday27ng/</Item>
    <Item>dlcpacks:/mpsum2_g9ec/</Item>
    <Item>dlcpacks:/patchday27g9ecng/</Item>
    <Item>dlcpacks:\f22a</Item>
    <Item>dlcpacks:\f14a2</Item>
    <Item>dlcpacks:\f15e</Item>
    <Item>dlcpacks:\fa18e</Item>
    <Item>dlcpacks:\F-2A</Item>
    <Item>dlcpacks:\ef2000</Item>
    <Item>dlcpacks:\f35c</Item>
    <Item>dlcpacks:\kawac2</Item>
    <Item>dlcpacks:\a359</Item>
    </Paths>
    </SMandatoryPacksData>



  • @D4rk_Ninja141
    You're missing the root tags.

    must start like this

    <?xml version="1.0" encoding="UTF-8"?>
    <SMandatoryPacksData>
    <Paths>
    

    Also, unless it's an issue with the forums, you have a whole bunch of tags that aren't closed.
    After the name of each folder you need to put a slash or backslash
    For example, f14a2\</Item>, not f14a2</Item>
    Check all your tags.

    <Item>dlcpacks:\f14a2</Item>
    <Item>dlcpacks:\f15e</Item>
    <Item>dlcpacks:\fa18e</Item>
    <Item>dlcpacks:\F-2A</Item>
    <Item>dlcpacks:\ef2000</Item>
    <Item>dlcpacks:\f35c</Item>
    <Item>dlcpacks:\kawac2</Item>
    <Item>dlcpacks:\a359</Item>
    
    


  • @JohnFromGWN said in Help me with the dlcpacks.xml file pls:

    <?xml version="1.0" encoding="UTF-8"?>

    I have this part <?xml version="1.0" encoding="UTF-8"?> I just didn't copy it



  • @D4rk_Ninja141
    do you also have the line <SMandatoryPacksData>
    and are all your tags closed properly as i gave an example above?
    Otherwise I don't see the problem.

    You said you were adding a plane? which line is that, the a359? please make sure you include that plane line since it seems that's the one breaking your xml.



  • @JohnFromGWN I put it how you told me to put but now it says theres a error at line 0 col 0



  • @D4rk_Ninja141
    Can you please re paste the entire file. I really don't see the error.



  • @D4rk_Ninja141

    Or try this.

    Paste this at the top of the file.

    <?xml version="1.0" encoding="UTF-8"?>
    <SMandatoryPacksData>
    <Paths>
    

    then put all your tags here including the game ones

    then put this after all the tags.

    </Paths>	
    </SMandatoryPacksData>
    
    


  • @JohnFromGWN <?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:/mpsum2/</Item>
    	<Item>dlcpacks:/patchday27ng/</Item>
    	<Item>dlcpacks:/mpsum2_g9ec/</Item>
    	<Item>dlcpacks:/patchday27g9ecng/</Item>
    	<Item>dlcpacks:\f22a\</Item>
    	<Item>dlcpacks:\f14a2</Item>
        <Item>dlcpacks:\f15e</Item>
        <Item>dlcpacks:\fa18e</Item>
        <Item>dlcpacks:\F-2A</Item>
        <Item>dlcpacks:\ef2000</Item>
        <Item>dlcpacks:\f35c</Item>
        <Item>dlcpacks:\kawac2</Item>
        <Item>dlcpacks:\a359</Item>
    

    thats the entire file



  • @D4rk_Ninja141 You're still missing the slash or backslash after the dlc name and still missing the closing tags for Paths and SMandatoryPacksData. Reread John's earlier replies.



  • @chonkie i closed paths and smandatorypacksdata but now i'm getting another error



  • @D4rk_Ninja141 said in Help me with the dlcpacks.xml file pls:

    i'm getting another error

    Going to be very hard for anyone here to help you with "another error" - that's the hardest one to fix.



  • I fixed it


Log in to reply
 

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