Jump to content
LaunchBox Community Forums

About This File

LaunchBox Video Recovery v1.0

Recover missing playlist and platform videos

LaunchBox Video Recovery scans your video library and helps you recover missing platform or playlist videos by finding likely matches elsewhere in your LaunchBox video collection.

The script can then optionally create symbolic links to the best matches, restoring videos without duplicating files.

This is especially useful for large LaunchBox libraries where videos may already exist but are stored under a different platform or theme folder.


What This Script Does

LaunchBox Video Recovery can:

• Scan LaunchBox Playlist XML files for missing videos
• Scan LaunchBox Platform XML files for missing videos
• Search your video library for possible matches
• Score candidate videos based on similarity
• Let you choose the correct match
• Create symbolic links to restore missing videos

The script helps recover missing videos without copying or duplicating large files.


Why This Exists

Large LaunchBox video libraries can become fragmented over time.

Common causes include:

• Media packs installed for the wrong platform
• Theme videos stored in different platform folders
• Moving media between drives
• Playlists referencing videos that no longer exist
• Duplicate or renamed videos

Instead of manually searching thousands of files, this script finds and links likely matches automatically.


Features

• Recover Playlist videos
• Recover Platform videos
• Dry-run mode (test without making changes)
• Interactive selection of candidates
• Candidate scoring system to identify best matches
• Automatic symlink creation for recovered videos
• Report generation for all actions


Match Score Explanation

When the script finds possible replacement videos, it displays them with a '[ match score ]':

      Missing: Aquarium Collection

0. [1170] H:\LaunchBox\Videos\Final Burn Neo\Theme\Aquarium.mp4
1. [960] H:\LaunchBox\Videos\MAME\Aquarium Gameplay.mp4
2. [820] H:\LaunchBox\Videos\Arcade\Aquarium Trailer.mp4
3. [610] H:\LaunchBox\Videos\Arcade\Aquarium Intro.mp4
The number in brackets is the match score calculated by the script.

Higher scores mean the script believes the video is a closer match.

Score Guide

Score Range Meaning
1000+ Very strong match
700–1000 Likely correct
400–700 Possible match
Below 400 Weak guess

Example:

     Missing: Aquarium Collection
     Candidate: Aquarium.mp4
The script sees:

• "Aquarium" → strong match
• "Collection" → missing word (small penalty)

Result: high score


How Matching Works

The script evaluates candidate videos using several factors:

• Exact word matches
• Partial word matches
• Filename similarity
• Platform folder relevance
• Penalties for extra or missing words

This helps identify videos that are likely correct even when stored in another platform folder.


Requirements

• Windows
• PowerShell
• Administrator privileges (required for symlink creation)

LaunchBox does not need to be running while the script runs.


How to Run

Place the script anywhere and run it with PowerShell from inside that location:

         powershell -ExecutionPolicy Bypass -File .\LaunchBox-Video-Recovery-v1.0.ps1
The script will guide you through:
  1. Selecting Playlist or Platform recovery

  2. Choosing dry-run mode (shows what will be changed without changing anything yet)

  3. Setting report output folder

  4. Selecting video search roots


Example Workflow

Example scenario:

A playlist references a missing video:

       H:\LaunchBox\Videos\Playlists\Aquarium Collection.mp4
But the actual video exists here:
       H:\LaunchBox\Videos\Final Burn Neo\Theme\Aquarium.mp4
The script detects the match and can create:
       H:\LaunchBox\Videos\Playlists\Aquarium Collection.mp4
       → symlink to H:\LaunchBox\Videos\Final Burn Neo\Theme\Aquarium.mp4
LaunchBox will then play the video normally.

Typical Output

Example:

Playlist XML files checked : 718
Missing destination videos : 365

Missing: Aquarium Collection

0. [1170] H:\LaunchBox\Videos\Final Burn Neo\Theme\Aquarium.mp4
1. [960] H:\LaunchBox\Videos\MAME\Aquarium Gameplay.mp4
2. [820] H:\LaunchBox\Videos\Arcade\Aquarium Trailer.mp4
You can then select the correct match.

Safety

The script is designed to be non-destructive.

It:

• Does not delete videos
• Does not overwrite existing videos
• Only creates symbolic links to existing files

Dry-run mode lets you preview all changes before anything is created.


Recommended Usage

This script is most useful for:

• Very large video libraries
• Recovering missing playlist videos
• Fixing broken media references
• Consolidating video libraries across platforms


Feedback

If you encounter issues or have suggestions, feel free to post feedback.

Launchbox Video Recovery - menu.png

Launchbox Video Recovery - running.png

Edited by -McFly-
tidied up the readme


User Feedback

You may only provide a review once you have downloaded the file.

There are no reviews to display.

×
×
  • Create New...