When you see "TrackIR" or "FreeTrack" in a game's settings, you might think it only works with one product. In fact these options are protocols, a shared language games use to talk to head tracking programs. Whatever device you use, if the game understands one of these languages, head tracking works. Knowing how the protocols work in general helps make sense of most head tracking problems.
The TrackIR protocol
TrackIR is NaturalPoint's infrared camera head tracking system. Over the years it became so widespread that hundreds of games added dedicated support for it. These games read the head angles from a TrackIR-compatible program installed on the computer.
When the game starts, it looks for that program and, if it finds one, starts using head tracking. The PiHead Tracker app is TrackIR-compatible, so games that support TrackIR recognize the device without any extra plugin or mod.
Not every program works in every game
Some games only accept head tracking data in their own specific format. DCS World, Arma 3, the newer IL-2 Sturmovik games, Elite Dangerous and Star Citizen are examples. With a program that doesn't support that format, the game sees head tracking but the view doesn't move, or it doesn't connect at all.
A good share of "a program works in one game but not in another" complaints comes down to this. PiHead Tracker recognizes the games listed on the games page and shows the game's name at the top of the app when it connects.
The FreeTrack protocol
FreeTrack started as a free, open-source program for head tracking with a webcam. Over time its protocol spread among games too. In this protocol, the tracking program writes the head angles into a shared area of the computer's memory and the game reads them from there.
Some games support only TrackIR, some only FreeTrack, and some both. PiHead Tracker offers both protocols at the same time. Just turn on whichever option the game has.
One tracking program at a time
A game finds out which tracking program to talk to from a setting in the Windows registry, and that setting can point to only one program at a time. If the TrackIR software, another head tracking program and PiHead Tracker are all installed, the game talks to whichever program the setting points to at that moment. If two programs are open at once, each tries to claim the setting, and the game can end up connected to the wrong one.
When PiHead Tracker opens, it points this setting to itself, and when it closes it restores the old value. So if you want to keep using TrackIR or another head tracking program, just close PiHead Tracker and your settings stay intact. If the app closes unexpectedly, the old value is restored from a backup.
Using this when troubleshooting
- If the game doesn't see head tracking: make sure you opened the tracking program before the game and that no other tracking program is running. The game reads the setting when it starts.
- If the game connects but the view doesn't move: the game may be one that uses its own data format. Make sure the program you use supports that game.
- The game has no TrackIR option but has FreeTrack: no problem, the same device works with both.
- If the game supports neither: head tracking won't work directly in that game. Supported games are listed on the games page.
Whatever the protocol, the information sent to the game is the same: how far your head has turned left-right, up-down and sideways. Some systems also send head position. That difference is covered in our 3DOF vs 6DOF post.