View Issue Details

IDProjectCategoryView StatusLast Update
0000595OpenIVPackage Installerpublic2018-10-27 00:38
ReporterckacmasterAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformWindowsOS10 (64-bit, 32-bit)OS Version10.0
Product Version3.0 
Target VersionFixed in Version 
Summary0000595: Errors thrown when package installer attempts to modify meta inside of vehicles.rpf
DescriptionI built a .oiv installer that installs a replacement mod, it has to edit vehicles.meta and handling.meta which are in update.rpf. My assembly.xml content is as follows:

<content>
<archive path="update/update.rpf" createIfNotExist="True" type="RPF7">
      <xml path="common/data/levels/gta5/vehicles.meta">
        <replace xpath="/CVehicleModelInfo__InitDataList/InitDatas/Item[modelName=adder]/PovCameraOffset">
          <PovCameraOffset x="0.000000" y="-0.190000" z="0.570000" />
        </replace>
      </xml>
    </archive>
</content>

I have checked over the xpath and the archive path multiple times and tried many different methods of opening and replacing the text in the file. When I try to install the mod however, the file is left in its original state (in the mods and in the GTAV folder). OpenIV claims the installation is successful, however these four errors show up in the installation log file every time:

[2018-10-06 2:46:45 AM] [3084] INFO -> Unknown archive action at node: "content>"
[2018-10-06 2:46:45 AM] [3084] INFO -> Unknown archive action at node: "content>archive>"
[2018-10-06 2:46:45 AM] [3084] INFO -> Unknown archive action at node: "content>archive>xml"
[2018-10-06 2:46:45 AM] [3084] INFO -> Unknown archive action at node: "content>archive>"
Steps To ReproduceCreate an oiv installer with a content folder and an assembly.xml
Create metadata for assembly.xml, it is unimportant what the metadata contains
Attempt to modify a file within update.rpf using <replace>
TagsNo tags attached.
GameGrand Theft Auto V

Activities

ckacmaster

2018-10-15 23:44

reporter   ~0000416

The only way I seem to be able to do this is through copying files from the update.rpf into a custom .rpf, modifying necessary files in the modified rpf then overwriting the update.rpf with my modified rpf, renamed to update.rpf

Team

2018-10-23 21:56

developer   ~0000417

Could you please provide full code of assembly.xml ?

ckacmaster

2018-10-25 05:54

reporter   ~0000419

<?xml version="1.0" encoding="UTF-8"?>
<package version="2.0" id="{ade222f7-ee3c-4548-ace1-ab5fcfd486e2}" target="Five">
    <metadata>
        <name>Example Installer</name>
        <version>
            <major>1</major>
            <minor>0</minor>
            <tag>Beta</tag>
        </version>
        <author>
            <displayName>Ckacmaster</displayName>
        </author>
        <description><![CDATA[A Bugatti Veyron 16.4]]></description>
    </metadata>
    <colors>
        <headerBackground useBlackTextColor="False">$FF272727</headerBackground>
        <iconBackground>$FF2E2E2E</iconBackground>
    </colors>
  <content>

    <archive path="x64e.rpf" createIfNotExist="True" type="RPF7">
      <archive path="levels\gta5\vehicles.rpf" createIfNotExist="True" type="RPF7">
        <add source="adder/vehicles/adder.yft">adder.yft</add>
        <add source="adder/vehicles/adder.ytd">adder.ytd</add>
        <add source="adder/vehicles/adder_hi.yft">adder_hi.yft</add>
      </archive>
    </archive>
    <archive path="update/update.rpf" createIfNotExist="True" type="RPF7">
      <xml path="common/data/levels/gta5/vehicles.meta">
        <replace xpath="/CVehicleModelInfo__InitDataList/InitDatas/Item/modelName[.=adder]/../PovCameraOffset">
          <PovCameraOffset x="0.000000" y="-0.190000" z="0.570000" />
        </replace>
      </xml>
    </archive>
  </content>
</package>

Team

2018-10-25 21:38

developer   ~0000421

XML commands available in Package Format 2.1 not 2.0
http://docs.openiv.com/doku.php?id=packages:version_21

Please change the version in the package node and let me know if it fixes the issue.

ckacmaster

2018-10-26 23:51

reporter   ~0000423

Thank you so much!

Appreciate the help!

Issue History

Date Modified Username Field Change
2018-10-07 18:48 ckacmaster New Issue
2018-10-15 23:44 ckacmaster Note Added: 0000416
2018-10-23 21:56 Team Status new => feedback
2018-10-23 21:56 Team Note Added: 0000417
2018-10-25 05:54 ckacmaster Note Added: 0000419
2018-10-25 05:54 ckacmaster Status feedback => new
2018-10-25 21:38 Team Status new => feedback
2018-10-25 21:38 Team Note Added: 0000421
2018-10-26 23:51 ckacmaster Note Added: 0000423
2018-10-26 23:51 ckacmaster Status feedback => new
2018-10-27 00:38 Team Status new => closed
2018-10-27 00:38 Team Resolution open => no change required