This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |