Jump to content
LaunchBox Community Forums

Light Sock

Members
  • Posts

    161
  • Joined

Files posted by Light Sock

  1. LaunchBox XML Cleaner (great for MAME merged roms) (keep entries for games that you have)

    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.

    2 downloads

       (0 reviews)

    0 comments

    Updated

  2. Snappy

    This theme is a simplified version of the default LaunchBox theme, designed for instant responsiveness and stability. I created it to address issues such as memory leaks and crashes that often occur when managing large game libraries over extended periods. To achieve these improvements, certain elements like videos in the game view have been removed. While not intended for everyday use, this theme prioritizes performance for situations where stability is more important than additional features.
    Please feel free to suggest any features. I will gladly consider adding them as long as they can be implemented without reintroducing previous issues.

    214 downloads

       (0 reviews)

    4 comments

    Submitted

  3. Starcraft Sound Pack

    Audio have been taken from original Broodwar game in source game files. Hope you enjoy!
    Find latest version here https://github.com/Emulga/BigBox-Starcraft-Sound-Pack

    141 downloads

       (0 reviews)

    0 comments

    Updated

×
×
  • Create New...