How umineko-project/umineko-scripting works
This repository contains supporting code for the Umineko Project port: file-extraction utilities, script-related tools, and selected generated subfunctions. The clearest workflow is invoking AlchemistUnpacker on a game asset: it identifies the file type and dispatches to a format-specific processor that produces an output image or file. Other extraction and parsing tools are separate branches. The excerpts establish only part of their wiring, so unverified links are omitted; the README describes the broader project purpose, not the detailed runtime relationships.
Main entry points: main.h Format APIs · main.cpp Unpacker CLI · common.py Chunk extraction · decompress.py Higu decompression
Components 19
Asset unpacking
- Unpacker CLI
extraction/AlchemistUnpacker/AlchemistUnpacker/main.cpp - Format APIs
extraction/AlchemistUnpacker/AlchemistUnpacker/main.h - Higu formats
extraction/AlchemistUnpacker/AlchemistUnpacker/higu.cpp - SNR formats
extraction/AlchemistUnpacker/AlchemistUnpacker/snr.cpp - Sui formats
extraction/AlchemistUnpacker/AlchemistUnpacker/sui.cpp - Umineko formats
extraction/AlchemistUnpacker/AlchemistUnpacker/umi.cpp - Hou formats
extraction/AlchemistUnpacker/AlchemistUnpacker/hou.cpp - Image output
extraction/AlchemistUnpacker/AlchemistUnpacker/graphics.cpp
Higurashi extraction
- Chunk extraction
extraction/higu/common.py - Higu decompression
extraction/higu/decompress.py - Dump helpers
extraction/higu/tools.py - Higu asset scripts
extraction/higu
SNR tooling
- PS3 SNR parser
extraction/ps3snr/snrparser.php - XML parser
extraction/ps3snr/lib/XMLParser.php - Script subfunctions
snr/output
Port support code
- Update manager
update-manager/update-manager.php - SDL interfaces
extraction/AlchemistUnpacker/headers/SDL - PNG and zlib
extraction/AlchemistUnpacker/headers
Other components
- Tool user
Connections 17
- Tool user → Unpacker CLI: runs
extraction/AlchemistUnpacker/AlchemistUnpacker/main.cpp - Unpacker CLI → Higu formats: dispatches formats
extraction/AlchemistUnpacker/AlchemistUnpacker/main.cpp - Unpacker CLI → Umineko formats: dispatches formats
extraction/AlchemistUnpacker/AlchemistUnpacker/main.cpp - Unpacker CLI → Sui formats: dispatches formats
extraction/AlchemistUnpacker/AlchemistUnpacker/main.cpp - Unpacker CLI → SNR formats: selects SNR mode
- Format APIs → Higu formats: declares handlers
extraction/AlchemistUnpacker/AlchemistUnpacker/main.h - Format APIs → Umineko formats: declares handlers
extraction/AlchemistUnpacker/AlchemistUnpacker/main.h - Format APIs → Sui formats: declares handlers
extraction/AlchemistUnpacker/AlchemistUnpacker/main.h - Format APIs → Hou formats: declares handlers
extraction/AlchemistUnpacker/AlchemistUnpacker/main.h - Chunk extraction → Higu decompression: uses decompressor
extraction/higu/common.py - Chunk extraction → Dump helpers: imports helpers
extraction/higu/common.py - Higu decompression → Dump helpers: imports helpers
extraction/higu/decompress.py - Higu asset scripts → Chunk extraction: uses extraction code
extraction/higu/bup.py - PS3 SNR parser → XML parser: uses parser
extraction/ps3snr/snrparser.php - Unpacker CLI → Format APIs: uses declarations
extraction/AlchemistUnpacker/AlchemistUnpacker/main.cpp - Format APIs → SDL interfaces: includes SDL
extraction/AlchemistUnpacker/AlchemistUnpacker/main.h - Format APIs → PNG and zlib: includes image libraries
extraction/AlchemistUnpacker/AlchemistUnpacker/main.h