Page 1 of 12

MSET RESEARCH PROJECT + FILES UPLOADED + SOURCES

Posted: Wed Jul 27, 2011 8:34 pm
by Xemnass
Hello at All...
I'm sure that you know the khkh_xldMii compiled by kkdf2.... unfortunately, he don't share his sources.... so pnobodies can read an "example of" "how to read MSET animations file"....
After all.... I AM AN Ha**** so..... I'd to share the sources write in C# this is a list of dependencies:

***************
Dependencies
***************
ef1Declib
mscorlib
SlimDX
System
System.Drawing
System.Windows.Forms
System.Xml
*******************
End of Dependencies
*******************


COPY OF THE README FILES:

Code: Select all

******************************************************
This Pack was made by Xemnass, ( Matteo Esposito ).

This pack contain the program made by kkdf2

Contains even the Sources written in C# ( C Sharp ) of
all library which the program need and the program it
self.

I add some MDLX and their relativ MSET  for testing
purpose only.

Added even MSET reserarches and informations DOC.
In (*).Docx and (*).Doc.

******************************************************

*****************
*               *
*Included Files:*
*               *
*****************
******************
*Program:        *
*                *
*khkh_xldMii     *
*                *
******************
******************
*Libraries:      *
*                *
*7zip443         *
*Custeera        *
*ef1Declib       *
*SlimDX          *
*                *
******************
******************
*Sources:        *
*                *
*khkh_xldMii     *
*7zip443         *
*Custeera        *
*ef1Declib       *
*SlimDX          *
*                *
******************
******************
*Documents:      *
*                *
*MSET+MDLX       *
*SEARCH          *
*RESULT          *
*                *
******************
*******************
*MDLX-MSET EXAMPLE*
*******************




I make this and let it in your hands and I answer help to everybody, anyone who want to join in this project is Welcome =D

Please after all, after we understan perfectly this code we can export MSET as psa and whit my tutorial reasign all animations to the respective Character =D this will help everybody to make their own game =D


This is the link to my Pack:
http://www.mediafire.com/?fr7yk3r7skakjad

Re: MSET RESEARCH PROJECT + FILES UPLOADED + SOURCES

Posted: Wed Jul 27, 2011 10:18 pm
by Mr.Mouse
Interesting share! 8)

Re: MSET RESEARCH PROJECT + FILES UPLOADED + SOURCES

Posted: Thu Jul 28, 2011 1:15 am
by SirLoon
Nice one :) But i would like to see sources from KH ripper too :) I still dont get how Yaz0r found model files in iso :)

Re: MSET RESEARCH PROJECT + FILES UPLOADED + SOURCES

Posted: Thu Jul 28, 2011 1:44 pm
by Xemnass
The contents of this post was deleted because of possible forum rules violation.

Re: MSET RESEARCH PROJECT + FILES UPLOADED + SOURCES

Posted: Thu Jul 28, 2011 9:45 pm
by Mr.Mouse
Okay, but that is assembly code. I think SirLoon meant the C code, or whatever that was written in. To understand the concept.

Re: MSET RESEARCH PROJECT + FILES UPLOADED + SOURCES

Posted: Thu Jul 28, 2011 10:45 pm
by Xemnass
o yhea.. XD You have reason XD =D
Now, in my nation is the 23:45 so is too late and I am so tired XD
Tomorrow I will Open His code whit my "instruments" and i will looking for the code if it was written whitout a special algorythmin protections, things that i don't think XD
However I hope that some people will join in this propject and together wil foun a way for make an MDLX+MSET plugin for Noesis =D

However XD,

GoooooooodNiiiiiiiiiiiiiiiiiiiight =D

Re: MSET RESEARCH PROJECT + FILES UPLOADED + SOURCES

Posted: Thu Jul 28, 2011 10:51 pm
by Mr.Mouse
In my nation it is 23:45 too, so I know what you mean ;-) What is your nation then? I will await your findings! I know MrAdults has seen your post, so perhaps he can implement it into Noesis!

Re: MSET RESEARCH PROJECT + FILES UPLOADED + SOURCES

Posted: Thu Jul 28, 2011 10:52 pm
by Xemnass
I am Italian, and you?

Re: MSET RESEARCH PROJECT + FILES UPLOADED + SOURCES

Posted: Thu Jul 28, 2011 10:52 pm
by Mr.Mouse
Dutch :D

Re: MSET RESEARCH PROJECT + FILES UPLOADED + SOURCES

Posted: Thu Jul 28, 2011 10:58 pm
by Xemnass
Somethings say to me that you are Dutch XD =D I guess =D

Dutchland is a beutifull nation maybe a day i will go to your nation XD Unfortunately I go sometimes out of europe the only nation which i Visitated in Europe was Franch XD =D

However GoodNight i go XD =D =D =D =D =D

Re: MSET RESEARCH PROJECT + FILES UPLOADED + SOURCES

Posted: Thu Jul 28, 2011 10:59 pm
by Dinoguy1000
I really need to move to Europe, I think... =D

Re: MSET RESEARCH PROJECT + FILES UPLOADED + SOURCES

Posted: Thu Jul 28, 2011 11:01 pm
by Mr.Mouse
Hehe. Yes. Dutchland, or "The Netherlands" as I tend to call it, is of course a beautiful country. .. :mrgreen:

Re: MSET RESEARCH PROJECT + FILES UPLOADED + SOURCES

Posted: Fri Jul 29, 2011 12:26 am
by revelation
Sorry to be a bit of a downer, but the MSET format structure is actually rather easy. Unfortunately it is the processing of the data that is the difficult part.

KH2 computes its Inverse Kinematics code through a series of EE and COP2 (VU0) instructions, which can make it a bit of a pain to statically reverse. Unfortunately pcsx2's debugger functionality is no longer operational, and even in older builds was only so useful. As such, even i don't think you will find an easily understandable form of the MSET IK processing. But hey, we can use all the help we can get.

i already have preliminary KH2 animation support in my Noesis plugin, but current only 'raw' animations work correctly, as they are simply sampled matrix key frames. Unfortunately most animations of interest do not use 'raw' animations, and the other format sadly is not in a form that can be directly sampled to get correct results without proper IK handling. Really wish the animations would have at least be in a default state when IK processing was not applied, but this is unfortunately not the case (similar to the reason i have not finished SF4 animations either).

i am currently investigating better ways to debug the emulated ps2 instructions (as well as code for other emulated platforms), so that i can get a better picture of the results of the COP2 instructions. Will have to see how far i get once i can make time for everything. If i don't head in a different direction first i might try letting pcsx2 sit for a while until it hopefully hits the function address i need, heh.

Oh, and you probably could have simply asked kkdf2 for more information and/or source if you really had an interest in investigating the way the programs work (seems to check these forums quite regularly i believe). But i guess .NET is very nice in the regard it is easily disassembled/decompiled from IL into native code.

Re: MSET RESEARCH PROJECT + FILES UPLOADED + SOURCES

Posted: Fri Jul 29, 2011 1:55 pm
by Xemnass
If you realy want to know I used .Net Reflector and .Net.Reflector.File.Disassembler
The things which is good is that whit this program you can easily convert from a language to another (ex. C#, C++, etc...)
I even, don't know kkdf2 i know only which is the programmer of this program =D

However... if you have for ex. MSN,Skype, or other..... we can speak about how to debug PS2 instruction =D
Maybe i can be of any help =D

Hello Wooooorld =D

P.S.=
revelation wrote: Oh, and you probably could have simply asked kkdf2 for more information and/or source if you really had an interest in investigating the way the programs work (seems to check these forums quite regularly i believe).
Why I had to say a lie??? if i could ask this directly to him i could say:

"KKDF2 relased to me the sources"
instead to say that I've extracted no?

Re: MSET RESEARCH PROJECT + FILES UPLOADED + SOURCES

Posted: Fri Jul 29, 2011 6:08 pm
by Mirrorman95
You know, ANBs are also valid Kingdom Hearts 2 Animations, and kkdf2 made an ANB2MSET converter. Of course, the only program that gets all of those ANBs, or at least more than Falo and Yazor ever have, is Xeeynamo's KH2Dumper, located on his blog, at the same place he posted his KH2FM full translation. Of course, Falo's is still the best dumper for KH1.

By the way, what did Revelation mean when he said raw KH2 animations worked with his Noesis plugin? I assume that means ANB files, but I have no idea how to make Noesis animate something with them.