Page 1 of 1

Game plugin

Posted: February 3rd, 2008, 4:35 pm
by LizardKing
Hello everyone,

I would like to make a plugin so I can show some game data. I'm a big fan of racing games, and I'd like to show info like RPM, speed, remaining fuel, etc. Can this be done with LCD Smartie? I'll write the plugin in VC++ if that is possible. Any help will be appreciated.

Best Regards,

Thanks.

Posted: February 3rd, 2008, 6:30 pm
by mattcro
If your game has a documented method of passing data to another program, then you can do it - shared memory, API calls or similar. Some games don't have any published method of extracting data, so you're stuck unless there's a hack of some sort.

I don't know much about this subject, but there are others here who've written plugins like this.

Smartie has built-in support for some online multiplayer games via QStat, but I don't think there is much in the way of Smartie plugins for specific games.

Posted: February 3rd, 2008, 10:11 pm
by limbo
As mattcro said it depends on the game.

Many games are supporting values extraction. :P
But you have to search on the web to find if there is an option for the game you trying to integrate with Smartie. After that the plugin creation is a simple thing.

Posted: February 4th, 2008, 11:18 am
by LizardKing
Heya!!

The games are GTR2 and RACE 07, and I know I can get the information from memory since I friend of mine has done some LEDS which show gear, RPM extracted directly from memory adresses. I have his code (done in VB), although I'm not really sure how to start...should I download the template at the top post and start with that? Thx for the feedback!

Best regards,

Posted: February 4th, 2008, 10:18 pm
by mattcro
Well, if you can get the required data/stats from the games using your friend's VB code, you're halfway there.

Download the VB plugin framework (are you using .NET or VB6?) and some existing plugins with source (to see how they work). That should get you started.

The VB.NET framework is here: http://lcdsmartie.cvs.sourceforge.net/l ... netplugin/

Posted: February 4th, 2008, 11:05 pm
by LizardKing
Hello mattcro,

I was thinking in doing it with visual C++ studio express edition and the template provided...but I don't mind using VB at all...About the game, I have the memory adresses so I think I will be able to manage this...I'll keep you in touch of my progress ;D

Thanks!

Re:

Posted: November 1st, 2012, 11:02 pm
by stevens3
LizardKing wrote:Hello mattcro,

I was thinking in doing it with visual C++ studio express edition and the template provided...but I don't mind using VB at all...About the game, I have the memory adresses so I think I will be able to manage this...I'll keep you in touch of my progress ;D

Thanks!
Hi LizardKing, I know this is an old thread, but are you still around? I have a question about the programming side of this.