Skip to content

Instantly share code, notes, and snippets.

@deliss-btw
deliss-btw / ulua_patch.py
Last active May 9, 2026 23:01
benghuai3 ulua-to-standart-lua5.1 patcher. use then decompile with unluac or luadec or whatever you want.
import struct
import sys
from pathlib import Path
# usage: py ulua_patch.py input.lua output.luac
if len(sys.argv) < 3:
print("usage: python patch_ulua.py <input> <output>")
sys.exit(1)