Last active
September 3, 2020 00:05
-
-
Save Radfordhound/2ab2e8598ac414be82e5f77aaf7f48ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
PXSK (.skl.pxd) format specification | |
By: Radfordhound | |
Version: 1.0 | |
*/ | |
/* | |
PXSK files are BINAv2 files. | |
This document only covers the PXSK-specific | |
data, not the BINA stuff. For more information | |
on BINA, please refer to a BINAv2 specification. | |
*/ | |
template<typename T> | |
struct MoveArray | |
{ | |
T* data; | |
uint64_t count; | |
uint64_t capacity; | |
/* Not actually set to anything in files obviously. */ | |
IAllocator* allocator = NULL; | |
}; | |
struct PXSKBoneName | |
{ | |
char* name; | |
/* Always 0? */ | |
void* unknown1 = NULL; | |
}; | |
struct PXSKHeader | |
{ | |
/* "PXSK" */ | |
char signature[4]; | |
/* Version number?? It's always set to 512. Could mean like v0.2? */ | |
uint32_t unknown1; | |
MoveArray<uint16_t> boneIndices; | |
MoveArray<PXSKBoneName> boneNames; | |
MoveArray<Matrix3x4> boneMatrices; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment