Skip to content

Add AuroraDriveFixerSmart and DeadEntryCleaner utility scripts - #56

Open
EduDicaseGameplay wants to merge 5 commits into
XboxUnity:masterfrom
EduDicaseGameplay:add-new-utility-scripts
Open

Add AuroraDriveFixerSmart and DeadEntryCleaner utility scripts#56
EduDicaseGameplay wants to merge 5 commits into
XboxUnity:masterfrom
EduDicaseGameplay:add-new-utility-scripts

Conversation

@EduDicaseGameplay

Copy link
Copy Markdown

Summary

This pull request introduces two utility scripts for Aurora, designed to simplify maintenance and improve the overall user experience.

AuroraDriveFixerSmart

Automatically detects storage devices and repairs common issues related to scan paths after drive changes, cloning, or storage migration. The script helps Aurora locate games correctly again without requiring users to manually recreate their scan paths.

Key features:

  • Automatic drive detection
  • Smart scan path repair
  • Supports HDD and USB devices
  • Safe operation (does not modify game files)

DeadEntryCleaner

Scans Aurora's content.db database for invalid or orphaned entries ("dead entries") and removes them safely, keeping the database clean and preventing duplicate or broken game listings.

Key features:

  • Detects orphaned database entries
  • Removes only invalid records
  • Preserves valid games and metadata
  • Helps maintain a clean and organized library

Testing

Both scripts have been thoroughly tested on Aurora 0.7b.2 using multiple storage configurations (HDD and USB). The scripts were also tested with different game layouts and databases to ensure safe and reliable operation.

Notes

These scripts are intended to automate common maintenance tasks while minimizing the risk of user error. They are designed to be safe, lightweight, and easy to use for both new and experienced Aurora users.

Comment thread UtilityScripts/AuroraDriveFixerSmart/Main.lua Outdated
Comment thread UtilityScripts/AuroraDriveFixerSmart/Main.lua
scriptTitle = "Dead Entry Cleaner (BETA)"
scriptAuthor = "Eduardo Henrique/Channel Edu Dicas e Gameplay"
scriptVersion = "1.0"
scriptDescription = "Removes ghost entries from Aurora (ContentItems). Does not alter games, DLCs, or TUs. May require a re-scan."

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can trigger a Rescan/Restart if memory serves me right, check some of the other scripts we've made - there should be something in there for that.

Comment thread UtilityScripts/DeadEntryCleaner/Main.lua Outdated
Comment thread UtilityScripts/DeadEntryCleaner/Main.lua Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants