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

Technical threads All discussions about technical issues

Reply
 
Thread Tools Display Modes
  #1  
Old 09-19-2012, 12:16 PM
bolox bolox is offline
Approved Member
 
Join Date: May 2008
Posts: 351
Default

Quote:
so what exactly do you need to be able to use the data accessed by the simhq guy, to be able to use it for your gauges ?
The easiest way would be for CoD to output 'old style devicelink' outputs.

This would entail the CoD script doing:
1) reading the request packet sent from udpspeed,
This bit would probably need to read from an ini file to set up the IP address and port
2)ordering the data from this packet into an array or similar.
This could be simplified/eliminated IF the contents of the packet is a fixed, known set say for a BFP gauge set using~ 10 parameters.
A more universal system would be better tho.
3)Then each parameter must be associated with the relevant CoD parameter and read this data, There is a problem in converting units as IAS is given in km/h in Luft AC and mp/h in British AC. Doable in code but another complication Indicated ASI is also possibly nit accurate
4)write this converted data into the reply packet
5)send it

that's my take on what needs to be coded- actually doing it is beyond my talents

this is the nearest example of something similar i've found
http://msdn.microsoft.com/en-us/library/tst0kwb1.aspx

http://tools.ietf.org/html/rfc768
shows udp protocol

devicelink doesn't use checksums

Quote:
btw, isnt it possible to have some very limited 3D version of the gauges so it avoids the 3D/2D problem you mentioned before ? with most gfx cards having multiple connectors these days and the minimal GPU resources needed to display a 2 color static image i would have hoped we dont need to run a 2e pc to just display the 2e screen with the UDP method
anything is possible An MG produced program that displayed the 'wondewoman' gauges- (editable, reposition/sizing ability, saveable profiles,...) would be nice as a free bonus in the sequel
As to wether modern cards won't affect fps i couldn't say for sure (4 yrs ago with IL2 it was definately a problem)
http://forums.ubi.com/showthread.php...-thread/page30
Reply With Quote
  #2  
Old 09-18-2012, 04:48 PM
Pudfark Pudfark is offline
Approved Member
 
Join Date: Apr 2011
Location: Republic of Texas
Posts: 363
Default

If this becomes doable?
I'd jump on it in a heart beat.
Reply With Quote
  #3  
Old 09-19-2012, 08:28 AM
mazex's Avatar
mazex mazex is offline
Approved Member
 
Join Date: Oct 2007
Location: Sweden
Posts: 1,342
Default

Quote:
Originally Posted by Skoshi Tiger View Post
When COD was first released I tried to get communication sesion going with the UDP protocol. I had previously managed to get a delphi program up and running for a devicelink connection with the original IL2, But with COD I fell in well over my head in the smelly stuff of C#
Hey! As a developer I have to object here... You call C# smelly compared to Delphi that is really Pascal++? And why use Delhi at all for devicelink coding against IL2 when you can use C++?
__________________
i7 2600k @ 4.5 | GTX580 1.5GB (latest drivers) | P8Z77-V Pro MB | 8GB DDR3 1600 Mhz | SSD (OS) + Raptor 150 (Games) + 1TB WD (Extra) | X-Fi Fatality Pro (PCI) | Windows 7 x64 | TrackIR 4 | G940 Hotas
Reply With Quote
  #4  
Old 09-19-2012, 09:44 AM
Skoshi Tiger Skoshi Tiger is offline
Approved Member
 
Join Date: Nov 2007
Location: Western Australia
Posts: 2,197
Default

Quote:
Originally Posted by mazex View Post
Hey! As a developer I have to object here... You call C# smelly compared to Delphi that is really Pascal++? And why use Delhi at all for devicelink coding against IL2 when you can use C++?
Just what I had at the time! But your right 'Real Men' program in C++.
Reply With Quote
Reply

Thread Tools
Display Modes

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 09:48 AM.


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