Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Test Builds => Topic started by: Swifty on March 05, 2008, 04:05:06 am

Title: 2008-03-05 Stable Branch - TrackIR
Post by: Swifty on March 05, 2008, 04:05:06 am
Here's the latest build with TrackIR support. You TrackIR users can now rejoice and bask in your situational awareness. Freespace now supports 5 degrees of freedom (Pitch, Yaw, X, Y, Z). Though, the X, Y, Z TrackIR axes aren't very noticeable unless you have cockpits enabled.

Non-TrackIR users should also be interested in this build. I implemented neat little features that'll make looking around a lot easier. The orthogonal padlock hat views don't instantly switch, but they smoothly slew. Even more notable is the target padlock view feature which allows you to fix your viewpoint on any targeted ship or subsystem. Very useful for neutering starships and dogfighting.

EDIT: I forgot to mention that free looking slewing commands have been removed in this build because of the pilot file corruption issues. I doubt anybody will critically miss it but FYI.

Note to TrackIR users: included in this package is a DLL file. This must be in your directory where the executable resides or else TrackIR support won't be enabled.

I hope I don't kill my webspace bandwidth at my university's CS Department :\
http://wwwcsif.cs.ucdavis.edu/~chos/fs2_open_trackir.zip
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: Angelus on March 05, 2008, 09:54:52 am
Link doesn't work... :(
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: MetalDestroyer on March 05, 2008, 10:20:12 am
Now I've to get a Track IR -_- to my retailer if I could find it. Otherwise, I have to pay online.
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: Swifty on March 05, 2008, 11:40:04 am
Link doesn't work... :(
My fault. I forgot to change the permissions for that file. The link should work now.
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: Angelus on March 05, 2008, 05:07:21 pm
thank you! :)
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: Reprobator on March 06, 2008, 11:47:18 am
thank you swifty for your release!

i couldn t wait more for the track ir support :D

but i got one question :
-i've noticed a strange framerate issue (i used before the 3_6_10-20071028T build and i didn't had this) ) the game have many freeze with this build on my computer ( i ve try it with freespace2 and btrl mod and the same problems appear), is it a known issue or does it come from my computer?

 
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: MetalDestroyer on March 07, 2008, 03:10:12 pm
I got it !! I got IT !! I have a track ir with the Track clip. But, well, this build has sever framerate issue with my spec (Play BTRL with a 8800 GTX, 4 GB RAM, Core 2 Duo E6600 and under Vista on Open GL). I've got around 4 to 8 fps.
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: Reprobator on March 07, 2008, 03:16:53 pm
same i used to say i run athlon64 3800+ 2 gigabyte ram and x1900xt graphic card under xp and latest catalyst 
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: Swifty on March 07, 2008, 06:02:54 pm
That's very odd. My system is worse than that of the two above posters. Can you guys try playing with the TrackIR device disabled or temporarily removing the DLL from the root directory and tell me how the performance is? I can't imagine any of the stuff I added is very CPU intensive.
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: Reprobator on March 08, 2008, 01:50:05 am
i ve try without the dll and the issue was the same, i ve try with the original build delivered with the btrl demo and  it was the same.
I just got my track ir on monday and well it s the only thing that moved on my compter that week, sunday i use to have very good framerate... so maybe i should take a look on my open gl drivers

update : It was the latest atioglxx.dll that was weird. i ve copy  a 2 years old one and now everything seems to be smooth with the track ir build

Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: MetalDestroyer on March 08, 2008, 02:21:10 am
Ok, I move the dll away, and I got a better framerate (40 to 90 fps).
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: Swifty on March 08, 2008, 03:32:00 am
Ok, I move the dll away, and I got a better framerate (40 to 90 fps).
That's interesting. What model of TrackIR do you have? Have you tried this build with just XP?
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: MetalDestroyer on March 08, 2008, 04:06:49 am
I use the Track IR v 4.0 with the Track Clip and nope, didn't try playing with Win XP.
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: Lepton on April 09, 2008, 02:33:52 pm
How might one get this working with BtRL?  I have TrackIR 4 Pro running under Vista Home Premium.  I replaced the exe with the one in the zip file and placed the dll in the directory of the exe.  My presumption is that I need to activate a cockpit view in some manner.  From what I have seen in videos, this is amazing work.  A monumental increase in the immersion experience.
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: MetalDestroyer on April 10, 2008, 04:52:01 am
You just need to create a modular table and include the necessary data with the show ship flag for the ship and you will have your cockpit view.

So go into your data folder, then in the table folder (create it, if there is none), create a file call "cockpit-shp.tbm" (without the quote) and put the following text :

Quote
#Ship Classes
$Name: @Colonial Viper Mark II
+nocreate
$Flags: ( "show ship" )

$Name: @Colonial Viper Mark VII
+nocreate
$Flags: ( "show ship" )

$Name: @Cylon Raider
+nocreate
$Flags: ( "show ship" )
#End
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: Lepton on April 10, 2008, 01:39:47 pm
Didn't seem to work.  Still no cockpit to be seen.  Is there a command line flag that I need to set or a mod that I need to activate?  I am getting the quick view slewing but still no TrackIR response.
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: MetalDestroyer on April 11, 2008, 04:31:51 am
oups the tables folder must have the "s" in "table".
About the Track IR, you need to use the build below and place the dll in the same place as the build. Within the launcher, select the build, and if I remembered correctly there is a checkbox to check. But don't forget to launch the Track IR software.
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: Lepton on April 11, 2008, 09:04:31 pm
I've got the cockpits but still no TrackIR functionality.  Is there something I need to set in the launcher to get it to work??
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: arbrandes on April 30, 2008, 05:21:40 am
Lepton, it simply worked "out of the box" for me.  Are you sure the TrackIR software is up before you launch FS2?  Also, I believe you have to use the latest beta version [of said TrackIR software], otherwise it won't recognize FS2 (shown under "Beyond the Red Line").
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: Nuke on May 01, 2008, 03:20:39 pm
you need the build in this post:
http://www.hard-light.net/forums/index.php/topic,52542.msg1061188.html#msg1061188
then you need to update the games list in your track ir software, btrl should come up, if not theres a games patch on natural point's website. also be sure to select the build in the launcher.
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: Warp Shadow on May 06, 2008, 06:32:21 pm
This was just working fine a second ago but now WHENEVER I even CLICK on the tech room, the game just freezes and I get a popup asking me if I want to report the error?! WHAT THE HELL? :mad:
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: Lepton on May 11, 2008, 12:04:06 pm
I did get this to work and it was my TrackIR software version.  You'd think if you ask the program to check for updates that it would actually do that.  Be that as it may, using the most current version of the TrackIR software made things work swimmingly.  Of course, it makes shooting things twice as hard, but at least it works.
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: szoreny on May 11, 2008, 12:28:10 pm
I'm curious about the cockpit options available in FS2 - the Btrl cockpits are very pretty, and I'm wondering if any stock FS2 pits have received some detailed 'pits.  Probably more important work is being done on 3.6.10 bugs n such - but there was a topic a while back, called 'time-table for real cockpit models' where some members were discussing methods of cockpit display other than a show-ship table and the work sounded very promising but haven't seen anything about that since....

So is it still just show-ship and POF tweaking in retail?  Is that the only way?  I don't have track IR but this view slewing is brilliant, I'm using taylor's 3.6.10xt build but i assume the smooth view panning and pad-lock I'm seeing therein is swifty's work.   
Title: Re: 2008-03-05 Stable Branch - TrackIR
Post by: Nuke on May 11, 2008, 04:41:38 pm
nukemod has alot of cockpits. some fs ships have cockpits but need a show ship flag and possibly some model eyepoint tweakage. you could probibly slap some xmts together to add the flag.