-
Notifications
You must be signed in to change notification settings - Fork 246
Updating for a new Genshin version
Van Nguyen edited this page Mar 12, 2024
·
1 revision
- Update
libs/gi/consts/srcfiles with new character, artifact and/or weapon keys. - Update
libs/gi/dm/src/files with new character, artifact and/or weapon mappings. You can find the IDs in the URL of their respective page at https://ambr.top. - [Optional] Update
libs/gi/dm/Texture2Dwith the new assets. If you don't do this, you will need to manually fetch the assets from https://ambr.top or similar sites later in the process. - If there are new characters, download their character card, add it to
libs/gi/char-cards/srcand also updatelibs/gi/char-cards/src/index.ts- See
libs/gi/char-cards/README.mdfor more instructions.
- See
- Run
yarn run update-dmto fetch the latest datamine repo commit. - Commit the change to
libs/gi/dm/GenshinData. - Run
nx run gi-stats:gen-fileto generatedata.jsonand/orskillParam.jsonfor the new content. - Create new sheets in
apps/frontend/src/app/Data.- Add any new translations in
libs/gi-localization/assets/locales/en/
- Add any new translations in
- Update the respective
index.tsfiles in theDatasubfolders with the new character, artifact, and/or weapon sheets. - Update
apps/frontend/src/app/PageScanner/index.tsxto reflect the newest game version for all scanners (under the assumption that there are no breaking scanning changes in this update). - If there are new characters, update the silly wisher assets.
- See
libs/gi/silly-wisher/README.mdandlibs/gi/silly-wisher-names/README.mdfor more instructions.
- See
- If you did not update
libs/gi/dm/Texture2Dfrom earlier: Runnx run gi-assets:gen-file. Then, fetch the assets from https://ambr.top or similar, and place them in the respective subfolder withinlibs/gi/assets/gen. - Run
nx serve frontendand test your changes.