Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

Editing .ymt (PSO/RSC) files using an assembly.xml in a .oiv... Fatal Error


LowSpecRider
 Share

Recommended Posts

LowSpecRider

Hello there!
Guys, I'm trying to modify carcols.ymt using a .oiv installer (to create a custom pattern for non-els police car), but every time that I run it, it just return a fatal error.

Do you have any idea what I did wrong?

This is my test code:

<?xml version="1.0" encoding="UTF-8"?>
<package version="2.2" id="{6D501E5D-DD68-42CB-ACA4-A920DFC905E3}" target="Five">
  <metadata>
    <name>Test Package (OIV 2.2)</name>
      <version>
        <major>2</major>
        <minor>2</minor>
      </version>
      <author>
        <displayName>OpenIV Team </displayName>
      </author>
      <description>
        <![CDATA[Description text]]>
      </description>
  </metadata>

  <colors>
    <headerBackground useBlackTextColor="False">$FF23366A</headerBackground>
    <iconBackground>$FF3b5998</iconBackground>
  </colors>
	
  <content>
   <archive path="update\update.rpf" createIfNotExist="False" type="RPF7">
    <pso path="x64\data\carcols.ymt">
     <!-- XML commands here -->
	 <add append="First" xpath="CVehicleModelInfoVarGlobal/Sirens">
		<Item>This_Is_A_Test_Line_O:</Item>
	</add>
     </pso>
	 </archive>
  </content>
</package>

The installation log is presented here:

[15/08/2022 06:52:13 p. m.] [11320] INFO  -> Package file was opened successfully
[15/08/2022 06:52:13 p. m.] [11320] INFO  -> Loading assembly from "assembly.xml"
[15/08/2022 06:52:13 p. m.] [11320] INFO  -> Reading assembly file "assembly.xml"
[15/08/2022 06:52:13 p. m.] [11320] INFO  -> Format version: "2.2"
[15/08/2022 06:52:13 p. m.] [11320] INFO  -> Package info class: "TPackageInfo22"
[15/08/2022 06:52:13 p. m.] [11320] INFO  -> Reading package info
[15/08/2022 06:52:13 p. m.] [11320] INFO  -> Package ID: "{6D501E5D-DD68-42CB-ACA4-A920DFC905E3}"
[15/08/2022 06:52:13 p. m.] [11320] INFO  -> Package target: "Five"
[15/08/2022 06:52:13 p. m.] [11320] INFO  -> Package name: "Test Package (OIV 2.2)"
[15/08/2022 06:52:13 p. m.] [11320] INFO  -> Package version: "2.2"
[15/08/2022 06:52:13 p. m.] [11320] INFO  -> Package author: "OpenIV Team"
[15/08/2022 06:52:13 p. m.] [11320] ERROR -> The "footerLink" attribute is not found in node "metadata>description"
[15/08/2022 06:52:13 p. m.] [11320] INFO  -> Package contains changes for RPF archives
[15/08/2022 06:52:13 p. m.] [11320] INFO  -> Package format supports "mods" folder
[15/08/2022 06:52:13 p. m.] [11320] INFO  -> Loading package icon from "icon.png"
[15/08/2022 06:52:13 p. m.] [11320] INFO  -> Package loaded successfully
[15/08/2022 06:51:55 p. m.] [3388] INFO  -> Current package have only one content to install
[15/08/2022 06:51:55 p. m.] [3388] INFO  -> The "mods" folder supported by current game.
[15/08/2022 06:51:55 p. m.] [3388] INFO  -> Show install options dialog before installation
[15/08/2022 06:51:55 p. m.] [3388] INFO  -> Show confirm install dialog before installation
[15/08/2022 06:51:55 p. m.] [3388] INFO  -> Begin installation
[15/08/2022 06:51:55 p. m.] [3388] INFO  -> No other running installation found
[15/08/2022 06:52:19 p. m.] [17704] INFO  -> Install options
									{
										Content Index: "-1"
										Use "mods" Folder: "True"
									}
[15/08/2022 06:52:19 p. m.] [17704] INFO  -> Package installer class: "TPackageInstaller22"
[15/08/2022 06:52:19 p. m.] [17704] INFO  -> Validate content files
[15/08/2022 06:52:19 p. m.] [17704] INFO  -> Validate content files SUCCEEDED
[15/08/2022 06:52:19 p. m.] [17704] INFO  -> Installation
[15/08/2022 06:52:19 p. m.] [17704] INFO  -> Process ARCHIVE "GTA V" with path "E:\Juegos\Juegos de Steam\steamapps\common\Grand Theft Auto V\"
[15/08/2022 06:52:19 p. m.] [17704] INFO  -> ARCHIVE "update\update.rpf" is exists
[15/08/2022 06:52:19 p. m.] [17704] INFO  -> ARCHIVE "update\update.rpf" is already in the "mods" folder
[15/08/2022 06:52:19 p. m.] [17704] INFO  -> Process ARCHIVE "update.rpf" with path "E:\Juegos\Juegos de Steam\steamapps\common\Grand Theft Auto V\mods\update\update.rpf"
[15/08/2022 06:52:19 p. m.] [17704] INFO  -> Process XML DOCUMENT "carcols.ymt" with path "x64\data\carcols.ymt" in archive "E:\Juegos\Juegos de Steam\steamapps\common\Grand Theft Auto V\mods\update\update.rpf"
[15/08/2022 06:52:19 p. m.] [17704] INFO  -> Unknown XML document action action at node: "content>archive>pso>"
[15/08/2022 06:52:19 p. m.] [17704] INFO  -> Add Node into XML Document
									{
										Node source: "<Item>This_Is_A_Test_Line_O:</Item>"
										Append position: "First"
										xpath: "/CVehicleModelInfoVarGlobal/Sirens"
									}
[15/08/2022 06:52:19 p. m.] [17704] INFO  -> XML DOCUMENT "carcols.ymt" processed
[15/08/2022 06:52:20 p. m.] [17704] ERROR -> Unable to convert XML to PSO with path "x64\data\carcols.ymt" in archive "E:\Juegos\Juegos de Steam\steamapps\common\Grand Theft Auto V\mods\update\update.rpf"
[15/08/2022 06:52:20 p. m.] [17704] INFO  -> ARCHIVE "update.rpf" processed
[15/08/2022 06:52:20 p. m.] [17704] INFO  -> ARCHIVE "GTA V" processed
[15/08/2022 06:52:20 p. m.] [17704] INFO  -> Installation FAILED

 

 

Link to comment
Share on other sites

YMT files are encrypted files, you can't modify them like you can with meta files. That's why if you right-click carcols.ymt in OpenIV, it has an "Export to META/XML" option... doing the same thing on a carcols.meta file doesn't show that option.

Edited by LeeC22
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.