Skip to content

Updating for a new Genshin version

Van Nguyen edited this page Mar 12, 2024 · 1 revision
  1. Update libs/gi/consts/src files with new character, artifact and/or weapon keys.
  2. 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.
  3. [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.
  4. If there are new characters, download their character card, add it to libs/gi/char-cards/src and also update libs/gi/char-cards/src/index.ts
    • See libs/gi/char-cards/README.md for more instructions.
  5. Run yarn run update-dm to fetch the latest datamine repo commit.
  6. Commit the change to libs/gi/dm/GenshinData.
  7. Run nx run gi-stats:gen-file to generate data.json and/or skillParam.json for the new content.
  8. Create new sheets in apps/frontend/src/app/Data.
    • Add any new translations in libs/gi-localization/assets/locales/en/
  9. Update the respective index.ts files in the Data subfolders with the new character, artifact, and/or weapon sheets.
  10. 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).
  11. If there are new characters, update the silly wisher assets.
    • See libs/gi/silly-wisher/README.md and libs/gi/silly-wisher-names/README.md for more instructions.
  12. If you did not update libs/gi/dm/Texture2D from earlier: Run nx run gi-assets:gen-file. Then, fetch the assets from https://ambr.top or similar, and place them in the respective subfolder within libs/gi/assets/gen.
  13. Run nx serve frontend and test your changes.