How kqwyf/genshintexts works
GenshinTexts is a command-line data normalizer that turns extracted Genshin Impact game data into structured story and reference-text files. The documented user workflow is to provide a Dimbreath data directory, configure language and text-cleaning options, and run the script. Its principal domain outputs cover dialogue traces and quest ordering, quest metadata, and avatar, item, weapon, and artifact text. The implementation is concentrated in main.py; the excerpts do not establish separate runtime modules or all internal call relationships.
Main entry points: main.py Parse and normalize
Components 15
Data processing
- Parse and normalize
main.py
Story outputs
- Dialogue traces
main.py - Quest structure
main.py - dialog.json
- quest.json
Reference outputs
- Avatar text
main.py - Item text
main.py - Weapon text
main.py - Artifact text
main.py - avatar.csv
- item.csv
- weapon.csv
- reliquary.csv
Other components
- CLI user
- Game data directory
Connections 14
- CLI user → Parse and normalize: runs with options
- Game data directory → Parse and normalize: provides input
- Parse and normalize → Dialogue traces: processes dialogue
- Parse and normalize → Quest structure: processes quests
- Parse and normalize → Avatar text: processes text
- Parse and normalize → Item text: processes text
- Parse and normalize → Weapon text: processes text
- Parse and normalize → Artifact text: processes text
- Dialogue traces → dialog.json: writes
- Quest structure → quest.json: writes
- Avatar text → avatar.csv: writes
- Item text → item.csv: writes
- Weapon text → weapon.csv: writes
- Artifact text → reliquary.csv: writes