Skip to content

feat(ui): export original Sprite geometry observations - #16

Draft
nichinichisou0609 wants to merge 2 commits into
mainfrom
feat/sprite-geometry-observations
Draft

nichinichisou0609 wants to merge 2 commits into
mainfrom
feat/sprite-geometry-observations

Conversation

@nichinichisou0609

Copy link
Copy Markdown
Collaborator

External artwork exports can contain only a Sprite's trimmed texture rectangle. Treating that bitmap as the full Sprite changes its aspect ratio and loses transparent padding when binding it to the game's UI prefabs.

Add nnnotes sprite-geometries to export the original logical rectangle, trim rectangle/offset, pivot, border and pixels per unit through the existing nnnotes Exporter, without decoding textures. Each record retains catalog/bundle hashes and a decimal string path ID; APK identity/native fingerprints and separate public bitmap evidence remain explicitly scoped observations. Include a JSON Schema and usage documentation for reproducible UI-library manifests.

Validation: 74 targeted Python tests passed, including CLI/UI export regressions; pyflakes and diff checks passed. A private four-key pilot reproduced all 16 observed Sprite geometries exactly from existing source bundles. No game data is included in this PR.

This branch has not been deployed

No deployments
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.

1 participant