-
Notifications
You must be signed in to change notification settings - Fork 0
Packaging and Release.md
This page covers preparing a mod for users after it works as a Developer Mode folder.
Use .vmz for normal OrcKit mod releases.
A .vmz is a zip-compatible archive renamed to .vmz.
Start from your working mod folder:
MyMod/
mod.txt
scripts/
resources/
Open the folder and zip the contents, not the folder itself.
Correct archive:
mod.txt
scripts/main.gd
resources/data.tres
Incorrect archive:
MyMod/mod.txt
MyMod/scripts/main.gd
MyMod/resources/data.tres
Rename:
MyMod.zip
to:
MyMod.vmz
Use forward slashes inside the archive:
scripts/main.gd
Avoid backslashes:
scripts\main.gd
OrcKit warns about backslash entries because they can break res:// path resolution.
Before release, update:
[mod]
id="my_mod"
name="My Mod"
version="1.2.0"
author="You"
priority=0Use semantic-ish versions where possible:
1.0.0
1.1.0
1.1.1
This helps duplicate detection and compatibility checks.
Most mods should use:
priority=0Use a higher priority when your mod intentionally must win conflicts, such as compatibility patches:
priority=100Avoid using 999 by default. If every mod uses maximum priority, load order stops being meaningful.
Before publishing:
- Move every other mod out of
mods/. - Put only your packaged
.vmzinmods/. - Launch OrcKit.
- Enable your mod.
- Launch with mods.
- Confirm the feature works.
- Restart once more and confirm it still works.
This catches folder-only assumptions and stale cache issues.
Then test with likely overlapping mods:
- mods that change the same scripts
- mods that replace the same scenes
- mods with similar gameplay scope
- compatibility patches
Use Developer Mode and read the conflict report.
OrcKit scans mods for risky patterns. Avoid unnecessary use of process spawning, shell opening, runtime code generation, and object deserialization.
If your mod legitimately needs a flagged API, disclose why in your release notes.
Example release note:
This mod opens an HTTPS URL only when the user clicks the documentation button.
It does not run local files or external programs.
-
mod.txtis at archive root. -
idis unique and stable. -
versionis updated. -
authoris filled in. - Priority is intentional.
- Autoload paths exist.
- Hook targets exist.
- Override paths exist.
- Archive paths use
/. - The loose folder is not installed during package testing.
- A clean install test passes.
- Compatibility notes are written.
- Known conflicts are documented.
# My Mod v1.0.0
## Requires
- OrcKit 1.0.0
- Sir, We Have an Orc Problem Playtest
## Install
1. Install OrcKit.
2. Put `MyMod.vmz` into the game's `mods` folder.
3. Launch the game.
4. Open Mods and enable `My Mod`.
5. Launch with mods.
## Compatibility
- Priority: 0
- Hooks: `player-_ready-pre`
- Overrides: none
- Known conflicts: none
## Changelog
- Initial release.OrcKit developer wiki for Sir, We Have an Orc Problem Playtest mods. These pages document OrcKit 1.0.0.