mirror of
https://github.com/fail0verflow/hbc.git
synced 2024-11-19 08:09:19 +01:00
16 lines
257 B
Python
16 lines
257 B
Python
|
#!/usr/bin/env python
|
||
|
|
||
|
import sys, os, os.path, struct
|
||
|
import pywii as wii
|
||
|
|
||
|
arc = open(sys.argv[1], "rb")
|
||
|
|
||
|
tag, fstoff, fstsize, dataoff = struct.unpack(">IIII16x",arc.read(0x20))
|
||
|
|
||
|
arc.seek(fstoff)
|
||
|
fst = arc.read(fstsize)
|
||
|
|
||
|
fst = wii.WiiFST(fst)
|
||
|
|
||
|
fst.show()
|