summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/ClientFiles
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir/ClientFiles')
-rw-r--r--facetracknoir/ClientFiles/CFS3/Readme.txt27
-rw-r--r--facetracknoir/ClientFiles/CFS3/TIRViews.dllbin0 -> 109568 bytes
-rw-r--r--facetracknoir/ClientFiles/FS2002 and FS2004/FSUIPC.dllbin0 -> 210880 bytes
-rw-r--r--facetracknoir/ClientFiles/FlightGear/Nasal/headtracker.xml83
-rw-r--r--facetracknoir/ClientFiles/FlightGear/Protocol/headtracker.xml67
-rw-r--r--facetracknoir/ClientFiles/FlightGear/Readme.txt19
-rw-r--r--facetracknoir/ClientFiles/FlightGear/Win32/start_fg.bat1
-rw-r--r--facetracknoir/ClientFiles/FreeTrackTest/FreeTrackTest.exebin0 -> 398848 bytes
-rw-r--r--facetracknoir/ClientFiles/FreeTrackTest/Readme.txt20
-rw-r--r--facetracknoir/ClientFiles/GlovePIE/FaceTrackNoIR2TrackIR.PIE16
-rw-r--r--facetracknoir/ClientFiles/GlovePIE/Readme.txt24
-rw-r--r--facetracknoir/ClientFiles/PPJoy/PPJoy mapping for FaceTrackNoIR.jpgbin0 -> 155205 bytes
-rw-r--r--facetracknoir/ClientFiles/PPJoy/Readme.txt24
-rw-r--r--facetracknoir/ClientFiles/Tir4Fun/NPClient.dllbin0 -> 53248 bytes
-rw-r--r--facetracknoir/ClientFiles/Tir4Fun/readme.txt9
-rw-r--r--facetracknoir/ClientFiles/Tir4Fun/tir4fun.exebin0 -> 36864 bytes
16 files changed, 290 insertions, 0 deletions
diff --git a/facetracknoir/ClientFiles/CFS3/Readme.txt b/facetracknoir/ClientFiles/CFS3/Readme.txt
new file mode 100644
index 00000000..141daa27
--- /dev/null
+++ b/facetracknoir/ClientFiles/CFS3/Readme.txt
@@ -0,0 +1,27 @@
+FaceTrackNoIR for
+
+ * Combat Flight Simulator 3 (also works for Over Flanders Fields)
+ * Wings of War
+ * NASCAR Racing Season 2003
+ * Colin McRae Rally 4
+ * Race Driver 2
+ * F1 Challenge
+ * Richard Burns Rally
+
+FaceTrackNoIR was made compatible with these programs with the help of the functions TrackIR provides in the dll TIRViews.dll.
+This dll can be downloaded from the TrackIR website: http://www.naturalpoint.com/trackir/06-support/support-download-software-and-manuals.html
+
+To make the functions work, copy the dll in the FaceTrackNoIR installation folder. Then tick the 'use TIRViews.dll' checkbox for the 'fake TrackIR' game protocol.
+
+Please let us know if you like the program, if you have ideas for improvements or any questions you might have.
+
+
+
+The FaceTrackNoIR team:
+
+Wim Vriend
+Ron Hendriks
+
+
+
+Disclaimer: For usage of 3rd party software like FlightGear, the FaceTrackNoIR team is not responsible. Use it at your own risk. \ No newline at end of file
diff --git a/facetracknoir/ClientFiles/CFS3/TIRViews.dll b/facetracknoir/ClientFiles/CFS3/TIRViews.dll
new file mode 100644
index 00000000..a1fb306f
--- /dev/null
+++ b/facetracknoir/ClientFiles/CFS3/TIRViews.dll
Binary files differ
diff --git a/facetracknoir/ClientFiles/FS2002 and FS2004/FSUIPC.dll b/facetracknoir/ClientFiles/FS2002 and FS2004/FSUIPC.dll
new file mode 100644
index 00000000..264d14c5
--- /dev/null
+++ b/facetracknoir/ClientFiles/FS2002 and FS2004/FSUIPC.dll
Binary files differ
diff --git a/facetracknoir/ClientFiles/FlightGear/Nasal/headtracker.xml b/facetracknoir/ClientFiles/FlightGear/Nasal/headtracker.xml
new file mode 100644
index 00000000..d8bd1d0a
--- /dev/null
+++ b/facetracknoir/ClientFiles/FlightGear/Nasal/headtracker.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0"?>
+
+<PropertyList>
+ <nasal>
+ <headtracker>
+ <script>
+ var Value = {
+ new: func(prop) {
+ var m = { parents: [Value] };
+ m.prop = props.globals.getNode(prop, 1);
+ m.value = 0;
+ return m;
+ },
+ apply: func(value) {
+ me.prop.setDoubleValue(me.prop.getValue() - me.value + value);
+ me.value = value;
+ },
+ };
+
+
+ var x = Value.new("/sim/current-view/x-offset-m");
+ var y = Value.new("/sim/current-view/y-offset-m");
+ var z = Value.new("/sim/current-view/z-offset-m");
+ var h = Value.new("/sim/current-view/heading-offset-deg");
+ var p = Value.new("/sim/current-view/pitch-offset-deg");
+ var r = Value.new("/sim/current-view/roll-offset-deg");
+
+
+ var resetting = 0;
+ var status = nil;
+
+ var reset = func {
+ if (status != 1) {
+ setprop("/sim/headtracker/control", 1);
+ resetting = 1;
+ view.resetViewPos();
+ view.resetViewDir();
+ x.value = y.value = z.value = h.value = p.value = r.value = 0;
+ }
+ }
+
+ setlistener("/sim/headtracker/status", func(n) {
+ var s = n.getValue();
+ if (!status and s) {
+ setprop("/sim/headtracker/control", 0);
+ resetting = 0;
+ }
+ status = s;
+ }, 1, 0);
+
+
+ var loop = func {
+ if (!view.index and !resetting) {
+ x.apply(getprop("/sim/headtracker/x-m"));
+ y.apply(getprop("/sim/headtracker/y-m"));
+ z.apply(getprop("/sim/headtracker/z-m"));
+
+ h.apply(getprop("/sim/headtracker/heading-deg"));
+ p.apply(getprop("/sim/headtracker/pitch-deg"));
+ r.apply(-1 * getprop("/sim/headtracker/roll-deg"));
+ }
+ settimer(loop, 0);
+ }
+
+ loop();
+
+ </script>
+ </headtracker>
+ </nasal>
+
+ <sim>
+ <headtracker>
+ <x-m type="double">0</x-m>
+ <y-m type="double">0</y-m>
+ <z-m type="double">0</z-m>
+ <heading-deg type="double">0</heading-deg>
+ <pitch-deg type="double">0</pitch-deg>
+ <roll-deg type="double">0</roll-deg>
+ <status type="int">0</status>
+ <control type="int">0</control>
+ </headtracker>
+ </sim>
+</PropertyList>
diff --git a/facetracknoir/ClientFiles/FlightGear/Protocol/headtracker.xml b/facetracknoir/ClientFiles/FlightGear/Protocol/headtracker.xml
new file mode 100644
index 00000000..cd1d0dad
--- /dev/null
+++ b/facetracknoir/ClientFiles/FlightGear/Protocol/headtracker.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+
+<PropertyList>
+ <generic>
+ <input>
+ <binary_mode>true</binary_mode>
+ <binary_footer>none</binary_footer>
+ <byte_order>host</byte_order>
+ <record_length>52</record_length>
+
+ <chunk>
+ <name>x</name>
+ <type>double</type>
+ <node>/sim/headtracker/x-m</node>
+ </chunk>
+
+ <chunk>
+ <name>y</name>
+ <type>double</type>
+ <node>/sim/headtracker/y-m</node>
+ </chunk>
+
+ <chunk>
+ <name>z</name>
+ <type>double</type>
+ <node>/sim/headtracker/z-m</node>
+ </chunk>
+
+ <chunk>
+ <name>heading</name>
+ <type>double</type>
+ <node>/sim/headtracker/heading-deg</node>
+ </chunk>
+
+ <chunk>
+ <name>pitch</name>
+ <type>double</type>
+ <node>/sim/headtracker/pitch-deg</node>
+ </chunk>
+
+ <chunk>
+ <name>roll</name>
+ <type>double</type>
+ <node>/sim/headtracker/roll-deg</node>
+ </chunk>
+
+ <chunk>
+ <name>status</name>
+ <type>int</type>
+ <node>/sim/headtracker/status</node>
+ </chunk>
+ </input>
+
+ <output>
+ <binary_mode>true</binary_mode>
+ <binary_footer>none</binary_footer>
+ <byte_order>host</byte_order>
+ <record_length>4</record_length>
+
+ <chunk>
+ <name>control</name>
+ <type>int</type>
+ <node>/sim/headtracker/control</node>
+ </chunk>
+ </output>
+ </generic>
+</PropertyList>
diff --git a/facetracknoir/ClientFiles/FlightGear/Readme.txt b/facetracknoir/ClientFiles/FlightGear/Readme.txt
new file mode 100644
index 00000000..c86ffffe
--- /dev/null
+++ b/facetracknoir/ClientFiles/FlightGear/Readme.txt
@@ -0,0 +1,19 @@
+FaceTrackNoIR for FlightGear.
+
+FaceTrackNoIR was made compatible with FlightGear with the help of Melchior Franz, who initially made a Linux headtracker. FaceTrackNoIR sends UDP-packets to FlightGear which contain 6DOF-data. The script and protocol provided by Melchior take care of receiving the data and moving 'the head' in-game.
+
+To make the FlightGear script work, copy the files in the subfolders to the corresponding folders in the FlightGear installation folder. Start FlightGear with the batch-file 'start_fg.bat'.
+
+
+Please let us know if you like the program, if you have ideas for improvements or any questions you might have.
+
+
+
+The FaceTrackNoIR team:
+
+Wim Vriend
+Ron Hendriks
+
+
+
+Disclaimer: For usage of 3rd party software like FlightGear, the FaceTrackNoIR team is not responsible. Use it at your own risk. \ No newline at end of file
diff --git a/facetracknoir/ClientFiles/FlightGear/Win32/start_fg.bat b/facetracknoir/ClientFiles/FlightGear/Win32/start_fg.bat
new file mode 100644
index 00000000..cd9829b5
--- /dev/null
+++ b/facetracknoir/ClientFiles/FlightGear/Win32/start_fg.bat
@@ -0,0 +1 @@
+fgfs --generic=socket,in,25,localhost,5550,udp,headtracker --generic=socket,out,10,localhost,5551,udp,headtracker --prop:browser=/sim/headtracker "c:\Program Files\FlightGear\data\Nasal\headtracker.xml" \ No newline at end of file
diff --git a/facetracknoir/ClientFiles/FreeTrackTest/FreeTrackTest.exe b/facetracknoir/ClientFiles/FreeTrackTest/FreeTrackTest.exe
new file mode 100644
index 00000000..2965a07f
--- /dev/null
+++ b/facetracknoir/ClientFiles/FreeTrackTest/FreeTrackTest.exe
Binary files differ
diff --git a/facetracknoir/ClientFiles/FreeTrackTest/Readme.txt b/facetracknoir/ClientFiles/FreeTrackTest/Readme.txt
new file mode 100644
index 00000000..54f3ccd1
--- /dev/null
+++ b/facetracknoir/ClientFiles/FreeTrackTest/Readme.txt
@@ -0,0 +1,20 @@
+FaceTrackNoIR for Free-track 'enabled' games.
+
+FaceTrackNoIR was made compatible with the Free-track protocol, for which the Free-track source (a well, part of it) was
+translated from Delphi Pascal to C++ (Visual Studio C++, with Qt).
+
+To start the Free-track protocol-server in FaceTrackNoIR, select Free-track in the 'game-protocol' listbox. The program
+'FreeTrackTest.exe' is provided to check, if the protocol-server is running.
+
+FreeTrackTest.exe was created by the Free-track team.
+
+
+
+The FaceTrackNoIR team:
+
+Wim Vriend
+Ron Hendriks
+
+
+
+Disclaimer: For usage of 3rd party software like FreeTrackTest, the FaceTrackNoIR team is not responsible. Use it at your own risk. \ No newline at end of file
diff --git a/facetracknoir/ClientFiles/GlovePIE/FaceTrackNoIR2TrackIR.PIE b/facetracknoir/ClientFiles/GlovePIE/FaceTrackNoIR2TrackIR.PIE
new file mode 100644
index 00000000..745da7c6
--- /dev/null
+++ b/facetracknoir/ClientFiles/GlovePIE/FaceTrackNoIR2TrackIR.PIE
@@ -0,0 +1,16 @@
+//
+// 6 Degrees of Freedom Headtracking with FaceTrackNoIR
+// 2010 by Wim Vriend
+//
+pie.FrameRate = 120Hz
+var.multiply = 1.5
+var.R2D = 57.295781
+FakeTrackIR.pitch=(Joystick.pitch - 0.10) * var.R2D * var.multiply
+FakeTrackIR.yaw=(Joystick.yaw - 0.10) * var.R2D * var.multiply
+FakeTrackIR.roll=(Joystick.roll - 0.10) * var.R2D * var.multiply
+FakeTrackIR.x=(Joystick.x - 0.10) * var.R2D * var.multiply
+FakeTrackIR.y=(Joystick.y - 0.10) * var.R2D * var.multiply
+FakeTrackIR.z=(Joystick.z - 0.10) * var.R2D * var.multiply
+debug = 'pitch='+FakeTrackIR.pitch+' roll='+FakeTrackIR.roll+' yaw='+FakeTrackIR.yaw+' xyz=('+FakeTrackIR.x+','+FakeTrackIR.y+','+FakeTrackIR.z+')'
+//debug = FakeTrackIR.active
+
diff --git a/facetracknoir/ClientFiles/GlovePIE/Readme.txt b/facetracknoir/ClientFiles/GlovePIE/Readme.txt
new file mode 100644
index 00000000..db88fdc8
--- /dev/null
+++ b/facetracknoir/ClientFiles/GlovePIE/Readme.txt
@@ -0,0 +1,24 @@
+FaceTrackNoIR for PPJoy 'enabled' games/programs.
+
+FaceTrackNoIR was made compatible with the PPJoy virtual joystick(s), that can be used by various other programs as input. GlovePIE is one of the most powerfull we know (we have also tried tir4fun, but that is quite limited).
+
+To start the PPJoy protocol-server in FaceTrackNoIR, select Virtual Joystick in the 'game-protocol' listbox. The
+settings, necessary to configure PPJoy for FaceTrackNoIR as included in the PPJoy folder.
+
+GlovePIE was made by Carl Kenner and may NOT be used for military purposes. You can download it from the website
+http://glovepie.org/glovepie.php
+
+The script FaceTrackNoIR2TrackIR.PIE, which was included in this folder, surves as an example for GlovePIE. If anyone
+want to use, change or improve it: feel free to do so. In fact, if you do, we would like to receive a copy :-)
+
+Regards,
+
+
+The FaceTrackNoIR team:
+
+Wim Vriend
+Ron Hendriks
+
+
+
+Disclaimer: For usage of 3rd party software like GlovePIE, the FaceTrackNoIR team is not responsible. Use it at your own risk. \ No newline at end of file
diff --git a/facetracknoir/ClientFiles/PPJoy/PPJoy mapping for FaceTrackNoIR.jpg b/facetracknoir/ClientFiles/PPJoy/PPJoy mapping for FaceTrackNoIR.jpg
new file mode 100644
index 00000000..052c6899
--- /dev/null
+++ b/facetracknoir/ClientFiles/PPJoy/PPJoy mapping for FaceTrackNoIR.jpg
Binary files differ
diff --git a/facetracknoir/ClientFiles/PPJoy/Readme.txt b/facetracknoir/ClientFiles/PPJoy/Readme.txt
new file mode 100644
index 00000000..3000ece6
--- /dev/null
+++ b/facetracknoir/ClientFiles/PPJoy/Readme.txt
@@ -0,0 +1,24 @@
+FaceTrackNoIR for PPJoy 'enabled' games/programs.
+
+FaceTrackNoIR was made compatible with the PPJoy virtual joystick(s), that can be used by various other programs as input.
+
+To start the PPJoy protocol-server in FaceTrackNoIR, select Virtual Joystick in the 'game-protocol' listbox. The
+settings, necessary to configure PPJoy for FaceTrackNoIR as included in the PPJoy folder, in the file
+PPJoy mapping for FaceTrackNoIR.jpg.
+
+PPJoy was made by Deon van der Westhuysen and is unfortunately not updated anymore. You can download it from the website
+http://shareware.pcmag.com/free/Miscellaneous-Utilities/PPJoy/75176.html, but possibly from others as well...
+
+
+Regards,
+
+
+The FaceTrackNoIR team:
+
+Wim Vriend
+Ron Hendriks
+
+
+
+
+Disclaimer: For usage of 3rd party software like PPJoy, the FaceTrackNoIR team is not responsible. Use it at your own risk. \ No newline at end of file
diff --git a/facetracknoir/ClientFiles/Tir4Fun/NPClient.dll b/facetracknoir/ClientFiles/Tir4Fun/NPClient.dll
new file mode 100644
index 00000000..e392442e
--- /dev/null
+++ b/facetracknoir/ClientFiles/Tir4Fun/NPClient.dll
Binary files differ
diff --git a/facetracknoir/ClientFiles/Tir4Fun/readme.txt b/facetracknoir/ClientFiles/Tir4Fun/readme.txt
new file mode 100644
index 00000000..010510db
--- /dev/null
+++ b/facetracknoir/ClientFiles/Tir4Fun/readme.txt
@@ -0,0 +1,9 @@
+What is TIR4FUN?
+
+TIR4FUN is a free utility for dedicated gamers. It enables 6DOF POV control with mouse and joystick axes.
+
+Software is provided as it is. Configuration is straightforward. GUI says it all!
+
+Installation:
+
+Copy all files to a directory. Launch tir4fun.exe to bring up the GUI.
diff --git a/facetracknoir/ClientFiles/Tir4Fun/tir4fun.exe b/facetracknoir/ClientFiles/Tir4Fun/tir4fun.exe
new file mode 100644
index 00000000..a51eced0
--- /dev/null
+++ b/facetracknoir/ClientFiles/Tir4Fun/tir4fun.exe
Binary files differ