int3
-
Posts
21 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Downloads
Gallery
Blogs
Posts posted by int3
-
-
On 3/6/2019 at 6:13 PM, retroplay said:
Using bigbox unified theme. Where can i download the video backgrounds for playlists like MARIO, STREETFIGHTER etc?
I have emu movies paid account but cannot for the life of me work out where to get the video and wheel image from, any help please?
I'm not sure what kind of links I can post here but search for "HPPC2.Full.System.Install", it's a 12gb download. Extract and go to HyperPC\Attract\menu-art\snap and search in the folder for "Collection". You get 47 videos 720p you can use for the playlists
Edit: you also get the wheels from \menu-art\wheel
-
@Jason Carr only problem in using SystemEventTypes.SelectionChanged is I don't have a way to get the currently selected platform (from the platforms view). It fires when I open BigBox and when I move up or down, but since there's no game selected I can't use PluginHelper.StateManager.GetAllSelectedGames()[0].Platform. Maybe if you add a GetSelectedPlatform() to StateManager?
-
@Jason Carr glad you like it. I'm attaching a small code I tried now, it only generates the log for the SystemEvent :X
-
hey jason is there any way to get the platform selected from the platforms menu?
I'm getting the platform from the game with
SystemEventTypes.SelectionChanged -> GetAllSelectedGames()[0].Platform
but I wanted to change colors from the platforms menuLooking at the api I see
IBigBoxThemeElementPlugin.OnSelectionChanged
but it doesn't seem to be firing or maybe I'm doing something wrong (not sure if I'd have to handle OnUp(), OnDown(), etc)The idea is when I open BigBox or go to "View Platforms" get the currently selected platform, and when I move up or down get the newly selected, etc.
Thank you
-
-
Ok first let me say I'm doing everything the lazy way
docs -> https://www.yeelight.com/download/Yeelight_Inter-Operation_Spec.pdf
- you have to activate lan control from the app
- the lamp will listen on 55443 for raw tcp json commands (NOT http)
(philips hue, for example, you send commands via http post)the recommended way to start would be doing an SSDP discover on your network to get info about the lamp(s) (ip/port/etc). I'm just hardcoding the ip I get from the app/router.
I'm also not checking for any server replies so I had to put that sleep on shutdown, because it was disconnecting before powering off :x
-
I created a simple plugin to integrate launchbox/bigbox with my yeelight rgb.
It kind of simulates a backlight (I have the bulb behind the tv) but I think it looks better, for this case at least
The light turn on when I start bigbox, change the color based on selectedgame -> platform and turn off when I exit..
Here's how it looks right now
I don't plan in doing a public release but I can share the code if anyone gets interested.
- 3
-
14 hours ago, EazyCheeze1978 said:
Awesome! Well, thank you for offering; I do hope either you or someone else can try to pick this up. Sounds interesting, all in all , anyway
Here is a starting point if someone wants to create this plugin
public void OnSelected(IGame selectedGame) { var launchBoxPath = AppDomain.CurrentDomain.BaseDirectory; foreach (var emulator in PluginHelper.DataManager.GetAllEmulators()) { foreach (var emulatorPlatform in emulator.GetAllEmulatorPlatforms()) { if (emulatorPlatform.Platform == selectedGame.Platform && emulatorPlatform.IsDefault) { WshShell wsh = new WshShell(); IWshShortcut shortcut = wsh.CreateShortcut( Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "\\" + selectedGame.Title + ".lnk" ); shortcut.TargetPath = launchBoxPath + "\\" + emulator.ApplicationPath; shortcut.Arguments = emulatorPlatform.CommandLine + " \"" + launchBoxPath + selectedGame.ApplicationPath + "\""; shortcut.WorkingDirectory = Path.GetDirectoryName(shortcut.TargetPath); shortcut.Save(); break; } } } }
It's working for my case where I have emulators and games relative to launchbox folder, and retroarch as default for everything.
You'd have to check for absolute paths and other configurations and since I'm using the game title as the filename, remove/replace invalid characters, etc.
Edit: for some reason after I refresh the page the "code block" is highlighting stuff as gray
- 2
Smart Light Integration
in Third-Party Applications and Plugins (Development and Beta Testing)
Posted
I think @Jason Carr forgot to add GetSelectedPlatform(). I'm on 9.8-beta-10 and cannot see the method :X But when it gets added I'll post a new video