PDA

View Full Version : Model and Animation File Specifications


Keshire
03-13-2008, 05:05 AM
This is a cross post since the general forum is cluttered with hate threads. :psycho:

I have experience cracking model and animation formats.

Edit:
Does anyone have a current NSBMD file specification for models?



This (http://kiwi.ds.googlepages.com/nsbmd.html) looks to be a little off. I can go through and rewrite it if need be though? Import/Export would be really nice.

Keshire
03-14-2008, 04:20 AM
Update:


struct aHeader
{
char ID[4];
ulong FileSize;
ulong bHeaderSize;
ushort NULL; //End of Data
};
struct bHeader
{
ubyte Unknown; //Some type of Control Flag
ubyte Unknown; //Some type of Control Flag
//Pointers to data blocks
ulong Pointer;
ulong Pointer;
ulong Pointer;
ulong Pointer;
ulong Pointer;
ulong Pointer;
ulong Pointer;
ulong Pointer;
ulong Pointer;
ulong Pointer;
//
ulong Unknown; //Possibly a pointer
ulong Pointer; //Texture Node in the bbres
ulong Size; //Size of Texture Node in the bbres
ushort NULL; //End of Data
};
struct cHeader
{
ubyte Unknown;
ubyte Unknown;
ulong Unknown[5]; //Possibly Pointers
ulong Unknown; //Possibly Count
ulong Unknown;
ulong Unknown;
float Floats[6];
ulong UnknownCount;
ulong Unknown[UnknownCount];
ulong Unknown;
ulong Unknown;
ushort NULL; //End of Data
};


I have a rough idea of what's going on in the file and can identify the different data chunks. It's just a matter of finding sizes and offsets, and then what the actual data is/does.