-
Notifications
You must be signed in to change notification settings - Fork 233
Updating for a new Genshin version
Van Nguyen edited this page Mar 12, 2024
·
1 revision
- Update
libs/gi/consts/src
files 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/Texture2D
with 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/src
and also updatelibs/gi/char-cards/src/index.ts
- See
libs/gi/char-cards/README.md
for more instructions.
- See
- Run
yarn run update-dm
to fetch the latest datamine repo commit. - Commit the change to
libs/gi/dm/GenshinData
. - Run
nx run gi-stats:gen-file
to generatedata.json
and/orskillParam.json
for 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.ts
files in theData
subfolders with the new character, artifact, and/or weapon sheets. - Update
apps/frontend/src/app/PageScanner/index.tsx
to 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.md
andlibs/gi/silly-wisher-names/README.md
for more instructions.
- See
- If you did not update
libs/gi/dm/Texture2D
from 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 frontend
and test your changes.