r/iRacing 5d ago

Setups/Telemetry Open-Source head-tracking software for iRacing!

Hey all! Sharing an open-source software I built for my iRacing setup called OpenFOV. I've made it easy, free, and open source, so feel free to download and use it yourself.

I find sim-racing great for training racecraft, but I always develop "bad eye habits" from being boxed-in by my monitor's FOV. I find this to be a huge disparity between iRacing and real seat time. I could splurge for VR, but headsets are pricey and uncomfortable. They don't play well with glasses, either...

I saw a few demonstrations of hack-together tools and get a "head-tracking FOV" with a webcam to look around in-game. It was a bit annoying to set up and didn't offer much customization, but for what it was, it made a big improvement to my monitor setup.

So, (with the help of AI), I just went ahead and built an iRacing native software from scratch! I also cooked up a complete suite of customization options, so you can nerd out and really dial it in for your specific setup.

Hoping to gather some initial feedback from the community! So, if you have an old webcam lying around, dig it out, dust it off, and give this a try!

I'm physically limited to testing on my own setup, so please feel free to report any bugs or issues on the GitHub so I can get you up and running! :)

------------------

Edit: Thank you for all the feedback so far!! 😁 Today, I released v0.2.1, which addresses a lot of the feedback I received over the past 24 hours. Keep it up!

Some general tips + info:
- OpenFOV CPU-bound, so if you're struggling with lag, try to raise the program's priority on your computer! Task Manager > Right Click on OpenFOV > Go to Details > Right Click on OpenFOV > Set Priority > High (0.2.1 should have this by default!)
- If you still find lag with the fps listed on the UI (< 30fps while running), then try lowering your iRacing settings a bit to reduce the load!
- OpenFOV can only publish values to iRacing at the speed of your camera's FPS, so higher FPS webcams look smoother! (I tried interpolating more frames using velocity, but it doesn't look good!)

Feel free to message me with any issues. Happy racing!!

841 Upvotes

160 comments sorted by

View all comments

3

u/OlivoRandy 5d ago

Is not working for me. The app shows my face and says iracing detected. But moving my head within iracing doesn’t move anything. Any help?

1

u/YogurtclosetCrafty31 5d ago

Hey! So sorry about that...modern iRacing versions should have TrackIR enabled by default. You can also check

Documents\iRacing\app.ini

Look for:

[Misc]
EnableTrackIR=1

If the line is missing, you can add it manually. Let me know - happy to help more if needed. I'll keep an eye on this thread

1

u/EmergencyUse1094 12h ago

Bei mir fehlt der Eintrag komplett. kann ich den einfach einfügen??

1

u/EmergencyUse1094 12h ago

Habe den Eintrag ergänzt, läuft leider immer noch nicht

1

u/ComprehensiveLie6455 9h ago

Would reinstalling iRacing help? 🤔

0

u/OlivoRandy 5d ago

Still no luck

2

u/the_artchitect 5d ago

Not working for me either, even after following these steps. Tried a computer reboot and everything.

2

u/Planetary-Engineer 5d ago

Same issue as these people.

1

u/Acceptable_Contest10 5d ago

Same here, EnableTrackIR option not available in-game under Options -> Graphics, and adding it manually in app.ini still does not work. OpenFOV says iRacing detected.

1

u/YogurtclosetCrafty31 5d ago

Interesting - try restarting iRacing from scratch, with OpenFOV running already. iRacing may need to recognize it at boot time.

Keep me updated -> another release coming out today v0.2.0, which we can troubleshoot with. Feel free to message me directly as well. Since many people are having the issue, something has to be fixed!...

1

u/YogurtclosetCrafty31 5d ago

Just released the new patch at https://github.com/epalosh/openfov/releases/

Make sure to restart iRacing once OpenFOV is installed and running. Feel free to message me if it still doesn't work!!

3

u/Swangger 4d ago

I don't think it's your app, it maybe Easy Anti Cheat / iRacing blocking the DLL injection since the app is unsigned. I filed an issue with some details for you to take a look.

1

u/Sydneymunk 4d ago

Still not working, tried all steps

1

u/ComprehensiveLie6455 3h ago

Got it working. Created a backup app.ini. Deleted app.ini in documents\iracing. Started a session so iracing created a new app.ini. Paste the backup in and it worked. I don’t know how, but it works 😂

1

u/sebeh16 3h ago

Does it now work every time you jump in the sim or do you need to do this every time? Is this with "EnableTrackIR=1" writen in the app.ini or just the default one?