Skip to content

Commit

Permalink
Merge pull request #6 from gotzl/f1-23
Browse files Browse the repository at this point in the history
add support for F1 23
  • Loading branch information
gotzl authored Feb 5, 2024
2 parents 7983fcb + 554ffd6 commit 91b0b7a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "tools/f1_2020_telemetry"]
path = tools/f1_2020_telemetry
url = https://gitlab.com/gparent/f1-2020-telemetry.git
[submodule "tools/f1_23_telemetry"]
path = tools/f1_23_telemetry
url = https://github.com/F1SimRacing/f1-23-telemetry.git
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ AMS2 sends telemetry via UDP. This has to be activated in-game: `Options -> Syst
## RF2
For RF2, there is a [plugin that creates `named-mappings`](https://github.com/schlegp/rF2SharedMemoryMapPlugin_Wine/blob/master/build) which has to be installed first (it's a fork of [this](https://forum.studio-397.com/index.php?threads/rf2-shared-memory-tools-for-developers.54282/) and creates `named-mappings` directly in `/dev/shm/`). The procedure is the same as for using [TinyPedal](https://github.com/s-victor/TinyPedal) in Linux. (don't forget to activate the plugin in-game after installation)

## F1 2020
F1 2020 sends telemetry via UDP. This has to be activated in-game, for instance in the pause menu there is a 'telemetry' section. The defaults are sufficient.
## F1 X
F1 X sends telemetry via UDP. This has to be activated in-game, for instance in the pause menu there is a 'telemetry' section. The defaults are sufficient.

Note: F1 2020 lacks support for TC-in-action/ABS-in-action.
Note: F1 X lacks support for TC-in-action/ABS-in-action.

## WRC
WRC sends telemetry via UDP, [see this for full information](https://answers.ea.com/t5/Guides-Documentation/EA-SPORTS-WRC-How-to-use-User-Datagram-Protocol-UDP-on-PC/m-p/13178407/thread-id/1).
Expand Down
4 changes: 2 additions & 2 deletions tools/fanatec_led_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def _do_run(self):
if __name__ == "__main__":
from ac import AcClient
from acc import AccClient
from f1_2020 import F12020Client
from f1_23 import F1_23Client
from rf2 import RF2Client
from wrc import WrcClient
from ams2 import AMS2Client
Expand Down Expand Up @@ -241,7 +241,7 @@ def _do_run(self):
ev = threading.Event()

threads = []
for typ in [F12020Client, AcClient, AccClient, RF2Client, WrcClient, AMS2Client]:
for typ in [F1_23Client, AcClient, AccClient, RF2Client, WrcClient, AMS2Client]:
threads.append(typ(ev, args.dbus, args.device, args.display))

for thread in threads:
Expand Down

0 comments on commit 91b0b7a

Please sign in to comment.