Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - JC10001

Pages: [1]
1
Scripting / Current display name WITHOUT using magic token?
« on: April 01, 2017, 10:17:54 AM »
I'm trying to uppercase the first letter of [DisplayName] and I keep getting all lower case letters.  The issue seems to be when AttractMode is evaluating the magic token.

I found another thread about it here but I can't get the solution posted to work.  I think because he is using fe.game_info and that's not a magic token.

I've tried fe.list.name - but it doesn't dynamically update and it always holds the same value.

As a workaround, I'm trying to see if there is there a way to get the currently selected display name WITHOUT using a magic token?  Is this possible?  If so, how?

2
Scripting / Display a random image from scraper folder?
« on: January 17, 2017, 02:58:50 PM »
I would like to display a random image in my layout.

If the emulator is 'mame' - it would pull the image from the scraper -> mame -> snap folder.
If the emulator is 'snes' - it would pull the image from the scraper -> snes -> snap folder.

Or even better (more generic) - if there are games from multiple systems in a list (e.g. fighting games from different systems) - have it pull a random screenshot from one of the games in the list.

Can someone tell me how this is done please?  I tried searching but I could not find anything.  Thank you.

Pages: [1]