Add-On OIV
-
Hello,
i need someones help. The OIV Add-On Base has an problem. I want that the command add only a textline to the dlclist. I
don´t want that the whole dlclist will be replaced by the one in the oiv base.
-
@CSQ574 You can open or extract the contents of the OIV with 7zip or winrar. Then you can just take what you need from there. Hope that helps
-
@CSQ574 Here is a pretty good documentation page for OIVs.
Anyway, this is how to add it:
<xml path="common\data\dlclist.xml"> <add xpath="/SMandatoryPacksData/Paths"> <item>dlcpacks:\spMyNewCar\</item> </add> </xml>
-
@AHK1221 Did you mean to tag me or @CSQ574 in that post? Although that helps me out anyway, cause I'm a noob when it comes to Add-on cars
-
@krissboo Ooops sorry
-
@AHK1221 Hey it's cool lol. As I said. it kinda helps me out anyway
-
-
@CSQ574 It has to be like this:
<archive path="update\update.rpf" createIfNotExist="False" type="RPF7"> <xml path="common\data\dlclist.xml"> <add xpath="/SMandatoryPacksData/Paths"> <item>dlcpacks:\spMyNewCar\</item> </add> </xml>
The archive command's path should only point to the rpf, not the whole path and the xml path should continue from where the archive path left off.
-
@AHK1221 Sorry that I disturb you so, but it does not work somehow.
-
@CSQ574 Dunno man, should've worked.
-
@AHK1221 No really it is not working...
-
@AHK1221 Can you try to make a OIV Base? only that this is working please?
-
@NotCrunchyTaco this is the error....
-
@AHK1221 Should i use the Text command?
-
@AHK1221 Now i made this
<archive path="update\update.rpf" createIfNotExist="False" type="RPF7">
<text path="common/data/dlclist.xml" createIfNotExist="False">
<add>This line is added</add>
</text>But it adds the line in the last line...
-
-
Hi,
It should be as below:
<archive path="update\update.rpf" createIfNotExist="False" type="RPF7">
<xml path="common\data\dlclist.xml">
<add xpath="/SMandatoryPacksData/Paths">
<Item>dlcpacks:\q50</Item>
</add>
</xml>
</archive>Below is my OIV Package for Infiniti Q50, you can open the assembly.xml and see how it is done.
You have to rename q50.oiv to q50.zip and then extract the files from it.OIV Link for Q50: https://mega.nz/#!7pd2FbhC!_CALjL3JvImmBQQzKWnZ-qR6z2Nb0Je7rFYDu1wQHnY
Note that i have used following line in the assembly.xml to remove a duplicate entry of the same line at dlclist.xml, in case you update the car, the line wont repeat. Basically it removes the line and adds new, making sure there is no duplicate:
<xml path="common\data\dlclist.xml">
<remove xpath="/SMandatoryPacksData/Paths/Item[.='dlcpacks:\q50']" />
</xml>I wish all uploaders add OIV to their file, as it takes only 1 minute to create an OIV, and you can install just in 1 click
-
@CSQ574
Hi
Change createIfNotExist="false" to createIfNotExist="true".
-
<archive path="update\update.rpf" createIfNotExist="True" type="RPF7">
<xml path="common\data\dlclist.xml">
<add xpath="/SMandatoryPacksData/Paths">
<item>dlcpacks:\spMyNewCar</item>
</add>
</xml>
</archive>