Ok, here's what I'm trying to do. I want to add in new separate armor, which is simply a retextured version of armor already in the game.
I have gone through n008's tutorial on cloning an animated mesh and pointing it to another texture (DDS) file, and double-checked everything. I made sure to copy the texture sections which corresponded to the original texture files in materials.brf, thus retaining the extra material info.
I copied the item_meshes.brf file to another filename since it has the armors in it, deleted every mesh other than the two armors I wanted clones of, then renamed the meshes to what I wanted them called. After editing materials.brf and texture_names.brf to include the 2 new uniquely named DDS files with the edited textures (previously costumes2.dds and costumes4.dds) and of course incrementing the necessary value towards the top of each file by 2, I then loaded BRFview back up and set the material of each of the two armors.
I have also properly set the new armor items I've created in the script files to use the new meshes.
Ok, everything looks perfect in BRFview, both retextures show up perfectly. No problem at that point.
The problem is, M&B crashes when I try to run it when the new BRF file with the 2 armors is included. It gives an error "Assertion failed! (cursor + len) <= str_length".
Is there something I'm missing, or does anyone have any helpful advice? Can you even successfully clone armor meshes in BRFview? I was under the impression it should work, but...
I have gone through n008's tutorial on cloning an animated mesh and pointing it to another texture (DDS) file, and double-checked everything. I made sure to copy the texture sections which corresponded to the original texture files in materials.brf, thus retaining the extra material info.
I copied the item_meshes.brf file to another filename since it has the armors in it, deleted every mesh other than the two armors I wanted clones of, then renamed the meshes to what I wanted them called. After editing materials.brf and texture_names.brf to include the 2 new uniquely named DDS files with the edited textures (previously costumes2.dds and costumes4.dds) and of course incrementing the necessary value towards the top of each file by 2, I then loaded BRFview back up and set the material of each of the two armors.
I have also properly set the new armor items I've created in the script files to use the new meshes.
Ok, everything looks perfect in BRFview, both retextures show up perfectly. No problem at that point.
The problem is, M&B crashes when I try to run it when the new BRF file with the 2 armors is included. It gives an error "Assertion failed! (cursor + len) <= str_length".
Is there something I'm missing, or does anyone have any helpful advice? Can you even successfully clone armor meshes in BRFview? I was under the impression it should work, but...