Skip to content

Fix dice and casino animation resource seeding - #182

Merged
iamxvbaba merged 1 commit into
iamxvbaba:mainfrom
xirogram:codex/upstream-dice-animation-resources
Nov 18, 2026
Merged

iamxvbaba merged 1 commit into
iamxvbaba:mainfrom
xirogram:codex/upstream-dice-animation-resources

Conversation

@clockerka

Copy link
Copy Markdown
Contributor

Dice and slot-machine messages could remain in their rolling animation when system sticker resources were missing: the fetcher did not persist the dice emoticon, direct exports needed manual directory renames, the catalog deployer skipped all six dice keys, and getStickerSet returned a successful empty compatibility pack.

  • Export dice emoticons and canonical seed directory names; recognize emoji metadata (including the football variation selector) when importing arbitrarily named export directories.
  • Deploy all six dice system sets from special catalogs.
  • Normalize inputStickerSetDice lookups and reject absent/incomplete packs with STICKERSET_INVALID. Normal games require an idle animation and every final face; casino requires its 21 ordered component documents. Clients can retry an error instead of caching an empty success indefinitely.
  • Add regression tests for export/deploy/import classification, incomplete results, casino ordering and variation selectors; update the seed guide.

Validation: focused fetcher/deployer/files/RPC/compatibility tests and vet passed. A live installation with no dice system sets was repaired by importing all six official packs; all 54 TGS files passed size/SHA-256/gzip/JSON checks, and the operator confirmed that new dice and casino animations now finish correctly after restarting the client. The resource export and account session are not part of this PR.

Fork PR: xirogram#10. Codex Review completed on bcda43a without findings. The upstream branch is based directly on upstream main and includes only the dice-resource fixes.

Copilot AI balanced review requested due to automatic review settings November 17, 2026 16:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@iamxvbaba
iamxvbaba merged commit 4fef3b3 into iamxvbaba:main Nov 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants