Skip to content

Transferring MRL3 Between Models

Psymon edited this page Oct 16, 2023 · 4 revisions

Outdated Article

This article is outdated and kept for archival purposes.
Use the CrAs-T (Mrl3) Material Editor instead.

Documentation for the editor can be found here as well.

Transferring MRL3 Between Models

So in each model there is something called a material. This determines a lot of properties of how things look on models. Fur has a different material type than a sword for example. A sword with fur on it will have both. Well if you have a sword model that has ch_wp_mw_1 as a material, but you want to use the mrl3 file for a different weapon that has an EM file for example and it has ch_wp_mw_1, it will have a material mismatch in game and fail to load. The result of this is a checkerboard pattern around your model with no textures displayed.

To fix this, we need to reassign the old material numbers to the new mrl3 file.

  1. Start by opening your template with both the new mrl3 and the old mrl3.

  2. Locate the material section in both files at the bottom.

[Image 1]

As you can see there are two materials in my mrl3. The first one is the actual material, the last one is usually dedicated to a shader.

  1. You want to find the second four byte array from the old mrl3 and copy it.

[Image 2]

  1. Next you want to find the new mrl3 that you are trying to use, and paste the four bytes into the same location. When you click off of the highlighted text it should give an appearance similar to what is in this picture:

[Image 3]

  1. Save the new mrl3 file and try to load it in game. It should now display the correct textures.

General Tutorials

General Tutorials

Animation Tutorials

Animation Tutorials

Audio Tutorials:

Audio Tutorials

IDs:

File & In Game IDs

Model Tutorials:

Model Tutorials

Effects Tutorials:

EFX Tutorials

FSM Tutorials

FSM Editing

MRL3 Tutorials:

MRL3 Tutorials

NPC Editing:

NPC Editing

Map Editing:

Map Editing

Plugins and Memory Editing:

Plugins and Memory Editing

Quest Editing:

Quest Editing

Monster AI Editing:

Monster AI Editing

Texture Tutorials:

General Texture Tutorials
Specific Texture Tutorials

TIML Editing

TIML Editing

Asterisk's Plugin Notes:

Asterisk's Plugin Notes

Miscellaneous Tutorials:

Miscellaneous Tutorials

Outdated Tutorials:

Outdated Tutorials
Clone this wiki locally