Help retrieving faces from a file with one mesh
Posted: Sun Nov 11, 2012 4:06 pm
Hey guys, I'm a bit new to the whole game research thing although I have some programming experience.
I'm trying to extract the models from a game, I manage to do it on the files that have the mesh faces with 4 constant values on int16's separated by 0xFFFF but on other files I get random number of face values between the 0xFFFF, Examples:
FFFF 003F 0029 0010 0011 000F 002B 0032 0034 0033 0035 0037 0036 0039 0038
FFFF 0029 002A 0011 002B
FFFF 002A 003A 002B 003B 0034 0013 0035 0012 0040
FFFF 0012 0013 0014 003B 003A
FFFF 0038 0036 0040 0035
FFFF 00B5 00B6 00B4 00B7 00BB 00BC 00B9 0101 0109 0100 0107 010A 010F 00FE 0102 00FD FFFF 00BC 00B7 0101 0100
If I only had 4 int16's separated by the 0xFFFF like the other files this would be easy but I have no clue what to do here.
Any idea why some files have constant 4 values faces and others dont? If yes how can I organize the faces data to display it properly?
This might be a simple question but as I said, Im a bit new.
Thank you in advance for any help.
I'm trying to extract the models from a game, I manage to do it on the files that have the mesh faces with 4 constant values on int16's separated by 0xFFFF but on other files I get random number of face values between the 0xFFFF, Examples:
FFFF 003F 0029 0010 0011 000F 002B 0032 0034 0033 0035 0037 0036 0039 0038
FFFF 0029 002A 0011 002B
FFFF 002A 003A 002B 003B 0034 0013 0035 0012 0040
FFFF 0012 0013 0014 003B 003A
FFFF 0038 0036 0040 0035
FFFF 00B5 00B6 00B4 00B7 00BB 00BC 00B9 0101 0109 0100 0107 010A 010F 00FE 0102 00FD FFFF 00BC 00B7 0101 0100
If I only had 4 int16's separated by the 0xFFFF like the other files this would be easy but I have no clue what to do here.
Any idea why some files have constant 4 values faces and others dont? If yes how can I organize the faces data to display it properly?
This might be a simple question but as I said, Im a bit new.
Thank you in advance for any help.