-
Posts
307 -
Joined
-
Last visited
-
Days Won
2
-McFly- last won the day on April 27 2023
-McFly- had the most liked content!
About -McFly-
- Birthday 02/16/1971
-McFly-'s Achievements
32-Bit GPU (5/7)
213
Reputation
-
speed up Launchbox Precache Manager - Speed up your build
-McFly- commented on -McFly-'s file in Third-party Apps and Plugins
You may need to install the WebP Image extension if you don't have it already from the Windows Store. Here's a powershell script to install it: winget source update winget install --id 9PG2DK419DRG -s msstore --accept-package-agreements --accept-source-agreements If winget/msstore is blocked on your machine, open the Store page directly: Start-Process "ms-windows-store://pdp/?productid=9PG2DK419DRG" I'll add this to the program so you don't have to do this step. -
speed up Launchbox Precache Manager - Speed up your build
-McFly- commented on -McFly-'s file in Third-party Apps and Plugins
@PSYCHO_SEAN Apologies to you... I just found out today after taking a couple of months to create all my .webp images and 'turning them all on' it doesn't work as intended. ChatGPT informed me when I began this that this would work, I had no reason to suspect it was lying to me as I've built some other software with it that worked as expected. Let's call this a lesson learned So - I shouted at it lots and told it to give me back my sanity, and this is the result. Hard-links need to be created for every .webp in the _Precache folder with a .png extension so LB and BB see them and show them. The LB DEV team are currently working on a way to have all .webp images render correctly like PNG and JPG etc. files, so this fix is only until they get that added to the main program. Once they get that squared away, this step won't be needed. The good news is that this will create alias files so no extra hard drive space is needed, it simply adds a 'shortcut' next to every .webp file with the same name as a .png... This needs to be done after the images have been activated in menu item 2. I've attached a working .ps1 file below that does exactly that for you to run against your playstation .webp images (you'll need to make sure the path is correct in the .ps1 file at the top). It actually looks through the entire Image\_Precache directory and adds an alias for every .webp file. It took me about 30 minutes to do all of my 2.5 million .webp's. LPM-PNG-Alias-Builder.zip Sorry I didn't actually look into this before asking people to test it, and I'm sorry it took me so long to get back to you with a proper answer. It's been a busy few weeks, I'll do better. (Of course you maybe figured this out for yourself and wrote something similar or better, I know we're all 'dabblers' in these things ) -
speed up Launchbox Precache Manager - Speed up your build
-McFly- commented on -McFly-'s file in Third-party Apps and Plugins
-
speed up Launchbox Precache Manager - Speed up your build
-McFly- commented on -McFly-'s file in Third-party Apps and Plugins
-
speed up Launchbox Precache Manager - Speed up your build
-McFly- commented on -McFly-'s file in Third-party Apps and Plugins
-
-McFly- changed their profile photo
-
speed up Launchbox Precache Manager - Speed up your build
-McFly- commented on -McFly-'s file in Third-party Apps and Plugins
-
-McFly- started following Launchbox Precache Manager - Speed up your build
-
Version 1.2 PS
63 downloads
LaunchBox Precache Manager (LPM) Mass image optimizer + precache system for LaunchBox libraries (PowerShell 5.1, ASCII-only). TL;DR LPM scans your LaunchBox Images folder, builds a compressed WebP/JPEG precache into: LaunchBox\Images\_Precache …then (optionally) swaps your original image folders for the precache using NTFS junctions. Original art is protected in: Images\_Originals LaunchBox/Big Box browsing gets faster and lighter You can restore originals at any time Designed for very large libraries (hundreds of thousands to millions of images). What’s included This package contains two main scripts: LB-Precache-Manager.ps1 – interactive front-end menu (the “manager”) Build-LaunchBox-Thumbnails-Parallel.ps1 – the “engine” that does the heavy lifting Optional (recommended): cwebp.exe – Google WebP encoder (best compression / speed) Launcher: Launch-LPM.cmd (optional convenience) You can also run the manager directly with PowerShell. High-level workflow Audit your Images folder (counts, types, savings estimates). Build thumbnails (create/update files in Images\_Precache). Backfill later (fill gaps only after partial runs or new content). Activate Precache (parks originals into _Originals, junction-swaps to _Precache). Restore Originals (undo junction swap, put everything back). Rebuild existing precache later with a new profile if you want tighter compression. Important notes up front Close LaunchBox and Big Box before running (especially Activate/Restore). Locked folders will be skipped. Back up first. Make a backup/snapshot of your LaunchBox folder if you’re cautious (recommended for first-time users). LPM does not change your game metadata except when you explicitly use: Clean XML references (only removes references to images already moved to _BadImages). Remote / network / external path warning (important) LPM is built for local, fixed disks. If your LaunchBox path is a mapped drive / UNC path / remote share, some operations will refuse to run and you will see: Remote paths not supported; run on the Launchbox PC. This prevents multi-day failures, broken junctions, and extreme slowdowns. SAFE vs FULL run mode At startup you’ll choose a run mode: SAFE: low impact (older/USB systems) FULL: uses hardware recommendations for faster multi-threaded work (best on SSD/NVMe) FULL mode will also show detected hardware and recommended defaults (workers/batch sizing). Why counts don’t always match It’s normal to see differences between: a simple file count script, and what the engine prints during scanning/building Reasons: The engine may walk additional internal paths (depending on mode and what already exists in your Images tree). “Visited directories” and “files matched” are progress counters, not a strict “real folder count.” Bottom line: don’t panic if counts don’t line up perfectly, especially after multiple runs or after Activate/Restore operations. Handling locked folders / “file in use” During Activate/Restore (and sometimes builds), you may see locked items skipped. What it means: LaunchBox/Big Box/Explorer/AV has something open. What LPM does: prints a warning continues with the rest (doesn’t abort the entire run) Fix: close LB/BB re-run the option (safe to re-run) Installation Extract the zip anywhere (Desktop/tools folder). Run one of: Launch-LPM.cmd (recommended convenience) or open PowerShell and run: .\LB-Precache-Manager.ps1 Recommended: Run PowerShell as Administrator for: junction swap operations optional Defender exclusion standby-cache clearing (RAM file cache) Logging LPM-Answers-Last.json This stores the last answered prompts so you can re-run the same build easily (Repeat mode uses this). This is NOT a log and remains on by default. Session logs can be viewed or deleted from the install folder. Batch mode also maintains small state/summary files so it can resume safely. Main Menu (Manager) You’ll see: Main Menu [0] Audit images (recommended first step) [1] Build Thumbnails [2] Activate Precache (junction swap) [3] WebP -> PNG hardlink aliases (LaunchBox compatibility) [4] Restore Originals [5] Clean XML references [6] Backfill missing precache from Images [7] Rebuild existing precache at new profile [8] Exit [B] Batch run-all (50,000 cap per session) [R] Repeat last build (use saved answers) [T] Clean LPM temp files (optional) WebP note (important): - LaunchBox / Big Box do not load images with a .webp extension. - LPM can still build WebP precache for disk savings, but you must create .png/.jpg filename aliases for LaunchBox. - Use menu option [3] to create .png hardlink aliases next to each .webp (no extra disk usage). - On startup, LPM checks whether Windows can decode WebP and (if missing) opens the Microsoft Store "WebP Image Extensions" page. [0] Audit images Walks the Images tree and produces: counts convertible totals rough space saving estimates planning hints per profile Outputs: lb_audit.json lb_audit.csv [1] Build Thumbnails Creates/updates the precache under: LaunchBox\Images\_Precache\... Profiles: Fast Balanced Extreme Custom Notes: If cwebp.exe is present, WebP is used (best compression). You can force JPEG-only (optional). [2] Activate Precache (junction swap) “Turns it on.” Moves originals to Images\_Originals\... Creates junctions under Images\... pointing to _Precache [3] WebP -> PNG hardlink aliases (LaunchBox compatibility) Run this after [1] or [2] to create replacement .png hardlinks for all the new .webp files for LB / BB compatibility. This will scan and create all the files in the _Precache folder. [4] Restore Originals Undoes Activate: removes junctions moves originals back from _Originals [5] Clean XML references Advanced/optional cleanup for broken image refs linked to _BadImages. [6] Backfill missing precache from Images Fills only what’s missing: finds originals without corresponding precache output generates precache copies only for those [7] Rebuild existing precache at new profile Re-encodes existing precache using a different profile (only replaces when beneficial, depending on settings). [B] Batch run-all (50,000 cap per session) This is for huge libraries with hundreds+ platforms/folders. What it does: Iterates through platform folders under Images Processes them in segments capped at 50,000 per batch session Writes output into: Images\_Precache\<Platform>\... Can resume where it left off in later runs using a state file Behavior: Prompts per platform with an auto-default (so you can run unattended) Designed so you can run overnight without bogging down the machine for days in one “run all” Batch state: LaunchBoxRoot\LPM-Batch-State.json (resume point / continuation) Batch summary: Writes short progress summaries to the LaunchBox root (easy to find) Also: Batch runs can clear standby cache automatically (admin required) before segments to reduce cache thrash. [R] Repeat last build (use saved answers) Re-runs your last answered configuration using: LPM-Answers-Last.json This is the “do exactly what I did last time” option. [T] Clean LPM temp files (optional) Cleans LPM temporary working files (typically under Windows %TEMP% related to LPM processing). This is safe housekeeping and does not change your LaunchBox Images content. Notes about WebP + LaunchBox LaunchBox can display WebP files when they’re in place in the Images tree, but: Drag/drop and scraping workflows typically expect PNG/JPG sources. LPM’s approach keeps originals safe, while precache improves performance. Clear Logos: PNG sources are strongly recommended (transparency matters). Recommendation for first-time users Run Audit Run Build Thumbnails with Balanced Test LaunchBox/Big Box performance Then consider Activate Precache Support / community If you like this and want to help me out, buy me a coffee https://buymeacoffee.com/mcflylpm -
Launchbox Precache Manager - Speed up your build View File LaunchBox Precache Manager (LPM) Mass image optimizer + precache system for LaunchBox libraries (PowerShell 5.1, ASCII-only). TL;DR LPM scans your LaunchBox Images folder, builds a compressed WebP/JPEG precache into: LaunchBox\Images\_Precache …then (optionally) swaps your original image folders for the precache using NTFS junctions. Original art is protected in: Images\_Originals LaunchBox/Big Box browsing gets faster and lighter You can restore originals at any time Designed for very large libraries (hundreds of thousands to millions of images). What’s included This package contains two main scripts: LB-Precache-Manager.ps1 – interactive front-end menu (the “manager”) Build-LaunchBox-Thumbnails-Parallel.ps1 – the “engine” that does the heavy lifting Optional (recommended): cwebp.exe – Google WebP encoder (best compression / speed) Launcher: Launch-LPM.cmd (optional convenience) You can also run the manager directly with PowerShell. High-level workflow Audit your Images folder (counts, types, savings estimates). Build thumbnails (create/update files in Images\_Precache). Backfill later (fill gaps only after partial runs or new content). Activate Precache (parks originals into _Originals, junction-swaps to _Precache). Restore Originals (undo junction swap, put everything back). Rebuild existing precache later with a new profile if you want tighter compression. Important notes up front Close LaunchBox and Big Box before running (especially Activate/Restore). Locked folders will be skipped. Back up first. Make a backup/snapshot of your LaunchBox folder if you’re cautious (recommended for first-time users). LPM does not change your game metadata except when you explicitly use: Clean XML references (only removes references to images already moved to _BadImages). Remote / network / external path warning (important) LPM is built for local, fixed disks. If your LaunchBox path is a mapped drive / UNC path / remote share, some operations will refuse to run and you will see: Remote paths not supported; run on the Launchbox PC. This prevents multi-day failures, broken junctions, and extreme slowdowns. SAFE vs FULL run mode At startup you’ll choose a run mode: SAFE: low impact (older/USB systems) FULL: uses hardware recommendations for faster multi-threaded work (best on SSD/NVMe) FULL mode will also show detected hardware and recommended defaults (workers/batch sizing). Why counts don’t always match It’s normal to see differences between: a simple file count script, and what the engine prints during scanning/building Reasons: The engine may walk additional internal paths (depending on mode and what already exists in your Images tree). “Visited directories” and “files matched” are progress counters, not a strict “real folder count.” Bottom line: don’t panic if counts don’t line up perfectly, especially after multiple runs or after Activate/Restore operations. Handling locked folders / “file in use” During Activate/Restore (and sometimes builds), you may see locked items skipped. What it means: LaunchBox/Big Box/Explorer/AV has something open. What LPM does: prints a warning continues with the rest (doesn’t abort the entire run) Fix: close LB/BB re-run the option (safe to re-run) Installation Extract the zip anywhere (Desktop/tools folder). Run one of: Launch-LPM.cmd (recommended convenience) or open PowerShell and run: .\LB-Precache-Manager.ps1 Recommended: Run PowerShell as Administrator for: junction swap operations optional Defender exclusion standby-cache clearing (RAM file cache) Logging LPM-Answers-Last.json This stores the last answered prompts so you can re-run the same build easily (Repeat mode uses this). This is NOT a log and remains on by default. Session logs can be viewed or deleted from the install folder. Batch mode also maintains small state/summary files so it can resume safely. Main Menu (Manager) You’ll see: Main Menu [0] Audit images (recommended first step) [1] Build Thumbnails [2] Activate Precache (junction swap) [3] WebP -> PNG hardlink aliases (LaunchBox compatibility) [4] Restore Originals [5] Clean XML references [6] Backfill missing precache from Images [7] Rebuild existing precache at new profile [8] Exit [B] Batch run-all (50,000 cap per session) [R] Repeat last build (use saved answers) [T] Clean LPM temp files (optional) WebP note (important): - LaunchBox / Big Box do not load images with a .webp extension. - LPM can still build WebP precache for disk savings, but you must create .png/.jpg filename aliases for LaunchBox. - Use menu option [3] to create .png hardlink aliases next to each .webp (no extra disk usage). - On startup, LPM checks whether Windows can decode WebP and (if missing) opens the Microsoft Store "WebP Image Extensions" page. [0] Audit images Walks the Images tree and produces: counts convertible totals rough space saving estimates planning hints per profile Outputs: lb_audit.json lb_audit.csv [1] Build Thumbnails Creates/updates the precache under: LaunchBox\Images\_Precache\... Profiles: Fast Balanced Extreme Custom Notes: If cwebp.exe is present, WebP is used (best compression). You can force JPEG-only (optional). [2] Activate Precache (junction swap) “Turns it on.” Moves originals to Images\_Originals\... Creates junctions under Images\... pointing to _Precache [3] WebP -> PNG hardlink aliases (LaunchBox compatibility) Run this after [1] or [2] to create replacement .png hardlinks for all the new .webp files for LB / BB compatibility. This will scan and create all the files in the _Precache folder. [4] Restore Originals Undoes Activate: removes junctions moves originals back from _Originals [5] Clean XML references Advanced/optional cleanup for broken image refs linked to _BadImages. [6] Backfill missing precache from Images Fills only what’s missing: finds originals without corresponding precache output generates precache copies only for those [7] Rebuild existing precache at new profile Re-encodes existing precache using a different profile (only replaces when beneficial, depending on settings). [B] Batch run-all (50,000 cap per session) This is for huge libraries with hundreds+ platforms/folders. What it does: Iterates through platform folders under Images Processes them in segments capped at 50,000 per batch session Writes output into: Images\_Precache\<Platform>\... Can resume where it left off in later runs using a state file Behavior: Prompts per platform with an auto-default (so you can run unattended) Designed so you can run overnight without bogging down the machine for days in one “run all” Batch state: LaunchBoxRoot\LPM-Batch-State.json (resume point / continuation) Batch summary: Writes short progress summaries to the LaunchBox root (easy to find) Also: Batch runs can clear standby cache automatically (admin required) before segments to reduce cache thrash. [R] Repeat last build (use saved answers) Re-runs your last answered configuration using: LPM-Answers-Last.json This is the “do exactly what I did last time” option. [T] Clean LPM temp files (optional) Cleans LPM temporary working files (typically under Windows %TEMP% related to LPM processing). This is safe housekeeping and does not change your LaunchBox Images content. Notes about WebP + LaunchBox LaunchBox can display WebP files when they’re in place in the Images tree, but: Drag/drop and scraping workflows typically expect PNG/JPG sources. LPM’s approach keeps originals safe, while precache improves performance. Clear Logos: PNG sources are strongly recommended (transparency matters). Recommendation for first-time users Run Audit Run Build Thumbnails with Balanced Test LaunchBox/Big Box performance Then consider Activate Precache Support / community If you like this and want to help me out, buy me a coffee https://buymeacoffee.com/mcflylpm Submitter -McFly- Submitted 11/22/2025 Category Third-party Apps and Plugins
-
🔥1.2+ Million Games Archive — Taking Over
-McFly- replied to Hayato Tsukishiro's topic in Collections and Builds
This archive needed someone like Hayato to take it over and do it justice, someone who can drill deeper into it that I ever did. I'm looking forward to seeing the work he does for the community.- 7 replies
-
- games archive
- mcfly
-
(and 3 more)
Tagged with:
-
-McFly- started following 🔥1.2+ Million Games Archive — Taking Over
-
🔥1.2+ Million Games Archive — Taking Over
-McFly- replied to Hayato Tsukishiro's topic in Collections and Builds
Many are incomplete due to them simply being missing from the web. Some games become available or found by people and ripped for everyone, some are incomplete due to bad rips, etc. The archiving should have started about 30 years ago when everything was new and available, but here we are.- 7 replies
-
- games archive
- mcfly
-
(and 3 more)
Tagged with: