Log in to reply
 

[Question] Regarding OIV Packages



  • Does anybody know what to put in the assembly.xml file so that OpenIV can replace files in a RPF within a RPF?



  • Pls elaborate more, maybe i can help, what files exactly are u trying to do. You can also refer to Open IV Documentation, have all the tutorial.

    For example: to replace visualsettings.dat inside update.rpf
    It can be done by:

    <content>
    <archive path="update\update.rpf" createIfNotExist="True" type="RPF7">
    <add source="folder\visualsettings.dat">\common\data\visualsettings.dat</add>
    </archive>
    </content>


  • MODERATOR

    Moved to General Modding Discussion.



  • @The-Luciferous

    I want to replace vehicle files in x64e.rpf inside the vehicles.rpf.



  • @Flava0ne

    <content>
    <archive path="x64e.rpf" createIfNotExist="False" type="RPF7">
    <add source="adder.yft">x64e.rpf\levels\gta5\vehicles.rpf\adder.yft</add>
    <add source="adder.ytd">x64e.rpf\levels\gta5\vehicles.rpf\adder.ytd</add>
    <add source="adder_hi.yft">x64e.rpf\levels\gta5\vehicles.rpf\adder_hi.yft</add>
    </archive>
    </content>

    Note:

    x64e.rpf should be copied to mods folder.
    Your car files should be in the folder: content(here)



  • @The-Luciferous

    So I guess by changing the createIfNotExist="True" to "False" it works! Thanks!



  • @The-Luciferous

    Hey, so how can I replace files in one of the DLC's or update Patches? This doesn't work:

    <archive path="update\x64\dlcpacks\mpapartment\dlc.rpf" createIfNotExist="True" type="RPF7">
    <add source="all\mamba_mods.rpf">\x64\levels\mpapartment\vehiclemods\mamba_mods.rpf</add>
    </archive>
    <archive path="update\x64\dlcpacks\mpapartment\dlc.rpf" createIfNotExist="False" type="RPF7">
    <add source="all\mamba.yft">dlc.rpf\x64\levels\gta5\vehicles\apartmentvehicles.rpf\mamba.yft</add>
    <add source="all\mamba.ytd">dlc.rpf\x64\levels\gta5\vehicles\apartmentvehicles.rpf\mamba.ytd</add>
    <add source="all\mamba_hi.yft">dlc.rpf\x64\levels\gta5\vehicles\apartmentvehicles.rpf\mamba_hi.yft</add>
    <add source="all\mamba+hi.ytd">dlc.rpf\x64\levels\gta5\vehicles\apartmentvehicles.rpf\mamba+hi.ytd</add>
    </archive>



  • NVM, I got it to work! :)



  • This method apparently doesn't work at all. It creates an folder within the RPF with the same name as the RPF. For example in x64e.rpf, it will create a folder named x64e.rpf and inside it is the path and files I want to have replaced. I was fooled because OpenIV said the installation succeeded but it really didn't. So I guess there's no way to create an OIV package for my purpose.



  • i dont understand why it wouldnt work. Can u show me a screenshot of your folder



  • @The-Luciferous

    http://i.imgur.com/HkzHJma.jpg

    This is exactly what I had in the assembly.xml:

    <content>
    <archive path="x64e.rpf" createIfNotExist="False" type="RPF7">
    <add source="all\airbus.yft">x64e.rpf\levels\gta5\vehicles.rpf\airbus.yft</add>
    <add source="all\airbus.ytd">x64e.rpf\levels\gta5\vehicles.rpf\airbus.ytd</add>
    <add source="all\airbus_hi.yft">x64e.rpf\levels\gta5\vehicles.rpf\airbus_hi.yft</add>
    </archive>
    </content>



  • @Flava0ne said in [Question] Regarding OIV Packages:

    <content>
    <archive path="x64e.rpf" createIfNotExist="False" type="RPF7">
    <add source="all\airbus.yft">x64e.rpf\levels\gta5\vehicles.rpf\airbus.yft</add>
    <add source="all\airbus.ytd">x64e.rpf\levels\gta5\vehicles.rpf\airbus.ytd</add>
    <add source="all\airbus_hi.yft">x64e.rpf\levels\gta5\vehicles.rpf\airbus_hi.yft</add>
    </archive>
    </content>

    Do it like this and check. Sorry i dont have GTA 5 to test now.

    <content>
    <archive path="x64e.rpf" createIfNotExist="False" type="RPF7">
    <add source="all\airbus.yft">levels\gta5\vehicles.rpf\airbus.yft</add>
    <add source="all\airbus.ytd">levels\gta5\vehicles.rpf\airbus.ytd</add>
    <add source="all\airbus_hi.yft">levels\gta5\vehicles.rpf\airbus_hi.yft</add>
    </archive>
    </content>



  • @The-Luciferous

    I get a Installation Failed error: A fatal error occurred during installation message.



  • @The-Luciferous

    So I figured how to replace files in an RPF within an RPF using OIV packages. You have to set it up in this way:

    <content>
    <archive path="x64e.rpf" createIfNotExist="True" type="RPF7">
    <archive path="levels\gta5\vehicles.rpf" createIfNotExist="True" type="RPF7">
    <add source="all\airbus.yft">\airbus.yft</add>
    <add source="all\airbus.ytd">\airbus.ytd</add>
    <add source="all\airbus_hi.yft">\airbus_hi.yft</add>
    </archive>
    </archive>
    </content>


Log in to reply
 

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