Repository navigation
PlayableModels
A playable model contains selected GAML models and experiments, their data and launcher presentation settings. It opens in GAMA's player rather than the modeling workspace. Recipients need a compatible installed GAMA application; the archive does not include GAMA or a JDK.
This guide describes the GAMA 2026 export and player implementation. Desktop file associations require a newly packaged installation; changing the sources does not update an existing application's operating-system registrations.
Open a model in the editor and choose File > Export as playable model..., or use the corresponding navigator export command. The model export dialog opens in playable-model mode.
Choose the experiments to include, presentation title, description, optional illustration, whether to show Home, and the default experiment. The default title omits the model's .gaml extension. Package identity and version are generated automatically; there are no additional fields to fill in.
Save to a .gamx destination outside the participating projects, linked-resource folders, model data and GAMA installation. Cancellation or an export failure leaves an existing destination archive unchanged.
The exporter copies participating projects and statically discovered external input data, including shapefile companions and external directory trees. Eclipse linked resources are materialized as ordinary files, machine-specific link/filter metadata is removed, and static file references are rewritten in the exported copy. The author's sources are not modified; model text is converted to UTF-8 with explicit resource settings.
Direct save ... to: destinations are not required input data unless the same path is also referenced as input. Output files therefore need not exist before export; missing input data still causes an error. Data referenced only through dynamically constructed paths must already be included in the exported projects. Empty external data directories and filesystem symbolic links are not supported.
Dependency controls are hidden when a model uses only standard GAMA plugins. Otherwise, Review dependencies... shows standard requirements, automatically packaged plugins, exact versions and unsupported extras. Required non-standard Java plugin JARs and their non-standard transitive dependencies are included automatically, not every optional plugin in the author's installation.
Standard plugins remain requirements supplied by the recipient's GAMA. A package cannot replace an installed plugin, even with the same version. Required extras that are directories, fragments, contain native code or contain nested JARs block package export with an explicit reason. Directory-based Java-only plugins must be built and installed as supported JARs before export. Discovery errors remain visible; unsupported dependencies are not silently left for the recipient to install.
Open or double-click a .gamx, or use the Play model... command in the File menu. In the navigator, a playable model has its own document icon and player association; opening it starts the standalone player rather than a text editor. With navigator metadata enabled, its label includes model paths and the experiment count. Properties > Playable model lists its experiments, required GAMA version and embedded extra plugins without extracting files or loading code; invalid archives show an error.
When GAMA is closed, an installed product prepares the package's private runtime before starting the player in the native launcher's process. The package title, description and optional illustration provide its presentation and splash. When GAMA is already running, opening a package starts an additional isolated player; the running modeler is not converted into a player.
Home and the launch overlay share the title, experiment selector, description and illustration. Experiments are shown by their names rather than internal project/model paths. During launch, Play becomes Cancel and launch output appears below the presentation. The player window includes the presentation title and a "powered by GAMA" label. Home hides the modeler's global controls; leaving it restores the experiment's controls.
The player uses a private configuration, preferences and workspace under ~/.gama/package-sessions/, without modifying the installed application or global preferences. Its WebSocket server is disabled at startup to avoid competing with a running modeler's listening port. Launching the player from an Eclipse development configuration without a native launcher is not supported.
The installed GAMA must meet the manifest's minimum runtime version. Required host plugins must meet their minimum versions; newer versions are assumed compatible, but OSGi resolution and model compilation can still report genuine incompatibilities. Embedded plugins must match their declared identities and versions.
Open packages only from authors you trust. Models and plugins execute with your permissions as soon as the package opens, without a separate trust prompt. Archive validation is not a signature, a sandbox, or proof that code is safe or portable.
Private runtime folders, including player.log, are retained to avoid losing generated results. There is no package-history or session-management screen: keep exported archives wherever you choose and open them directly. Existing results are not automatically deleted.
On closing, the player offers to save new or modified workspace data in a ZIP archive. The native Save dialog suggests a filename based on the model title and date; internal workspace metadata is excluded. Canceling keeps the player open. This recovers output data, not a resumable simulation checkpoint.
Playable archives previously exported with the .gamp extension must be renamed to .gamx; their archive format is unchanged. The .gamp extension now identifies editable project archives. See the migration guide.
For archive APIs, installation integration and player internals, see Export plugin: technical documentation.
- Installation and Launching
- Workspace, Projects and Models
- Editing Models
- Running Experiments
- Running Headless
- Exporting models and projects
- Preferences
- gama platform agent
- Troubleshooting
- Introduction
- Manipulate basic Species
- Global Species
- Defining Advanced Species
- Defining GUI Experiment
- Classes and Objects
- Exploring Models
- Optimizing Models
- Multi-Paradigm Modeling
- Manipulate OSM Data
- Cleaning OSM Data
- Diffusion
- Using Database
- Using Dataframes
- Using FIPA ACL
- Using BDI with BEN
- Using Driving Skill
- Manipulate dates
- Manipulate lights
- Using comodel
- Save and restore Simulations
- Using network
- Writing Unit Tests
- Ensure model's reproducibility
- Going further with extensions
- Built-in Species
- Built-in Skills
- Built-in Architecture
- Statements
- Data Type
- File Type
- Stats Extension
- Sound Extension
- BDI Extension
- FIPA Skill
- Expressions
- Exhaustive list of GAMA Keywords
- Installing the development version
- Introduction to GAMA Java API
- Developing Extensions
- Using GAMA flags
- Export plugin : Technical Documentation
- Creating a release of GAMA
- Documentation generation
- Desktop startup and deferred initialization