Hello, thanks again for the help. Maybe I'm wrong, but I have my games sorted alphabetically automatically in the skin. If I use this form you write I must rewrite manually the order games everytime I'll add a new game, no?balala wrote:You're welcome.
But I don't think it would be necessary. Instead I'd add into the [Variables] section,one variable for each game. Something like this:and so on.Code: Select all
[Variables] Game1=NAME-OF-THE-FIRST-GAME Game2=NAME-OF-THE-SECOND-GAME Game3=NAME-OF-THE-THIRD-GAME ...
Then I'd use these variables into the appropriate Process plugin measures:Each such measure will return -1 if the appropriate game isn't running and 1 if it is.Code: Select all
[MeasureGame1] Measure=Plugin Plugin=Process ProcessName=#Game1# [MeasureGame2] Measure=Plugin Plugin=Process ProcessName=#Game2# [MeasureGame3] Measure=Plugin Plugin=Process ProcessName=#Game3# ...
This is not a good enough solution to your problem?
The problem is this skin gets the name of the games of the folder automaticly. I do this way because everytime I've installed a new game I must reorder manually every game, or have them disordered.
Example:
Game1=ABZU
Game2=Assetto Corsa
If after I install Age Of Empires, I want that Game2 is Age Of Empires, not Assetto Corsa.
PD: I figured out that the name of the program and the name of the game is not necessarily the same (maybe the game ABZU has a executable that is Launcher.exe), so my previous solution won't work.