Log in to reply
 

OIV File won't replace file. But is archiving correctly.



  • I've been trying to create an OIV with multiple package managers/creator, I've also been looking at other OIV and can't seam to get the OIV to replace the files. Its archiving the x64's correctly but not adding the said file.

    I've used both
    Here is the assembly that I'm using or have used.
    Trying to use
    <content>
    <archive path="x64j.rpf" createIfNotExist="True" type="RPF7">
    <archive path="levels\gta5_citye\indust_01\in1_09.rpf" createIfNotExist="True" type="RPF7">
    <replace source="x64j.rpf\levels\gta5_citye\indust_01\in1_09.rpf\hi@id1_09_0.ybn">hi@id1_09_0.ybn</replace>
    <replace source="x64j.rpf\levels\gta5_citye\indust_01\in1_09.rpf\id1_09_0.ybn">id1_09_0.ybn</replace>
    <replace source="x64j.rpf\levels\gta5_citye\indust_01\in1_09.rpf\id1_09_newbuild1.ydr">id1_09_newbuild1.ydr</replace>
    <replace source="x64j.rpf\levels\gta5_citye\indust_01\in1_09.rpf\id1_09_newbuild1_o.ydr">id1_09_newbuild1_o.ydr</replace>
    </archive>
    </archive>
    </content>
    </package>

    I've also used
    <content>
    <archive path="x64j.rpf" createIfNotExist="True" type="RPF7">
    <archive path="levels\gta5_citye\indust_01\in1_09.rpf" createIfNotExist="True" type="RPF7">
    <delete>id1_09_newbuild1_o.ydr</delete>
    <delete>id1_09_newbuild1.ydr</delete>
    <delete>hi@id1_09_0.ybn</delete>
    <delete>id1_09_0.ybn</delete>
    <add source="x64j.rpf\levels\gta5_citye\indust_01\in1_09.rpf\hi@id1_09_0.ybn">hi@id1_09_0.ybn</add>
    <add source="x64j.rpf\levels\gta5_citye\indust_01\in1_09.rpf\id1_09_0.ybn">id1_09_0.ybn</add>
    <add source="x64j.rpf\levels\gta5_citye\indust_01\in1_09.rpf\id1_09_newbuild1.ydr">id1_09_newbuild1.ydr</add>
    <add source="x64j.rpf\levels\gta5_citye\indust_01\in1_09.rpf\id1_09_newbuild1_o.ydr">id1_09_newbuild1_o.ydr</add>
    </archive>
    </archive>
    </content>
    </package>

    I can't seam to have the files replace or even delete, they still stay the same size/not deleting/not replaced. What am I missing or writing wrong?



  • @DJblaze420
    One of the reasons I hate OIVs is the possibility of bad syntax or bad paths etc.

    In your case it's harmless, but in other cases....

    Your path is wrong.

    \x64j.rpf\levels\gta5\_citye

    not
    \x64j.rpf\levels\gta5_citye


Log in to reply
 

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