Created
February 3, 2022 19:16
-
-
Save drouarb/c709f36a6fc604e3bdc2c709f53ac1fb to your computer and use it in GitHub Desktop.
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
| #!/usr/bin/bash | |
| # This script will downgrade save versions file of theHunter: call of the wild | |
| # You need to put the EGS build number of the game in $from and Steam build number of the game in $to | |
| # Both version should be converted to hexadecimal little edian | |
| # The script should be in your save game folder | |
| # Use at your own risk | |
| from='\x58\x53\x21' | |
| to='\xAC\x33\x21' | |
| grep -raPo "$from" | while read l | |
| do | |
| file=`cut -d : -f 1 <<< $l` | |
| echo "Patching $file" | |
| sed -i "s/$from/$to/" "$file" | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment