Repository navigation
Building from source
You do not need to be a programmer to build OpenACMI. It takes three installs and two commands.
Most people do not need to build it at all: Installation covers the ready-made Windows release.
| What | Where | Notes |
|---|---|---|
| Git | git-scm.com | Only used to download the source. You can instead use Code › Download ZIP on the GitHub page and unzip it |
| Rust | rustup.rs | Run the installer and accept the defaults. This gives you the cargo command |
| C++ build tools (Windows) | Visual Studio Build Tools | The Rust installer offers to install these. If you do it yourself, tick Desktop development with C++ |
Open a new terminal afterwards (PowerShell or Command Prompt on Windows), so that it knows about the freshly installed tools.
Neither has been tried yet, so expect to adjust.
-
Linux: in place of the Visual Studio tools you need a C compiler and the development packages for GTK 3, Wayland or X11, and xkbcommon. On Debian or Ubuntu that is roughly
sudo apt install build-essential pkg-config libgtk-3-dev libxkbcommon-dev libwayland-dev libx11-dev. -
macOS:
xcode-select --install.
git clone https://github.com/Spearhead2/OpenACMI.gitcd OpenACMIcargo build --releaseThe first build downloads and compiles everything OpenACMI depends on, and takes several minutes. Later builds take seconds.
The project names the Rust version it is built with in rust-toolchain.toml. cargo installs that version by itself the first time.
When it finishes, the program is at target/release/openacmi.exe (target/release/openacmi on Linux and macOS).
cargo run --release -- samples/demo.acmiOr start target/release/openacmi.exe directly. Run from there, it finds the assets folder in the source tree by itself.
The program needs only the assets folder beside it.
- Create a new folder, for example
OpenACMI. - Copy
target/release/openacmi.exeinto it. - Copy the whole
assetsfolder into it, so that you haveOpenACMI/assets/....
That folder can be zipped, moved or put on another computer. Settings are kept per user, not in the folder: see Settings and cache files.
On Windows, tools/package.ps1 builds the same zip a release has. See Releasing.
IMPORTANT: A copy built from source does not use the built-in updater, you will need to rebuild the program yourself.
git pullcargo build --release| Problem | Fix |
|---|---|
cargo is not recognised |
Open a new terminal after installing Rust, or sign out and in again |
link.exe not found (Windows) |
The C++ build tools are missing. Install them as in step 1 |
| A blank or black 3D view | Update your graphics driver. OpenACMI needs DirectX 12, Vulkan or Metal |
| Anything else | Open an issue with the last lines the build printed |
- Architecture for how the code is organised
- Contributing for sending a change back
OpenACMI is free and open source under the MIT licence. Download · Source · Report a problem
These pages are kept in docs/wiki of the repository. To change one, change it there: edits made here are overwritten.
Getting started
Using the viewer
- The 3D view
- Cameras and controls
- Timeline and playback
- Selecting objects
- Telemetry panel
- Graphs and Compare
- Cockpit view and HUD
- Event log and Session panels
- Real-time telemetry
- Editing and saving
Threat rings
Customising
Reference
- ACMI file format
- OpenACMI extensions
- Supported simulators
- Command-line options
- Troubleshooting and FAQ
For developers