Skip to main content
Version: 🚧 Alpha 🚧

Export plugin: technical documentation

The current export UI supports playable model packages (.gamx) and editable project archives (.gamp). The UI handlers are in gama.ui.export; packaging and launch support are in gama.export. The links below point to the implementation in the GAMA source repository.

Playable model package (.gamx)​

A playable model package contains model content and metadata, not a full GAMA distribution. The package manifest declares the GAMA version requirement and plugin dependencies.

Editable project archive (.gamp)​

  • ProjectArchiveExporter plans and writes a project archive, optionally resolving linked resources and including required plugins.
  • ProjectArchive reads, validates and extracts the archive.
  • ProjectPlugins prepares any bundled plugin dependencies for import.

The archive preserves the project for import into a workspace; it is not a playable application.

Application bundling implementation​

GamaZipBuilder and its helpers implement the application-bundling path. This path builds a configured GAMA distribution with an embedded workspace; it is separate from the .gamx and .gamp archive workflows described above.

The UI implementation is in gama.ui.export, including the dialogs and commands for each export format. The headless packaging commands are in gama.headless.