Open latest posts
motion simulator DIY community 

Kart Racing Pro Motion Support

Wünsche und Eigeninitiativen etc.
Wishes and one's own initiatives.

Moderator: Raceray

on 06.01.2011, 04:45

Kart Racing Pro Motion Support

Postby BanjoDubs on 06.01.2011, 04:45

Has anyone else tried this sim?

http://kartracing-pro.com/?page=about

It's pretty good and is gaining some momentum. It would be nice to have support for this in xsim. The developer has a telemetry dll and example code on his site. Is anyone else already working on support for this?
BanjoDubs
full member
 
Posts: 19
Joined: 06.01.2011, 04:42
Local time: 19.05.2013, 17:06
Obtained thanks: 0 time


on 06.01.2011, 13:07
Re: Kart Racing Pro Motion Support

Postby bvillersjr on 06.01.2011, 13:07

I think the demo is free. The demo seems to be the same as the full version. You just enter a license code into the demo to make it a full version.

I can buy a copy for the community if it is needed.

http://kartracing-pro.com/?page=downloads
Regards,

Bernard (bvillersjr)
http://www.SimXperience.com
User avatar
bvillersjr
X-Sim² BETA crew
 
Posts: 1197
Joined: 11.10.2008, 18:26
Location:United States Ohio, USA
Local time: 19.05.2013, 03:06
Obtained thanks: 325


on 07.01.2011, 00:37
Re: Kart Racing Pro Motion Support

Postby BanjoDubs on 07.01.2011, 00:37

Yes the demo does not support the telemetry feed. I have the full version so I am willing to test the plugin.

I am led to believe that this game is not compatible with any rFactor stuff. Am I wrong in thinking that the telemetry.dll in the plugins folder is what the example .c file is calling?
BanjoDubs
full member
 
Posts: 19
Joined: 06.01.2011, 04:42
Local time: 19.05.2013, 17:06
Obtained thanks: 0 time


on 07.01.2011, 01:23
Re: Kart Racing Pro Motion Support

Postby BanjoDubs on 07.01.2011, 01:23

Yep that makes sense, useless sending me a build you have no idea will work.
I am also willing to pay for a license if required. You do make a good point about the release version, its early days for the sim.

I have cleared up how the telemetry works, it appears as though the sim fires off a call back to your code and sends the data, this would cause blocking of the sim if not returned immediately. I asked the developer if they would consider another method like a memory map so that the blocking would not occur.
BanjoDubs
full member
 
Posts: 19
Joined: 06.01.2011, 04:42
Local time: 19.05.2013, 17:06
Obtained thanks: 0 time


on 07.01.2011, 01:55
Re: Kart Racing Pro Motion Support

Postby BanjoDubs on 07.01.2011, 01:55

sirnoname wrote:Key received, thanks Bernard :thbup:
No, there is no blocking, because my code generates a async memory mapped files like you explain and do the rest in the sender plugin dll file.


Sorry mate, I wasnt saying xsim would block, I was just saying that KRP waits for the return of the callback before continuing with the processing of the sim, he does not fire those of async.
BanjoDubs
full member
 
Posts: 19
Joined: 06.01.2011, 04:42
Local time: 19.05.2013, 17:06
Obtained thanks: 0 time


on 07.01.2011, 02:00
Re: Kart Racing Pro Motion Support

Postby BanjoDubs on 07.01.2011, 02:00

The telemetry.dll plugin file is a sample dll that the developer made to log the telemetry to a file. To my knowledge its not required. I'm also trying to get my version of the test code working at the moment but can't see my output file. Ive made a simple dll in C++ express using just the sample code but cant get it to work either.
BanjoDubs
full member
 
Posts: 19
Joined: 06.01.2011, 04:42
Local time: 19.05.2013, 17:06
Obtained thanks: 0 time


on 07.01.2011, 02:04
Re: Kart Racing Pro Motion Support

Postby BanjoDubs on 07.01.2011, 02:04

I can see that the original dll is in C and mine is C++. Its got some weird stuff in the function names and also has different entry points. Are you able to make it work? I'm not that great with c++, im a delphi guy.
BanjoDubs
full member
 
Posts: 19
Joined: 06.01.2011, 04:42
Local time: 19.05.2013, 17:06
Obtained thanks: 0 time


on 07.01.2011, 02:11
Re: Kart Racing Pro Motion Support

Postby BanjoDubs on 07.01.2011, 02:11

Yeah mine is something like ?Startup@@YAHXZ. Not sure why this is happening, like I said im new to c++. If you get a solution let me know, please?
BanjoDubs
full member
 
Posts: 19
Joined: 06.01.2011, 04:42
Local time: 19.05.2013, 17:06
Obtained thanks: 0 time


on 07.01.2011, 02:39
Re: Kart Racing Pro Motion Support

Postby BanjoDubs on 07.01.2011, 02:39

So after doing some reading im guessing im on the right track that there needs so be some code or compile option regarding name mangling?
BanjoDubs
full member
 
Posts: 19
Joined: 06.01.2011, 04:42
Local time: 19.05.2013, 17:06
Obtained thanks: 0 time


on 07.01.2011, 02:46
Re: Kart Racing Pro Motion Support

Postby BanjoDubs on 07.01.2011, 02:46

I got the functions displaying correctly in dependency walker by changing the code from:

__declspec(dllexport) char *GetModID()

to:

extern "C" __declspec(dllexport) char *GetModID()

I will try and get it working with the sim
BanjoDubs
full member
 
Posts: 19
Joined: 06.01.2011, 04:42
Local time: 19.05.2013, 17:06
Obtained thanks: 0 time



Next

Similar topics

Return to Suggestions for improvements - Verbesserungsvorschläge


Add this Thread to:
Add this page to Mr. Wong Add this page to Del.icio.us Add this page to Webnews Add this page to Icio Add this page to Oneview Add this page to Linkarena Add this page to Newskick Add this page to Folkd Add this page to Yigg Add this page to Digg Add this page to Reddit Add this page to Simpy Add this page to StumbleUpon Add this page to Slashdot Add this page to Netscape Add this page to Furl Add this page to Yahoo Add this page to Spurl Add this page to Google Add this page to Blinklist Add this page to Blogmarks Add this page to Diigo Add this page to Technorati Add this page to Newsvine Add this page to Blinkbits Add this page to Ma.Gnolia Add this page to Smarking Add this page to Netvouz

Who is online

Users browsing this forum: No registered users and 0 guests

cron