Docs / Making content
Publisher packs
Opt-in provenance, dependency references and protected playback for published content.
Ordinary maps and assets keep their current formats. Publisher packs add opt-in provenance, dependency references and, separately, protected playback. They require no hosted service.
A publisher signs a manifest with its Ed25519 private key. Players explicitly configure the
publisher's public key in Publishers.json in their content folder. Importing a pack must never
add its supplied key to that trust file automatically. A trusted signature identifies the
configured signer; it does not establish ownership of the content.
Installed layout and dependencies#
Each installed .oopp directory goes under the content folder's Packs directory. The public
manifest and detached signature describe the pack's exact version, licence and redistribution
policy.
Provenance recognition is a library interface for later tools; the game, the launcher and the
editor do not use it yet, so nothing writes PackIndex while playing and exporting a map does
not warn about publisher content.
A tool that calls omsi_cfg::publisher::Catalog::load keeps
verified signed manifest snapshots in the content folder's PackIndex directory. Each snapshot
is checked against the current trust file when used; removing all trusted records also removes
the ability to recognize those source bytes. Installed revisions are read first.
Retained history past 1024 snapshots, 64 MiB of manifests or 32768 assets is skipped with a warning rather than failing the lookup; an installed revision that does not fit still fails closed. A snapshot left unfinished by an interrupted write is ignored.
A map may carry dependencies.json beside global.cfg:
{"format_version":1,"dependencies":[{"publisher_id":"example","pack_id":"scenery","version":"1.0.0"}],"assets":[{"path":"Sceneryobjects/MyMap/sign.sco","dependency":{"publisher_id":"example","pack_id":"scenery","version":"1.0.0"},"asset_id":"sign"}]}Versions are exact requirements. Missing, wrong-version, untrusted or changed packs produce loader errors. A rights declaration in an editor export does not create a decryption key or make a signature valid. Map references are editable map data, not authenticated publisher instructions; their aliases are limited to compatible game data paths and never confer code trust.
An installed pack is not a content root. Its files are used only by maps that declare the pack in
dependencies.json. Other maps never see them: a pack neither replaces an original or a mod's
file nor supplies a file that such a map is missing.
Public hash list#
The version 1 published hash-list format is manifest.json together with manifest.sig,
defined by Manifest and the
pack format. Its asset records contain:
| Field | Meaning |
|---|---|
id |
Stable identity assigned by the publisher |
path |
Relative game path of the playable output |
source_sha256 |
SHA-256 of the original source bytes before conversion |
output_sha256 |
SHA-256 of the converted playable bytes |
size |
Output length in bytes |
chunks |
Protected chunk locations, lengths and ciphertext hashes |
The signature covers the exact canonical UTF-8 manifest bytes. Whitespace, field order and all values are significant. Consumers must use an independently obtained trusted public key. Sites can compare these hashes without receiving a content key. No website, Workshop or bot integration is included.
Exact byte hashes survive renaming; arbitrary geometry, texture or file changes produce different hashes.
Protected playback and limits#
The optional protected format uses a new random AES-256-GCM content key per exported pack, random nonces, authenticated chunk identity/order, and a signed manifest. Bounds and byte layouts are in the pack-format document. Authentication completes before asset decoding.
Official playback uses memory-backed virtual reads and preserves the existing sealed-content editor and texture-cache restrictions.
Publishers issue signed offline entitlements for an exact manifest and expiry. Entitlements contain a pack key and must be delivered confidentially. Runtime storage uses macOS Keychain or Windows user-scoped DPAPI, without a plaintext fallback, so encrypted packs only play on Windows and macOS.
As with DPAPI, any program of the user may read the Keychain item, so the signed game, its launcher and their updates read it without a prompt; macOS still asks when a build is unsigned or signed without a team (local and CI builds). Linux, Android and iOS have no key store yet and load unencrypted packs only.
A new version or changed manifest requires a corresponding entitlement. Copying application settings is not a supported key backup; obtain another entitlement from the publisher when native storage cannot be restored.
A publisher may also build one protected pack per sale. Its signed manifest then carries an
opaque licence_id, and only an entitlement that repeats the same ID unlocks it. A leaked
pack or entitlement therefore names the sale it came from, and buyers' packs and entitlements
are not interchangeable.
The ID holds no personal data; only the publisher's own records link
it to a buyer. Shared packs have no licence_id, and their manifests and entitlements are
byte-for-byte unchanged.
Offline issuance requires a trusted publisher decision. The client cannot independently discover purchases, and a client-controlled ownership flag is never proof of purchase. Offline operation cannot enforce immediate revocation or prevent deliberate system-clock rollback by a user controlling the machine.
A running player also holds usable plaintext in memory and GPU resources; paging and a modified executable can expose it. Protected packs reduce accidental redistribution through official tools, not extraction by an administrator.
The map layer generator does not write its disk cache for a map with dependencies.json, nor for a map whose layers were made while files of an encrypted publisher pack were read. Every other map keeps its cache, also with encrypted packs installed. Multiplayer session stores are sealed at rest but hold no publisher-protected content and are not counted.
Something wrong or missing? Fix it on GitHub or open an issue.