Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Game plugin

Discussing issues that occur during plugin development.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
LizardKing
Posts: 5
Joined: February 3rd, 2008, 4:10 pm

Game plugin

Post 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.

mattcro
Forum Supporter
Posts: 590
Joined: March 8th, 2006, 1:58 pm
Location: Scotland

Post 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.

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post 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.

LizardKing
Posts: 5
Joined: February 3rd, 2008, 4:10 pm

Post 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,

mattcro
Forum Supporter
Posts: 590
Joined: March 8th, 2006, 1:58 pm
Location: Scotland

Post 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/

LizardKing
Posts: 5
Joined: February 3rd, 2008, 4:10 pm

Post 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!

stevens3
Posts: 1
Joined: November 1st, 2012, 10:58 pm

Re:

Post 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.

Post Reply