1. Do you need support for Assetto Corsa Competizione? Please use the proper forum below and ALWAYS zip and attach the WHOLE "Logs" folder in your c:\users\*youruser*\AppData\Local\AC2\Saved. The "AppData" folder is hidden by default, check "Hidden items" in your Windows view properties. If you report a crash, ALWAYS zip and attach the WHOLE "Crashes" folder in the same directory.
  2. FOR ASSETTO CORSA COMPETIZIONE: If you report issues with saved games, please always zip and attach your entire User/Documents/Assetto Corsa Competizione/Savegame folder!
  3. If your game executable is missing, please add your entire Steam directory to the exceptions in your antivirus software, then run a Steam integrity check or reinstall the game altogether.

DOCS ACC Shared Memory Documentation

Discussion in 'ACC Blog' started by Fernando Barbarossa, Aug 28, 2019.

  1. Fernando Barbarossa

    Fernando Barbarossa KS Dev Team

    You can refer to the attached ACC shared memory documentation for your apps, motion rigs and FFB wheels. Please keep in mind that new channels can be added in the future and I’ll use this post to keep you updated.
    I have added a sample project to get started with ACC shared memory.
    A special thanks goes to Ensi Ferrum for his work on the documentation.

    Attached Files:

    Last edited: Feb 5, 2020
    dippa, Toon Knapen, aquila23 and 30 others like this.

  2. Similar Threads
    Forum Title Date
    ACC Troubleshooting ACC Shared Memory Example Apr 23, 2020
    Programming Language - Apps - GUI Themes Shared Memory or UDP Reference for ACC ? Sep 13, 2018
    ACC PS4 - XB1 General Discussions AC to ACC Yesterday at 5:39 PM
    ACC User Interface ACC on secondary (not main) monitor Sunday at 9:05 PM
    ACC PS4 - XB1 General Discussions help me please !!! no keyboard key with my steering wheel in ACCC version PS4 Oct 20, 2021
    ACC Troubleshooting My ACC is constantly freezing but used to run very smoothly... Oct 20, 2021
    Programming Language - Apps - GUI Themes LF ACC accserver.exe server side broadcasting api/sdk Oct 18, 2021
    ACC Screenshots & Videos ACC | Nurburgring - Wet (Rain) | HotLap | Ferrari 488 GT3 Evo - 2:06.063 Oct 18, 2021
    ACC Tools ACC Replay parsing Oct 10, 2021
    ACC Screenshots & Videos ACC | Monza - Wet (Rain) | Hot Lap + Setup | Ferrari 488 GT3 Evo - 1:56.823 Oct 6, 2021
    ACC PS4 - XB1 General Discussions ACC Update? Season 2021? Oct 1, 2021
    Chit Chat Room How to open multiplayer chat room in ACC (key binding) Sep 28, 2021
    ACC Troubleshooting ACC UE 4 Fatal Error Sep 27, 2021
    ACC Online Leagues / Championships room [ACC][PC][GT3][GT4] ACRL Multi-Class 6H of Brands Hatch | 16th Oct Sep 23, 2021
    ACC Online Leagues / Championships room [ACC][PC][GT3] ACRL ACC Sprint Season 4 Sep 23, 2021

  3. positron

    positron Rookie

    Thanks for the documentation. I have two questions
    1. Currently (version 1.0.7) I always read the value 2 for the session status and -1 for the session type. Are theses fields updated in the shared memory region?
    2. Can you add a field to indicated which session of an event is currently active?
      I'm implementing a small tool to collect lap times and try to associate those laps with the correct session and event I read from the seasonEntity.json. The way I currently detect a session change via the sessionTimeLeft field works but I cannot distinguish between a session changed in e.g. a sprint weekend and a session restart.
  4. Zeraxx

    Zeraxx Racer

    Wooohoo thanks guys!
  5. PhilS13

    PhilS13 Alien

    Is there a basic entry point project like the one that was available at some point for AC?
  6. Jan Balke

    Jan Balke Rookie

    Hey Guys, i have problems getting the clutch value... evertything up to brakeTemp works, but clutch is always 0.0. can anyone help?
  7. thecures

    thecures Gamer

    where do I insert the files? sorry for shxt english
  8. bgt_dept01

    bgt_dept01 Rookie

    How can I resolve the problem that reading/writing concurrently?
    Is there a mutex object or something way to protect the shared memory?
  9. It seems that after you exit the sim, the shared memory does not update to say the sim has exited. It is staying on AC_LIVE.
  10. It also looks like the graphics AC_STATUS is always -1.
  11. Another observation - it seems there are variables that stay at zero, like camber, ait/track temps, etc. Are these supposed to report values?
  12. Ensi Ferrum

    Ensi Ferrum Racer

    Following variables are not used in ACC and therefore will not send any data:


    float wheelLoad[4]
    float tyreWear[4]
    float tyreDirtyLevel[4]
    float camberRAD[4]
    float drs
    float cgHeight
    int numberOfTyresOut
    float kersCharge
    float kersInput
    float rideHeight[2]
    float ballast
    float airDensity
    float performanceMeter
    int engineBrake
    int ersRecoveryLevel
    int ersPowerLevel
    int ersHeatCharging
    int ersIsCharging
    float kersCurrentKJ
    int drsAvailable
    int drsEnabled
    float tyreTempI[4]
    float tyreTempM[4]
    float tyreTempO[4]
    int P2PActivation
    int P2PStatus
    float currentMaxRpm
    float mz[4]
    float fx[4]
    float fy[4]
    float slipRatio[4]
    float slipAngle[4]
    int tcinAction
    int absInAction
    float tyreTemp[4]


    float replayTimeMultiplier


    float maxTorque
    float maxPower
    float suspensionMaxTravel[4]
    float tyreRadius[4]
    float maxTurboBoost
    float deprecated_1
    float deprecated_2
    int hasDRS
    int hasERS
    int hasKERS
    float kersMaxJ
    int engineBrakeSettingsCount
    int ersPowerControllerCount
    float trackSplineLength
    wchar_t trackConfiguration
    float ersMaxJ
    int isTimedRace
    int hasExtraLap
    wchar_t carSkin[33]
    int reversedGridPositions
  13. Crt_Jokinnen

    Crt_Jokinnen Racer

    Is this useful for the multiplayer?
    It allows a more realistic configuration of the rooms in the dedicated servers?
    Forgive my inexperienced experience in programming, but I do not understand what to do with these folders or where to enter them or if I get any configuration expansion on my online competition server.
  14. Ensi Ferrum

    Ensi Ferrum Racer

    The shared memory is mainly to show information in 3rd party apps (SimHub e.g.).
  15. bgt_dept01

    bgt_dept01 Rookie

    I noticed that you mentioned that shared memory is mainly to show information.
    What my question is that is it suited to apply on a motion platform like 6dof?
    Or did you provide another mechanism to send out telemetry data like UDP?
  16. Ensi Ferrum

    Ensi Ferrum Racer

    Have a look at the documentation and you will find your answer.
    Short answer: It is suited to apply on a 6 dof motion plattform.
  17. Nick Moxley

    Nick Moxley Alien

    Just to clarify, there's no Game data out there that hooks directly to a Motion Rig.....Motion software still needs to crunch the 6d0f "math" so if anything the more udp data makes the Motion software's job that much easier.
  18. Will there be an update to Shared Memory that fixes some of the issues with the current version? For example it never tells you if the sim exited.

    And is it possible to get information on the other car in the session?
  19. Ensi Ferrum

    Ensi Ferrum Racer

    Can you be more precisse? What issues do you mean, except the known fact that the SM did not tell when the sim has exited in V1.0.10?
    What information you want to know from other cars?
    From the documentation, SPageFileGrraphic:

    More info about the other cars / drivers can be found in the UDP Remote Client, a simple SDK is located under SteamApps\common\Assetto Corsa Competizione\sdk\broadcasting\Sources
  20. This is the main one. Is this going to be fixed? (Or has it been fixed)?
  21. Thanks for this - perhaps that is what we are looking for. :)
    Ensi Ferrum likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice