Publishing Game Data

The publication process is a crucial step in preparing game data for usage inside the game. This process involves removing unused data, unused localization, and exporting data in a supported format - JSON or MessagePack. This documentation will provide an overview of how to perform the publication process from both the project’s dashboard user interface and the command-line interface (CLI).

Using Project’s Dashboard UI

To perform the publication process from the project’s dashboard UI, please follow the steps below:

  1. Navigate to the project’s dashboard page.

  2. Click on the Publish link.

  3. Choose the format you want to export your data in - JSON or Message Pack.

  4. Select the language(s) you want to publish.

  5. Click on the Finish button to initiate the publication process.

  6. Download the file.

Using Command-Line Interface (CLI)

To perform the publication process from the CLI, please follow the steps below:

  1. Open the command-line interface.

  2. Navigate to the game data’s directory.

  3. Use the DATA EXPORT command to publish the game data.

Example

Charon.exe DATA EXPORT --dataBase ".\gamedata.json" --mode publication --languages {en-US} --output ".\StreamingAssets\gamedata_pub.json" --outputFormat json
  • Use the --languages parameter to specify the language(s) you want to publish. Or omit parameter to publish all languages.

  • Use the --outputFormat parameter to specify the export format - json or msgpack.

See also