Repository navigation
Format 2.0
Format 2.0 skins describe the game viewport, controls and artwork as a responsive tree in skin.json. A baked archive also includes classic info.json and artwork so classic readers can install the same file.
The EmuSkins authoring guide links to the generated schema reference, a GameCube tutorial and a migration guide for emulator authors. The format design describes the resolver, renderer and bake rules in detail.
-
Add or update a fixture under
Tests/Format2Fixtures/. Keep the source and referenced assets together. -
Record the expected layouts and images from a SkinKit checkout.
SKIN2_RECORD=1 xcrun swift test --filter SkinKit2CoreTests SKIN2_RECORD=1 xcrun swift test --filter SkinKit2RenderTests
Recording deliberately reports a test failure when it rewrites the references. Review the changes and run
xcrun swift testwithout the recording flag. -
After the fixture change merges, refresh the copy in the skins checkout with
node tests/skin2/vendor-fixtures.mjs /path/to/SkinKit/Tests/Format2Fixtures <SkinKit-commit>. Open a skins PR with the updated fixtures and manifest.
The parity job compares resolved layouts exactly and compares images using the tolerances in the format design. Failed image comparisons attach the actual render and pixel diff to the CI run.