Apex GP

Circuit mods

Assetto Corsa importer

Drive a circuit you own in Apex GP. The importer measures the road in your Assetto Corsa track mod, builds a racing line for Apex GP and can bring across trackside scenery.

Download importer 1.0.0

ZIP ยท 225,611 bytes
SHA-256 5e07ab93ebc3a743991005451070f69c89959cf8472306a155a322c770f2198c

For private use only. You must own Assetto Corsa and the track mod, and have permission to convert it for your own use. Keep the converted files on your own devices. Do not redistribute them.

The importer ships no Assetto Corsa content or converted geometry. It is not affiliated with or endorsed by Kunos Simulazioni.

Convert a track

  1. Unzip the importer into a folder you can write to. You need Python 3.9 or newer with venv and pip. On first run, the launcher downloads NumPy and SciPy from requirements.txt into its own .venv. Later runs work offline.
  2. Find your track folder. For a venue with several layouts, pick the subfolder containing ai/fast_lane.ai. Leave the KN5 files and model configuration in place.
  3. Open a terminal in the unzipped importer folder. Run the command for your system below. Replace the quoted path with your track or layout folder and keep the quotes.

Windows

.\run.bat "..\assettocorsa\content\tracks\my_track" --report

Use Command Prompt or PowerShell. You can also drag the track folder onto run.bat.

Linux or macOS

sh ./run.sh "../assettocorsa/content/tracks/my_track" --report

The report tells you which source the importer used, the measured lap length and the results of the wall checks. The launcher prints the full path to the finished mod.

Install the circuit

For this example, copy the whole out/my_track/ folder from beside the launcher into your Apex GP mods folder. Check that mods/my_track/mod.json exists, then restart Apex GP and pick the circuit from the track list.

track.json holds the playable road. When scenery is enabled, scenery.json lists the GLBs in scenery/. The importer records "publishable": false in provenance.json for every conversion and in scenery.json when present.

Conversion limits

  • Road shape. The full conversion needs a usable KN5 road mesh and the AI spline. With the spline alone, the importer estimates the road. With a suitable KN5 road ribbon alone, it can follow the mesh edges.
  • Barriers. A fresh conversion measures rails in the source KN5. When fitting barriers again from exported scenery, the importer reads the pre-cull GLBs so it can measure rail faces that the cull removes.
  • Runoff. The fitted corridor extends up to 25 m beyond the kerb on each side, even where the source rail sits farther away.