C header files for various simulator titles' shared memory api, specifically for use in Linux programs
This project includes a daemon to handle all the telemetry mapping for external applications in the background, and the shared library for the external applications to use. The external application can either map and open the memory mapped filed directly (SIMAPI.DAT) and use the header file simapi.h to enumerate the fields within the data structure, or use the functions within simmapper.c to open and map the memory mapped file.
To compile the shared library with the CMakeLists.txt in the root of the repo...
cmake -B build
cmake --build buildYou will need sudo to install, which will place the library and public headers into /usr/local:
sudo cmake --install build- Assetto Corsa
- Assetto Corsa Competizione
- Automobilista 2
- RFactor 2
- LeMans Ultimate
- Project Cars 2
- Assetto Corsa Evo
- Assetto Corsa Rally
- American Truck Simulator
- Euro Truck Simulator 2
- Live For Speed
- BeamNG
- Dirt Rally 2
- Richard Burns Rally RSF Edition
- Wreckfest 2
- F1 2018/2022
See the full compatibility matrix for details on protocols and plugins required for each sim.
- Assetto Corsa: acsharedmemorydocumentation
- RFactor2: modding resources | internals plugin | linux plugin
- Project Cars 2 / AMS2: sharedmemory.h
Feel free to make pull requests by adding mappings to simmapper.c for any simulator!