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

    From now on 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've 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: Sep 16, 2019
    bendoe, Nick Moxley, deni80s and 18 others like this.

  2. Similar Threads
    Forum Title Date
    Programming Language - Apps - GUI Themes Shared Memory or UDP Reference for ACC ? Sep 13, 2018
    Programming Language - Apps - GUI Themes steam acc doesn't respond at 110 udp. Ac local instead yes ... Bah !!! Saturday at 11:55 AM
    ACC Hardware Discussions Simracers storytime (TL;DR - I really, really enjoy ACC) Tuesday at 10:14 PM
    ACC Virtual Reality Kunos and ACC VR about. Dec 9, 2019
    ACC Troubleshooting ACC crashing on multiplayer races Dec 9, 2019
    ACC General Discussions Trailbraking useful in ACC? Dec 5, 2019
    ACC General Discussions Troubleshooting Track IR in ACC Dec 4, 2019
    ACC Gameplay ACC bug car highlight VR Dec 2, 2019
    ACC General Discussions Say 'thanks' by nominating ACC for Steam Awards Nov 26, 2019
    ACC General Discussions ACC Intercontinental GT Challenge Nov 23, 2019
    ACC General Discussions How can Epic buying out Quixel help ACC? Nov 20, 2019
    ACC Physics Physics of ACC cars in AC Nov 19, 2019
    ACC Rating & Leaderboards Accidents after Race finished - SA Rating? Nov 17, 2019
    ACC General Discussions ACC BMW Z4 GT3 Nov 17, 2019
    ACC Multiplayer ACC 3 Hours of Monza endurance race - our findings Nov 17, 2019

  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