structs as defined in file. More...
structs as defined in file.
All defined structs that are as in file (possible after decompression and/or deinterleaving) are prefixed with t2fsData
| typedef struct s_t2fsDataCoordF32 t2fsDataCoordF32 |
| typedef struct s_t2fsDataWorldCoordF32 t2fsDataWorldCoordF32 |
| typedef struct s_t2fsDataCoordS32 t2fsDataCoordS32 |
yeah.. not kiddin
| typedef struct s_t2fsDataCoordS16 t2fsDataCoordS16 |
This is a test ..
| typedef struct s_t2fsDataWorldCoordS16 t2fsDataWorldCoordS16 |
This is a test ..
| typedef struct s_t2fsDataLevelInfo t2fsDataLevelInfo |
| typedef struct s_t2fsDataLevel_unk_1_0 t2fsDataLevel_unk_1_0 |
These have almost always the same values, not that interesting?
Entry from interleaved t2fsArray (after deinterleaving)
| typedef struct s_t2fsDataLevelMeshBuffer t2fsDataLevelMeshBuffer |
Entry from interleaved t2fsArray (after deinterleaving)
| typedef struct s_t2fsDataLevelMeshIndices t2fsDataLevelMeshIndices |
Entry from interleaved t2fsArray (after deinterleaving)
| typedef struct s_t2fsDataLevel_unk_1_3 t2fsDataLevel_unk_1_3 |
Entry from interleaved t2fsArray (after deinterleaving)
| typedef struct s_t2fsDataLevel_unk_2_x_0 t2fsDataLevel_unk_2_x_0 |
| typedef struct s_t2fsDataLevel_unk_2_x_1 t2fsDataLevel_unk_2_x_1 |
Entry from t2fsArray.
| typedef struct s_t2fsDataLevelScriptedObject t2fsDataLevelScriptedObject |
It looks like all the used models have at least one bone and one pose. So these are probably scripted objects.
Entry from interleaved t2fsArray (after deinterleaving)
Looks the same as t2fsDataRegionObject except that it's 12 bytes shorter (missing between scale and modelId).
| typedef struct s_t2fsDataLevel_unk_4_0 t2fsDataLevel_unk_4_0 |
Entry from t2fsArray.
| typedef struct s_t2fsDataLevel_unk_4_1 t2fsDataLevel_unk_4_1 |
Entry from t2fsArray.
| typedef struct s_t2fsDataLevel_unk_4_2 t2fsDataLevel_unk_4_2 |
Entry from t2fsArray.
| typedef struct s_t2fsDataLevel_unk_4_3 t2fsDataLevel_unk_4_3 |
Entry from t2fsArray.
| typedef struct s_t2fsDataRegionBounds t2fsDataRegionBounds |
These look like region coords min/max x,y
Entry from t2fsArray.
| typedef struct s_t2fsDataLevel_unk_5_x_0 t2fsDataLevel_unk_5_x_0 |
Ground objects? Model id's seem to match, but how to position them?
The scale value also looks good and like a scale value from other structs, so very likely.
Everything other then scale and modelId are a guess..
https://ultra64.ca/files/documentation/online-manuals/man/pro-man/pro24/index24.1.html
Entry from t2fsArray.
| typedef struct s_t2fsDataRegionObject t2fsDataRegionObject |
Mountains, trees, buildings, cars and stuff
on Turok2Demo.lss it's 56 in size, that's 4 more..
Entry from interleaved t2fsArray (after deinterleaving)
| typedef struct s_t2fsDataRegionItem t2fsDataRegionItem |
Level items (pickups)
Entry from t2fsArray.
| typedef struct s_t2fsDataLevel_unk_5_x_3 t2fsDataLevel_unk_5_x_3 |
Is this the groud mesh?
Entry from interleaved t2fsArray (after deinterleaving)
| typedef struct s_t2fsDataLevel_unk_6 t2fsDataLevel_unk_6 |
Entry from t2fsArray.
| typedef struct s_t2fsDataLevel_unk_7_0 t2fsDataLevel_unk_7_0 |
Entry from t2fsArray.
| typedef struct s_t2fsDataLevel_unk_7_1 t2fsDataLevel_unk_7_1 |
Entry from t2fsArray.
| typedef struct s_t2fsDataLevel_unk_7_2 t2fsDataLevel_unk_7_2 |
Entry from t2fsArray.
| typedef struct s_t2fsDataLevel_unk_7_3 t2fsDataLevel_unk_7_3 |
Entry from t2fsArray.
| typedef struct s_t2fsDataModelInfo t2fsDataModelInfo |
| typedef struct s_t2fsDataBone t2fsDataBone |
| typedef struct s_t2fsDataBoneOrientation t2fsDataBoneOrientation |
| typedef struct s_t2fsDataAnimationBoneIndices t2fsDataAnimationBoneIndices |
/root/0/ModelID/2/PoseID/1/data
This is hypothetical.. TODO
It is guessed that these indices might be useful with 0/x/2/x/5/1/data and 0/x/2/x/5/2/data
| typedef struct s_t2fsDataAnimationHeader t2fsDataAnimationHeader |
/root/0/ModelID/2/PoseID/5/0/data
This struct is for Seeds of Evil. South Park is lacking the last 8 bytes.
This is hypothetical.. TODO
| typedef struct s_t2fsDataHotpoint t2fsDataHotpoint |
| typedef struct s_t2fsDataColorRGBA8 t2fsDataColorRGBA8 |
| typedef struct s_t2fsDataMaterial t2fsDataMaterial |
| typedef struct s_t2fsDataVertex t2fsDataVertex |
Very likely something like this https://ultra64.ca/files/documentation/online-manuals/man/n64man/gsp/gSPVertex.html
| typedef struct s_t2fsDataSceneHeader t2fsDataSceneHeader |
| typedef struct s_t2fsDataSceneHeader_0x48 t2fsDataSceneHeader_0x48 |
As in South Park (four bytes shorter then in Seeds of Evil).
| typedef struct s_t2fsDataLevelSpawnPoint t2fsDataLevelSpawnPoint |
Entry from t2fsArray.
| typedef struct s_t2fsDataTextureHeader t2fsDataTextureHeader |