Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > Technical threads > Controls threads

Controls threads Everything about controls in CoD

View Poll Results: Do you like to see Freetrack interface integrated in IL-2:CoD?
Yes, I like to have Freetrack interface integrated in IL-2:CoD. 133 81.60%
No, I don't like to have Freetrack interface integrated in IL-2:CoD. 30 18.40%
Voters: 163. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #91  
Old 02-18-2011, 04:07 AM
Wolf_Rider Wolf_Rider is offline
Approved Member
 
Join Date: Dec 2007
Location: Sydney, Australia
Posts: 1,677
Default

@ loBi...
well, that's what I'm asking... does the FT hook into the mouselook? (to be clear, I see mouselook as a defacto generic interface, that's why I keep mentioning it )
Reply With Quote
  #92  
Old 02-18-2011, 04:12 AM
julian265 julian265 is offline
Approved Member
 
Join Date: Aug 2009
Posts: 195
Default

Quote:
Originally Posted by Wolf_Rider View Post
we're not talking about Windows game controllers, Julian, the subject at hand is the inclusion of alternative headtrackers to the TIR
I don't care what you were talking about - if you quote a post and agree or disagree, then that is the subject at hand. And as the meaning of game devs "allowing access to the head control axes" is perfectly clear, it's obvious that you've used the straw-man argument trick again, disagreeing with a point that I never made.

It's not surprising that people don't use such a method face-to-face.
__________________
DIY uni-joint / hall effect sensor stick guide:
http://www.mycockpit.org/forums/cont...ake-a-joystick
Reply With Quote
  #93  
Old 02-18-2011, 04:20 AM
Wolf_Rider Wolf_Rider is offline
Approved Member
 
Join Date: Dec 2007
Location: Sydney, Australia
Posts: 1,677
Default

none of that, however, has anything to do with the subject at hand, Julian.
The subject at hand, is the inclusion of alternative headtrackers to TIR, is it not?

now... I believe we're waiting for Lobi to get back to us (I mean if you're going to push a product, it should be understood how it works )

Last edited by Wolf_Rider; 02-18-2011 at 04:23 AM.
Reply With Quote
  #94  
Old 02-18-2011, 04:22 AM
LoBiSoMeM LoBiSoMeM is offline
Approved Member
 
Join Date: May 2010
Posts: 963
Default

Quote:
Originally Posted by Wolf_Rider View Post
@ loBi...
well, that's what I'm asking... does the FT hook into the mouselook? (to be clear, I see mouselook as a defacto generic interface, that's why I keep mentioning it )
I use mouselook into ArmAII to move my gun and shoot at enemies. To look around in another direction, lean and zoom, I use Freetrack hooked into Freetrack Interface...

Do you have ArmAII and Freetrack installed in your computer, W-R? You can try here and see how it works!

Last edited by LoBiSoMeM; 02-18-2011 at 04:27 AM.
Reply With Quote
  #95  
Old 02-18-2011, 04:27 AM
Wolf_Rider Wolf_Rider is offline
Approved Member
 
Join Date: Dec 2007
Location: Sydney, Australia
Posts: 1,677
Default

@ Lobi..
yes, you've said that before about the FT interface, but the bit I (for one) be curious about is; how does the interface interact with the ArmAII/ other game?

Last edited by Wolf_Rider; 02-18-2011 at 04:37 AM.
Reply With Quote
  #96  
Old 02-18-2011, 04:43 AM
LoBiSoMeM LoBiSoMeM is offline
Approved Member
 
Join Date: May 2010
Posts: 963
Default

Quote:
Originally Posted by Wolf_Rider View Post
@ Lobi..
yes, you've said that before about the FT interface, but the bit I (for one) be curious about is; how does the interface interact with the ArmAII/ other game?
Maybe it's hard to discover... Can I have some time?


/************************************************** **********************
* freetrack_c_interface.c
*
* A simple command line application which reads the data from FreeTrack
* using the FreeTrackClient.dll interface.
*
* Assumes that a copy of the FreeTrackClient.dll is in the same folder,
* thought this does not necessarily have to be the same folder as the
* FreeTrack application itself.
*
* Based on code from http://en.wikipedia.org/wiki/Dynamic-link_library
*
* Alastair Moore, December 2007
*
************************************************** **********************/

//#include <iostream>
//#include <tchar.h>
#include <windows.h>
#include <stdio.h>
#include <conio.h>

typedef struct
{
float yaw;
float pitch;
float roll;
float x;
float y;
float z;
int dataID;
}FreeTrackData;

// DLL function signatures
// These match those given in FTTypes.pas
// WINAPI is macro for __stdcall defined somewhere in the depths of windows.h
typedef bool (WINAPI *importGetData)(FreeTrackData * data);
typedef char *(WINAPI *importGetDllVersion)(void);
typedef void (WINAPI *importReportID)(int name);
typedef char *(WINAPI *importProvider)(void);


int main(int argc, char **argv)
{
//declare imported function pointers
importGetData getData;
importGetDllVersion getDllVersion;
importReportID reportID;
importProvider provider;

// create variables for exchanging data with the dll
FreeTrackData data;
FreeTrackData *pData;
pData = &data;
char *pDllVersion;
int name = 453;
char *pProvider;


// Load DLL file
HINSTANCE hinstLib = LoadLibrary("FreeTrackClient.dll");
if (hinstLib == NULL) {
printf("ERROR: unable to load DLL\n");
return 1;
}
else
{
printf("dll loaded\n");
}

// Get function pointers
getData = (importGetData)GetProcAddress(hinstLib, "FTGetData");
getDllVersion = (importGetDllVersion)GetProcAddress(hinstLib, "FTGetDllVersion");
reportID = (importReportID)GetProcAddress(hinstLib, "FTReportID");
provider = (importProvider)GetProcAddress(hinstLib, "FTProvider");

// Check they are valid
if (getData == NULL) {
printf("ERROR: unable to find 'FTGetData' function\n");
FreeLibrary(hinstLib);
return 1;
}
if (getDllVersion == NULL){
printf("ERROR: unable to find 'FTGetDllVersion' function\n");
FreeLibrary(hinstLib);
return 1;
}
if (reportID == NULL){
printf("ERROR: unable to find 'FTReportID' function\n");
FreeLibrary(hinstLib);
return 1;
}
if (reportID == NULL){
printf("ERROR: unable to find 'FTProvider' function\n");
FreeLibrary(hinstLib);
return 1;
}

// Print the address of each function
printf("FTGetData is at address: 0x%x\n",getData);
printf("FTGetDllVersion is at address: 0x%x\n",getDllVersion);
printf("FTReportID is at address: 0x%x\n",reportID);
printf("FTProvider is at address: 0x%x\n",provider);

// Call each function and display result
pDllVersion = getDllVersion();
printf("Dll Version: %s\n", pDllVersion);

pProvider = provider();
printf("Provider: %s\n", pProvider);

reportID(name); //not sure what this does - I guess it tells the dll that I am using it.

system("pause"); //wait till keyboard is pressed before entering main loop
while( kbhit() != 1)
{
system("cls"); //clear screen
if (getData(pData))
{
printf("Record ID: %d\n" , data.dataID);
printf("Yaw: %5.2f\n" , data.yaw );
printf("Pitch: %5.2f\n" , data.pitch );
printf("Roll: %5.2f\n" , data.roll );
printf("X: %5.2f\n" , data.x );
printf("Y: %5.2f\n" , data.y );
printf("Z: %5.2f\n" , data.z );
}
else
{
printf("Nothing returned from getData\n");
break;
}
}

// Unload DLL file
FreeLibrary(hinstLib);

return 0;
}


Now, drop dead, please... When I said it's EASY to devs to put Freetrack suport, it's open, have SDK, I didn't think that Oleg will not have time to create a dynamic campain...

Get a life now, please! And I still waisting my time in all this nonsense...

Last edited by LoBiSoMeM; 02-18-2011 at 04:51 AM.
Reply With Quote
  #97  
Old 02-18-2011, 05:04 AM
Wolf_Rider Wolf_Rider is offline
Approved Member
 
Join Date: Dec 2007
Location: Sydney, Australia
Posts: 1,677
Default

@LoBi...

That may or may not be what the interface itself is Lobi (it is also a copy/ paste from the FT site). Perhaps you could explain it to us? ... you know, put it into layman's terms?


I would suggest (based on your comments) that you don't use the FT Interface at all, LoBi
Reply With Quote
  #98  
Old 02-18-2011, 05:35 AM
MadBlaster MadBlaster is offline
Approved Member
 
Join Date: Oct 2010
Posts: 666
Default

I'm not a programmer, but it looks like these are output variables for 6DoF:


if (getData(pData))
{
printf("Record ID: %d\n" , data.dataID);
printf("Yaw: %5.2f\n" , data.yaw );
printf("Pitch: %5.2f\n" , data.pitch );
printf("Roll: %5.2f\n" , data.roll );
printf("X: %5.2f\n" , data.x );
printf("Y: %5.2f\n" , data.y );
printf("Z: %5.2f\n" , data.z );
}
else
{
printf("Nothing returned from getData\n");
break;
}
}


Why can't CoD hook off that? I guess it is "C" language format.
Reply With Quote
  #99  
Old 02-18-2011, 07:27 AM
Blackdog_kt Blackdog_kt is offline
Approved Member
 
Join Date: Jan 2008
Posts: 2,715
Default

Quote:
Originally Posted by LoBiSoMeM View Post
Freetrack has the CRAP TIR interface, the old one, because GAME DEVS DON'T USE FREETRACK INTERFACE IN ALL GAMES!

It's clear ENOUGH for you? And I go further: they don't use Freetrack interface, they dont give an OPEN 6DOF HT solution and EVEN CAN'T TALK ABOUT THE SUBJECT because of NP sick trying to keep a marketing that they clearly see will lose, because any decent today CPU and cheap webcam can provide very good HT experience.

NP can close, I don't care! I care about how I spend MY MONEY in a CPU, MY MONEY in a webcam, mount some led assembly and have all the hardware to have 6DOF HT.

But I need that the game devs put suport for the FREE Fretrack interface, that's have NOTHING TO DO WITH TIR INTERFACE into their games!

BIS devs made it! They have the GUTS to do that! If some company can't survive into market without all this FEAR of a small free software, that uses cheap webcams, its a CRAP company, I'm sorry to said.

It's pathetic... And people still talking nonsense about NP products, policies... They sell cheap IR webcams and mediocre software for HT based on IR detection, by God sake! It's TRIVIAL!!!

This community makes me a little sick. In BIS forums the suport for Freetrack was MASSIVE, even with NP trolls... Here, the community is weak, and maybe the sells prediced with IL-2:CoD made the devs trying to make some cash from "other" sources...

I don't give a crap anymore. If Oleg put Freetrack interface suport in IL-2:CoD, will be good. If not, maybe W-R have more "workarounds" to curse, because the Freetrack community is light years away form mediocre NP.

Simple as that! Bye!
I support alternatives too, but just chill out already. You're doing more damage than good.

And no, i i don't want NP to close because i have tried both FT and trackIR and for me trackIR was smoother and better. If NP closes i'll be stuck with the alternative solutions, however if NP stays in business and has to compete with the open source/free trackers, it's better for everyone: you can use FT with native support, i can use NP because either they will make an even better trackIR or they will start selling cheaper to stay in business..

Sorry mate, but sometimes your one-dimensional arguments are just as bad as those used by the people you are screaming against.


On the other hand, W-R you are dragging this poll the way of the other thread. Please stick to debating how it works there, where we all tried multiple times to explain to you how it works and yet you either refuse to understand or we're having some massive communication breakdown along the way...see my latest post in the other thread where i try to explain it in layman's terms by comparing apples and bananas (yes, it's come to using such simplistic examples because we're apparently having a massive communication issue).

If you want a short explanation, it's this:

Quote:
Originally Posted by julian265 View Post
Windows game controller axes do not need any NP software to interface with. Allowing anyone to control head axes with any game controller is absolutely not a hack, and absolutely not sponging of anyone's copyright or hard work:
1. Head control in games is under no-ones copyright (ie mouse/POV hat/whatever device moving the in-game head).
2. The method that windows game controllers use to interface with games is a Microsoft thing, nothing to do with NP.

I suppose you'll now tell me that the sky is red?
Reply With Quote
  #100  
Old 02-18-2011, 08:27 AM
Wolf_Rider Wolf_Rider is offline
Approved Member
 
Join Date: Dec 2007
Location: Sydney, Australia
Posts: 1,677
Default

If you want to point the finger at someone else, Blackdog... take note of in which direction the other three fingers are pointing
Some just aren't falling for your sophistry and you could probably do well to err, chill out yourself.
Now, I asked a very simple question, which I thought may have helped their FT cause... too bad it didn't and did irrepairable damage instead, considering the calls made were FT no longer uses TIR.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:18 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.