How erorus/shatari-data works
Project Shatari - Data is a developer-run DB2 extraction and JSON packaging layer for Undermine Exchange’s auction-pricing stack. The workflow is to run a focused PHP extractor against current localized game data, then copy its JSON outputs to the back end or front end. The graph preserves documented item, bonus, auction-category, battle-pet, crafting-quality, and localized-string outputs. Edges reflect only shown calls or README relationships; the full categories and items pipelines and some output-writing details were not sampled.
Main entry points: incl.php DB2 reader helpers · items.php Item extraction · battlepets.php Battle pet extraction · bonuses.php Bonus analysis
Components 15
DB2 access
- DB2 reader helpers
src/incl.php - Column compactor
src/non-patch/coldata.php - JSON diff
src/non-patch/jsondiff.php
Game catalog
- Item extraction
src/items.php - Battle pet extraction
src/battlepets.php - Crafting quality
src/crafting-quality.php - Expansion item updater
src/non-patch/update-expansion-items.php
Auction metadata
- Bonus analysis
src/bonuses.php - Auction categories
src/categories.php - Bonus decoder
src/non-patch/bonus-decode.php
Localization
- Global strings
src/globalstrings.php
JSON handoff
- Generated JSON
Other components
- Developer
- Game DB2 files
- Back end and front end
Connections 22
- Developer → Item extraction: runs
README.md - Developer → Battle pet extraction: runs
README.md - Developer → Bonus analysis: runs
README.md - Developer → Auction categories: runs
README.md - Item extraction → DB2 reader helpers: uses readers
src/items.php - Battle pet extraction → DB2 reader helpers: uses readers
src/battlepets.php - Bonus analysis → DB2 reader helpers: uses readers
src/bonuses.php - Auction categories → DB2 reader helpers: uses readers
src/categories.php - Crafting quality → DB2 reader helpers: uses readers
src/crafting-quality.php - Global strings → DB2 reader helpers: uses readers
src/globalstrings.php - Bonus decoder → DB2 reader helpers: uses readers
src/non-patch/bonus-decode.php - DB2 reader helpers → Game DB2 files: reads
src/incl.php - Item extraction → Generated JSON: writes JSON
src/items.php - Battle pet extraction → Generated JSON: writes JSON
src/battlepets.php - Bonus analysis → Generated JSON: writes JSON
src/bonuses.php - Crafting quality → Generated JSON: writes JSON
src/crafting-quality.php - Global strings → Generated JSON: writes JSON
src/globalstrings.php - Bonus decoder → Generated JSON: writes JSON
src/non-patch/bonus-decode.php - Column compactor → Generated JSON: emits JSON
src/non-patch/coldata.php - JSON diff → Generated JSON: compares files
src/non-patch/jsondiff.php - Expansion item updater → Generated JSON: updates mapping
src/non-patch/update-expansion-items.php - Generated JSON → Back end and front end: copied to
README.md