Most non-BNL filenames are stored as hashes for Grabbed by the Ghoulies.
This is the case for the following directories:
- demand/*
- font/*
- loctext/language/*
- movie/*
void rs3Unscramble( char *srcBuffer, DWORD srcSize, DWORD xorkey ) | |
{ | |
// Unscramble the 32-bit blocks | |
DWORD dBlocks = srcSize >> 2; | |
while( dBlocks ) | |
{ | |
DWORD tmp; | |
tmp = *(DWORD *)srcBuffer; // read 32-bit value | |
function gzrClass.ReadGzrPlayers( gzrFile: TMemoryStream ): gzreplayState; | |
const | |
GZR_OWNER : byte = 1; | |
var | |
i : uint32; | |
tmpName : array[0..31] of char; | |
charFlag : byte; | |
begin | |
Result := GZR_SUCCESS; |
//-------------------------------------- | |
//--- 010 Editor v5.0.0 Binary Template | |
// | |
// File: prelen.bt | |
// Author: x1nixmzeng/WRS | |
// Revision: v1.03 | |
// Purpose: Reading strings of known length | |
// History | |
// v1.03 Added optional STR_ENCODING macro to specify the charset | |
// used to format the template results |
// superseeded by https://github.com/x1nixmzeng/AlienBML | |
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
//-------------------------------------- | |
//--- 010 Editor v5.0 Binary Template | |
//--- Author: WRS (xentax.com) | |
// Types ---- | |
// annoyingly we can't pass a structure with a local string |
#include <cstdio> | |
typedef signed char s8; | |
typedef unsigned char u8; | |
typedef unsigned short u16; | |
typedef unsigned int u32; | |
u8 default_rbm[384] = { | |
0x43, 0x41, 0x46, 0x46, 0x32, 0x38, 0x2E, 0x30, 0x31, 0x2E, 0x30, 0x35, 0x2E, 0x30, 0x30, 0x33, | |
0x31, 0x00, 0x00, 0x00, 0x50, 0x5D, 0xC9, 0x02, 0x7A, 0x01, 0x00, 0x00, 0xF2, 0x01, 0x00, 0x00, |
//-------------------------------------- | |
//--- 010 Editor v5.0 Binary Template | |
// | |
// File: IESv2.bt | |
// Author: WRS | |
// Revision: 2 | |
// Purpose: IES Database Parser | |
//-------------------------------------- | |
#include "prelen.bt" |
//-------------------------------------- | |
//--- 010 Editor v5.0 Binary Template | |
// | |
// File: kl_loc.bt | |
// Author: x1nixmzeng/WRS | |
// Revision: 1 | |
// Purpose: KaneAndLynch LOC files | |
//-------------------------------------- | |
////////////////////////////////////////////// |
//-------------------------------------- | |
//--- 010 Editor v5.0 Binary Template | |
//-------------------------------------- | |
// Unity binary font atlas format | |
// Documented by WRS | |
//-------------------------------------- | |
struct UnityFontAtlas | |
{ | |
uint unknown_0[2]; |
//-------------------------------------- | |
//--- 010 Editor v5.0 Binary Template | |
// | |
// File: the_witness_mo.bt | |
// Author: WRS | |
// Revision: 1 | |
// Purpose: The Witness MO files | |
//-------------------------------------- | |
uint magic; // ?? 2500072158 |