Code Monkey home page Code Monkey logo

forza-telemetry's Introduction

forza-telemetry's People

Contributors

austinbaccus avatar eastonco avatar hyacin75 avatar zchenak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

forza-telemetry's Issues

Electron Window opens, yet, NO Forza data transmitting to window.

Describe the bug
The Electron window opens with all the elements within the window, yet, when I check on the "View/Toggle Developer Tools", it provides and error of "react-dom.development.js:67 Warning: validateDOMNesting(...): cannot appear as a child of

. Add a , or to your code to match the DOM tree generated by the browser." at Line 67 of the "react-dom.development.js" file inside the "react-dom/cjs" directory.

I have not been able to figure this issue out, though I spent much time with my friend Google..lol...!

To Reproduce
Steps to reproduce the behavior:

  1. npm run build:react | npm run build | npm run start
  2. Click on 'View/Toggle Developers Tools'
  3. Errors and Warnings are displayed on bottom, along with information on the culprit file(s).

Expected behavior
A expect that the data from Forza would be transmitted to and rendered by Electron.

Screenshots

Screenshot 2024-02-11 at 2 09 14 PM

Desktop (please complete the following information):

  • OS: MacOS Sonoma 14.2.1
  • Game: Forza Motorsport 2023

Additional context

I have used the RECORD button on the Electron window, yet, when I go to the *.csv file, only the titles of the Data Out from Forza are within the file (thus, no data). Not sure if the error explained above will address this data receiving/recording part of the SW package.

Can't get the app to run

I have followed all the steps. I have installed .net on my pc:

C:\Users<user>\OneDrive\Desktop>dotnet --list-sdks
6.0.416 [C:\Program Files\dotnet\sdk]

Then used git to clone the repository to my local machine and then I ran npm install in forza-telemtry directory:

C:\Users<user>\OneDrive\Desktop\forza-telemetry>npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/electron
npm ERR! dev electron@"^13.1.7" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer electron@"^10.0.0 || ^11.0.0 || ^12.0.0" from [email protected]
npm ERR! node_modules/custom-electron-titlebar
npm ERR! custom-electron-titlebar@"^3.2.7" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/electron
npm ERR! peer electron@"^10.0.0 || ^11.0.0 || ^12.0.0" from [email protected]
npm ERR! node_modules/custom-electron-titlebar
npm ERR! custom-electron-titlebar@"^3.2.7" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! C:\Users<user>\AppData\Local\npm-cache_logs\2023-11-09T16_25_45_373Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: C:\Users<user>\AppData\Local\npm-cache_logs\2023-11-09T16_25_45_373Z-debug-0.log

Is it a problem on my part? Am I missing something?

Telemetry not exporting data to csv while recording in race. only in Freeroam. (FH5)

Describe the bug
Telemetry app appears to not be saving any in-race data to CSV files, they show up as blank.
Telemetry data is exporting fine for Freeroam recording.
I've double-checked the settings for data-out and they match the instructions on the repository.

To Reproduce
Just record in race and then look at the file. versus
Expected behavior
Should be populating data in the CSV files from races.

Desktop (please complete the following information):

  • OS: Win-10 x64
  • Game: Forza Horizon 5

I've attached files from Freeroam versus In Race
In Race.csv
Freeroam.csv
.

Implement functionality for Map performance settings in the Settings modal

Map settings should be changeable to accommodate for computer hardware limitations.

  • Refresh rate should be customizable
  • Max path points should be customizable

This is especially important for Horizon games when free-roaming, because the path won't be erased when a new lap is started since there are no laps. The program will run into severe performance issues on standard settings when travelling too far in free-roam.

App not receiving data from FH5

App screen shows no info

  • App is running on my PC not on xbox
  • .NET sdk is installed
  • IP and port are correct and data transmission is on
  • Enable AppContainer Loopback is running and Forza horizon 5(game pass version) is checked
  • Also tried a python script found in another issue with the same result (0's when game is paused but actual data while the game is running)

Cannot Compile

Hi,
I cannot use the version executable because I want to the patch explained here : #53 .
(cause I'm using a Cloud PC...)

I installed git and npm.
During the npm install I got several error about electron.

"npm i electron -g" Don't fix the issue.

I'm missing something?
Thanks
Raphaël Cazenave-Lévêque

App/UI falls behind live, in-game data

Tested in Forza Horizon 4 and Forza Horizon 5, when playing in-game the app eventually falls behind the live data, and gets further behind over time. Appears to be due to packets being buffered and the data coming in faster than it can be read.

I have a proposed solution, it's kinda "messy" but just disposing the client at the end of each request allows it to reset and remain constantly in sync with live data from the game. PR to be added shortly for review.

Draw previous lap path on the map.

It would be nice to see the previous lap's path on the map. This serves two purposes:

  1. Being able to compare lap paths
  2. Give the user a full map of the track at all times (aside from the first lap)

No executable file

After i download the github repo i unzipped it and didnt find the executable file

libva error

Describe the bug
if i start it i get the error:
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
and the app displays nothing

To Reproduce
Steps to reproduce the behavior:

  1. Use Linux
  2. Compile it
  3. Run it
  4. See error

Expected behavior
No error

Desktop (please complete the following information):

  • OS: Linux
  • Game FH5

Csv exported missing values

Describe the bug
I follow instructions to install

[Edited I was wrong, show imperial units not metric]
App runs but values power & Torque are swap if compare with telemetry Game.
[Edited]

I pushed record, csv exported Torque and power always 0, Actual rpm column always 799
Im interested to create power/Torque curve charts. Because Game devs eliminate from older Forza.
Could you help me?

Thanks

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: w 10 64
  • Game forza 2023

understanding Forza tire temperatures

Hello,
I am totally blind, and play Forza using the new blind driver assists.
I found your app, since
Forza doesn't currently read car telemetry. I'm building a small c# app in order to read some telemetry through a screen reader, and I plan to use your Forza Core module. I will definitely give credit to this repo.
My question is around tire temperatures. What temp unit are the tire temps measured in? In a new race, the tire temps were reading around 165, and I hadn't moved anywhere yet. This seems high to me.
I see from the code that you are taking ranges of values to indicate heat levels. Do these numbers represent actual temperatures or just a range?
I've looked around but can't find anything.

forza-telemetry app never recognizes game

Describe the bug
The app opens but never displays any values from Forza. I made sure 'Data Out' is set to 'ON', IP ADDRESS is 127.0.0.1, IP PORT is 5300, and I tried both the latest release of the exe and cloning the repo, same result both times, all values stay at 0.

To Reproduce
Steps to reproduce the behavior:

  1. follow the steps in the quick start guide
  2. when the app opens, it never shows data despite driving around in game

Expected behavior
When driving with the app open and UDP Out settings enabled, data values displayed in the app should increase or decrease depending on how the car drives in game.

Screenshots
I'm not sure if these screenshots are helpful, but here they are anyway
View of app not showing data:
NoNewData
View of settings (maybe I entered something wrong?):
FH4Settings

Desktop (please complete the following information):

  • OS: Windows 10 (Version 21H2, OS Build 19044.1706)
  • Game Forza Horizon 4 (via steam)

Additional context
(again not sure any of this is helpful sorry)

  • I tested FH4 UDP Out with the android mobile app 'Forza Dashboard (telemetry)' and it was able to correctly show my cars speed in real time
  • Forza and both the .exe and cloned repo version of the app are on my HDD instead of the SSD that the OS boots on
  • The cloned repo version said there were a bunch of npm vulnerabilities, not sure if that's related but I couldn't figure out how to fix them
  • I tried installing .NET 6.0, no effect
  • I tried installing the Win8 Loopback Utility (even though I'm using the steam version, idk I'm out of ideas). Forza wasn't even listed to check or uncheck

Thanks
I just wanna say this app looks really cool and I'm excited to get it working on my machine! Thanks for making it!

Cap laps displayed to 17

Laps should be capped to 17 being displayed at once in order to keep them from going off the screen.

Add ordinal/car name

Not so much a bug but a suggestion.

Here's the ordinal to car database if you want to add the name of the car you are driving to your app. If you want to message me on discord I can send you a more updated CSV, but this is the most recent one we have uploaded if you want to experiment with it for now.

The number after DisplayName_ is the ordinal Reformatted the list so it is now name,ordinal
https://github.com/Ldalvik/optn.club/blob/main/data/Data_Car%20Strings.csv

Style buttons

All buttons need to be styled so that they don't look out of place.

Can't connect over Xbox

Downloaded the latest version .zip, configurated the data sending over on Xbox, as described in the step-by-step, and it doesn't show any data on the display. Sorry if this isn't enought data, new to github and programming.

Implement functionality for the Fullscreen button

Should make the window fullscreen when pressed.

Users can always press 'F11' to make an electron app fullscreen, but many don't know about this feature. This app looks best when it's in fullscreen mode, and the user should be encouraged to take advantage of it (which is why the app needs a button to showcase the ability).

Incorrect Steering angle

Steering angle currently reads as absolute values rather than relative if steering is in normal mode where there is the addtional limiter.

Fuel consumption calculations seem off

After ending an old race and starting a new race, the MPG number will show an MPG in the thousands.

This is probably because the app doesn't know that we are on a new track, and as far as it knows the car travelled several hundred meters in an instant.

This, in turn, is because the car will "travel" from the ending coordinates of the last race to the starting coordinates of the current race instantaneously.

For instance, I could end a race in the middle of a lap on the Nurbringring (and have the coordinates [-1000, 0, 500]) and start a new race on Laguna Seca (and have the new coordinates [0,0,0]). To the program, the car has travelled ~1118 meters in a single tick. This is what's causing the MPG to shoot up into the thousands during the start of a new race.

I would suggest implementing an auto-reset feature triggered by the start of a new race, which in turn is triggered when the lap counter does anything but increment itself by 1.

Not recording tire wear

Tire wear is not getting recorded by the app

According to the Forza website these elements are being sent out in the UDP packets but they aren't recorded in the ForzaCore scripts.

F32 TireWearFrontLeft;
F32 TireWearFrontRight;
F32 TireWearRearLeft;
F32 TireWearRearRight;

Not receiving data out from FH5

the same issue as #46 however i'm on the steam version. i never got any notification from windows about the firewall but i allowed it through manually to no avail. the program starts fine and the ui comes up, but it just displays no data. everything is zero (or neutral or what have you)

I set the data out and ip address as instructed in the readme, and installed from the .zip release into C:/Program Files/Forza Telemetry
Desktop (please complete the following information):

  • OS: Windows 10 Enterprise Version 21H2
  • Forza Horizon 5
    image
    image

Forza Telemetry fails to launch properly.

The program remains stuck here.
image
While running it in a terminal it gives this error.
image
I tried to build it manually as well but it gives the same error from the second image when running npm run start and a grey to black window.
I have installed dotnet sdk 5.0.401 and 6.0.100-rc.1.21463.6 with the x86 and x86-64 variants.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.