lgoins Posted December 27, 2022 Posted December 27, 2022 (edited) I'm trying to take the belgian and mod it to a solid black coat.First of all, when I extract the .ymt and open it in notepad++, it's all null/encrypted characters. When I open it in OpenIV using its viewer, I can see everything. I can also export it as a .txt or .xml and see everything. Problem is, getting it back to a .ymt file. In the past, I've just used notepad++ and saved as .ymt and it's been fine. I use Lenny's mod loader. Other modded horses are working fine.Now, when I spawn the modded belgian (rampage trainer), my game crashes. If I wait for the game to spawn one on its own, it crashes (just hangs up then closes). When I try to open the edited file in OpenIV, it says error loading file, probable file is corrupt. Then OpenIV has to close saying there's an application error. If I open the file using OpenIV but as a text file, it opens just fine. I had more that I wanted to do to the belgian but I can't even make a single change to the color without this happening. I tried editing a different horse .ymt and the same thing happened. When I go back to the original file and spawn that in, it works fine. I uninstalled and re-installed the game to make sure that's all clean but it's still doing it. I've been looking all over the internet for a program that will convert a file to .ymt to rule out notepad++ but there's nothing. Not for red dead 2. Edit to add: I also re-installed OpenIV and no changes. Any ideas of what to try next? Edited December 27, 2022 by lgoins
lgoins Posted December 27, 2022 Author Posted December 27, 2022 Some screenshots: This is what gets exported from OpenIV then opened in notepad++ This is what I get if I export from OpenIV as a txt file and open it in notepad++ This is what I get when I open the txt file OpenIV. This is the error I got after exporting the file from open IV as the ymt, opened it in notepad++, changed nothing, and saved it then tried to open it in OpenIV. The same file that just shut down Open IV(after using notepad++ to save but no mods done to file) opened in OpenIV in the text viewer. I'm looking at it in edit mode in OpenIV, but I can't edit anything. I can only copy lines. I have no idea what I'm doing wrong. The ymt files from other modders work just fine as long as *I* don't open them.
lgoins Posted December 29, 2022 Author Posted December 29, 2022 My ultimate problem is solved. I will explain with the crayon that I needed to use in order to understand what I was doing wrong. OpenIV doesn't have support for RDR2 so you have us it to extract files to an XML file. Open in notepad++, edit, save as with the .ymt extension (I already knew this part but the game was crashing when I spawned in the file). In the .ymt file, it has "<UNK_TYPE_....". at the top and bottom. "Type" has to be changed to member or, as what I did, delete the UNK part and just have the hash code (<0x4BD672F>). Also need to change it at the bottom of the .ymt file. Then use lenny's mod loader. All is well.
Recommended Posts