Light Sock
Members-
Posts
160 -
Joined
Recent Profile Visitors
3,326 profile views
Light Sock's Achievements
-
LaunchBox XML Cleaner (great for MAME merged roms) (keep entries for games that you have) View File Latest version and support here : https://github.com/gravelfreeman/launchbox-xml-cleaner --- This script cleans a LaunchBox platform XML so it only keeps entries for games that actually exist in a local roms folder. It is especially useful when a MAME platform XML was created from `MAME Arcade Full Set...` import but your local ROM folder only contains part of that set, and you want the XML reduced to the games you actually have while still preserving additional applications (clones) from merged romsets. LaunchBox's Scan For Removed MAME Roms... feature removes clone entries from merged sets because those clone files are stored inside the parent rom.zip. Although it was designed around this MAME workflow, it can also be used with other LaunchBox platform XML files. What It Does The cleaner scans the current ROM folder and compares it against the provided LaunchBox XML. It keeps a game when a local ROM exists for that game, including: - the main Game and ApplicationPath - any linked AdditionalApplication entries for the same GameID After the main game pass, it removes orphaned metadata entries that no longer belong to a kept game: AdditionalApplication GameControllerSupport AlternateName How to Use Paste a <Platform>.xml file in it's corresponding roms folder Paste _LB_XML_Cleaner.ps1 and _LB_XML_Drop.cmd files in the roms folder Drag and drop the Platform.xml file onto the _LB_XML_Drop.cmd launcher Command line If you prefer using command line, run the PowerShell script directly and point it to the XML file and ROM folder you want to validate. powershell.exe -NoProfile -ExecutionPolicy Bypass -File ".\_LB_XML_Cleaner.ps1" "C:\Path\Platform.xml" -RomsPath "C:\Path\Roms" powershell.exe -NoProfile -ExecutionPolicy Bypass -File ".\_LB_XML_Cleaner.ps1" -XmlPath "C:\Path\Platform.xml" -RomsPath "C:\Path\Roms" powershell.exe -NoProfile -ExecutionPolicy Bypass -File ".\_LB_XML_Cleaner.ps1" -PreviewOnly -XmlPath "C:\Path\Platform.xml" -RomsPath "C:\Path\Roms" powershell.exe -NoProfile -ExecutionPolicy Bypass -File ".\_LB_XML_Cleaner.ps1" -OutputPath "C:\Path\Cleaned.xml" -XmlPath "C:\Path\Platform.xml" -RomsPath "C:\Path\Roms" powershell.exe -NoProfile -ExecutionPolicy Bypass -File ".\_LB_XML_Cleaner.ps1" -InPlace -XmlPath "C:\Path\Platform.xml" -RomsPath "C:\Path\Roms" Flags - `-XmlPath`: LaunchBox XML file to clean. Can also be passed as the first positional argument. - `-RomsPath`: Folder containing the ROMs or CHDs to scan. - `-PreviewOnly`: Run the cleanup without writing any file. - `-OutputPath`: Write to a specific output path instead of replacing the source XML. - `-InPlace`: Replace the source XML directly. If `-OutputPath` is not provided, the default behavior already performs a safe backup-and-replace workflow. - `-RomExtensions`: File extensions treated as ROMs. Default: `.zip`, `.7z`, `.chd`. The script never modifies or deletes files or folders. It only reads the folder content and writes a new XML based on local roms. Submitter Light Sock Submitted 03/09/2026 Category Platform Media
-
Version 1.0.0
2 downloads
Latest version and support here : https://github.com/gravelfreeman/launchbox-xml-cleaner --- This script cleans a LaunchBox platform XML so it only keeps entries for games that actually exist in a local roms folder. It is especially useful when a MAME platform XML was created from `MAME Arcade Full Set...` import but your local ROM folder only contains part of that set, and you want the XML reduced to the games you actually have while still preserving additional applications (clones) from merged romsets. LaunchBox's Scan For Removed MAME Roms... feature removes clone entries from merged sets because those clone files are stored inside the parent rom.zip. Although it was designed around this MAME workflow, it can also be used with other LaunchBox platform XML files. What It Does The cleaner scans the current ROM folder and compares it against the provided LaunchBox XML. It keeps a game when a local ROM exists for that game, including: - the main Game and ApplicationPath - any linked AdditionalApplication entries for the same GameID After the main game pass, it removes orphaned metadata entries that no longer belong to a kept game: AdditionalApplication GameControllerSupport AlternateName How to Use Paste a <Platform>.xml file in it's corresponding roms folder Paste _LB_XML_Cleaner.ps1 and _LB_XML_Drop.cmd files in the roms folder Drag and drop the Platform.xml file onto the _LB_XML_Drop.cmd launcher Command line If you prefer using command line, run the PowerShell script directly and point it to the XML file and ROM folder you want to validate. powershell.exe -NoProfile -ExecutionPolicy Bypass -File ".\_LB_XML_Cleaner.ps1" "C:\Path\Platform.xml" -RomsPath "C:\Path\Roms" powershell.exe -NoProfile -ExecutionPolicy Bypass -File ".\_LB_XML_Cleaner.ps1" -XmlPath "C:\Path\Platform.xml" -RomsPath "C:\Path\Roms" powershell.exe -NoProfile -ExecutionPolicy Bypass -File ".\_LB_XML_Cleaner.ps1" -PreviewOnly -XmlPath "C:\Path\Platform.xml" -RomsPath "C:\Path\Roms" powershell.exe -NoProfile -ExecutionPolicy Bypass -File ".\_LB_XML_Cleaner.ps1" -OutputPath "C:\Path\Cleaned.xml" -XmlPath "C:\Path\Platform.xml" -RomsPath "C:\Path\Roms" powershell.exe -NoProfile -ExecutionPolicy Bypass -File ".\_LB_XML_Cleaner.ps1" -InPlace -XmlPath "C:\Path\Platform.xml" -RomsPath "C:\Path\Roms" Flags -XmlPath : LaunchBox XML file to clean. Can also be passed as the first positional argument. -RomsPath : Folder containing the ROMs or CHDs to scan. -PreviewOnly : Run the cleanup without writing any file. -OutputPath : Write to a specific output path instead of replacing the source XML. -InPlace : Replace the source XML directly. If -OutputPath is not provided, the default behavior already performs a safe backup-and-replace workflow. -RomExtensions : File extensions treated as ROMs. Default: .zip, .7z, .chd. The script never modifies or deletes files or folders. It only reads the folder content and writes a new XML based on local roms. -
I'm so happy to see this! I'm the one who made the PR for the LaunchBox importer in romm. Wish I knew you were working on something like this before spending days on it xD. I think a plugin using romm's api is much better so props to you for doing this. I'll test it eventually and report back any issues on GH if there's any. In the meantime I was wondering how you're managing save syncing between LaunchBox and Romm? Last question, is it only metadata or it's also syncing images, videos and manuals?
-
Unbelievable work! Out of +1000 games in my best set of MAME roms, I found the following roms missing from your 1G1R scope. I believe many of these roms are currently handled in other emulators like Daphne, Naomi, etc. Personally I migrate these out of those emulators in favor of MAME. Shader support in MAME core (RA), and also it's easier to update whole romsets with MAME compared to arcade board specific emulators. Not a big deal since I can add these manually but just in case you share my point of view whether they should be included, here's an updated list of games that works great in MAME. cliffhgr cobra (~ might want to double check this one) dlair gtfore06 mach3 psyvaria raycris solarwar spacewar tetris thayers usvsthem vf2 videopin Now I'd like to know if your configuration files and nvram presets could be used or mass converted with a script to the RetroArch MAME core? Like many, I'm not a fan of MAME static overlays and lacking of shaders. Not sure if you're aware of koko-aio shaders but a guy called estefan3112 used koko's shaders paired with the best MAME overlays out there and the result is stunning. Once you try it you can most likely never go back. Here's the link and I hope to pick your completionist curiosity and maybe we could find a way to automate all of this. I understand the sheer amount of work that you must've spent building this per-configuration project. https://github.com/estefan3112/koko-aio-slang Respect to you and your work sir!
- 81 comments
-
-
Mr. RetroLust's MAME Lights Out Bezels Revisited
Light Sock commented on kloug666's file in Platform Bezels/Overlays
-
Additional Apps - Shader Glass - Not Working As Expected
Light Sock replied to ghettowario's topic in Troubleshooting
I simplified the AHK script and fixed all issues from this thread in this tutorial : Probably works for other emulators like PS2, etc. -
Light Sock started following Add Shaders to Xemu Xbox Emulator Tutorial
-
Hey, just sharing a quick tutorial because, I spent a few hours making this work. Basically I'm using Retroarch for most of my emulators and shaders. Especially the koko-aio crt shaders that are in my opinion the most immersive and realistic. The issue is that some consoles doesn't have a retroarch core yet making it impossible to add shaders. Fortunately someone called mausimus created an open-source app, ShaderGlass, which overlays any glsl or slang shaders on top of pretty much anything. Sounds fun, but it doesn't work as simply as you'd want. Here's how I made it work : 1. First you need a working Xemu emulator configurated. 2. Now let's modify some Xemu parameters : First, under Display tab, you need to disable fullscreen and fullscreen on startup : A little further down the page you'll want to set the display mode to Stretch and set the aspect ratio on Native : 3. Now you'll want to install the latest stable version of ShaderGlass from their official GitHub : https://github.com/mausimus/ShaderGlass/releases You can then import any missing RetroArch shaders like the missing koko-aio that are fullscreen : Set the input mode to Clone : Save your setup as a custom profile, call it something like xemu.sgp : 4. Now in Launchbox modify your Xemu emulator and remove the -fullscreen flag in the command-line parameters. Should be looking like this now : 5. Now, still in LaunchBox's Xemu emulator options, replace the Running Script by (update paths accordingly) : WinWait, ahk_exe xemu.exe WinWaitActive, ahk_exe xemu.exe Run, D:\LaunchBox\ThirdParty\ShaderGlass\ShaderGlass.exe -f D:\LaunchBox\ThirdParty\ShaderGlass\presets\xemu.sgp Sleep, 1000 WinActivate, ahk_exe xemu.exe WinWaitActive, ahk_exe xemu.exe WinWaitClose, ahk_exe xemu.exe WinClose, ahk_exe ShaderGlass.exe Basically what it does is simply : Wait for Xemu emulator to be ready Run ShaderGlass fullscreen with your profile Give back the focus to Xemu so that your controller works When Xemu end, exit ShaderGlass You would think it's done but unfortunately you still require borderless gaming to get Xemu fullscreen without being actually fullscreen. Otherwise your shader will clip on both sides and look like this : 6. Install the legacy open source version of Borderless Gaming which is still working great up to this day on Windows 11 : https://legacy.borderlessgam.ing 7. Add Xemu to your Favorites which means it's going to fullscreen window the app automatically : 8. Check Run on Startup under Options dropdown. Now everything is automated and working! You might wonder why I'm not using ResizeRaccoon which does the same thing? I tested it and it's working if you're not using BigBox as Windows shell instead of explorer.exe. In my case I'm shelling bigbox.exe so Resize Raccoon doesn't work because it's a system tray only app. It would be great if the dev fix this but I don't have time right now to raise an issue on their Github. It would be best in the future because it's open source compared to borderless gaming which is now paid. By the way this is working perfectly in BigBox. Enjoy!
-
Light Sock started following System Playlist Clear Logo Sets and Mame No-Nag Updated Monthly, Current Version:
-
- 20 comments
-
- artwork
- clear logos
-
(and 4 more)
Tagged with:
-
Thank you @WallyWonka for the great template. I re-created those that were missing for the Japan exclusives. I followed the original pictures I could find on the internet. I believe there's a translation for those games now and they're actually all good titles! If you want to update your pack, hop this meets your quality standards.
-