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. Do not post "I have the same issue" in an existing thread with a game crash, always open your own thread. Do not PM developers and staff members for personal troubleshooting and support.
  2. As part of our continuous maintenance and improvements to Assetto Corsa Competizione we will be releasing small updates on a regular basis during the esports season which might not go through the usual announcement process detailing the changes until a later version update where these changes will be listed retrospectively.
  3. If ACC doesn't start with an error or the executable is missing, please add your entire Steam directory to the exceptions in your antivirus software, run a Steam integrity check or reinstall the game altogether. Make sure you add the User/Documents/Assetto Corsa Competizione folder to your antivirus/Defender exceptions and exclude it from any file sharing app (GDrive, OneDrive or Dropbox)! The Corsair iCue software is also known to conflict with Input Device initialization, if the game does not start up and you have such devices, please try disabling the iCue software and try again. [file:unknown] [line: 95] secure crt: invalid error is a sign of antivirus interference, while [Pak chunk signing mismatch on chunk] indicates a corrupted installation that requires game file verification.
  4. When reporting an issue with saved games, please always zip and attach your entire User/Documents/Assetto Corsa Competizione/Savegame folder, along with the logs and the crash folder (when reporting related to a crash).

DOCS ACC Shared Memory Documentation

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

  1. pankykapus

    pankykapus KS Dev Team Staff Member KS Dev Team

    If I'm not mistaken, the only track with meaningful (or any) difference is Silverstone 2018 vs the rest.
     
    Last edited: Feb 22, 2021
  2. Doug Duthie

    Doug Duthie Hardcore Simmer

    I think it was originally announced that as well as Silverstone, Paul Ricard, Spa and Barcelona were modeled with different surfaces. IIRC, two of these were roughly the same, one was somewhat faster (I can't remember which one, or by how much) and Silverstone was a couple of seconds slower. Anyway, some people just like to categorise things...even if just to benefit from the placebo effect

    Cheers
     
  3. XzzDSA

    XzzDSA Racer

    To me it's not so much the track surface that matters, rather which BoP is used. Currently, to my knowledge, there's no way of identifying which BoP is used, other than knowing which track is being used.

    As an example, if I set up a server using the track Silverstone. How do you know if you're going to be using British GT bop or GTWC bop? Not only is the info not available in the shared memory / broadcasting API. It's not seemingly clear ingame either.

    Maybe I've misunderstood how the BoP works from track to track. But would be nice with a clarification on this, in that case.
     
    AndyK70 likes this.
  4. pankykapus

    pankykapus KS Dev Team Staff Member KS Dev Team

    Shared tracks between the two series always use the GTWC one, it's in the changelog I think.
     
  5. expor

    expor Gamer

    Great, weather forecast available :D Just waiting for the new documentation to update my app!
     
  6. TheBigO

    TheBigO Racer

    Same here, same here for the AI based Engineer...
     
  7. expor

    expor Gamer

    Doc is updated in start post ;). Almost done implementing it :D.
     
    RadstaR likes this.
  8. Malc2169

    Malc2169 Gamer

    How are you guys getting on with ACC_TRACK_GRIP_STATUS? I am expecting to extract a single digit integer, but am getting something weird like 1101162087 and it is throwing off rainIntensity, which oddly enough matches exactly what I am expecting to see for Grip Status!?
     
  9. expor

    expor Gamer

    And I'm done :D
    upload_2021-2-24_15-1-25.png

    Please read the documentation carefuly. It seems like you did not add the new data members from v1.7. It's working fine for me!
    upload_2021-2-24_15-3-7.png
     

    Attached Files:

  10. Malc2169

    Malc2169 Gamer

    EDIT - Oh, FFS, somehow I managed to delete the float Clock from the declarations! I need to give this sh*t up...

    All good now :/

    I don't think it's that - I have checked and checked again to ensure all the 1.7 and 1.7.4 new stuff has been added.

    Code:
        Public Enum ACC_TRACK_GRIP_STATUS
            ACC_GREEN = 0
            ACC_FAST = 1
            ACC_OPTIMUM = 2
            ACC_GREASY = 3
            ACC_DAMP = 4
            ACC_WET = 5
            ACC_FLOODED = 6
        End Enum
    
        Public Enum ACC_RAIN_INTENSITY
            ACC_NO_RAIN = 0
            ACC_DRIZZLE = 1
            ACC_LIGHT_RAIN = 2
            ACC_MEDIUM_RAIN = 3
            ACC_HEAVY_RAIN = 4
            ACC_THUNDERSTORM = 5
        End Enum
    
    ...
            Public MissingMandatoryPits As Integer
            Public directionLightsLeft As Integer
            Public directionLightsRight As Integer
            Public GlobalYellow As Integer
            Public GlobalYellow1 As Integer
            Public GlobalYellow2 As Integer
            Public GlobalYellow3 As Integer
            Public GlobalWhite As Integer
            Public GlobalGreen As Integer
            Public GlobalChequered As Integer
            Public GlobalRed As Integer
            Public mfdTyreSet As Integer
            Public mfdFuelToAdd As Single
            Public mfdTyrePressureLF As Single
            Public mfdTyrePressureRF As Single
            Public mfdTyrePressureLR As Single
            Public mfdTyrePressureRR As Single
            Public trackGripStatus As ACC_TRACK_GRIP_STATUS
            Public rainIntensity As ACC_RAIN_INTENSITY
            Public rainIntensityIn10Min As ACC_RAIN_INTENSITY
            Public rainIntensityIn30Min As ACC_RAIN_INTENSITY
    
     
    Last edited: Feb 24, 2021
    expor likes this.
  11. pankykapus

    pankykapus KS Dev Team Staff Member KS Dev Team

    Grip is only half the equation in the wet. It only goes down when the slippery rubbered "wet" line is simulated, when it washes off, the base track grip returns to normal. Then the positive rubber effect (adding grip) starts again when the ideal line dries up, regardless of water being elsewhere on the track, hence how it can go from "greasy" to "fast" instantly once the whole track dries up.

    Anyway, the reason the integers were added now was to make the status consistent (and to not have it quantified, and because it doesn't tell the full story in the wet)
     
    XIV-V, AndyK70 and expor like this.
  12. expor

    expor Gamer

    With the newly added rain intensity there seems to be inconsistency with what's reported ingame. For example the game shows [LIGHT_RAIN, DRIZZLE, DRY] (based on icons and testing) but the shared memory reports [DRIZZLE, DRIZZLE, DRY]. Is there any reason for that? It seems the 10/30min forecast is always (?) correct, but the current weather seems off.
     
  13. XIV-V

    XIV-V Gamer

    MFD tyre pressures are described in documentation, but I dont find them in simhub available properties. Did I miss something ?

    Another question : could it be possible to have last psi at cold in shared memory ?
     
  14. Doug Duthie

    Doug Duthie Hardcore Simmer

    I think it must be the tolerances are slightly different for rain (it isn't that the current weather is off) - I've seen Dry, Light Rain, Medium Rain in the MFD, but Dry, Light Rain, Light Rain in shared memory. It's probably just at the point of tipping from one to another
     
  15. RadstaR

    RadstaR Rookie

    How you count weather forecast time (5, 10 minutes), please ?
     
  16. AL612

    AL612 Rookie

    It's the fields in the graphics shared memory file:
    rainIntensity, rainIntensityIn10min, rainIntensityIn30min

    They were added in the 1.7 patch.

    The first post in the thread has the details.
     
  17. expor

    expor Gamer

    Yeah actually they're hard coded and I made a mistake, should've been 10 and 30 min. If the multiplier is available you can make it dynamic but for me that's not relevant.
     
    RadstaR likes this.
  18. RadstaR

    RadstaR Rookie

    Ah ok.
    Yes, this 10 and 30 mins forecast is affected by time multiplier. But, how to get time multiplier ... :) Maybe in next SharedMemory update :p
     
  19. Jim Britton

    Jim Britton Hardcore Simmer

    Bah, so rain in 30 mins actually means rain in 3 mins if the time multiplier is X10? But we have no way of knowing it's X10? That's, er, disappointing.

    Anyone looked at the yellowSector data? It's really noisy - if cc announces each change in these values it would be spamming nonsense messages all the time. I'm trying to filter it and discard noise but I think it's a losing battle - the data is almost useless, I don't understand how it can be so messy.

    (Edit)

    I'm also seeing unexpected data for the MFD tyre pressures. They're either all identical or the left front and right front are identical, and the lr and rr are identical. I've been back through my code again and again and can't see an error, I think the data maybe be just wrong. Does anyone know if these values are always psi, or would the exposed data be in kpa or something depending on localisation?
     
    Last edited: Feb 27, 2021
  20. expor

    expor Gamer

    Indeed, we don't have multiplier information so 30min forecast might be 3min forecast.

    As for flag data (incl. yellow flags) they're working perfectly fine for me. So when a sector flag (or double yellow) is raised it sets the GlobalYellowFlag to 1 and the correct sector flag. They also get cleared as soon as ACC withdraws the flag. MFD tyre pressures also work fine for me (always in PSI) so you must have an error in your data mapping somewhere! Did you crosscheck the pressures are floats? I initially made a mistake of just making them int without thinking of it...
     
Similar Threads
Forum Title Date
ACC Physics Differentiate AC and ACC Shared Memory With Different Naming. Jan 3, 2024
ACC Troubleshooting ACC Shared Memory: AC version still reports 1.7 Apr 19, 2023
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/PS5/XB1/XBX/S General Discussions ACC Will it get cross party not just cross play on consoles? Saturday at 3:02 PM
ACC Physics Does ACC not implement real life braking mechanics?(Need some insights on this recent youtube video) Mar 16, 2024
ACC Multiplayer Communicating with accServer.exe (previously acRemoteServerUDP) Mar 14, 2024
Multiplayer Bugs & Issues Time of Day adjustment on AC Server Maker stuck at 8:00-18:00 even though I have full version ACCM Mar 2, 2024
ACC Screenshots & Videos ACC on PC with Controller | Race Element /ps5 controller activate triggers Feb 28, 2024
ACC Tools ACC will not recognise my Elgato steamdeck Feb 15, 2024
Bug reports ACC Restrictor parameter Feb 7, 2024
ACC Online Leagues / Championships room ACC Official Server higher requirement Jan 30, 2024
ACC Online Leagues / Championships room ACC LEAGUE AUSTRALIA Jan 29, 2024
ACC Tools ACC Time Trial Jan 24, 2024
ACC Troubleshooting ACC me funciona mal Jan 17, 2024

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