Log in to reply
 

Creating OIV - Error reading OIV package



  • It's first time I'm making OIV file, followed few tutorials I decided not to use tool but do it "old way" by writing assembly. Even I'm looking over hour on my file I still can't find what's wrong with it and when I'm testing it, I get error before it even load icon and getme choose where to install. After tryin' some edits like delete and again make all spaces between all 'add source' close every x64x archive everytime when I change subarchive and open that archive again, the error is still same, just sometimes change position but alltime was place with space, once place with 'U' from word 'source'. I don't know if I'm blind or what but would appreciate if anyone would know what should be wrong :pray_tone3:

    Way I create OIV:

    • put all files into 'content' folder
    • using Notepad++ create assembly.xml
    • added icon.png
    • take all this 3 files into winrar archive, choose .zip file, wrote .oiv on the end of the name, added to the archive

    Error in OpenIV

    Error reading package file
    Unable to read "assembly.xml", probable file is corrupted.
    Please check log file for error details.

    Log file content


    Start: 7/24/2019 3:32:00 AM
    ThreadID: 25356
    OS: Windows 10 Home (6.3.17134, 64-bit)
    Path: C:\Users\arman\AppData\Local\New Technology Studio\Apps\OpenIV\OpenIV.exe
    

    [7/24/2019 3:32:00 AM] [25356] INFO -> Current GameId: "Five"
    [7/24/2019 3:32:00 AM] [25356] INFO -> Current GamePlatform: "pc"
    [7/24/2019 3:32:00 AM] [25356] INFO -> Current GamePath: "C:\Program Files\Rockstar Games\Grand Theft Auto V"
    [7/24/2019 3:32:00 AM] [30552] INFO -> Loading package
    [7/24/2019 3:32:00 AM] [30552] INFO -> Loading package from "D:\GTA REAL\Uploads\West Coast\Install\WestCoastCustomsPack.oiv"
    [7/24/2019 3:32:00 AM] [30552] INFO -> Package file was opened successfully
    [7/24/2019 3:32:00 AM] [30552] INFO -> Loading assembly from "assembly.xml"
    [7/24/2019 3:32:00 AM] [30552] INFO -> Reading assembly file "assembly.xml"
    [7/24/2019 3:32:00 AM] [30552] ERROR -> Unable to load assembly file "assembly.xml"
    [7/24/2019 3:32:00 AM] [30552] ERROR -> XML Validation error:
    ErrorCode: "0xC00CE505"
    Reason: "A name contained an invalid character. "
    Source Text: " <add source="prop_com_ls_door_01.ydr">prop_com_ls_door_01.ydr</add>"
    Line: "26"
    LinePos: "8"
    FilePos: "1044"

    Assembly content

    <?xml version="1.0" encoding="UTF-8"?>
    <package version="2.1" id="{9236a4b1-d53b-4319-8128-0263801cfd57}" target="Five">
    <metadata>
    <name>WestCoastCustomsLSC</name>
    <version>
    <major>1</major>
    <minor>0</minor>
    <tag>Stable</tag>
    </version>
    <author>
    <displayName>ArmaniAdnr</displayName>
    </author>
    <description><![CDATA[New West Coast Customs textures for all Los Santos Customs]]></description>
    </metadata>
    <colors>
    <headerBackground useBlackTextColor="False">$FF272727</headerBackground>
    <iconBackground>$FFFFFFFF</iconBackground>
    </colors>
    <content>
    <archive path="x64c.rpf" createIfNotExist="True" type="RPF7">
    <archive path="levels\gta5\interiors\int_props\int_lev_des.rpf" createIfNotExist="True" type="RPF7">
    <add source="v_ilev_carmod3door.ydr">v_ilev_carmod3door.ydr</add>
    <add source="v_ilev_carmod3door+hidr.ytd">v_ilev_carmod3door+hidr.ytd</add>
    </archive>
    <archive path="levels\gta5\props\lev_des\v_lev_doors.rpf" createIfNotExist="True" type="RPF7">
    <add source="prop_com_ls_door_01.ydr">prop_com_ls_door_01.ydr</add>
    <add source="prop_com_ls_door_01.ytd">prop_com_ls_door_01.ytd</add>
    <add source="prop_com_ls_door_01+hi.ytd">prop_com_ls_door_01+hi.ytd</add>
    <add source="prop_id2_11_gdoor.ydr">prop_id2_11_gdoor.ydr</add>
    <add source="prop_id2_11_gdoor+hidr.ytd">prop_id2_11_gdoor+hidr.ytd</add>
    </archive>
    </archive>
    <archive path="x64h.rpf" createIfNotExist="True" type="RPF7"> 
    <archive path="levels\gta5\interiors\v_int_46.rpf" createIfNotExist="True" type="RPF7">
    <add source="v_46_decal_dirt.ydr">v_46_decal_dirt.ydr</add>
    <add source="v_46_decal_dirt+hidr.ytd">v_46_decal_dirt+hidr.ytd</add>
    <add source="v_46_mainshell.ydr">v_46_mainshell.ydr</add>
    <add source="v_46_mainshell+hidr.ytd">v_46_mainshell+hidr.ytd</add>
    <add source="v_46_overlays.ydr">v_46_overlays.ydr</add>
    <add source="v_46_overlays+hidr.ytd">v_46_overlays+hidr.ytd</add>
    <add source="v_46_carmodtxd.ytd">v_46_carmodtxd.ytd</add>
    <add source="v_46_carmodtxd+hi.ytd">v_46_carmodtxd+hi.ytd</add>
    </archive>
    </archive>
    <archive path="x64j.rpf" createIfNotExist="True" type="RPF7">
    <archive path="levels\gta5_citye\indust_02\id2_11.rpf" createIfNotExist="True" type="RPF7">
    <add source="id2_11_build_a.ydr">id2_11_build_a.ydr</add>
    <add source="id2_11_build_a+hidr.ytd">id2_11_build_a+hidr.ytd</add>
    <add source="id2_11_wall.ydr">id2_11_wall.ydr</add>
    <add source="id2_11_build.ytd">id2_11_build.ytd</add>
    <add source="id2_11_lod.ytd">id2_11_lod.ytd</add>
    </archive>
    <archive path="levels\gta5_citye\indust_02\indust_02.rpf" createIfNotExist="True" type="RPF7">
    <add source="replace/id2_lod_01_06_10_11_children.ytd">id2_lod_01_06_10_11_children.ytd</add>
    </archive>
    </archive>
    <archive path="x64l.rpf" createIfNotExist="True" type="RPF7">
    <archive path="levels\gta5_citye\sunset\bt1_02.rpf" createIfNotExist="True" type="RPF7">
    <add source="bt1_02_building02.ydr">bt1_02_building02.ydr</add>
    <add source="bt1_02_cp_ovl01+hidr.ytd">bt1_02_cp_ovl01+hidr.ytd</add>
    <add source="bt1_02_ground.ydr">bt1_02_ground.ydr</add>
    <add source="bt1_02_ground_emm.ydr">bt1_02_ground_emm.ydr</add>
    <add source="bt1_02_loadingbay_ovl.ydr">bt1_02_loadingbay_ovl.ydr</add>
    <add source="bt1_02_build.ytd">bt1_02_build.ytd</add>
    <add source="bt1_02_build+hi.ytd">bt1_02_build+hi.ytd</add>
    <add source="bt1_02_building02+hidr.ytd">bt1_02_building02+hidr.ytd</add>
    <add source="bt1_02_detail.ytd">bt1_02_detail.ytd</add>
    <add source="bt1_02_detail+hi.ytd">bt1_02_detail+hi.ytd</add>
    <add source="bt1_02_loadingbay_ovl+hidr.ytd">bt1_02_loadingbay_ovl+hidr.ytd</add>
    <add source="bt1_02_lod.ytd">bt1_02_lod.ytd</add>
    <add source="ss1_lod_bt_01_02_03_children.ytd">ss1_lod_bt_01_02_03_children.ytd</add>
    </archive>
    <archive path="levels\gta5_cityw\airport_01\airport.rpf" createIfNotExist="True" type="RPF7">
    <add source="ap1_lod_04_children.ytd">ap1_lod_04_children.ytd</add>
    </archive>
    <archive path="levels\gta5_cityw\airport_01\ap1_04.rpf" createIfNotExist="True" type="RPF7">
    <add source="ap1_04_chopshop003.ydr">ap1_04_chopshop003.ydr</add>
    <add source="ap1_04_building.ytd">ap1_04_building.ytd</add>
    <add source="ap1_04_chopshop003+hidr.ytd">ap1_04_chopshop003+hidr.ytd</add>
    <add source="ap1_04_lod.ytd">ap1_04_lod.ytd</add>
    </archive>
    </archive>
    <archive path="x64u.rpf" createIfNotExist="True" type="RPF7">
    <archive path="levels\gta5_hills\country_06\cs6_03.rpf" createIfNotExist="True" type="RPF7">
    <add source="cs6_03_decal_02.ydr">cs6_03_decal_02.ydr</add>
    <add source="cs6_03_decal_02+hidr.ytd">cs6_03_decal_02+hidr.ytd</add>
    <add source="cs6_03_garagemain.ydr">cs6_03_garagemain.ydr</add>
    <add source="cs6_03_shop.ydr">cs6_03_shop.ydr</add>
    <add source="cs6_03_sign_emi.ydr">cs6_03_sign_emi.ydr</add>
    <add source="cs6_03_extra.ytd">cs6_03_extra.ytd</add>
    <add source="cs6_03_extra+hi.ytd">cs6_03_extra+hi.ytd</add>
    <add source="cs6_03_garagemain+hidr.ytd">cs6_03_garagemain+hidr.ytd</add>
    <add source="cs6_03_lod.ytd">cs6_03_lod.ytd</add>
    <add source="cs6_03_night_lod.ytd">cs6_03_night_lod.ytd</add>
    </archive>
    </archive>
    </content>
    </package>



  • If anyone would have this problem, I'm writing solution that my IT friend found.

    Problem was whitespaces in the file which notepad++ didn't show me. So I started using VSCode on his recommend.


Log in to reply
 

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