RELEASE GUIDE
Build once. Upload the checked package.
You do not need to write a manifest by hand. The build tools can generate it from your real build facts. Upload one package for each actual operating system, processor architecture and runtime ABI.
Game updates
- Build and test the game. Use
tools/package_game.pyfrom the distribution tooling to create the update ZIP and itsgame-package.json. Supply the exact build and SDK commits, platform requirements and supported plugin interfaces. The tool checks the archive with the pinned native checker without running the game. - Upload that ZIP using Add a game build, or the scoped game API. For additional platforms, open the existing draft and choose Add another platform build.
- Submit the complete version for review. An authorized game reviewer must approve the exact builds; the separate publisher then verifies operator qualification, signs and activates the update.
A regular installer or raw executable does not contain enough compatibility information. The packager generates this metadata; the website checks it. Original JJ2 assets must stay out of the package.
Plugins
Import a packaged build into your project. The release assistant lets you choose compatibility and dependencies and rebuilds the private package metadata. The plugin API accepts checked packages; it does not guess SDK or compatibility from a raw DLL. tools/package_plugin.py is the offline packager.
ChatGPT, Claude and build automation
In Create API key, create a named, expiring key after verifying your email and authenticator. Keep its secret in a protected local file or secret store, outside chat messages and Git.
- Plugin key: choose named own plugin IDs and the required project, upload and submission scopes.
- Game key: only explicitly authorized game maintainers may choose
games:read,games:upload,games:submitwith the sole IDjj2-port. Create a separate key for game access.
tools/submit_release.py uploads a game or plugin ZIP as a private draft. Submission requires its explicit --submit option. Adding another platform uses the exact release ID and current revision to prevent accidental changes to a different draft.
Game API: GET /api/v1/author/games/, POST /api/v1/author/games/artifacts/, GET /api/v1/author/games/<id>/ and POST /api/v1/author/games/<id>/submit/. Authenticate with a scoped bearer key. Multipart uploads use the same rights and build-evidence fields as the website; submission binds the exact revision returned by the private release response.
Uploaded and submitted do not mean published. API keys cannot approve, sign, publish, change roles or bypass platform qualification. Revoked keys, expired keys and revoked account permissions stop working. Existing published bytes cannot be overwritten.