Farming Simulator 15

Farming Simulator 15

View Stats:
Trackir works broadcasting now
playing around finally found away to get trackir to work in game anher guy on the inte firgured it out.

See details below,,I am broadcasting now if your interested in seeing it in action......

So, after years of wishing Giants would get with the program and implement a head tracking solution into their game, I've figured out a workaround. So, for those of you with TrackIR 5 who, like me have been waiting for Giants to give us integration, theres this little workaround:

TrackIR 5 comes with a mouse emulation program included in the install directory. In theory, you could run this and use TrackIR to control your mouse cursor. By extension, you could use TrackIR to control your view in FS15.

...In theory.

The big problem with this is that it requires the program you are using it with to use DirectInput as the controller for the mouse. Many programs, Farming Simulator included, do not use Direct Input.

So when I booted up FS with the mouse emulator program working I was all excited; FS uses the mouse to look around, so mouse emulation should work, right?

Nope. Hopes and dreams dashed.

So I set off on a little research. After digging around on some forums I found a little program called FreePIE, which is a 'Programmable Input Editor" which among other things, can act like a true (not Direct Input-based) mouse emulator, using scripts written in Python.

The post I found conveniently had a script to make the emulator toggleable, so I pasted that into the script window, ran the script, booted up FS15, punched the Z key to toggle the script on, and Voila! I'm suddenly looking around the cab of my NH!

I am so excited.

So, Here's how you do it: (keep in mind this is a workaround. Its not elegant, and its probably not the best way to go about it, but its working for me and its pretty easy.)
Step 1:
Download FreePIE from http://andersmalmgren.github.io/FreePIE/
Step 2:
Run TrackIR. (I use 5, don't know if this works with earlier versions.)
Step 3:
Run the TIRmouse program. You can find it in your TrackIR install directory. \Naturalpoint\TrackIR\TIRMouse.exe
You will see a little window with blue fields, and input selections. Set X to 'Yaw', and Y to 'Pitch'. You should see yellow lines moving around indicating your head movement. You will also notice that your mouse might move, but only if you have the TIRMouse window active(focus). Here's where FreePIE comes in.
Step 4: Run FreePIE. You will get a window with a few tabs and spaces. Click 'File>New' and a blank .py script file should open.
Step 5: Paste this code into the window, and then click 'Script>Run Script' or press F5


#Use Z to toggle on/off [DISABLED:and right mouse to activate head tracking]
#(Good for games like Outerra)
def update():
yaw = trackIR.yaw
pitch = trackIR.pitch

deltaYaw = filters.delta(yaw)
deltaPitch = filters.delta(pitch)

if (enabled): #if (enabled and hotkey)
mouse.deltaX = deltaYaw*multiply
mouse.deltaY = -deltaPitch*multiply

if starting:
enabled = False
multiply = 20
trackIR.update += update

#hotkey = mouse.rightButton
toggle = keyboard.getPressed(Key.Z)

if toggle:
enabled = not enabled



Nothing apparent will happen, but the script is now running.
Step 6: Run Farming Simulator, and load a game. Once loaded, press Z. This will toggle the script 'ON' and you should have head movement via TrackIR! VICTORY!! Remember that you can press Z again to turn it off (like if you need to use the mouse without your head interfering with its movement.)

There are a few things to keep in mind:
You can easily change the Toggle key in the script, if you need to.
Your mouse will still move your view as well, and the headtracking will always be relative to your mouse 'center'. So best to always center your view with the mouse, and then center your TrackIR.
You will have to play with your TrackIR profile and your in-game mouse sensitivity to get your full range of head motion out of this.
Its not true 6DOF or anything close. This is basic, 2 axis headtracking.

So thats it. TrackIR, in FS15. It can be done. YAY!
« Last Edit: January 21, 2015, 01:20:16 pm by kombatkarl »
< >
Showing 1-2 of 2 comments
TheBlindOldman Jul 12, 2015 @ 7:08am 
Using a Thrustmaster tr500 with pedals, Trackir, works great. Now going to add my Thrustmaster Hotas Warthog Joystick......

Hope I can get that to work for forestry machines,,,

TheBlindOldman Jul 12, 2015 @ 10:39pm 
it works I can now operate the forestry tools ,,,,
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jul 12, 2015 @ 3:59am
Posts: 2