Skip to content

Instantly share code, notes, and snippets.

@Nisto
Nisto / ffxex.py
Created October 25, 2018 02:20
FFX extractor
import os
import struct
FS_HEADER_SECT = None # SLPS-25050: 279
DIRSIZE_TBL_TOC_ENT = None # SLPS-25050: 16
ISOPATH = r'path to iso here'
OUTDIR = r'path to output directory here'
def get_u32_le(buf, off=0):
return struct.unpack("<I", buf[off:off+4])[0]