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

Show current game playing plugin?

Place your requests for plugins here

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

dperrow
Plugin Author
Posts: 276
Joined: May 27th, 2011, 2:13 pm
Location: Stirling, Scotland

Re: Show current game playing plugin?

Post by dperrow »

oops forgot the attachment again!
Chkexe.zip
You do not have the required permissions to view the files attached to this post.

trihy
Posts: 100
Joined: January 17th, 2018, 1:43 pm

Re: Show current game playing plugin?

Post by trihy »

dperrow wrote:hi, here's something else to try. I've added function 4 same parameters as function 3 and does the same thing except that it uses the values returned by the previous f1 or f3 call so uses very little cpu. So if you have 2 lines on display you can use:

$dll(Chkexe,3,1,)
$dll(Chkexe,4,1,)

Hi. Thanks

Tried

$dll(Chkexe,3,1,)
$dll(Chkexe,4,1,)

But second line keeps showing app even after closing related app. And both show game name. cpu is around 0,5%

So I tried

$dll(Chkexe,3,1,)
$dll(Chkexe,4,2,)

Now it show game description, but second line keep showing description even after closing related app. cpu is around 0,5%

Then I tried

$dll(Chkexe,4,1,)
$dll(Chkexe,4,2,)

Works fine, but both lines keep showing even after closing related app. cpu is around 0,1% in this case, just like other plugins, which is great. Not sure if app keep showing can be fixed on this case.

Edit also noticed on latest case, that launching a different app wont change whats on screen, it will keep showing the previous one.

Edit2. By default $dll(Chkexe,4,1,) shows FIREFOX on lcd screen. I dont have firefox on this computer.

dperrow
Plugin Author
Posts: 276
Joined: May 27th, 2011, 2:13 pm
Location: Stirling, Scotland

Re: Show current game playing plugin?

Post by dperrow »

My bad, too busy watching the F1 qualifying!!!

Note: you MUST use function1 or function3 before function4.

fixed a couple of bugs:
Chkexe.zip
You do not have the required permissions to view the files attached to this post.

trihy
Posts: 100
Joined: January 17th, 2018, 1:43 pm

Re: Show current game playing plugin?

Post by trihy »

dperrow wrote:My bad, too busy watching the F1 qualifying!!!

Note: you MUST use function1 or function3 before function4.

fixed a couple of bugs:
Chkexe.zip

Lol :D miss the old days of F1 :cry:

So will try again

$dll(Chkexe,3,1,)
$dll(Chkexe,4,1,)

And report back.

Thanks!

trihy
Posts: 100
Joined: January 17th, 2018, 1:43 pm

Re: Show current game playing plugin?

Post by trihy »

Hi.

Tried this


$dll(Chkexe,3,1,)
$dll(Chkexe,4,2,)

Been working really great.

I just noticed that if you exceed string lenght, instead of showing until the last string allowed, lcdsmartie just freeze and crash.

Not a big deal really.

dperrow
Plugin Author
Posts: 276
Joined: May 27th, 2011, 2:13 pm
Location: Stirling, Scotland

Re: Show current game playing plugin?

Post by dperrow »

good, good.

What string length are you exceeding?

trihy
Posts: 100
Joined: January 17th, 2018, 1:43 pm

Re: Show current game playing plugin?

Post by trihy »

dperrow wrote:good, good.

What string length are you exceeding?

Hi.

String size length on /2 caused the crash.


Using this:


$dll(Chkexe,3,1,)
$dll(Chkexe,4,2,)

Id put on the cfg:

Strefighterv.exe=Street Fighter V/Street Fighter V (ストリートファイターV SutorītoFaitāFaivu?) es un juego de peleas publicado por Capcom, quien co-desarrollo el juego con Dimps. Es el quinto título de la serie principal de juegos de Street Fighter. El juego fue lanzado en febrero de 2016 para PlayStation 4 y Microsoft Windows, con un lanzamiento posterior en Linux, y tendrá la posibilidad de funcionar como juego multiplataforma entre las versiones de Windows y PlayStation 4.

And lcdmsartie crashed. I thought is was because of jap and weird symbols, but just deleted the latest half part of the description and worked fine.

I really didnt count the characters. Maybe notepad++ has character count. Will have to try it.

Anyway I dont plan to use such long descriptions. It was mainly for testing purposes.

Thanks.

dperrow
Plugin Author
Posts: 276
Joined: May 27th, 2011, 2:13 pm
Location: Stirling, Scotland

Re: Show current game playing plugin?

Post by dperrow »

okay, found that bug.
Chkexe.zip
You do not have the required permissions to view the files attached to this post.

trihy
Posts: 100
Joined: January 17th, 2018, 1:43 pm

Re: Show current game playing plugin?

Post by trihy »

dperrow wrote:okay, found that bug.
Chkexe.zip
Hi. Thanks. Working fine so far.

Btw this build uses 0,1% cpu :shock:

Post Reply