mod_pack
Packs files into one for the game: an .erf archive as the game’s own, to put in an override folder, or a .dazip add-in package that the game’s DAUpdater installs as Downloadable Content, listed on its screen to be turned on and off. Answers the file written and how it goes into the game. Writes nothing in the game’s folders.
Arguments
| Name | Type | Required | What |
|---|---|---|---|
format | "erf" | "dazip" | yes | erf: one archive as the game’s own, for an override folder. dazip: an add-in package for the game’s DAUpdater, which installs it as Downloadable Content. |
files | array | yes | The files, full paths: what texture_import and model_import wrote, or any. Each goes in by its own name, lower case; the game finds a file by its name alone. |
to | string | yes | The folder to write into, a full path; made if missing. Never inside the game’s folder. |
name | string | erf: the archive’s name. Default mod.erf. | |
uid | string | dazip: the add-in’s id, letters, digits and _ (“MyName_RedOgre”): its folder’s name and the game’s key for it. Required for dazip. | |
title | string | dazip: what the player sees. Default the uid. | |
description | string | dazip: a line on what it does. | |
publisher | string | dazip: who made it. | |
version | string | dazip: default 1.0. | |
priority | integer | dazip: of two add-ins with one file, the lower priority’s wins. Default 1000. |
Call it as mod_pack over MCP, or from a shell as ghilana.exe --call mod_pack '<arguments as JSON>'.