Skip to content

Instantly share code, notes, and snippets.

@randphu
randphu / extract_buka.py
Last active Nov 13, 2018
extract buka manga archive (*.buka)
View extract_buka.py
#!/usr/bin/env python3
'''
Layout of buka manga archives
Whole archive
| b"buka" | unknown (16 bytes) | manga title (c string) | entry table | file 1 | file 2 | ...
Entry table
| table size (uint32) | entry 1 | entry 2 | ... |