Closed mburakbozbey closed 3 years ago
Assuming windows firewall isnt blocking it, I would try restarting the game after enabling UDP data out. I've seen Forza sometimes not send data for some reason, but restarting the game fixes it.
@mburakbozbey @richstokes From messing around with Forza's data out function, I recently learned that Windows actually blocks Windows Store applications from communicating with localhost, so you have to find a loop back program like I did to get by this.
It looks like for Forza Horizon 4 you can get around this by opening a Command Prompt with Administrator privileges and running:
CheckNetIsolation.exe LoopbackExempt -a -n=Microsoft.SunriseBaseGame_8wekyb3d8bbwe
Likewise, to solve this for Forza Motorsport 7 run the following instead:
CheckNetIsolation.exe LoopbackExempt -a -n=microsoft.apollobasegame_8wekyb3d8bbwe
Hi @richstokes Thank you so much for sharing this project. But I can't receive the data. Where can I find the data? It would be really helpful if you could give me any advice...
The steps I took are below:
./fdt -z -j -c log.csv
in terminal.14:02:43.348602 Started Forza Data Tools 14:02:43.349029 Forza Horizon mode selected 14:02:43.349571 Processing FH4_packetformat.dat... 14:02:43.349671 Proccessed 86 Telemetry types OK! 14:02:43.349681 Logging data to log.csv 14:02:43.350225 JSON Telemetry Server started at http://localhost:8080 14:02:43.350535 Forza data out server listening on 192.168.178.25:8989, waiting for Forza data...
Assuming your game is set to use 192.168.178.25:8989
as the data out address, that should be all you need to do.
I have seen a bug in Forza where you sometimes need to completely quit and restart the game before it sends the data correctly when you change the IP/port.
I would say that restarting my pc fixed this issue for now. Can read the Telemetry data with the data tools.
By turning Firewall off, it worked. Thanks for your advices above.
Hi,
I'm trying to run the code on Windows 10 with Forza Horizon 4. I set game settings for data output as same as what the script listens. I'm not familiar with golang but I installed it for Windows 64bit and added it to path. The only change that I did is I renamed "fdt" to "fdt.file" due to the an error. After that, the program prints waiting for Forza data but receives nothing. Any suggestions? I suspect that the game fails to send any data