View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000595 | OpenIV | Package Installer | public | 2018-10-07 18:48 | 2018-10-27 00:38 |
| Reporter | ckacmaster | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | Windows | OS | 10 (64-bit, 32-bit) | OS Version | 10.0 |
| Product Version | 3.0 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0000595: Errors thrown when package installer attempts to modify meta inside of vehicles.rpf | ||||
| Description | I 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 Reproduce | Create 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> | ||||
| Tags | No tags attached. | ||||
| Game | Grand Theft Auto V | ||||
|
|
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 |
|
|
Could you please provide full code of assembly.xml ? |
|
|
<?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> |
|
|
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. |
|
|
Thank you so much! Appreciate the help! |
| 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 |