Page 1 of 2

Metal Gear Solid 2 (PS2) Noesis Plugin (Models, Anims)

Posted: Wed Mar 10, 2021 2:52 pm
by JayK
I've released a plugin which you can grab from the link below which will allow you to view textured models and animations from the game Metal Gear Solid 2 on the PS2. To view animations you have to select 'Prompt for Motion Archive' in the tool menu. You can get the plugin here;

https://github.com/Jayveer/MGS-KMS-EVM-Noesis/releases

The game uses 2 different formats for models, KMS and EVM, both are supported by the plugin.

To extract Face and Stage files you can use the plugin below, if everything is in the right place textures should auto-apply etc. I still need to do some work on the material flags and texture conversion in general.

https://github.com/Jayveer/Arsenal/releases

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

Posted: Thu Mar 11, 2021 2:33 pm
by Pepsee
I love these plugins, I only have one question: Is it possible to export the format to .SMD or .FBX and have the animations split up instead of all of them in one file? It's awfully difficult to split them up..
Also the weights on the MGS3 models are all messed up..

Great work however, this tool is godsend for every MGS fan out there!

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

Posted: Thu Mar 11, 2021 4:55 pm
by JayK
Hi, yeah splitting up the animation is something I'd like to do, I asked in a previous thread how I could go about doing that with Noesis but didn't get a reply on it. I think I just need to dig into the API more. Do you have an example of an mgs3 file that has messed up weighting so I can look into it, thanks.

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

Posted: Thu Mar 11, 2021 6:10 pm
by Pepsee
JayK wrote: Thu Mar 11, 2021 4:55 pm Hi, yeah splitting up the animation is something I'd like to do, I asked in a previous thread how I could go about doing that with Noesis but didn't get a reply on it. I think I just need to dig into the API more. Do you have an example of an mgs3 file that has messed up weighting so I can look into it, thanks.
Sure! Basically all models I exported had horrible rigging. Specifically I can pinpoint you:

Code: Select all

stage/s005a/813728.mdl
slot/21/413aa8.mdl
slot/8/f395b8.mdl
slot/663/f49119.mdl
Hope this helps, keep up the great work!

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

Posted: Thu Mar 11, 2021 6:33 pm
by JayK
Hm, I just tried with 'slot/8/f395b8.mdl' and it was fine for me. I'm wondering if it's a problem on export, what program are you exporting it into? Have you tried playing an animation for the file within Noesis? For that one you can pair it with 83eea9.mtar in stage/s045a, should be the animation for when you hold an unconscious enemy.

Also you should try using the dictionary.txt as well that can be placed in the same directory as Shagohod.exe as it will convert a bunch of the hashes into real file names.

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

Posted: Fri Mar 12, 2021 1:25 pm
by Pepsee
JayK wrote: Thu Mar 11, 2021 6:33 pm Hm, I just tried with 'slot/8/f395b8.mdl' and it was fine for me. I'm wondering if it's a problem on export, what program are you exporting it into? Have you tried playing an animation for the file within Noesis? For that one you can pair it with 83eea9.mtar in stage/s045a, should be the animation for when you hold an unconscious enemy.

Also you should try using the dictionary.txt as well that can be placed in the same directory as Shagohod.exe as it will convert a bunch of the hashes into real file names.
I'm trying to get them into Blender but the insanely long animations make me have 0.73 fps, so I try to import them in 3DS Max. As for rigging it's the same no matter what format I export it into and no matter which software I use to import.

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

Posted: Fri Mar 12, 2021 6:22 pm
by JayK
Have you tried playing an animation in Noesis directly? Just trying to find out where exactly this problem is happening.

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

Posted: Fri Mar 12, 2021 8:13 pm
by devilsnake88
Pepsee wrote: Fri Mar 12, 2021 1:25 pm...
Here is how I would do it:
https://youtu.be/j1BfsEbVc_c

The Notepad++ with Regex part is just to match my textures location.

Don't forget to export WITHOUT the "-fbxascii" parameter from Noesis because Blender only supports BINARY FBX, not ASCII FBX.
I forgot how to change animations FPS in Blender so I also opened into Marmoset.

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

Posted: Fri Mar 12, 2021 8:21 pm
by JayK
devilsnake88 wrote: Fri Mar 12, 2021 8:13 pm
Pepsee wrote: Fri Mar 12, 2021 1:25 pm...
Here is how I would do it:
https://youtu.be/j1BfsEbVc_c
Ah thanks for this, so by rigging you meant the textures? Sorry, I usually relate rigging to bones/weight. I did a new release that should auto apply textures, it appears I needed to explicitly put the extension on the filename when making a noetexture. The updated version is on the top of the release page.

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

Posted: Fri Mar 26, 2021 11:42 pm
by Pepsee
JayK wrote: Fri Mar 12, 2021 8:21 pm
devilsnake88 wrote: Fri Mar 12, 2021 8:13 pm
Pepsee wrote: Fri Mar 12, 2021 1:25 pm...
Here is how I would do it:
https://youtu.be/j1BfsEbVc_c
Ah thanks for this, so by rigging you meant the textures? Sorry, I usually relate rigging to bones/weight. I did a new release that should auto apply textures, it appears I needed to explicitly put the extension on the filename when making a noetexture. The updated version is on the top of the release page.
Will there be Metal Gear Solid 1 support for animations? That'd be really awesome.

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

Posted: Sat Mar 27, 2021 3:09 am
by JayK
Yeah, the only thing I have left for mgs1 animations is the position bitstream, but it looks fine without it as well so I may just end up releasing it without that.

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

Posted: Mon Mar 29, 2021 4:25 pm
by OPR23b
Just wanted to let you know about something


For some reason, the textures on the Mass Produced Ray seem to display weirdly in Noesis (mostly an invisible texture issue.)
https://imgur.com/a/mYWSGle

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

Posted: Mon Mar 29, 2021 9:35 pm
by OPR23b
And just to clarify, this also happens with the Prototype Ray too.

And in the Prototype's case, it also seems to be missing textures.

https://imgur.com/a/tg48XBG

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

Posted: Tue Mar 30, 2021 11:51 am
by JayK
That could also be related to me not decompressing the Tri file properly. As I think that's happening with a few textures.

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

Posted: Tue Mar 30, 2021 2:23 pm
by Joschka
JayK wrote: Thu Mar 11, 2021 4:55 pm Hi, yeah splitting up the animation is something I'd like to do, I asked in a previous thread how I could go about doing that with Noesis but didn't get a reply on it. I think I just need to dig into the API more. Do you have an example of an mgs3 file that has messed up weighting so I can look into it, thanks.
Single fbx file with the animations split inside instead of a single one long animation : -fbxmultitake
One fbx file per animation : -animoutex .noefbxmulti

You can either tell the user to put these manually in the advanced options or put them automatically using your plugin's options and the following function https://github.com/Joschuka/Project-G1M ... ce.cpp#L65