FreeTrack Emulation?
-
- One Eyed Hopeful
- Posts: 25
- Joined: Sun Aug 11, 2013 6:10 pm
FreeTrack Emulation?
Hi All,
I have the script...
freeTrack.roll = oculusVR.roll
freeTrack.pitch = oculusVR.pitch
freeTrack.yaw = oculusVR.yaw
freeTrack.x = 0
freeTrack.y = 0
freeTrack.z = 0
But when I fire up Microsoft Flight (online), it doesn't do anything. It's like it's not recognizing FreeTrack at all. Am I mistaken in understanding that FreePie can also EMULATE devices such as FreeTrack? Am I missing something fundamental here?
Thanks
I have the script...
freeTrack.roll = oculusVR.roll
freeTrack.pitch = oculusVR.pitch
freeTrack.yaw = oculusVR.yaw
freeTrack.x = 0
freeTrack.y = 0
freeTrack.z = 0
But when I fire up Microsoft Flight (online), it doesn't do anything. It's like it's not recognizing FreeTrack at all. Am I mistaken in understanding that FreePie can also EMULATE devices such as FreeTrack? Am I missing something fundamental here?
Thanks
-
- One Eyed Hopeful
- Posts: 25
- Joined: Sun Aug 11, 2013 6:10 pm
Re: FreeTrack Emulation?
Tried this too, but still no go. Oculus values are changing, but trackIR all stays at zero.
def update():
trackIR.roll = oculusVR.roll
trackIR.pitch = oculusVR.pitch
trackIR.yaw = oculusVR.yaw
if starting:
trackIR.update += update
diagnostics.watch(trackIR.yaw)
diagnostics.watch(trackIR.pitch)
diagnostics.watch(trackIR.roll)
diagnostics.watch(oculusVR.yaw)
diagnostics.watch(oculusVR.pitch)
diagnostics.watch(oculusVR.roll)
def update():
trackIR.roll = oculusVR.roll
trackIR.pitch = oculusVR.pitch
trackIR.yaw = oculusVR.yaw
if starting:
trackIR.update += update
diagnostics.watch(trackIR.yaw)
diagnostics.watch(trackIR.pitch)
diagnostics.watch(trackIR.roll)
diagnostics.watch(oculusVR.yaw)
diagnostics.watch(oculusVR.pitch)
diagnostics.watch(oculusVR.roll)
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden
Re: FreeTrack Emulation?
hi raeldor
Yes FreePIE can emulate both
Should work if you get values from oculusVR
Start regedit (registry), and check key
HKEY_CURRENT_USER\Software\Freetrack\FreetrackClient\path
It should point to the FreePIE install folder
TrackIr script is a bit wrong
Also you cant read and write at the same time so
diagnostics.watch(trackIR.yaw) wont work
Also MS Flight is a encrypted game so you need to apply TrackIR fixer
http://naturalpointofview.blogspot.se/p ... fixer.html
Yes FreePIE can emulate both
Code: Select all
freeTrack.roll = oculusVR.roll
freeTrack.pitch = oculusVR.pitch
freeTrack.yaw = oculusVR.yaw
Start regedit (registry), and check key
HKEY_CURRENT_USER\Software\Freetrack\FreetrackClient\path
It should point to the FreePIE install folder
TrackIr script is a bit wrong
Code: Select all
def update():
trackIR.roll = oculusVR.roll
trackIR.pitch = oculusVR.pitch
trackIR.yaw = oculusVR.yaw
if starting:
oculusVR.update += update
diagnostics.watch(trackIR.yaw) wont work
Also MS Flight is a encrypted game so you need to apply TrackIR fixer
http://naturalpointofview.blogspot.se/p ... fixer.html
-
- One Eyed Hopeful
- Posts: 25
- Joined: Sun Aug 11, 2013 6:10 pm
Re: FreeTrack Emulation?
Hi,
Thank you so much for your reply. I checked the registry. It seems correct...
C:\Program Files (x86)\FreePIE
I also modified the script to read...
def update():
trackIR.roll = oculusVR.roll
trackIR.pitch = oculusVR.pitch
trackIR.yaw = oculusVR.yaw
if starting:
oculusVR.update += update
diagnostics.watch(oculusVR.yaw)
diagnostics.watch(oculusVR.pitch)
diagnostics.watch(oculusVR.roll)
And I also have TrackIRFixer running, which correctly found MS Flight (can't copy+paste message, sorry).
However, STILL nothing is happening in the game.
Thanks
Ray
Thank you so much for your reply. I checked the registry. It seems correct...
C:\Program Files (x86)\FreePIE
I also modified the script to read...
def update():
trackIR.roll = oculusVR.roll
trackIR.pitch = oculusVR.pitch
trackIR.yaw = oculusVR.yaw
if starting:
oculusVR.update += update
diagnostics.watch(oculusVR.yaw)
diagnostics.watch(oculusVR.pitch)
diagnostics.watch(oculusVR.roll)
And I also have TrackIRFixer running, which correctly found MS Flight (can't copy+paste message, sorry).
However, STILL nothing is happening in the game.
Thanks
Ray
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden
Re: FreeTrack Emulation?
Strange, is other games working? Dirt is confirmed to work with FreePIE and trackir fixer
-
- One Eyed Hopeful
- Posts: 25
- Joined: Sun Aug 11, 2013 6:10 pm
Re: FreeTrack Emulation?
GTR2 is not working either.
Last edited by raeldor on Mon Aug 12, 2013 9:09 am, edited 1 time in total.
-
- One Eyed Hopeful
- Posts: 25
- Joined: Sun Aug 11, 2013 6:10 pm
Re: FreeTrack Emulation?
Now see this in the NPClient.log file which wasn't there before...
NP_GetSignature
binary:precise head tracking
put your head into the game
now go look around
Copyright EyeControl Technologies hardware camera
software processing data
track user movement
Copyright EyeControl Technologies
NP_RegisterWindowHandle, handle: 00220212
NP_RequestData: data119
NP_RegisterProgramProfileId, id: 2307
NP_StartDataTransmission:
NP_GetSignature
binary:precise head tracking
put your head into the game
now go look around
Copyright EyeControl Technologies hardware camera
software processing data
track user movement
Copyright EyeControl Technologies
NP_RegisterWindowHandle, handle: 00220212
NP_RequestData: data119
NP_RegisterProgramProfileId, id: 2307
NP_StartDataTransmission:
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden
Re: FreeTrack Emulation?
Start FreePIE and your script, check in registey that npclient path Points to FreePIE. I just tried Future Pinball which is the only TrackIR game I have installed at the moment and it works fine.
-
- One Eyed Hopeful
- Posts: 25
- Joined: Sun Aug 11, 2013 6:10 pm
Re: FreeTrack Emulation?
NPClient path is the HKEY_CURRENT_USER\Software\Freetrack\FreetrackClient\path registry entry, or is there another registry entry I should be looking at?
Thanks
Thanks
-
- One Eyed Hopeful
- Posts: 25
- Joined: Sun Aug 11, 2013 6:10 pm
Re: FreeTrack Emulation?
Just searched registry, and I also have NaturalPoint/NaturalPoint/NPClient Location with keys 'Freepie_RealPath' and 'Path' both set to 'C:\Program Files (x86)\FreeTrack' instead of 'C:\Program Files (x86)\FreePIE'. Just updated and it works now!
Thank you SO much!
Thank you SO much!
Last edited by raeldor on Mon Aug 12, 2013 2:21 pm, edited 1 time in total.
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden
Re: FreeTrack Emulation?
I'm at my phone right now so can't check the exact path, but that path is to freetrack not trackir. I Think its under a path called naturalpoint or so.
Btw, trackir uses degrees and oculus radians so you need to wrap the oculus values with math.degrees to get them in the correct format
Btw, trackir uses degrees and oculus radians so you need to wrap the oculus values with math.degrees to get them in the correct format
-
- One Eyed Hopeful
- Posts: 25
- Joined: Sun Aug 11, 2013 6:10 pm
Re: FreeTrack Emulation?
Just searched registry, and I also have NaturalPoint/NaturalPoint/NPClient Location with keys 'Freepie_RealPath' and 'Path' both set to 'C:\Program Files (x86)\FreeTrack' instead of 'C:\Program Files (x86)\FreePIE'. Just updated and it works now!
Thank you SO much!
Well, it's working in Test Drive Unlimited for TrackIR, but still not in Flight for FreeTrack.
Thank you SO much!
Well, it's working in Test Drive Unlimited for TrackIR, but still not in Flight for FreeTrack.
-
- One Eyed Hopeful
- Posts: 25
- Joined: Sun Aug 11, 2013 6:10 pm
Re: FreeTrack Emulation?
Ha! Got it working for MS Flight. Turns out it was looking for a TrackIR.exe process. I renamed FreePIE.exe to TrackIR.exe and now it works. Who knew!?
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden
Re: FreeTrack Emulation?
Nice that you got it working!
Strange that you needed to change the registry, FreePIE should manage that automatic
Strange that you needed to change the registry, FreePIE should manage that automatic