ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Oct 19, 2017 7:10 am

All times are UTC




Post new topic  Reply to topic  [ 70 posts ]  Go to page Previous 1 2 3 4
Author Message
PostPosted: Tue Jun 20, 2017 4:50 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 648
JohnHudeski wrote:
Integers/Bits that you convert to floats?

yes


Top
   
PostPosted: Tue Jun 20, 2017 5:10 pm 

Joined: Mon Dec 29, 2014 8:49 pm
Posts: 29
id-daemon wrote:
JohnHudeski wrote:
Integers/Bits that you convert to floats?

yes

That's what I meant
but how do you figure out what frame a specific Vector belongs to
like what time cos not all bones have the same number of frames

I think this is my last hurdle. I figured out the bone mapping (in my head)


Top
   
PostPosted: Sun Oct 15, 2017 3:02 pm 

Joined: Fri May 05, 2017 1:16 pm
Posts: 8
Hi me again. I had some freetime and I used it to do a quick hack on your tool. Can I ask you why did you force us to use snake's model? Cause all I can see it's used for except for reading a couple of values is to read block 66 which from what i got is the number of bones in the model. By changing the model required into the one needed (eg: for loading lisa's animations i used och0_main0_def.fmdl, for reedus I used pla0_main0_def.fmdl etc) you get the correct animation (for example in lisa's animations there are bones only on his left eye since the right one is "gouged out"). If I used snake's model it would load it like snake (so the bone structure would be much different and giving me incorrect results). So... can I ask you the reason?


Top
   
PostPosted: Sun Oct 15, 2017 4:00 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 648
Zuppermati wrote:
Can I ask you why did you force us to use snake's model? Cause all I can see it's used for except for reading a couple of values


It read the WHOLE skeleton (all bones with their names, structure and positions) from model file. Skeleton is needed for animations. I used snake's skeleton because I thought all skeletons are the same.


Top
   
PostPosted: Sun Oct 15, 2017 4:27 pm 

Joined: Fri May 05, 2017 1:16 pm
Posts: 8
They're not actually.

https://imgur.com/a/wAs7G

On the left you have lisa's animation unpacked with snake's model and on the right with her model. You can see how the scale is corrected and it has a more coherent bone structure (you can see how she's missing the right eye bones as i told you).
Reedus is pretty much the same as it has a different chest structure for his jacket.
I didn't attach ik to arms and legs to cut some time but anyway till you use them "as is" (without attaching a model on it) they beheave pretty much the same. But if you do attach lisa's model to it blender goes a bit of WTF.

It still won't unpack me the baby and refrigerator's animations even if I do use them (it gives me a strange exception and I'm not good with understanding how reverse engineering animations works) but every animation it could unpack with snake's model can be unpacked with corrected bones if you use the proper models.

If we take off the part about reading the skeleton which I've shown you it can work without snake's model are there any other reasons you used it for?


Top
   
PostPosted: Sun Oct 15, 2017 6:48 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 648
Zuppermati wrote:
But if you do attach lisa's model to it blender goes a bit of WTF.


Ok, thats right. Since I never had any human models other than Snake, I couldn't check it.
baby and refrigerator (no idea what this is) probably have different RIG, not only different skeleton.

Zuppermati wrote:
If we take off the part about reading the skeleton which I've shown you it can work without snake's model are there any other reasons you used it for?


I don't remember. By "take off the part" you mean you will read the skeleton yourself somehow? Because without reading the skeleton animation will not work.


Top
   
PostPosted: Sun Oct 15, 2017 7:08 pm 

Joined: Fri May 05, 2017 1:16 pm
Posts: 8
id-daemon wrote:
baby and refrigerator (no idea what this is) probably have different RIG, not only different skeleton.

Well I remember I saw on your youtube channel your work on the fetus so you probably know better than me how does it work :lol: . Exactly what did you do to make the program work with it?

id-daemon wrote:
I don't remember. By "take off the part" you mean you will read the skeleton yourself somehow? Because without reading the skeleton animation will not work.

Sorry I used the wrong term. For "take off the part" i meant "excluding using it to read the skeleton (which as I told you even other models can do the job so PT hackers like me won't have to disassemble mgsv just to get a damned fmdl :) ) and block 66, is it used for anything else I didn't see?


Top
   
PostPosted: Mon Oct 16, 2017 3:55 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 648
Zuppermati wrote:
Sorry I used the wrong term. For "take off the part" i meant "excluding using it to read the skeleton (which as I told you even other models can do the job so PT hackers like me won't have to disassemble mgsv just to get a damned fmdl :) ) and block 66, is it used for anything else I didn't see?


I don't understand. If you don't read the skeleton, you cannot extract animations. And what is block 66 ?


Top
   
PostPosted: Tue Oct 17, 2017 11:48 am 

Joined: Fri May 05, 2017 1:16 pm
Posts: 8
Again you're misunderstanding what I'm saying let's try again:
"is the filestream used in the program to read snake's model used to do anything else in the program except to read the whole model (which other fmdl can do)?"

id-daemon wrote:
And what is block 66 ?


Line 100 of mgs5_gz_human.cs:

Code:
fileStream.Seek(66L, SeekOrigin.Begin);


Reads the byte in position 66 which is the number of bones in the model


Top
   
PostPosted: Tue Oct 17, 2017 7:28 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 648
Zuppermati wrote:
is the filestream used in the program to read snake's model used to do anything else in the program


No, its only used to read the skeleton and bone names.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 70 posts ]  Go to page Previous 1 2 3 4

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited