Page 1 of 1

Beasts & Bumpkins BOX archives

Posted: Fri Aug 17, 2007 11:37 am
by Rheini
Could someone help me with those B&B archives?
Some example files can be downloaded here: http://uploaded.to/?id=9zjtw5


EDIT:
The format is nearly figured out. There's just one thing left.
Files start with "BOX" followed by a byte that changes from file to file (maybe file count?) and the value 65536.

Code: Select all

0000h: 42 4F 58 97 00 00 01 00  BOX.....
I need to know the meaning of that byte.

This is my binary template:

Code: Select all

char magic[3]; // "BOX"
byte uk1;
uint uk2; // 65536
struct Entry {
	string filename;
	byte crap[255-Strlen(filename)];
	string path;
	byte crap2[255-Strlen(path)];
	ushort year; // SYSTEMTIME
	ushort month;
	ushort dayofweek;
	ushort day;
	ushort hour;
	ushort minute;
	ushort second;
	ushort milliseconds;
	uint size;
	char data[size];
}entries[256]<optimize=false>;

Posted: Tue Aug 21, 2007 9:10 am
by Rheini
Hmm doesn't seem to be the file count. There is a box archive with more than 256 files in it.