Jump to content

Model Extraction help


FengPu
Go to solution Solved by roocker666,

Recommended Posts

I want to extract a 3D model from afile, but I don't understand the structure of the file, which is a hair model. Attached is the model file and the map and an xml file.
I'd really appreciate it if you could help me with this detail.

103886401.zip

Edited by FengPu
Link to comment
Share on other sites

 

Thank you roocker666, you gave me an idea for my follow-up research.

11 00 00 00 14 00 00 00 8F 07 00 00 73 27 00 00 64 D9 01 00 01 00 00 00 02 00 00 00 00 00 00 00

73 27 = 10099 = count

11 00 00 00 14 00 00 00

Searching for 11 00 00 00 14 00 00 00, I found there are 13 in total.

it have 32 bytes.

 

 

Edited by FengPu
  • Like 1
Link to comment
Share on other sites

59 minutes ago, FengPu said:

 

Thank you roocker666, you gave me an idea for my follow-up research.

Searching for 11 00 00 00 14 00 00 00, I found there are 13 in total.

Ok!, I guess that is a clue to find the header of some blocks but it seems like for faces is: 10 00 00 00 14 00 00 00 because there are only two.

  • Like 1
Link to comment
Share on other sites

2 hours ago, roocker666 said:

Ok!, I guess that is a clue to find the header of some blocks but it seems like for faces is: 10 00 00 00 14 00 00 00 because there are only two.

I feel like you are right.

Link to comment
Share on other sites

10 hours ago, FengPu said:

This is really cool, can you tell me how you got it?Thanks

using hex2obj

(The counts need some adjusting, I guess.)

And there's dozens of superfluous faces inside.

Interestingly it looks much better when you use the face indices startaddress from roocker666, 0xc5c6b.

Edited by shak-otay
  • Like 1
Link to comment
Share on other sites

  • FengPu changed the title to Model Extraction help

Now, I am able to extract v, vt, and f from the file. May I ask what else I need to extract? There are 4 unknown locations on top of which data is stored, and I am not sure what the purpose of these data is.

Link to comment
Share on other sites

01 00 00 00 02 00 00 00 -> v

02 00 00 00 02 00 00 00 -> ?

00 20 00 00 03 00 00 00 -> ?

10 00 00 00 01 00 00 00 -> vt

00 40 00 00 03 00 00 00 -> ?

00 80 00 00 03 00 00 00 -> ?

 

 

 

 

Edited by FengPu
Link to comment
Share on other sites

I don't understand modeling, I don't understand what the other data blocks represent, and how I can verify their authenticity. If you could provide me with assistance, I would be extremely grateful.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...