Skip to content

Instantly share code, notes, and snippets.

@x1nixmzeng
x1nixmzeng / IESv2.bt
Created January 25, 2015 01:25
IES binary template
//--------------------------------------
//--- 010 Editor v5.0 Binary Template
//
// File: IESv2.bt
// Author: WRS
// Revision: 2
// Purpose: IES Database Parser
//--------------------------------------
#include "prelen.bt"
@x1nixmzeng
x1nixmzeng / kl_loc.bt
Created April 11, 2015 14:06
Kane And Lynch LOC Binary Template
//--------------------------------------
//--- 010 Editor v5.0 Binary Template
//
// File: kl_loc.bt
// Author: x1nixmzeng/WRS
// Revision: 1
// Purpose: KaneAndLynch LOC files
//--------------------------------------
//////////////////////////////////////////////
@x1nixmzeng
x1nixmzeng / Grabbed by the Ghoulies - Hashes.md
Created September 11, 2015 22:52
List of hashed resource names used in Grabbed by the Ghoulies (Xbox)

GTBG Hashes

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/*
@x1nixmzeng
x1nixmzeng / rs3Unscramble.c
Created July 3, 2012 16:44
The XOR function used in Z3Ex.dll
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
@x1nixmzeng
x1nixmzeng / the_witness_mo.bt
Created January 28, 2016 00:01
The Witness MO format
//--------------------------------------
//--- 010 Editor v5.0 Binary Template
//
// File: the_witness_mo.bt
// Author: WRS
// Revision: 1
// Purpose: The Witness MO files
//--------------------------------------
uint magic; // ?? 2500072158
@x1nixmzeng
x1nixmzeng / gmd_texts.bt
Created January 30, 2016 17:05
GMD text format
//--------------------------------------
//--- 010 Editor v5.0 Binary Template
//
// File: pause_history_eng.2A2BB29A
// Author: wrs
// Revision: 1
// Purpose: GMD texts
//--------------------------------------
char magic[4]; // "GMD\0"
@x1nixmzeng
x1nixmzeng / gbtg_anim.bt
Created January 30, 2017 00:03
Grabbed by the Ghoulies animation format
//--------------------------------------
//--- 010 Editor v5.0 Binary Template
//
// File: gbtg_anim.bt
// Author: wrs/x1nixmzeng
// Revision: 0.1
// Purpose: aid_anim_* parsing from
// "grabbed by the ghoulies"
//--------------------------------------
@x1nixmzeng
x1nixmzeng / alien-isolation-bml.bt
Last active May 29, 2017 23:52
First Alien Isolation BML work
// 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
@x1nixmzeng
x1nixmzeng / kameo_hashes.csv
Created March 11, 2018 01:31
List of hashed level names used in Kameo: Elements Of Power (Xbox)
Hash Level Name
00B35653.lvl ChamberOfPortraits
0A307B44.lvl ForgottenForest
0AB941A5.lvl FrostyCave
0B42A8B5.lvl ForgottenForestCave
0BC0E205.lvl ArmadilloCave
0BCCDE5C.lvl
0C5E28BD.lvl ThornBossRoom
0C6A00C1.lvl WaterHutInterior1
0C6A00C2.lvl WaterHutInterior2
@x1nixmzeng
x1nixmzeng / soul_worker_latest.py
Created April 9, 2016 15:21
Soul Worker Update Checker
#!/usr/bin/env python
import io
import urllib
import zipfile
import ConfigParser
import datetime
# constants
sw_base = "http://down.hangame.co.jp/jp/purple/plii/j_sw/"
sw_update = sw_base + "j_sw_m.xml"