The Forum is up for sale: XeNTaX Forum looking for new owner

Metal Gear Solid 4 Noesis Plugin (Models, Anims)

Post questions about game models here, or help out others!
LeoFeroz
beginner
Posts: 37
Joined: Wed Jan 06, 2021 6:08 pm
Has thanked: 12 times
Been thanked: 1 time

Re: Metal Gear Solid 4 Noesis Plugin (Models, Anims)

Post by LeoFeroz »

JayK wrote: Tue Feb 16, 2021 10:14 pm I've released a plugin to view models and animations from MGS4. This will allow you to view textured models without having to extract textures from their cache files, you can also view animations. To view animations you have to select 'Prompt for Motion Archive' in the tool menu. You can grab it here. https://github.com/Jayveer/MGS-MDN-Noesis/releases

It is worth reading the usage to see the various options. In particular if things aren't looking right you can choose 'Skip Normal Maps' in the options as there are material flags I haven't researched yet. As stage and slot files are linked the stage related slot files may require the DLZ and TXN files from their related stage files to be placed in their directory. In order to make sure you have the files extracted properly it's best to use the MGS4 extraction tool I made here here. https://github.com/Jayveer/Solideye/releases

EDIT: In a recent update I have added support for Metal Gear Arcade files and started implementing different material flags. I noticed a problem with Noesis when exporting an FBX file and having Multiple UVs. It creates a 'LayerElementMaterial' for each UV and only applies the material to the last one rather than all of them. There is something manual that can be done to resolve this. If you export with the -fbxascii flag, open the generated fbx file in a text editor of your choice, and then find and replace all instances of 'NoMappingInformation' with 'ByPolygon' and save it, then materials should resolve properly afterwards.


when trying to load or export some from the stage02/s02a85I folder the plugin crashes and keeps loading forever and makes noesis unresponsive
segabit
ultra-n00b
Posts: 6
Joined: Wed Jan 20, 2016 8:05 pm
Has thanked: 14 times

Re: Metal Gear Solid 4 Noesis Plugin (Models, Anims)

Post by segabit »

when trying to load or export some from the stage02/s02a85I folder the plugin crashes and keeps loading forever and makes noesis unresponsive
I independently found this issue too. In addition, stage01/s01a55l has the same issue. Every single mdn file in both of these folders crashes Noesis, even when copied elsewhere to be loaded independently. I looked at them in a hex editor and nothing looked wrong to me. I even tried doing a batch export in case it was the viewing of the model that caused the issue, but that also resulted in an endless hang. I confirmed that all of the other folders work fine.

Another issue I found was that there are a handful of textures that don't seem to decrypt properly. Here's BigMama's hair in Stage03/s03a90l/78a3f2 (and other locations where this is duplicated).
BigMamaHair0_tex00.png
Second example is from Stage04/s04a30l/173111 (as well as other duplicate locations), in the warning labels on the Crying Wolf Beast. They are offset in this weird way here:

Image

Third is a palm tree at Stage00/s30a00l/e0c06a

Image

That being said, I went through and looked at every single model in the game, and those were the only texture issues that stuck out to me. This plugin is so good! Thank you very much for making this. I couldn't have dug into all of this without your work.
You do not have the required permissions to view the files attached to this post.
Bungdrtyu
ultra-n00b
Posts: 6
Joined: Thu Jan 12, 2023 6:04 pm

Re: Metal Gear Solid 4 Noesis Plugin (Models, Anims)

Post by Bungdrtyu »

JayK wrote: Sun May 15, 2022 11:15 am They're not pre-rendered except for the Eastern Europe river custscene. They use mtar's as well but there's more to those ones and I haven't worked on those ever.
I can't put into words how amazing this would be if you got it working!
Post Reply