Skip to content

Instantly share code, notes, and snippets.

@x1nixmzeng
x1nixmzeng / caffBanjo.bt
Created October 8, 2019 21:16
Banjo Kazooie CAFF Research
//------------------------------------------------
//--- 010 Editor v9.0.1 Binary Template
//
// File: caffBanjo.bt
// Authors: WRS/x1nixmzeng
// Version: 0.01
// Purpose: CAFF files used by Banjo
// Category: Games
// File Mask: n/a
// ID Bytes: CAFF
@x1nixmzeng
x1nixmzeng / bundle.cpp
Created May 7, 2019 20:39
Viva Piñata BNL
#include "bundle.h"
#include "base/memorystream.h"
#include "base/assert.h"
#include "base/zlibutils.h"
#include "base/byte_order.h"
#include <vector>
#include <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 / 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 / ws_soulworker.lua
Last active December 22, 2020 17:38
Soul Worker Wireshark Dissector (packet analyser)
-- Soul Worker Wireshark Dissector rev 1
-- Written by WRS/x1nixmzeng (forum.xentax.com)
-- Usage: wireshark.exe -X lua_script:ws_soulworker.lua
local sw_port = 27017
sw_proto = Proto("sw_proto","Soul Worker Protocol")
local sw_method =
{
@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"
@x1nixmzeng
x1nixmzeng / soul_worker_res_types.txt
Last active June 17, 2023 20:02
Quick python script to dump the structures from Soul Worker Online
012640BC PUSH SoulWork.01C79544 ASCII "tb_Achievement"
01264666 PUSH SoulWork.01C79558 ASCII "tb_Achievement_begin"
0126478C PUSH SoulWork.01C79570 ASCII "tb_Achievement_Emblem"
01264AAC PUSH SoulWork.01C79588 ASCII "tb_Achievement_Script"
01264C66 PUSH SoulWork.01C795A0 ASCII "tb_Akashic_Disassemble"
01264DA6 PUSH SoulWork.01C795B8 ASCII "tb_Akashic_Make"
01264F0C PUSH SoulWork.01C795C8 ASCII "tb_Akashic_Parts"
012651DC PUSH SoulWork.01C795DC ASCII "tb_Akashic_Records"
0126587C PUSH SoulWork.01C795F0 ASCII "tb_Appearance"
01265AF6 PUSH SoulWork.01C79600 ASCII "tb_Aura"
@x1nixmzeng
x1nixmzeng / Soul_Worker_Example.bt
Last active December 22, 2020 17:38
Binary template to parse and validate "th_Achievement.res" (from Soul Worker Online)
//--------------------------------------
//--- 010 Editor v5.0 Binary Template
//
// File: Soul_Worker_Example.bt
// Author: WRS/x1nixmzeng
// Revision: 1
// Purpose: Reading of th_Achievement.res
//--------------------------------------
local int64 read_sum = 0;
@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 / 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