Re: Risen 3 Titan Lords
Posted: Wed Aug 27, 2014 5:16 pm
Use "...\0_na_skn\w_skn_0_na.db" - (binary file) - for searching needed name of material, mesh indice table offset and mesh indice count for each material
Code: Select all
Model : Hum_F_Body_Main_Patty_1_L1
--Material: Hum_F_Body_Main_Patty_Fabric_1
B23C93CD F5536CE5 00000004 00000000 : amount to seek in face index block
B23C93CD 2F8143C6 00000004 00004F68 : face index count to read
B23C93CD BD79284B 00000004 00000000 : amount to seek in vertex info block
B23C93CD B99901EC 00000004 0000117B : vertices + uv + etc count to read
B23C93CD 0F2D41B1 00000004 00000000 : amount to seek for last data block?
B23C93CD 6ED76512 00000004 0000002A : count to read for last data block?
--Material: Hum_F_Body_Main_Patty_Skin_1
B23C93CD F5536CE5 00000004 00004F68 : amount to seek in face index block
B23C93CD 2F8143C6 00000004 00001D2E : face index count to read
B23C93CD BD79284B 00000004 0000117B : amount to seek in vertex info block
B23C93CD B99901EC 00000004 00000633 : vertices + uv + etc count to read
B23C93CD 0F2D41B1 00000004 0000002A : amount to seek for last data block?
B23C93CD 6ED76512 00000004 0000002E : count to read for last data block?
Very good game, can upload script, let everyone learn it, thanks,chrrox wrote a python script for noesis for Risen 2.Support only xmesh models do not support character modelsEcheloCross wrote:Looking through the db now
Looks like the model data block is shared by each material, which makes sense as to why the uv were overlapping when I originally read the whole model.
Finally got the sub mesh info reading from the db. Thanks again for pointing me in the right direction Szkaradek123.Code: Select all
Model : Hum_F_Body_Main_Patty_1_L1 --Material: Hum_F_Body_Main_Patty_Fabric_1 B23C93CD F5536CE5 00000004 00000000 : amount to seek in face index block B23C93CD 2F8143C6 00000004 00004F68 : face index count to read B23C93CD BD79284B 00000004 00000000 : amount to seek in vertex info block B23C93CD B99901EC 00000004 0000117B : vertices + uv + etc count to read B23C93CD 0F2D41B1 00000004 00000000 : amount to seek for last data block? B23C93CD 6ED76512 00000004 0000002A : count to read for last data block? --Material: Hum_F_Body_Main_Patty_Skin_1 B23C93CD F5536CE5 00000004 00004F68 : amount to seek in face index block B23C93CD 2F8143C6 00000004 00001D2E : face index count to read B23C93CD BD79284B 00000004 0000117B : amount to seek in vertex info block B23C93CD B99901EC 00000004 00000633 : vertices + uv + etc count to read B23C93CD 0F2D41B1 00000004 0000002A : amount to seek for last data block? B23C93CD 6ED76512 00000004 0000002E : count to read for last data block?