Open the X-Sim notifier or download it!
motion simulator DIY community Follow us on  Twitter Add to iGoogle
motion simulator DIY community

Iracing info?

Moderator: sirnoname

on 22.12.2008, 16:54

Re: Iracing info?

New postby Mr Burns on 22.12.2008, 16:54

egoexpress wrote:What is "normal G loading"? ...Vertical G?


This is also in the Nascar 2003 plugin I am testing, I don't know what it is for?
It looks like the g forces acting on the car, when I hit a wall it jumps very high on the impact moment.
User avatar
Mr Burns
X-SIMER
 
Posts: 156
Joined: 16.10.2008, 17:17
Local time: 07.09.2010, 04:52
Obtained thanks: 24


on 22.12.2008, 17:34

Re: Iracing info?

New postby sirnoname on 22.12.2008, 17:34

I have to substract 9.8 in the plugin to get zero output here.
If all testeres says: "yes it is vertical force" I will move it back in the list.

Regards
SirNoName
User avatar
sirnoname
Executive X-Sim software developer & BETA section leader
 
Posts: 2278
Joined: 08.11.2006, 20:12
Location:Germany Augsburg, Germany
Local time: 07.09.2010, 04:52
Obtained thanks: 462


on 24.05.2009, 21:25

Re: Iracing info?

New postby iRacingSteph on 24.05.2009, 21:25

sirnoname wrote:Yes, my fault.

Here is a better one ...

iRacingPlugin-V3.zip


Hi Sirnoname,

Do you agree to share your source code with me ?
In fact, I write a dll for iRacing to display split times and another usefull info on screen, and some guys request a compatibilities with X-Sim tools.

So I start to create a shared memory between my DLL and a new X-Sim sender (based on GPxPatchPlugin source code)
It's work but I don't want to rewrite the same code :)
In fact, I'm looking only for the links between iRacing telemetry datas and the X-Sim datas structure...

post15985.html#p15985
iRacingSteph
new member
 
Posts: 12
Joined: 27.04.2009, 04:49
Local time: 07.09.2010, 04:52
Obtained thanks: 0 time


on 24.05.2009, 21:55

Re: Iracing info?

New postby sirnoname on 24.05.2009, 21:55

Don't do that please.
Ok, for iRacing this will work but not for other games because they will use another DLL file.
The easiest way is using the shared memory area that x-sim will provide:
http://www.x-simulator.de/beta/visual_export.html
Code: Select all
#define maxnumberofgaugeslots  40
typedef struct SLOTSTRUCT
{
int  slotstarted[maxnumberofgaugeslots];
int  remoteshutdown[maxnumberofgaugeslots];
int  slotdata[maxnumberofgaugeslots];
int  visualaxis[6];
int  positionx;
int  positiony;
int  saveposition[maxnumberofgaugeslots];
int  moveall;
int  sync[maxnumberofgaugeslots];
} SharedSlotStruct;

You first have to define the 40 slots in the gauge setup of the profiler, this memory area is over network available at the profiler2 and the sender.
For example Slot1 = speed, Slot2 = RPM (all as LCD output = shared memory).
http://www.x-simulator.de/beta/setup.html
Image
Save this gauge profile for later use.
Start Sender, Profiler and iRacing. (If all is started the shared memory will work, press start button is not needed)

Now your application can get the shared gauge values as above:
Code: Select all
int  slotdata[maxnumberofgaugeslots];

Ok, it is always a integer, but you can multiply it in the gauge setup of the profiler with i.e. 100 and devide it in your application by 100 ;)

Why this complicated way:
-All games can use your D3D proxy because every game will export the unified output to the profiler.
-The 40 slot config settings in the profiler can be merged in any existing profile if you save it as gauge config only.
-Your work will be less, only make up to 40 Displays in the D3D screen and set the shared values, rest will make the user ;)
User avatar
sirnoname
Executive X-Sim software developer & BETA section leader
 
Posts: 2278
Joined: 08.11.2006, 20:12
Location:Germany Augsburg, Germany
Local time: 07.09.2010, 04:52
Obtained thanks: 462


on 24.05.2009, 22:02

Re: Iracing info?

New postby iRacingSteph on 24.05.2009, 22:02

Ok, my DLL is written basically for iRacing user, NOT for X-Sim user...
And I don't want to rewrite the DLL for 2 ou 3 X-Sim users so I try to make my plugin compatible with X-Sim, it seems you don't want this way and request me to rewrite the dll. I haven't time for this...

Another thing, my DLL slice the track in 1000 partiels, I'm not sure I can do with X-Sim...
iRacingSteph
new member
 
Posts: 12
Joined: 27.04.2009, 04:49
Local time: 07.09.2010, 04:52
Obtained thanks: 0 time


on 24.05.2009, 22:09

Re: Iracing info?

New postby sirnoname on 24.05.2009, 22:09

Perhaps I am missunderstanding something?
I thought the D3D proxy DLL can be placed in other game directories and it will also make the same output like it did with iRacing?
It was not my intention to make you work, really not!
User avatar
sirnoname
Executive X-Sim software developer & BETA section leader
 
Posts: 2278
Joined: 08.11.2006, 20:12
Location:Germany Augsburg, Germany
Local time: 07.09.2010, 04:52
Obtained thanks: 462


on 24.05.2009, 22:13

Re: Iracing info?

New postby sirnoname on 24.05.2009, 22:13

Another thing, my DLL slice the track in 1000 partiels, I'm not sure I can do with X-Sim...

You are talking about a graphic map as a overlay?
I do not know the reason for that track slice :(

Perhaps you can make a red circle around all, what is done by you.
I am sorry, never played iRacing and therefore I cannot know which is normal and which is added by the D3D plugin:
Image
User avatar
sirnoname
Executive X-Sim software developer & BETA section leader
 
Posts: 2278
Joined: 08.11.2006, 20:12
Location:Germany Augsburg, Germany
Local time: 07.09.2010, 04:52
Obtained thanks: 462


on 26.07.2009, 16:39

Re: Iracing info?

New postby FiveDemonBag on 26.07.2009, 16:39

sirnoname wrote:Perhaps I am missunderstanding something?
I thought the D3D proxy DLL can be placed in other game directories and it will also make the same output like it did with iRacing?
It was not my intention to make you work, really not!

Perhaps you can make a red circle around all, what is done by you.
I am sorry, never played iRacing and therefore I cannot know which is normal and which is added by the D3D plugin:


Steph is really busy right not and taking a few months off to take care of other things, so I thought I would answer for him.

His DLL uses the C++ library iRacing provides to read telemetry and then output the data using a DirectX9 proxy. The telemetry is specific to iRacing, so would require a recode to work with other sims/games.

I put red squares around what the DLL adds to the screen. The only data iRacing currently outputs is in the 3 black boxes in the corners.

I'm not sure, but I think his intent was to add an X-Sim interface (output) to the DLL, since only one program can access iRacing telemetry at a time. If he created a separate plugin for X-Sim/iRacing, then people would have to choose either that or the HUD. Since he is already accessing the telemetry with his DLL, adding X-Sim communication would not cause this problem. Programming his DLL to read telemetry from other games/X-Sim would be nice, but would require even more work, and may not be compatible.
Attachments
FiveDemonBag
new member
 
Posts: 6
Joined: 26.07.2009, 16:01
Local time: 06.09.2010, 22:52
Obtained thanks: 0 time


on 25.02.2010, 02:28

Re: Iracing info?

New postby Lance_ on 25.02.2010, 02:28

Hey folks,

Was looking at the iRacing info in profiler.

Is there more info that wasn't added from the plugin API?

I'm particularly wondering about lap times, best lap times. Are those in the API? or are they calculated from the Total Time that I see being output?

And was looking at the iRacing API example, stuff like Flags, Remaining Laps, Lap#, Current Time, Time Remaining and other info, aren't in the X-Sim iRacing Plugin.

Cheers,
Lance_
full member
 
Posts: 35
Joined: 26.07.2008, 22:41
Local time: 06.09.2010, 22:52
Obtained thanks: 5


on 26.02.2010, 18:26

Re: Iracing info?

New postby Lance_ on 26.02.2010, 18:26

Another quick question.

Do we have access to the source code of the included plugins? or do we have to wait for the dev that made the plugin to update it? Or even worse, have to recode one entirely? :-)

Cheers, :uups:
Lance_
full member
 
Posts: 35
Joined: 26.07.2008, 22:41
Local time: 06.09.2010, 22:52
Obtained thanks: 5


PreviousNext

Similar topics

Return to Force-Sender & Plugins


Social Bookmarking
Bookmark bei: Mr. Wong Bookmark bei: Del.icio.us Bookmark bei: Webnews Bookmark bei: Icio Bookmark bei: Oneview Bookmark bei: Linkarena Bookmark bei: Newskick Bookmark bei: Folkd Bookmark bei: Yigg Bookmark bei: Digg Bookmark bei: Reddit Bookmark bei: Simpy Bookmark bei: StumbleUpon Bookmark bei: Slashdot Bookmark bei: Netscape Bookmark bei: Furl Bookmark bei: Yahoo Bookmark bei: Spurl Bookmark bei: Google Bookmark bei: Blinklist Bookmark bei: Blogmarks Bookmark bei: Diigo Bookmark bei: Technorati Bookmark bei: Newsvine Bookmark bei: Blinkbits Bookmark bei: Ma.Gnolia Bookmark bei: Smarking Bookmark bei: Netvouz

Who is online

Users browsing this forum: No registered users and 0 guests