summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/clientfiles
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-29 20:54:29 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-29 20:54:29 +0200
commit63b239409380e7e736f01ca6b43ecf9dfaabad94 (patch)
tree6ecb3b6b0fcb3d860fb91cf0fc425496ffd6e67d /facetracknoir/clientfiles
parentcfd2ac0e5c7cf1e1efa5eda145965db4cf656dcc (diff)
rename part two
Diffstat (limited to 'facetracknoir/clientfiles')
-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/Tir4Fun/npclient.dllbin0 -> 53248 bytes
-rw-r--r--facetracknoir/clientfiles/Tir4Fun/readme.txt9
-rw-r--r--facetracknoir/clientfiles/Tir4Fun/tir4fun.exebin0 -> 36864 bytes
-rw-r--r--facetracknoir/clientfiles/cfs3/readme.txt27
-rw-r--r--facetracknoir/clientfiles/cfs3/tirviews.dllbin0 -> 109568 bytes
-rw-r--r--facetracknoir/clientfiles/freetracktest/freetracktest.exebin0 -> 398848 bytes
-rw-r--r--facetracknoir/clientfiles/freetracktest/readme.txt20
-rw-r--r--facetracknoir/clientfiles/fs2002 and fs2004/fsuipc.dllbin0 -> 210880 bytes
-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
16 files changed, 290 insertions, 0 deletions
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..75cbbcd2
--- /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/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..d64af301
--- /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
diff --git a/facetracknoir/clientfiles/cfs3/readme.txt b/facetracknoir/clientfiles/cfs3/readme.txt
new file mode 100644
index 00000000..e51cebfa
--- /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/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..ca40906f
--- /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/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/glovepie/facetracknoir2trackir.pie b/facetracknoir/clientfiles/glovepie/facetracknoir2trackir.pie
new file mode 100644
index 00000000..d0839e5d
--- /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..3639e26b
--- /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..20c52111
--- /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