A collection of scripts to be used with the data from https://github.com/Dimbreath/GenshinData (huge thanks to them btw)
- Quests (Daily commissions and World Quests) and Chapters (Archon, Story and Event Quests) (.txt)
- Cooking recipes (.txt)
- Achievements (.txt)
- Characters (.json with textmap IDs)
- Weapons (.json with textmap IDs)
And more to come...
- Python 3.9+
- Python 3.9+ should be installed
- Download the data from https://github.com/Dimbreath/GenshinData and extract it in a data/ folder at the root of the project.
- The files structure should look like this :
GenshinScripts/ (main folder)
βββ data/ (from Dimbreath/GenshinData)
β βββ Excel/
β β βββ _.json
β β ...
β βββ Readable/ (books and items descriptions)
β β βββ {lang}/...
β β ...
β βββ TextMap/
β βββtext_.json
β ...
βββ res/ (folder containing the generated files)
βββ utils/
β βββ _.py
β ...
βββ main.py
βββ README.md
main.pycan be used with the parameter--lang EN|FR|JP|....to change the language of the files generated (with EN being the default language)main.py --lang EN --allwill generate all the files in English (--allflag can only be used alone)
To extract specific files, it's possible to use the subcommands {achievement,chapter,weapon,recipe,quest,character} followed by specific IDs :
achievementrequires an order ID of the achievement category (OrderIdinAchievementGoalExcelConfigData.json)chapterrequires a chapter ID (IdinChapterExcelConfigData.json)weaponrequires a weapon ID (IdinWeaponExcelConfigData.json)recipeonly uses theallargument, since all the recipes are written in a single filequestrequires a quest ID (IdinMainQuestExcelConfigData.json)characterrequires a character ID (IdinAvatarExcelConfigData.json)
It's also possible to use the all keyword to extract every possible files for a subcommand.
Complete example :
main.py --lang JP achievement 1 2 3 chapters 1001 weapon allwill generate the files in Japanese, for the achievements withOrderIds 1, 2 and 3, the chapter with theId1001 and files for every weapon.