Jump to content
LaunchBox Community Forums

Is there a way to switch theme/romlist 'dynamically'


Jfarro

Recommended Posts

Hi, I'm Joe, the guy behind Geektoolkit on youtube.  I recently made this video about attract mode (This shows what I'm trying to do on launchbox) 

About 1:26 in I do a demo where I use a facial recognition camera to switch the game list and theme from a DC Comics theme to a Marvel based one.  I did this in attract mode using a 'displays' plugin mod.

I've decided to switch to Bigbox...I'd purchased it, and in the end it's really what I want.  But now I want to find out how to do the same thing I did in attract mode in Big box. 

1) I'd like to switch the theme without shutting it down and restarting it from either a keypress, a message, an API call...whatever I can. is there an extensability that would let me control it on that level?
2) I'd like to switch the game list as well...ideally without shutting it down, renaming xml files, and restarting it.  I think I can do this one possibly with dynamic filters and keyboard presses which I can automate from my arduino or python (or c# even).  
3) I'm wondering if I can also switch directly to a Platform. Say I want a keypress/event to go directly to NES, but another signal to take me directly to a Genesis/Megadrive platform.

I'm wondering if someone's done this, if so please let me know. If not, but someone has an idea of where to start please let me know...I can do the research I'm just trying to save myself the initial stumbling around of the 'how'.

My goal is to port the facial recognition system over, but also to have an NFC based arcade switcher where I can have my daughter scan an amiibo and have it show her game list, and then I scan a different one and it shows mine. Or I scan say a Ryu character and have it show fighting games.

Thanks in advance. I'm hoping this is doable, as I'd love to contribute to this community.

Link to comment
Share on other sites

Something like this is potentially doable via a plugin, though I don't know of any already made that would do what you want. I'll address each point below individually to give you a starting point, but after that you may have to experiment a bit to get it all working the way you want. Also wanted to point out all of the below will require C# programming as well as WPF/XAML.

1a) There is a keyboard mapping to switch theme's, but you don't pick what theme you're going to, you simply move to the next.
1b) You could in theory use a plugin to change a variable passed to an element in the WPF XAML view that would drive which images would display in the theme and change that variable via plugin. This would not actually be changing Big Box theme's but you could easily set up styles inside of the WPF to make the whole experience look completely different based on that variable (requires the use of a theme that implements a IBigBoxThemeElementPlugin from our plugin library)

2) This greatly depends on what you would like but you should be able to change this on the fly with a plugin as well (Requires use of IBigBoxMainViewModel and potentially IDataManager in our plugin library)

3) Would be done the same way 2 is

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...