Skip to content

Export and publish ​

When your content is ready, you turn the project into a MOD:

  • Export writes the MOD as one ZIP file on your computer. You can test it and share it however you want.
  • Publish sends the same package to the Mod Platform, the online service for Survivor MODs.

Both use the same content and the same package. Before you start, save your project (Ctrl+S) and check the Mod Settings.

Fix problems before exporting ​

The Problems tab of the bottom panel lists what is wrong in your content. A problem marked BLOCKS EXPORT must be fixed before you can export.

The Problems tab with a problem that blocks the export

At the top of the Problems tab you find:

  • World Health: the number of critical problems, errors, warnings and information messages, and Export Blocked when something blocks the export;
  • Validate World, Validate Selection, Validate Before Export and other buttons to run the checks;
  • Validate on Save: runs the checks every time you save;
  • filters by severity (Critical, Errors, Warnings, Info), by category, and a search box.

Click a problem to select the thing it is about.

Export the MOD ​

  1. Click File > Export Mod….

  2. In Content, choose what the MOD provides:

    • Maps: all the maps are selected at first. Use All and None to select or clear a whole group.
    • Library Content: click it to see the models, terrains, behaviors and other content of the project. You only need it for content that no chosen map uses: everything a chosen map uses is included automatically.

    The Library Content of the Export Mod dialog

  3. Click Validate. Z-MOD checks every piece of content. Nothing is written while it validates.

  4. Read the result:

    • Ready: "Nothing blocks this export." Warnings and information do not stop the export.
    • Blocked: "Fix the blocking issues, then validate again. Nothing was exported." See When the export is blocked.
  5. If the status is Ready, click Export…, choose a folder and a file name, and click Save.

  6. Wait for Export Complete, then click Close.

The tutorial shows each of these steps with screenshots.

Exporting does not change your project

"Exporting did not save or change your project." You can export as many times as you want.

What the dialog shows ​

  • File Name: the suggested name of the file: the Mod ID and the version, for example myname.myfirstmod-1.0.0.zip. You can change it when you save.
  • Size and Files: the size of the archive and how many files it holds.
  • Content Fingerprint and Archive Fingerprint: codes that identify the content and the exact file. If you export the same content again, the content fingerprint stays the same. Click Copy to copy one.
  • Runtime World: a summary of what the game will load: regions, buildings, materials, packaged assets, and so on.
  • Save Export Report: saves a report of the export (versions, counts, sizes, fingerprints, warnings) as a JSON file.
  • Verified: after writing, Z-MOD reads the file back to check it.

What is inside the MOD file ​

The ZIP file has a manifest.json file at its root, with the identity of the MOD (Mod ID, name, version, author, description and dependencies), and the content: maps, models, materials, and so on. The game finds a MOD by this manifest.json file. To test the MOD, see Step 8 of the tutorial.

When nothing is selected ​

If you clear all the content, Z-MOD shows "Choose at least one map or library item to export." and Validate is disabled.

The Export Mod dialog with nothing selected

When the export is blocked ​

In the example below, an entity of type Zombie has no model and no behavior. The export is Blocked, and the Issues list explains why.

The Export Mod dialog with the status Blocked and two blocking errors

  1. Read each issue. The ones that stop the export are marked BLOCKS EXPORT.
  2. Click Go To next to an issue to jump to what must be fixed.
  3. Fix the problem.
  4. Validate again: click Validate Again in the dialog, or open File > Export Mod… again and click Validate.

Change Content goes back to the content choice. Show Technical Details shows more information about each issue, which is useful when you ask for help.

See the FAQ for the most common export messages.

Publish on the Mod Platform ​

Publish sends your MOD to the Mod Platform. You need an internet connection.

  1. Click File > Publish Mod….
  2. Check the form:
    • Name: the name of the MOD on the Mod Platform.
    • Version: the version to publish, for example 1.0.0.
    • Changelog: what changed in this version (optional).
    • Content: the same content as Export Mod. Click Change content to change it.
  3. Click Publish.

The Publish Mod form

Z-MOD builds the package, creates the MOD on the Mod Platform (the first time), uploads the file and checks it. When it is done, you see Published successfully.

Each version can be published only once

"Published versions are immutable: each Publish needs a new version." To publish changes, increase the Version (for example from 1.0.0 to 1.0.1). The name and version you type are saved in the Mod Settings.

To confirm

This manual did not publish a MOD: the screenshots stop before Publish is clicked. Whether you need an account on the Mod Platform, and where players find published MODs, could not be confirmed in the app.

Published Versions ​

Click File > Published Versions… to see the versions of your MOD that are already on the Mod Platform, newest first, with their status (Uploading, Ready or Failed). Click Refresh to load the list again. If the MOD was never published, the dialog says Not published yet.

The Published Versions dialog of a MOD that was never published