Skip to content

Updating for a new Zenless Zone Zero version

Van Nguyen edited this page Sep 2, 2025 · 3 revisions
  1. Run nx run zzz-dm:get-hakushin.
  2. Run
    cd libs/zzz/dm/HakushinData
    git add .
    git commit -m "<Version #>"
    git push origin HEAD:master
    
  3. Run nx run-many -t gen-file --projects=zzz-* --skip-nx-cache --verbose
  4. Update libs/zzz/consts/src files with new character, faction, disc and/or w-engine keys. You can use the newly updated JSON files in libs/zzz/dm/src/dm to fill out the values, making sure to remove any beta characters.
  5. Update libs/zzz/dm/src/ files with new character, faction and/or w-engine mappings. You can use the newly updated JSON files in libs/zzz/dm/src/dm to fill out the values, making sure to remove any beta characters.
  6. Download the hdiff file from here.
  7. Open the zip, extract the folder ZenlessZoneZero_Data\StreamingAssets\Blocks somewhere.
  8. Download AnimeStudio (any .net version is fine)
  9. Run the following command, changing the path to Blocks and AnimeStudio as needed.
    • .\AnimeStudio-CLI\AnimeStudio.CLI.exe ./Blocks ZZZ --game ZZZ --types Texture2D --names "^(Suit|ItemSuit|IconRole|IconCamp|IconInterKnot|Weapon_|Icon)"
  10. Copy the contents of, or symlink the new Texture2D folder to libs/zzz/dm/assets. Inside of the assets folder should be images without an intermediary folder.
  11. Run
    nx run-many -t gen-file --projects=zzz-* --skip-nx-cache --verbose
    nx generate @genshin-optimizer/zzz/formula:gen-all-sheets --verbose
    nx generate @genshin-optimizer/zzz/formula-ui:gen-all-sheets --verbose
    nx generate @genshin-optimizer/zzz/stats:gen-all-maps --verbose
    
  12. Update the template files as needed.
  13. Run nx serve frontend and test your changes.

See this PR for an example.

Clone this wiki locally