READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

saint row 2 pc smesh_pc file found vertex

Post questions about game models here, or help out others!
Post Reply
demolos
advanced
Posts: 65
Joined: Mon Mar 12, 2007 3:38 pm
Has thanked: 5 times
Been thanked: 4 times

saint row 2 pc smesh_pc file found vertex

Post by demolos » Sun May 03, 2009 11:36 am

Hi,
i make some search on saint row 2 files and i found the vertex somebody can look on these files i need to know where is the face hexadecimal section PLEASE (my nickname is dany in Saint row 2 forum)

http://community.saintsrow.com/viewtopi ... 37&t=28748
saint row2 model weapons.zip
You do not have the required permissions to view the files attached to this post.

User avatar
alera
advanced
Posts: 71
Joined: Fri Oct 06, 2006 2:33 am
Has thanked: 14 times
Been thanked: 5 times

Re: saint row 2 pc smesh_pc file found vertex

Post by alera » Fri May 08, 2009 4:15 am

Very interesting! could you tell me the offset in this file to the vertex data? I'll see if I can find the face index.

Edit:
Never mind. from what I can see it seems like the face index is RIGHT below the vertices. its the "data" you speak of in the saints row forums.

XYZ
Data <- this seems to be the face index.

it is formed of 16bit integers. atm I don't know anything else since I can't figure out the header of the file.

Header:
12 bytes. some sort of signature.
int16 some sort of counter
int16 another counter

Strange data follows.. some sort of obfuscated number or something. after that is in plain text the texture file names.

again more strange numbers and more plain text.
this chunks of strange numbers with plain text seem to be linked to the 2 int16s of the header.

after that there are more chunks with a mixture of floats and something else. and finaly the vertex and face chunks.

Post Reply