Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by cgfdoo

  1. cgfdoo

    F1 2020 UDP Specification

    That appears to be off-topic here.
  2. cgfdoo

    F1 2020 UDP Specification

    Legend! I just wish this wouldn't be left up to us developers to figure out in the future 😞
  3. This is a great example of where something in the UDP data changed (the possible values for teams with the F2 2020 launch) and the documentation hasn't been updated nor did a developer have enough time to prepare for the change
  4. I've been using the telemetry data for over a year by now and here are some of the things I wish to be improved upon in F1 2021 and beyond - the suggestions are totally specific to what I use the data for (an online platform for telemetry comparison, leaderboards and a setup directory) so you may agree or not agree with it depending on what you use it for. Merge packages I find it rather odd that the data is split up into so many different packages. It makes sense for the events, lobby info and results package but for the other data it feels weird to have to stitch all the data back together. I would also be curious why the data is split up this way? Shared memory file on PC One thing I like about the kind of API AC/ACC and I believe iRacing as well (?) offer is the shared memory file, this seems to make more sense on a PC to me than to rely on UDP being, well, reliable. It would make things a lot nicer to work with on PC in my opinion. A "Lap Completed" event Unless I missed something, the only way to tell that a driver completed a lap is to check whether there has been a change in the m_currentLapNum field or look at the m_lapDistance field to see if it went closer to 0. The way I would imagine such an event to work is that it would maybe even include the first and last frameId of the completed lap. Not sure how feasible that is but it would make things a tad more convenient. Send a "flashback used" event in races During time trial this works fine since it actually invalidates the current lap time but since this does not seem to be the case in a race. It would be great to have an event for this to be able to have a consistent "invalidation" logic between race session and TT. It might even make sense to just have this be an event instead of a penalty? If I overlooked this I apologise but I did not see any such events come through during a race session. Better documentation, samples and a dedicated page for the docs It would be nice to have a dedicated docs page for the UDP packets - maybe even with sample code for people who are just starting out and want to learn coding a bit, though that is more the icing on the cake. In general I find it hard to keep track of changes, especially between game versions - a forum is just not the best place to document this kind of topic. This is bugging me so much that I am always just inches away from spinning up a little docs page myself for everyone to use. Also, while some fields have example values or ranges of values, it would be great to have better example data available to validate ones own code and data readings. What would be super helpful for some folks might even be a sample data pack that can be replayed so we don't have to drive around in circles all the time while coding (read: context switching too much is disruptive as hell). yes, I could do this on my own, but it would be a great developer experience if some of those things were provided as part of an SDK of sorts. Alright, that's it for now - happy to chat about any of the suggestions in more detail!
  5. cgfdoo

    F1 2020 UDP Specification

    Were the values for the F2 2020 teams documented somewhere or did you just take them from actual data? I couldn't find them in the previous post(s) https://gitlab.com/gparent/f1-2020-telemetry/-/commit/f7984f0ffe9667374e8fae9dd3a4957bdd998665
  6. cgfdoo

    F1 2020 UDP Specification

    The weather information is in the Session packet in the m_weather field and then m_trackTemperature and m_airTemperature. The m_weatherForecastSamples field would give you the forecast for the session.
  7. Hey fellow F1 (game) enthusiasts! I wanted to share the platform I have built for the Formula 1 games using the Telemetry API, hotlaps.io, with you all in the hopes to get some feedback from more beta testers out there. The tl;dr is that it allows you to record your time trial and race runs to then later analyse the data to find those additional precious tenths of lap time, test setup changes or just beat the fastest lap times on the cross-platform leaderboards. I have many more ideas to make it become better and grow it so feel free to join in, it's free! Main features Cross platform fastest lap leaderboards that can be filtered by Track Platform Input device (controller vs. wheel) Weather conditions Era (F1, F2 and F1 Classic) Game version (2018, 2019, 2020) Setup market for all platforms that can be filtered by Track Session type (time trial, race etc.) Platform Input device Weather condition Car/team Formula Game version Consistency Score based on your on-track performance View telemetry data for each lap and compare it to your own laps or the laps of others Multi-platform clients for Windows, macOS, Android and iOS (desktop clients are already available, mobile clients are in development right now) In Development Race data analysis (ERS deployment, pace, tyre strategy etc.) Automated data analysis that provides advice to improve your times (braking, cornering, shifting etc.) Mobile clients for iOS/iPadOS and Android Goal tracking - set a goal for your lap time and track the progress League management and driver trials Supported Game versions (PC, Xbox and PS) F1 2019 F1 2020 It is currently in beta with a handful of users who liked it so far so feel free to sign-up and let me know what you think in the comments, the more the merrier! 🙂 If you chose to sign-up for the beta keep in mind that you can log-in after I converted your beta application to a real account. Looking forward to see you on track!
  8. cgfdoo

    Would you pay for season-by-season DLC?

    Question: what would make you NOT get bored with the season(s) you buy? What difference would there be between them other than the tracks + car handling/sound? And the £160 figure, while sounding high and nice. is probably nowhere near what will actually land in the pocket of Codemasters after they payed for licenses, fees for platforms, marketing, programmers, research, designers, management, QA. facility staff and so on and so forth. And then the tax man comes and wants his cut as well. Long story short: it is probably not viable from an economics point of view to invest that money into what, at first, sounds like a niche. Now, from a technical perspective it sounds like a huge technical liability to do something like that. You'd essentially need to support a DLC for at least 2-3 years which will slow down your potential for innovation and takes away important focus time from engineering. Don't get me wrong, I'd be all for additional content and game modes, even if that means to pay for it. I guess it is just not super feasible from a technical and financial perspective given what goes into making such a game happen in addition to "just writing some code".
  9. cgfdoo

    Equal Cars in Time Trial

    To be fair, I'd rather have car/era specific leaderboards. This would be particularly interesting for the classic cars since you have a wider range of performance than in modern F1 and cars across different eras are also not really comparable.
  10. cgfdoo

    Cross-platform Time Trial Leaderboards

    I voted "yes" but want to provide more context on my answer here: it will probably depend on how consistent the performance between platforms is which will impact how comparable the laps are at the end of the day. Now this is just a random thought and not proven by any evidence but if there is just a slight difference in the performance of the physics engine for example or brake behaviour, the lap times and setups become less useful across platforms since they are specific to how the game behaves on the respective platform. Now, being selfish for a bit, I would also not want them to implement it because I am running a web platform that makes this possible (see lap times, setups and telemetry across all platforms) and wouldn't want them to take away the foundation for said platform 😛 - form a user experience perspective, having this as a feature would make it way easier to copy and tweak se tups though, that's for sure.
  11. cgfdoo

    Time Trial times comparible across platforms

    Not as a feature but I am currently building this (closed beta) for the web so you can compare lap times across all platforms F1 2019/F1 2020 supports.
  12. Good question and I'll try to answer it as unbiased as possible: I don't really have a favourite, at the end of the it will be important that you can compare two (or more) lap times to each other to see where the differences are and then turn that into action on the track. On Windows I enjoyed using "Sim Racing Telemetry" but it doesn't seem to have been updated for F1 2020 yet so you may loose out on some data since you have to switch the UDP format in the game to 2019 which is slightly different to the format 2020 uses, you get the main bits of data regardless of that though. I haven't used any on mobile so far but but might be a better option if you are primarily playing on a console or don't have a PC around that you can or want to keep on all the time. That being said, unless you really understand how to read and interpret the data it'll probably not get you super far - that is the space I want to push into, making the complex data understandable and digestible to the average person to maximise their potential.
  13. Not to side-track the conversation here but he isn't the son of Nigel, the name of his father is Kevin. He's amazing anyways, the (free) videos provided on the website are worth a lot and super helpful. Something that helped me improve (aside from disabling assists) is watching videos of other drivers, mostly Tiametmarduk & friends and while watching I payed attention to braking points etc. I'm also working on a platform that will help folks use telemetry data to improve their lap times (not going to link to it here though since the forum rules don't allow adverts AFAIK). Other than that: practice, practice, practice.
  14. cgfdoo

    F1 2020 UDP Specification

    This might sound like a basic question but what is the expected range and unit of values for wheelSlip and wheelSpeed? I currently get values like 0.004381676 for wheelSlip and sometimes as low as -29 all the way to 97 for wheelSpeed and those values don't seem to make sense to me. I don't want to rule out that my code is just not decoding the data properly but without it being documented anywhere it is quite hard to tell what realistic values are. On a side note: it would be super helpful if we could get the ranges and units for each field as well as an example "package" as part of the docs for reference.
  15. Seconding this. It also happens to me all the time in free practice sessions and quali. Whenever I want to be a good lad and let the AI pass me while on an out/cool down lap, I slow down for them, they slow down as well and we essentially get into a competition of who can drive the slowest. Sometimes they eventually pass me but as soon as I accelerate a bit, they slow down again to let me pass. Rinse, repeat. 1. A detailed description of the issue. Please include any error codes here. See above 2. Platform Windows 10 3. What version of the game you are using (Shown on the start screen in the bottom left corner of the screen) Version 1.03 I believe 4. Game-mode?  Race weekend, practice and qualifying 5. What are your replication numbers? Minimum test attempts are 4. Please also add EXACT replication steps for us to try too. All the time 6. What troubleshooting have you attempted? Please always try to attempt to fix the issue Same as above 7. What peripherals are you are using (gamepad, wheel make & model etc) MSI Force GC30 gamepad, though I doubt that has anything to do with it
  16. 1. A detailed description of the issue. Please include any error codes here. Whenever I approach turn 3 on the Red Bull Ring, the car starts to wobble up and down like crazy, it almost feels like something is pulling on the car and it slows me down, at least it feels like it. The video that I attached shows it better than my words can describe. Is this just a car setup thing that it bottoms out like mad? Even if it feels quite strange that it wobbles so much. Happy to provide more info if needed. 2. What version of the game you are using (Shown on the start screen in the bottom left corner of the screen) 1.0.3 (Windows 10) 3. Game-mode? Time trial, classic cars, Ferrari F2004 4. What are your replication numbers? Minimum test attempts are 4. Please also add EXACT replication steps for us to try too. I would say this repros around 97-98% of the time 5. What troubleshooting have you attempted? Please always try to attempt to fix the issue Changing the line (closer to the kerb on the left seems to make it a bit better) 6. What peripherals are you are using (gamepad, wheel make & model etc) Gamepad, MSI Force GC30 (don't judge me, it came with the PC :P) 7. Any screenshots or video of the issue? If the video is long, please include a timestamp for when the issue appears. Video attached to the post F1_2020_(DirectX_12)_2020-07-06_21-46-24.mp4
  17. Yeah that's what I was thinking, I just found it quite extreme but fine if it is just me not understanding car behaviour that well. I was using the "Balanced/Default - Preset 3" setup without any changes.
  18. cgfdoo

    Covid-19 Season

    While it is not 100% the same, just go to "Solo" -> "Grand Prix", add Austria twice, then Hungary and so on ¯\_(ツ)_/¯