wjrandon Posted July 4 Posted July 4 In updating my LaunchBox installation to version 13.22, my previously marked “Completed” games failed to migrate into the new Progress field, leaving those entries blank or incorrectly set to “In Progress.” Expected Behavior: The built-in migration in 13.22 should convert old Completed flags into the new Progress statuses (e.g., Completed → Beaten) Actual Behavior: After installing 13.22, all I had marked as Completed now show a “In Progress,” and none of the usual fixes have restored them. Steps I've tried based on conversations in the beta forum. Resetting Migration Flags Closed LaunchBox, edited Settings.xml to remove or set <HasMigratedToProgress> to false, then restarted, migration still didn’t apply correctly. Deleting Cache Files Removed ListCache.xml from the Data folder to rebuild all lists and badges, no change. Has anyone else run into this migration bug in 13.22 and found a reliable way to restore old Completed statuses into the new Progress system? I can provide xml files or further details if needed. Quote
Solution wjrandon Posted July 5 Author Solution Posted July 5 Hey everyone, I decided to troubleshoot this myself using AI. It wrote a simple script to correct all the xml files for me. While rewriting I noticed the XMLs were littered with dozens (or hundreds) of duplicates <AdditionalApplication> entries so had it write an easy fix with Python that brought files sizes from 120mb to 4mb for some platforms: Progress Migration Parsed each system’s <Game> entries. For every <Completed>true</Completed>, inserted or updated <Progress>Done / Completed</Progress>. For any <PlayCount> ≥ 1 and <Completed>false</Completed>, set <Progress>Active / Paused</Progress>. Stripping Redundant <AdditionalApplication> Created a standalone script that walks through every <Game> and the document root, removing all <AdditionalApplication> blocks. Optionally backups originals to *.xml.bak before overwriting. I was able to restore all my completion badges and clean up hundreds of redundant entries in minutes. Saving hours of manual edits since you still can't manually bulk delete entries for Additional Applications within Launchbox. Quote
JoeViking245 Posted July 5 Posted July 5 3 minutes ago, wjrandon said: you still can't manually bulk delete entries for Additional Applications within Launchbox. It looks like it's probably too late now, but if you run into this again in the future, you could try this: Bulk Add/Remove Additional Applications - Third-party Apps and Plugins - LaunchBox Community Forums Quote
wjrandon Posted July 5 Author Posted July 5 Brilliant! Thanks for the suggestion. I'll go ahead and add this tool, just in case. Cheers! 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.