Skip to content

Instantly share code, notes, and snippets.

@ileathan
Created October 27, 2023 03:30
Show Gist options
  • Save ileathan/c3b691617123131b7cfdb60628dd4bcc to your computer and use it in GitHub Desktop.
Save ileathan/c3b691617123131b7cfdb60628dd4bcc to your computer and use it in GitHub Desktop.
Restores xbox 360 thumbnails (root required)
set -o errexit -o nounset
# The idea is simple, the format Aurora uses is #GameID_DatabaseID where the GameID stays the same and the DatabaseID changes, so we check only the first 8 chars of the backup and the new and if they match we copy over the backups cover file to the new gamedata.
for file in GameData.bak/*; do
# Remove the following as they arnt games?
for file2 in GameData/*; do
if [ "${file2:9:8}" == "00000000" ]; then
continue
fi
if [ "${file2:9:2}" == "FF" ]; then
continue
fi
# Check if the GameID's match
if [ "${file2:9:8}" == "${file:13:8}" ]; then
# Make sure the backup actually has the asset.
if test -f "${file}/GC${file:13:8}.asset"; then
echo "cp ${file}/GC${file:13:8}.asset" "${file2}"
cp "${file}/GC${file:13:8}.asset" "${file2}"
fi
fi
done
done
read -rsp $'Done! Press enter to close...\n'
@udance4ever
Copy link

udance4ever commented Aug 22, 2025

hey do you have a new link to your coverart 7z? The Google Drive link you have in your original post is no longer valid.

thanks for writing this script to help patch up my Aurora! 🙏🏼

ps. maybe check the directory into a repo we can just clone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment