Jump to content
LaunchBox Community Forums

stigzler

Members
  • Posts

    208
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by stigzler

  1. ⚠️ Post presently WIP - will finish with download link soon ⚠️ RomMStar RomMStar syncs your local Launchbox installations with RomM servers, giving you a Storefront-like experience for rom collections. Intro RomM is a self-hosted rom collection manager that helps build a single 'canon' set of roms for each platform. You can then sync these collections with any Launchbox installation (either downloading the full set or only installing the games you want on demand - a bit like the Storefronts experience) It's designed to be simple and easy-to-use. Just add the RomM server (yours or someone else's), match the Launchbox Platform to that on the RomM server and Sync. Pictures Top Tips Make sure the RomM server scrapes with Launchbox as a Metadata Source (ie. games have the LaunchboxID). This prevents duplicates during sync This hasn't been fully tested with the Launchbox auto-import function turned on. Turn it off to be safe or do some testing if you want to keep this on If you want to enable RomMStar badges in BigBox, you will have to turn this on in the settings menu For best results, sync to a 'clean' Launchbox Platform. If you mix local with synced roms, you may experience difficulties.
  2. I gave this a lot of thought for mine. I wanted it to play both OG arcade games, but also other console games that would work well on an arcade machine (e.g. the Tekkens etc). Thus, I needed any controls to map to a typical controller. I went for 8 buttons for the main button panel and then 4 extra ones around the joystick (giving a total of 12 buttons which maps well to any console games including the 4 main buttons, the shoulder buttons and 4 extra for things like start/select etc). My cab has swappable panels so you can simplify/complexify as needed. As for your main question: I'd advise more than 3/4. If you're going to be using a lot of emulators, there's going to be a lot of extra features like pause, fast forward, load/save, etc etc. I went for 8 in total (with P1 as a shift, giving you 16) to give lots of mappable extra buttons. Warning though: you'll need to choose your ipac/control board really carefully to ensure you have enough connectors. An old picture of my CP: Here's some build pics (v old!) in case these help with construction: https://photos.app.goo.gl/2g3Rziahq6giFTQY6
  3. I'm probably being slow, but what actually is it? I've read it twice now and all i'm getting is a "game archive"? So is this just a roms collection on a jbod somewhere or is it an open access archive? confused.com
  4. OK - adding badges programmatically proved to be a hideous PITA. However, you can get your plugin/app to update the relevant theme xaml with he code below. It just inserts the lines you need. You will need to provide it with the theme name. I have tested it on "Default" and it works OK. It's mainly a harmless script as it just adds those lines if 2 lines matching the above format exist. Note: This approach doesn't seem to work with other themes as they appear to have a largely different format to the stock Default bb theme. The black art/idiosyncrasies of BB themes is a bit beyond me tbh, but the code may still provide guidance. using System; using System.IO; using System.Text; using Unbroken.LaunchBox.Plugins; namespace RommStar.Core.Helpers { public static class BigBoxRommStarIconsInjector { private const string TargetConditionFind = "<Condition Binding=\"{Binding ElementName=SaveStates, Path=HasBadge}\" Value=\"False\"/>"; private const string TargetConditionInsert = "<Condition Binding=\"{Binding ElementName=RommStarSynced, Path=HasBadge}\" Value=\"False\"/>"; private const string TargetBadgeFind = "<coverFlow:FlowBadge x:Name=\"SaveStates\" DataContext=\"{Binding SelectedGame}\" BadgeName=\"HasSaveStates\" Style=\"{StaticResource FlowBadgeVisibilityStyle}\"/>"; private const string TargetBadgeInsert = "<coverFlow:FlowBadge x:Name=\"RommStarSynced\" DataContext=\"{Binding SelectedGame}\" BadgeName=\"rommStarSynced\" Style=\"{StaticResource FlowBadgeVisibilityStyle}\"/>"; /// <summary> /// Automatically patches the active theme's GameDetailsView.xaml to include the RommStarSynced badge and condition. /// Call this once when your plugin initializes. /// </summary> public static void PatchThemeXaml(string themeName) { if (string.IsNullOrEmpty(themeName)) return; try { // 1. Locate the active Big Box theme directory via PluginHelper or standard LaunchBox paths string themePath = GetActiveThemeGameDetailsPath(themeName); if (string.IsNullOrEmpty(themePath) || !File.Exists(themePath)) { // Fallback: search common themes directory if active theme path resolution varies return; } string content = File.ReadAllText(themePath, Encoding.UTF8); bool modified = false; // 2. Check and inject the MultiDataTrigger condition if missing if (content.Contains(TargetConditionFind) && !content.Contains(TargetConditionInsert)) { // Insert right after the SaveStates condition line string replacementBlock = TargetConditionFind + Environment.NewLine + " " + TargetConditionInsert; content = content.Replace(TargetConditionFind, replacementBlock); modified = true; } // 3. Check and inject the FlowBadge element if missing if (content.Contains(TargetBadgeFind) && !content.Contains(TargetBadgeInsert)) { // Insert right after the SaveStates badge line string replacementBlock = TargetBadgeFind + Environment.NewLine + " " + TargetBadgeInsert; content = content.Replace(TargetBadgeFind, replacementBlock); modified = true; } // 4. Save back to disk only if changes were made if (modified) { File.WriteAllText(themePath, content, Encoding.UTF8); } } catch (Exception ex) { System.Diagnostics.Debug.WriteLine($"[RommStar] Failed to patch GameDetailsView.xaml: {ex.Message}"); } } private static string GetActiveThemeGameDetailsPath(string themeName) { try { // LaunchBox exposes the core installation directory or theme paths through PluginHelper/StateManager string appDir = Path.GetDirectoryName(typeof(PluginHelper).Assembly.Location); if (string.IsNullOrEmpty(appDir)) return null; string viewsDir = Path.Combine(Constants.LaunchboxRootDir, $"Themes\\{themeName}"); if (!Directory.Exists(viewsDir)) return null; // Search recursively for GameDetailsView.xaml across installed themes var matches = Directory.GetFiles(viewsDir, "Views/GameDetailsView.xaml", SearchOption.AllDirectories); foreach (var match in matches) { // Check if it's currently in use or return the first valid match (or target the user's active theme) // If you want to be precise, you can check which theme folder is currently set in BigBox settings, // or patch all installed themes so it works regardless of what theme the user switches to. return match; } } catch { } return null; } } } You'll obs need to make some changes to suit your own code (e.g. replacing references to Constants class etc).
  5. OK - with the help of @JoeViking245, figured you need to edit your theme's GameDetailsView.xaml in your BigBox theme. You need to add entries as per below: <Border Background="#40131313" CornerRadius="4"> <Border.Style> <Style TargetType="Border"> <Setter Property="Visibility" Value="Visible"/> <Setter Property="Margin" Value="{Binding Converter={StaticResource ScaleConverter}, ConverterParameter='0,0,20,0'}"/> <Style.Triggers> <MultiDataTrigger> <MultiDataTrigger.Conditions> <Condition Binding="{Binding ElementName=SavedGame, Path=HasBadge}" Value="False"/> <Condition Binding="{Binding ElementName=SaveStates, Path=HasBadge}" Value="False"/> <Condition Binding="{Binding ElementName=Documents, Path=HasBadge}" Value="False"/> <Condition Binding="{Binding ElementName=Achievements, Path=HasBadge}" Value="False"/> <Condition Binding="{Binding ElementName=MAMEHighScores, Path=HasBadge}" Value="False"/> <Condition Binding="{Binding ElementName=MultipleDiscs, Path=HasBadge}" Value="False"/> <Condition Binding="{Binding ElementName=MultipleVersions, Path=HasBadge}" Value="False"/> <Condition Binding="{Binding ElementName=NotInstalled, Path=HasBadge}" Value="False"/> <Condition Binding="{Binding ElementName=Installed, Path=HasBadge}" Value="False"/> <Condition Binding="{Binding ElementName=RommStarSynced, Path=HasBadge}" Value="False"/> </MultiDataTrigger.Conditions> <Setter Property="Visibility" Value="Collapsed"/> </MultiDataTrigger> </Style.Triggers> </Style> </Border.Style> <StackPanel Margin="{Binding Converter={StaticResource ScaleConverter}, ConverterParameter='10,10'}" Orientation="Horizontal" Opacity="0.6"> <coverFlow:FlowBadge x:Name="SavedGame" DataContext="{Binding SelectedGame}" BadgeName="HasSavedGame" Style="{StaticResource FlowBadgeVisibilityStyle}"/> <coverFlow:FlowBadge x:Name="SaveStates" DataContext="{Binding SelectedGame}" BadgeName="HasSaveStates" Style="{StaticResource FlowBadgeVisibilityStyle}"/> <coverFlow:FlowBadge x:Name="Documents" DataContext="{Binding SelectedGame}" BadgeName="Documents" Style="{StaticResource FlowBadgeVisibilityStyle}"/> <coverFlow:FlowBadge x:Name="Achievements" DataContext="{Binding SelectedGame}" BadgeName="Achievements" Style="{StaticResource FlowBadgeVisibilityStyle}"/> <coverFlow:FlowBadge x:Name="MAMEHighScores" DataContext="{Binding SelectedGame}" BadgeName="MAME High Scores" Style="{StaticResource FlowBadgeVisibilityStyle}"/> <coverFlow:FlowBadge x:Name="MultipleDiscs" DataContext="{Binding SelectedGame}" BadgeName="Multiple Discs" Style="{StaticResource FlowBadgeVisibilityStyle}"/> <coverFlow:FlowBadge x:Name="MultipleVersions" DataContext="{Binding SelectedGame}" BadgeName="Multiple Versions" Style="{StaticResource FlowBadgeVisibilityStyle}"/> <coverFlow:FlowBadge x:Name="NotInstalled" DataContext="{Binding SelectedGame}" BadgeName="Not Installed" Style="{StaticResource FlowBadgeVisibilityStyle}"/> <coverFlow:FlowBadge x:Name="Installed" DataContext="{Binding SelectedGame}" BadgeName="Installed" Style="{StaticResource FlowBadgeVisibilityStyle}"/> <coverFlow:FlowBadge x:Name="RommStarSynced" DataContext="{Binding SelectedGame}" BadgeName="rommStarSynced" Style="{StaticResource FlowBadgeVisibilityStyle}"/> </StackPanel> </Border> Note the "RommStarSynced" entries at the end of <MultiDataTrigger.Conditions> and the <coverFlow:FlowBadge> entries. Note: use the UniqueId property in your IGameBadge class as the BadgeName. If I figure out how to do this programatically at runtime, I will post an update. Note 2: I don't think you actually need a copy of the icon in the Badges folder. I think it's getting this image from DefaultIcon in the IGameBadge class
  6. I have a couple of custom badges (rommStarSynced.png and installingFromRomm.png) in a custom badge set ("Solid In Color) for a plugin I'm designing: I manually set the badge set in BigBoxSettings.xml: <?xml version="1.0" encoding="utf-8"?> <LaunchBox> <BigBoxSettings> <BadgePack>Solid In Color</BadgePack> The class that should show the rommStarSynced badge: namespace RommStar.Core.Badges { internal class RommSyncedBadge : IGameBadge { public string Name => "Synced with Romm"; public string UniqueId => "rommStarSynced"; public Image DefaultIcon => Properties.Resources.romm40pxOutlined; public int Index { get; set; } = 0; public bool GetAppliesToGame(IGame game) { // IGame default state for Installed is null, Romm Import process will set to either true or false // so we can use this to determine if the game has been processed by Romm and if has - // show romm icon in badge array. return game.GetAllCustomFields().Any(cf => cf.Name == "Romm_RomIds"); } } } I thought this was how you were meant to line things up. However, the badge in question does not show in BigBox (despite the conditional in `GetAppliesToGame` should be returning true): (on an aside, if i set a breakpoint on `GetAppliesToGame` in BigBox debug, it doesn't brake there) It does, however, show in Launchbox (the purple badge at the end): In fact, in launchbox it doesn't require a copy to be in the badge folder. I'm guessing it just gets it via `DefaultIcon` in `InstallingBadge : IGameBadge` Any ideas?
  7. Just showing some appreciation for the less visible improvements you guys are making to LB/BB. Just been doing some work on a plugin and both the LB/BB startup and shutdown are now super reliable and quick. Makes things sooooo much better (both for dev and production). Great work chaps. 👏
  8. Thanks. Bigbox integration first and save state sync later down the tracks....
  9. OK. Back on track and LB's new AdditionalApps system coded in. Updated versions sent to those of you who are testing.
  10. Hold off on testing, folks. I've just figured the V14.0 update has likely introduced a lot of breaking changes to the plugin. They've overhauled the IGame.AdditionalApps System which I leverage a lot in the plugin to include links, documents, apps and game files. basically knackered a lto of my checks. Will update in due course once fixed.
  11. Thanks to those who have volunteered. 🙏 I'm going to centralize communications in this post - please post general thoughts/comments here if you are able. Bug reports/feature suggestions etc to be posted in the github repo: HERE I will contact Beta testers individually to send over the beta build and test romm server details. Initial Testing Setup: Test in a separate Launchbox vanilla installation - not on your live library! Just download the installer HERE. Make sure you're on Version 14.0 ⚠️Disable Automated Imports⚠️ Very important - in LB>Options>Automated Imports Install retroarch emu as per video in OP. You'll also need relevant bios [optional] Install SolidColor (badges) in launchbox/Images/Media Packs/Badges and select in LB>Tools>Manage>Launchbox Themes and Media>Type = Badges (improves readability) [optional] enabled following badges: I'm not sure all the test roms work with retroarch - failur to launch isn't necessarily rommstar (that's my excuse and I'm sticking to it). Errr - think that's it for now. I've likely missed something. 🤷 SolidColor.zip
  12. RomMStar Beta Test: Testers needed! RomMStar syncs your local Launchbox installations with RomM servers, giving you a Storefront-like experience for rom collections. Intro RomM is a self-hosted rom collection manager that helps build a single 'canon' set of roms for each platform. You can then you sync these collections with any Launchbox installation (either downloading full set or only installing the games you want - a bit like the Storefronts experience) It's designed to be simple and easy-to-use. Just add the RomM server (either yours or someone else's), match the Launchbox Platform to that on the RomM server. Pictures Video (badly aligned) BETA TESTERS NEEDED! This is quite complicated behind the scenes, so am desperately needing some help to run it through its paces. If I can get a few beta-testers, I will set up a test RomM server and improve the logging for proper testing. I won't be releasing this until I'm happy it's fit so really needing some help on this! Other feedback welcome Ideas and thoughts welcome. I already have a roadmap of improvements laid out, but things are best designed by the community they serve. Links RomM: https://romm.app/ Github: https://github.com/stigzler/RommStar
  13. Hey @Shoko. This looks interesting, but can't figure it out from your github page. I'm trying to figure out how this works with minerva, for eg. Minerva's 'links' normally point to a full collection 't-file' For eg. psx is a 3TB 'file' (to speak between the lines if you catch my drift). Therefore if you want one specific file out of all those files, you have to download all those files and pick it out. (I'm hoping this is making sense). Can you ask your app to download that one file that you have the original game media for (eg FF7) from Minerva? How does it do this if you normally have to download all the files? Also, can you use it with ReTool dats? that is personalised 1g1r .dat?
  14. 👾🎮🕹️ What features would you like to see in a RomM plugin? 🕹️🎮👾 Hey folks. I'm in the middle of producing a MVP plugin for RomM. The initial scope is to provide a full platform sync for each or all launchbox platforms. Given I'm in the early stages, it feels like a good time to ask the question so I can design with other features in mind. For those of you who know RomM some pics of the early stages that should make sense: For those who don't, RomM is the perfect way to have a centralised 'canon' romset from which all your different launchbox installations can be set up. No more duplication of installing roms, getting the right metadata and media. Set once in RomM and then sync all your launchbox installations form there. It also allows you to have a large centralised store of roms on a sevrer with lots of space and then have a pick, download and play for your client launchbox installs. Think like steam but for roms. For example, I have a home server that serves my roms to all my different installations. Because you can do a "reverse proxy" you can also use a web address to access it (eg. https://games.dave.com) so you don't even have to be on your LAN! I could install them on my licenced Launchbox installation at my Aunt Betty's house whilst I'm having tea and cake. 🫖🍰 Deets: https://romm.app Let me know your thoughts (if anyone actually reads forum posts anymore - thanks Discord [sarcasm]!)
  15. I'm developing a plugin for Romm integration. As part of this, I need to match Romm platforms with Launchbox platforms. The Romm crew have populated their platforms with a launchbox ID. However, verifying this threw up an interesting issue. The PlatformKey in LaunchBox.Metadata.db does not match the match the id in the lb gamesdatabase platform url. Sadly, the romm lbIds seem to be taken from the gamesdatabase ids. For example, For commodore 128, the PlatformKey is 100. But on the gamesdatabase its 118! https://gamesdb.launchbox-app.com/platforms/games/118-commodore-128 So which is the actual key for the platform? Before I do a lot of grind work to be told I chose the wrong one!!
  16. This looks really interesting, but I can only view the videos in 720p which makes them unwatchable for desktop capture. Is the problem my end or did you capture these in 720p?
  17. This is a really interesting project. I have a similar setup (linux server + an arcade machine + a windows based gaming console - both running big box). Props for getting lb up and running on linux and in a docker container to boot. I also felt there had to be a better way to manage multiple installations of lb on a LAN. I got fed up of having to go into the lb interface to add games onto my living room bb machine so made this: However, since then, I have discovered this: https://romm.app/ Think of it like Plex/Jellyfin, but for roms. I tested a load of others, but this came out tops (although it insists on a flat roms structure which is a shame, but on balance, have superior rom matching algorithms). This way I can have a canon set of full romsets on my server, with all the associated media (it's really good at scraping across lots of different meta-data providers) and then 'pull/sync' the roms I want form this onto my client machines. There are a couple of lb plugins I've tried for this, but one was really buggy and the other quite limited. I've scoped and proof-of-concepted a plugin that will allow you to pull a rom from your server to lb OR bb and it will pull all the mateadata + media with it. It'll operate a bit like a steam library. In middle of finishing house renovations atm, but this plugin will be my next priority. I am wanting to keep my arcade machine and living room box 'portable' thus not simply pointing lb to the server roms and media. Glad to see there are others working on this problem and will follow with interest.
  18. Cheers dude. There are many users, but not many contributors in this hobby. You, sir, are the latter. Happy trails.
  19. Starting a plugin has always felt like a bit of a nightmare. So I set up a VS Template for a base plugin which automatically sets you up for the plugin being copied into your LB plugin folder and for debugging. Now you just select: Add > NewProject > Launchbox Plugin pick a name for it and tell it where your LB plugins folder is and it should do the rest. Details and download here: https://github.com/stigzler/LaunchboxPluginBase It's all a bit meta developing this (as in folders etc), so there's a probability that the first release won't work. If so, give me a shout and I'll see what I can do.
  20. Thanks fella, but doesn't really fit my use case. Nice setup though. 👍
  21. Running 'myself' - i.e. via exe double click or VS debug.
  22. Thanks again, Joe. Appreciate your help. Yeah - moving my plugin's folder out of the Plugins folder removed the error. Weirdly, renaming the 'entry point' dll (ie. the one that contains ISystemEventsPlugin etc) did not. However, as stated above, I'm not even sure how long a delay this takes (could even be within one second from logs). Whichever way, along with your start-up times which are really helpful, I'm just going to have to suck it up, I think. Nemmind. EDIT: Just started it via exe without any of my plugins in: 17 seconds. I don't think it's my plugin (despite the missing ref error) - likely just the normal startup time).
  23. Hi @JoeViking245, Thanks for the response. Yes - one does use winforms, but I couldn't find a reference to Microsoft.DotNet.DesignTools.Server anywhere in it and also using .net 9 (as do all dependency libs). I also followed some of your previous advice and downloaded it and put it in the "ThrirdParty" folder. Still no dice on alleviating the error. Extracts from a repeat run today (28 seconds to compile and run): 2026-01-02 11:17:45 AM Game.PlayTime changed from 0 to 41: HAVOC (Players Premier) (Games) 2026-01-02 11:17:49 AM Resolving assembly Microsoft.DotNet.DesignTools.Server, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35... Could not load file or assembly 'Microsoft.DotNet.DesignTools.Server, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified. at System.Reflection.RuntimeModule.GetDefinedTypes() at System.Reflection.RuntimeModule.GetTypes() at Unbroken.LaunchBox.Windows.Root.LoadProcContainer[T](IEnumerable`1 param, ConcurrentDictionary`2& vis) {other instances of this error} 2026-01-02 11:17:49 AM EXCEPTION IGNORED: Unable to load one or more of the requested types. Could not load file or assembly 'Microsoft.DotNet.DesignTools.Server, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified. at System.Reflection.RuntimeModule.GetDefinedTypes() at System.Reflection.RuntimeModule.GetTypes() at Unbroken.LaunchBox.Windows.Root.LoadProcContainer[T](IEnumerable`1 param, ConcurrentDictionary`2& vis) 2026-01-02 11:17:51 AM FIRST CHANCE EXCEPTION: C:\Users\stigz\LaunchBoxDevelopmentInstall\pack:\application:,,,\WpfResources\Background.png at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) 2026-01-02 11:17:52 AM Resolving assembly Presentation.resources, Version=0.8.18.576, Culture=en-US, PublicKeyToken=null... I do note, however, that the error instances only occur in the same second (49s). I'm not sure form the log if the line at 11:17:51 is related to the above error or not (not discernible from the log). Also, I note 4 seconds between 11:17:45 and 11:17:49 which appear to have no log entries in so again, not sure if the Microsoft.DotNet.DesignTools.Server error is related to this or not? In short it's really difficult to pinpoint the origins of this and indeed whether it is this that is causing the startup delays. It's really hard to get any pointers form the log. Doubt there's much you can do or advise, mind. Ryzen2700X, 32 GB DDR4 Ram, VS and LB on NVME ssd. All other drives ssds. Doubt it's my computer. Launch times: Via exe: 16.44s Via VS Debug + Compile: 28s It'd be helpful to know if these kind of times are standard for LB so I can stop looking for anything in my code that's causing slowdowns in compile times. No issue if it is of course, just helpful to know. you did mention 15 seconds - is that via the exe? Debug 2026-01-02 11-17-42 AM.log
  24. I've followed the guide here: https://feedback.launchbox.gg/en/help/articles/9454889-troubleshooting-launchbox-and-big-box-performance but LB startup is still taking around 15 seconds if launched vanilla. That might be OK for normal use, but it makes plugin development really slow given compile + launch time for debugging (think it's even slower when debugger is attached). I'm wondering whether it's my development installation as if I turn on the debug log, there are loads of exceptions during LB initialisation (attached). I note there are a load of unresolved assemblies which do seem to take time according to the timestamp. Any help appreciated. Debug 2025-12-27 03-03-09 PM.log
×
×
  • Create New...