|
Kopernikus Random nobody Level: 2 Posts: 1/1 EXP: 28 For next: 18 Since: 03-01-20 Since last post: 2.2 years Last activity: 2.1 years |
|
| Hello,
I've read this thread and must say I'm quite impressed by what you've accomplished so far. Also thank you for the pointers I found in here some of them were quite helpful. I myself started delving into the files of SFA a couple of weeks back just cause (I loved the game when I was young and I like the puzzle it provides me now). So far I was able to decode the TEX*.bin files to PNGs, and to convert the mod*.zlb.bin files into OBJ files. But now I'm a bit stumped by the MODELS.bin files and thought I may try to trouble you for a hint? So far I'm able to extract the different models themselves and to identify the Vertices, I've also found the GP Packets (or Display Lists?) (http://hitmen.c02.at/files/yagcd/yagcd/chap5.html#sec5.11.5) which group them into faces and add the UV coordinates to them but I'm missing the Vertex Descriptor and Vertex Attribute Data which tell me how the GP Packets are encoded/which format the data is in. Currently I'm thinking that they're probably in their respective Display List Header (I don't know if that would be the correct name for them but it makes sense for me). They can be found by following the 32bit pointer at 0xD0 in any of the files extracted from MODELS.bin and are each 28 bytes long whereby the first four bytes are the pointer to the Display List (list of GP Packets) and the next two bytes are the length of the list in bytes. This leaves 22 bytes of data which I think might be the data I need but so far I can make neither heads nor tails of them. Therefore my question: Could one of you please give me a hint how to read that data or at least where to look for it? Best regards Kopernikus |

