MESH Viewer for Noesis (loads textures automatically)
Feb 23, 2020 11:01:57 GMT 10
EvilLord, FluffyQuack, and 11 more like this
Post by alphaz on Feb 23, 2020 11:01:57 GMT 10
UPDATE: This plugin has been consolidated with the RE3 and DMC5 plugins into one single plugin for all three games that can also export mods
Click here to go the updated Noesis plugin, fmt_RE_mesh
This plugin for Noesis was originally created by GhostBlade in the XeNTaX forums about a year ago, and it allows you to easily preview Capcom's proprietary "mesh.1808312334" model files complete with all their high-resolution textures mapped to them. I have spent some time modifying the plugin to have it automatically detect compatible MDF files and prompt the user if they want to open them along with the model or not. Previously, every MDF file had to be manually renamed to match the MESH file it went with. I have also updated the plugin to catch more errors and locate more textures, so it loads more smoothly now. Debug Information about the MESH itself is not displayed by default.
Here is a screenshot of viewing the textured MESH file for RE2's main hall in Noesis:
When loading a MESH file in Noesis, a prompt will appear asking if you want to load the MDF file + all materials along with it:
Typically, the plugin will automatically detect the MESH's corresponding MDF file. If it cannot find it, however, or if you are previewing a MESH file that has multiple different MDF files (such as for zombies with their multiple different shirt colorations), you can manually change the file path in the prompt that appears to make it load the MDF file of your choosing.
The plugin first loads whatever high-resolution textures it can find from the streaming and then from the sectionroot folders of the current natives directory. This means that if you preview a MESH file within a mod folder, it will first load the other textures included with that mod. If it cannot find some textures listed in its MDF file, it will try searching for them in your extracted game files / base natives directory. The first time you use it to open up a MESH file from somewhere within your extracted re_chunk_000.PAK file in ...\re_chunk_000\natives\x64\ , the plugin will automatically record the location of that folder and from then on will use it to find all other textures files that may be missing from the current natives directory. If you want to change which folder is used as your base natives directory, just type in the directory name up to the \natives\x64\ part and from then on it will search for any missing textures there instead, like this:
Controls: To look around in the preview window, hold left click to grab a point and orbit around it. Hold right click and move the mouse to pan the camera around. Hold right click over the model and roll the mouse wheel forward, then pull the mouse back (while still holding right click) to switch to the free-cam mode. The free-cam mode lets you scoot forwards and backwards by holding right click and moving the mouse up and down, and you can change direction by holding left-click and moving the mouse. Middle mouse resets the view. Free-cam mode is very useful for looking around MESH files of large stages / environments. Use your keyboard's function keys to toggle on and off shading, culling and cycle blends, or to change the base orientation.
Installation: Copy "fmt_RE2_mesh_1_7a.py" file to your Noesis plugins directory at "\Noesis\plugins\python\fmt_RE2_mesh_1_7a.py".
Restart Noesis or click "reload plugins" and it should be ready to go. Be sure to use the latest version of Noesis.
Download: fmt_RE2_mesh_1_7a.py (MediaFire) (link removed, get it from the other thread)
Here is an example of the plugin automatically loading half the textures from this mod's folder and the other half (the ones on his pants and trenchcoat) from my extracted game files in the \re_chunk_000\ directory:
If you would like to disable the debug window from popping up, edit the plugin in Notepad or some other editor and change it so that bPopupDebug = 0 at the top of the file.
Click here to go the updated Noesis plugin, fmt_RE_mesh
This plugin for Noesis was originally created by GhostBlade in the XeNTaX forums about a year ago, and it allows you to easily preview Capcom's proprietary "mesh.1808312334" model files complete with all their high-resolution textures mapped to them. I have spent some time modifying the plugin to have it automatically detect compatible MDF files and prompt the user if they want to open them along with the model or not. Previously, every MDF file had to be manually renamed to match the MESH file it went with. I have also updated the plugin to catch more errors and locate more textures, so it loads more smoothly now. Debug Information about the MESH itself is not displayed by default.
Here is a screenshot of viewing the textured MESH file for RE2's main hall in Noesis:
When loading a MESH file in Noesis, a prompt will appear asking if you want to load the MDF file + all materials along with it:
Typically, the plugin will automatically detect the MESH's corresponding MDF file. If it cannot find it, however, or if you are previewing a MESH file that has multiple different MDF files (such as for zombies with their multiple different shirt colorations), you can manually change the file path in the prompt that appears to make it load the MDF file of your choosing.
The plugin first loads whatever high-resolution textures it can find from the streaming and then from the sectionroot folders of the current natives directory. This means that if you preview a MESH file within a mod folder, it will first load the other textures included with that mod. If it cannot find some textures listed in its MDF file, it will try searching for them in your extracted game files / base natives directory. The first time you use it to open up a MESH file from somewhere within your extracted re_chunk_000.PAK file in ...\re_chunk_000\natives\x64\ , the plugin will automatically record the location of that folder and from then on will use it to find all other textures files that may be missing from the current natives directory. If you want to change which folder is used as your base natives directory, just type in the directory name up to the \natives\x64\ part and from then on it will search for any missing textures there instead, like this:
*The plugin getting reconfigured to use extracted game files from an update-PAK for its textures
Controls: To look around in the preview window, hold left click to grab a point and orbit around it. Hold right click and move the mouse to pan the camera around. Hold right click over the model and roll the mouse wheel forward, then pull the mouse back (while still holding right click) to switch to the free-cam mode. The free-cam mode lets you scoot forwards and backwards by holding right click and moving the mouse up and down, and you can change direction by holding left-click and moving the mouse. Middle mouse resets the view. Free-cam mode is very useful for looking around MESH files of large stages / environments. Use your keyboard's function keys to toggle on and off shading, culling and cycle blends, or to change the base orientation.
Installation: Copy "fmt_RE2_mesh_1_7a.py" file to your Noesis plugins directory at "\Noesis\plugins\python\fmt_RE2_mesh_1_7a.py".
Restart Noesis or click "reload plugins" and it should be ready to go. Be sure to use the latest version of Noesis.
Download: fmt_RE2_mesh_1_7a.py (MediaFire) (link removed, get it from the other thread)
Here is an example of the plugin automatically loading half the textures from this mod's folder and the other half (the ones on his pants and trenchcoat) from my extracted game files in the \re_chunk_000\ directory:
If you would like to disable the debug window from popping up, edit the plugin in Notepad or some other editor and change it so that bPopupDebug = 0 at the top of the file.