mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-19 04:15:57 +00:00
The setup takes an optional --firmware directory (an unpacked firmware or an emulator's Contents/registered) and, for Chinese, Korean and Traditional Chinese, runs the vendored font extractor into <install>/shared-fonts. Without the folder it warns as before and the install still completes. The fonts step is keyed by the language and a cheap firmware fingerprint; the window gets a folder picker and help text, and the command line takes --firmware.
12 lines
697 B
Python
12 lines
697 B
Python
"""The TotK installer: builds a playable folder from the player's own game files (docs/installer.md).
|
|
|
|
python -m installer --base FILE --update FILE --keys FILE --lang CODE --dest DIR [--firmware DIR] [--root DIR]
|
|
[--temp DIR]
|
|
|
|
Modules: layout (where the bundled tools are, release or repository), events (JSON progress on stdout and the log
|
|
file), state (totk-install.json), runner (which steps run: resume and update), steps (the seven steps), ini (totk.ini),
|
|
cli (the command line). text/en.json holds the English text of every message id the events carry.
|
|
|
|
Standard library only, apart from what the extraction tools import (cryptography). Runs on Python 3.14.
|
|
"""
|