Jump to content
LaunchBox Community Forums

stigzler

Members
  • Posts

    129
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

stigzler's Achievements

32-Bit GPU

32-Bit GPU (5/7)

50

Reputation

1

Community Answers

  1. Version 1.0.0

    0 downloads

    A tiny plugin that allows you to refresh all games in Launchbox + Bigbox to show any changes made in the xml files outside of LB/BB. This adds System menu items to LB and/or BB which cause the refresh. You can also edit settings.ini in the plugin directory to customise its operation. Github repo: HERE
  2. ReloadData Plugin View File A tiny plugin that allows you to refresh all games in Launchbox + Bigbox to show any changes made in the xml files outside of LB/BB. This adds System menu items to LB and/or BB which cause the refresh. You can also edit settings.ini in the plugin directory to customise its operation. Github repo: HERE Submitter stigzler Submitted 08/12/2025 Category Third-party Apps and Plugins  
  3. Hi folks, Developing a super simple plugin to force BB reload of all Platform xmls. Achieve this via: internal class SystemMenuHook : ISystemMenuItemPlugin { public string Caption => "Update Games"; public System.Drawing.Image IconImage => Properties.Resources.GamesUpdate; public bool ShowInLaunchBox => true; public bool ShowInBigBox => true; public bool AllowInBigBoxWhenLocked => true; public void OnSelected() { PluginHelper.DataManager.ForceReload(); } } Using the BB default Theme. If I run the ForceReload() command via the plugin and then enter into the PlatformCategories view, and navigate to a Category which triggers a video playing, I get the following unhandled exception: Object reference not set to an instance of an object. App: Big Box Version: 13.22 Theme: Default Type: System.NullReferenceException Site: Void ReflectPublisherCreator() Source: Unbroken.LaunchBox.Windows at Unbroken.LaunchBox.Windows.Views.ImageVideoView.<>c__DisplayClass25_0.ReflectPublisherCreator() at System.Windows.Threading.DispatcherOperation.InvokeImpl() --- End of stack trace from previous location --- at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout) at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout) at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout) at Unbroken.LaunchBox.Windows.Threading.Invoke(Action callback, DispatcherPriority priority) at Unbroken.LaunchBox.Windows.Views.ImageVideoView.PlayVlcVideo(String filePath, Int32 tries) at FactoryRecommenderVerifier.GenerateSetChooserTransmitter(Object, String filePath, Int32 tries, FactoryRecommenderVerifier) at Unbroken.LaunchBox.Windows.ViewModels.ImageVideoViewModel.set_VideoPath(Object value) at AutomatedEngineFactory.GenerateSetChooserTransmitter(Object, Object value, AutomatedEngineFactory) at Unbroken.LaunchBox.Windows.ViewModels.ImageVideoViewModel.Init(ImageSource source, String video) at Unbroken.LaunchBox.Windows.BigBox.ViewModels.FiltersViewModelBase.TestOrder(ImageSource v) at Unbroken.LaunchBox.Windows.ImageLoader.HandleCalcDic(Object i) at DetailedElementFactory.GenerateSetChooserTransmitter(ImageLoaderQueueItem i, DetailedElementFactory) at Unbroken.LaunchBox.Windows.ImageLoader.Enqueue(String imagePath, Action`1 onLoadedAction) at Unbroken.LaunchBox.Windows.BigBox.ViewModels.FiltersViewModelBase.LoadDetails(Guid instance) at FactoryPolicyEditor.SortTransformer(Object, Guid instance, FactoryPolicyEditor) at Unbroken.LaunchBox.Windows.BigBox.ViewModels.FiltersViewModelBase.<>c__DisplayClass223_0.PeekSynchronizer() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) Recent Log: 11:09:25 Exception It does not happen in other Views (well as many as I could test in anyway). If I run BB again and go to a PlatformCategories view, I do not get the error until I run the plugin again. Have ensured plugin running in vanilla LB environment (making sure it's not due to any changes I've made to xmls). I'm assuming this is a bug in the View or ViewModel? I would sign it off as trivial, but requiring Users not to use the PlatformCategories view feels very poor. This is part of a wider project to allow users to add games to BigBox remotely from another PC whilst bigbox is running, thus the ability to Update the games lists post-adding from within BB options is kinda crucial (stop users having to restart BigBox each time). Shame it's being stimied by this one bug - is it easily fixable? Happy to do anything I can to help (is the default them on a repo somewhere?). Had a quick look at Themes\Default\BigBoxTheme.sln, but couldn't event find ImageVideoView - so not sure where to start. Hope someone can help! Progress: I noted a reference to `Unbroken.LaunchBox.Windows.Views.ImageVideoView.PlayVlcVideo` in the exception, and changed the default player to VLC. This stopped the bug. However, I also see you're depreciating VLC media player so is this a backlog item (i.e. to refactor the relevant code to use media player rather than VLC??). If so - any scheduling of this for a future release yet, as you also warn us NOT to use VLC media player at risk of freezes and crashes. I know reliance on 3rd party apps can be a pain as can be retiring their implementations!
  4. Can you move this over to my topic as originally requested so as not to take the OP off topic? Also, struggling to understand what you're saying here. A quick vid via OBS is your best option alongside showing your directory structures.
  5. If you post details of the errors or reproduction steps in the linked post, happy to take a look. A video of the error via OBS and YouTube would also be helpful
  6. Nope - I did IM him out of courtesy, just didn't hear back from him. Sure he's super-duper busy.
  7. Version 1.00

    7 downloads

    This supports a PS4 controller running through DS4Windows emulating an Xbox360 controller. The button numbers are different from those that would be produced by a native Xbox (360/One) controller, thus the pack. Both the PS button and the Trackpad press register as Button 11 (or the XBox Guide button) - thus the inclusion of the PS Button as an alt (I use the trackpad as a hotkey/combo button, given that holding down the PS button will disconnect the controller - thus the trackpad as default).
  8. EDIT: Further investigation seems to imply it's Launchbox dlls that are the issue. Firstly, 3rd party dlls are loaded fine. The refer in .csproj: <ItemGroup> <Reference Include="Caliburn.Micro"> <HintPath>..\..\Core\Caliburn.Micro.dll</HintPath> </Reference> <Reference Include="Caliburn.Micro.Platform"> <HintPath>..\..\Core\Caliburn.Micro.Platform.dll</HintPath> </Reference> <Reference Include="LaunchBox"> <HintPath>..\..\Core\LaunchBox.dll</HintPath> </Reference> <Reference Include="System.Windows.Interactivity"> <HintPath>..\..\Core\System.Windows.Interactivity.dll</HintPath> </Reference> <Reference Include="Unbroken"> <HintPath>..\..\Core\Unbroken.dll</HintPath> </Reference> <Reference Include="Unbroken.LaunchBox"> <HintPath>..\..\Core\Unbroken.LaunchBox.dll</HintPath> </Reference> <Reference Include="Unbroken.LaunchBox.Plugins"> <HintPath>..\..\Core\Unbroken.LaunchBox.Plugins.dll</HintPath> </Reference> <Reference Include="Unbroken.LaunchBox.Windows"> <HintPath>..\..\Core\Unbroken.LaunchBox.Windows.dll</HintPath> </Reference> </ItemGroup> Caliburn, System dlls are all loaded fine. Seocndly, I deleted and re-added caliburn (via `Add Project Reference`) from the Core folder without any issues. However, when I tried doing this with LB dlls, I get the above error. It feels like unless you're willing to pay a monthly subscription for the Theme Creator app, theming is broken in launchbox?
  9. Hi. Having difficulty getting started with this. Not wanting to use the monthly subscription (!!) Community Theme Creator. Know Xaml + WPF so would prefer that. Have created a copy of Default, but all the assemblies are missing and as a result, no design view: I moved over to CriticalZoneV2 that I found in my themes folder as this has a 'References" folder. I tried copying over the missing dlls from launchbox/core but this didn't resolve the missing dependencies: Tried importing it manually, only to be greeted with: I hate to say it, but it's all a bit jank, really. How do I get up and running editing themes in Visual Studio. I've seen Jason's videos from 8 years ago, but these are super outdated now and seemingly irrelevant.
  10. Did you get anywhere with this? In the same boat and banging my head against a brick wall here. Not the smoothest of software design, really...
  11. I updated and expanded my C64Dreams sister App. It adds the following features: Makes installation into existing (or indeed vanilla) Launchbox installations a lot easier (fully automated). Automates adding other C64 games to the C64Dreams collection without having to mess about with .bat, .vbs, .ahk files. Also automates adding to the Launchbox database (not having to add it manually). Lets you search the C64Dreams collection for specific games in-app rather than having to launch Launchbox each time. Fixes broken Images for Platforms, Platform Categories and Playlists. Also lets you use your own images and automates the installation to launchbox process. Details here:
  12. Hi Folks. I wrote an app as an add-on to Zombeaver's excellent C64Dreams project. Features: Makes installation into existing (or indeed vanilla) Launchbox installations a lot easier (fully automated). Automates adding other C64 games to the C64Dreams collection without having to mess about with .bat, .vbs, .ahk files. Also automates adding to the Launchbox database (not having to add it manually). Lets you search the C64Dreams collection for specific games in-app rather than having to launch Launchbox each time. Fixes broken Images for Platforms, Platform Categories and Playlists. Also lets you use your own images and automates the installation to launchbox process (GIMP template attached to this post for convenience). The C64Dreams Project: C64DreamsTool Pics: C64DreamsTool video: C64DreamsTool Downloads: Github: https://github.com/stigzler/C64DreamsTool/releases/tag/Release Images XCF: PlatformLogos.xcf
  13. Great response, thanks retrogirl. I suspected from looking at the files that it would be constructing the folder structure right with the right files in etc. Just started expanding my C64Dreams Importer to automate this process. It's the edge cases that'll get me (all the bats and vbs' looked the same, for example - but I bet there are edge cases that require different code somewhere). I know @Zombeaver is super busy so likely doesn't have time,. but if anyone knows these edge cases let me know!
×
×
  • Create New...