Skip to content

Instantly share code, notes, and snippets.

View LegoLoco7's full-sized avatar
🧱
possibly modding

LegoLoco7

🧱
possibly modding
View GitHub Profile
@shinyquagsire23
shinyquagsire23 / rf-extract.py
Last active January 30, 2026 23:28
LEGO LOCO RFH/RFD unpacker
import struct
import os
contents = open("resource.RFH", "rb").read()
blob_f = open("resource.RFD", "rb")
def huff_decompress(data):
bits = 0
node = struct.unpack("<H", data[4:6])[0]
decomp = ""
@BuffaloWill
BuffaloWill / hex_00_to_FF
Created December 6, 2016 18:41
hex 00 to FF
00
01
02
03
04
05
06
07
08
09