Repository navigation
EN RCC Package Format
The normal downloadable game/mod format remains rcc-v1. v0.7.0 strengthens validation and negotiation without inventing a second package format solely to obtain the new API model.
New packages should build their RCC with internal resource prefix /:
/
├─ manifest.json
├─ Main.qml
├─ assets/
├─ i18n/
├─ sfx/
└─ LICENSE # when required by the selected package license/policy
The host mounts a package with ID example_game below /mods/example_game, so its entry is addressed as qrc:/mods/example_game/Main.qml. Do not bake /mods/<id> into newly authored RCCs. That embedded prefix exists only as a compatibility path for historical packages.
A historical RCC whose internal resources already live under /mods/<id> may still be accepted when every resource remains inside exactly that package namespace. A package that also contains host-looking namespaces such as /themes or /i18n is not given a global injection path merely for compatibility. Namespace containment is a security boundary.
manifest.json uses the legacy minimum id, name, version, entry; modern packages may add api_version, min_api_version, required_capabilities and other optional fields. The entry path, icon path and license path must be relative, normalized package paths. Path traversal and package identity mismatches are validation failures.
The canonical package ID pattern is ^[a-z0-9][a-z0-9_.-]{1,63}$.
A typical package build remains:
rcc -binary mod.qrc -o <id>-<version>.rccThe exact Qt rcc path depends on the selected Qt kit. The built RCC should be inspected before publication: confirm manifest.json, the declared entry point and every referenced asset actually exist under the intended resource namespace.
The host validates identity, entry path, size/integrity metadata and resource namespace before activation. Replacement installation uses a rollback-oriented path so a failed activation should not casually destroy the previously working package. Treat install, update, reinstall and removal as separate test cases.
publisher, plugin_level, official, verified, reviewed, native or similar strings in local package data do not manufacture YoungLion trust. RCC packages are the scoped QML/JS path. Native/L3 is a distinct reviewed high-trust path established through authoritative metadata and policy.
For a modern installed v0.7 package, HTTPS runtime access is capability-controlled. Use network.https in capabilities, and also in required_capabilities when the package cannot function without it. Legacy installed v0.5/v0.6 packages retain the historical compatibility path. Developer-local RCC networking remains deliberately disabled.
-
id, version and entry are correct. - New package uses internal prefix
/. - No resource escapes or impersonates host namespaces.
-
Main.qmland referenced assets are in the RCC. - Modern hard requirements use
required_capabilities. - Package licensing metadata and license file agree.
- Trust/native permission is not self-declared as authority.
- Clean install, update, rollback and uninstall were tested.
See Manifest Reference, Compatibility, Security Model and the pinned docs/sdk/MANIFEST.md.
LeoMiniGames v0.7.0 · Home · Languages · Source Audit · audited against f340c22db5ba