I'm trying to get the HeadTracker API distributed by FreeTrackNoIR working with DCS: Black Shark, as purchased through Steam. I posted this in the FreeTrackNoIR thread, but it seems like the problem I'm having relates more to how DCS loads the headtracker.dll than the specific headtracker dll distributed by FreeTrackNoIR.
In input.lua, the script tries to load the DLL from "./bin/headtracker/headtracker.dll". For the Steam-based game, where is ./ relative to? I tried placing the files so that they ended up in c:\program files (x86)\steam\steamapps\common\blackshark\bin\headtracker\headtracker.dll but the headtracker doesn't seem to load -- the FreeTrackNoIR version is supposed to place a text file in the root of c:\, but this doesn't appear after I run the game.
I believe the Steam version of DCS is x86, but not positive (is there a way to check easily?). I've tried both the 32-bit and 64-bit versions of FreeTrackNoIR's headtracker DLLs in that path, with no luck.
Other relevant thoughts:
1) Using DCS: Black Shark 1.0.2, purchased through Steam.
2) Using FaceTrackNoIR 1.5.0.
3) OS is Windows 7 64-bit.
4) Hardware is a Macbook Pro, 2009 model, i7 quad-core w/GeForce 330M.
I can run FaceTrackNoIR and it successfully tracks my face, and can communicate with ArmA II using fake-TrackIR, so I'm pretty sure the issue is somewhere on the DCS side, possibly with the DLL loading.
Any thoughts on diagnosing this issue?