Assetto Corsa?

Hi! Is there a guide for making the app work with AC? Do I need to do anything on a PC side?

I recall it was working for me a couple of years ago, but can't find a way for it to connect today.

Comments

  • Nobody uses this feature as of today? Pity, as it was rather cool back then...
  • aolaol
    edited May 2020
    Sorry for no answer. I was (still am) supposed to test if it still works. Basically you need to enable "Experimental devices" from expert setting, and then you can add it as "Other device" if I remember correctly (or GPS?). I test new major versions with it, but haven't tried in a year or so, so it might have become broken.

    I should do an iRacing version, but it needs some Windows plugin programming, and not too excited about doing that :smiley:
  • :)))

    Yeah, iR would have been nice too!

    I have enabled the experimental devices and specified the IP of the machine running AC. However, it does not seem to be able to connect.

    I checked the firewall - and the it looked like the UPD port that is used by AC is open. Yet - I don't have anything more to perform the diagnostics.

  • aolaol
    edited July 2020
    Just got around testing this. It still works. Make sure the UDP 9996 is open outbound and inbound. There's other ports opened by Assetto Corsa too, you can ignore them. Notice, tested on original AC, probably does not work on ACC.
  • Suddenly, I found it working as well - despite I don't think I did anything specific make it work.
    Thanks anyway!
  • I discovered this easter egg the other day, tried it out and really impressed by how well it works!

    Some feedback:
    1) Currently it's available as a "GPS receiver". I wonder if it would be more logical, and easier to discover, as "Other devices", similar to where GPS-enabled DIY BLE device are.
    2) Would be useful to have a "preferences" screen, where some parameters can be tuned.
    Some ideas for preferences:
    a) Set maximum refresh rate. I'm seeing 100+ updates per second, which is arguably too high.
    b) Apply GPS offset and rotation, so that the GPS track can be matched to the real tracks? We already have GPS micro-adjustment in the Session review screen.

    It would be really cool to also connect it to other sims, such as ACC and iRacing.
    Would it be help if I created and shared the source code for a couple of demo Python apps that connect to those sims, get and parse the data, and print out the same parameters you're logging for Assetto Corsa?

    I think one of the benefits here is that by using RaceChrono with the sim, I can help my friends figure out how to set up RaceChrono before they even go to their first track, and even let them play with their real data and learn what they can find in it — again, without the cost and stress associated with doing it at the track.
  • Thanks to this feature, I can even do analysis like this!
    https://www.ft86club.com/forums/showthread.php?p=3448063#post3448063
  • aolaol
    edited July 10
    2a) Already exists, RaceChrono > Settings > Expert settings > Assetto Corsa update rate limit

    2b) I don't think it'll match the real tracks very well. AFAIK all games unwrap the curved earth to flat earth 3D model, which distorts everything a bit. But I'd need to try first of course... Some games real world coordinates. I wish many more would.

    Sure, I'd be interested in supporting either ACC or iRacing, or both, with your help.

    I looked iRacing a bit during the winter, and turned out it outputs real world coordinates only to the data logger files, not live, which is why I only created the support to import files. Live support would also require some kind of server. I briefly experimented with the Python examples, and it worked fine, but I ditched the effort when I found out the real world coordinates are not output there. You might be able to calculate mock coordinates like I do for Assetto Corsa, but not sure.

    For ACC I haven't found any documentation on how to connect (I didn't look that hard).

    In case a server would be needed, I would make it to listen to a TCP port which would output NMEA 0183. Then it could be tested rather easily without making any changes to RC. Then just output the car data on some proprietary sentence.
  • Understood, thanks!

    Re: 2a — oh, indeed! It would be useful to also provide a 30 Hz option. 10 Hz is a bit too little, given that it's shared with non-position data channels, but "Unlimited" is a bit too much.
Sign In or Register to comment.