diff --git a/script/homm2/extract_homm2_resources.sh b/script/homm2/extract_homm2_resources.sh index c0b39d363..b41a6efa2 100644 --- a/script/homm2/extract_homm2_resources.sh +++ b/script/homm2/extract_homm2_resources.sh @@ -79,8 +79,8 @@ if [[ ! -f "$HOMM2_PATH/homm2.gog" ]]; then fi # Special case - CD image from GOG -if [[ "$(command -v python)" == "" ]]; then - echo_yellow "python not found in your system. Please install it and re-run this script to extract animation resources." +if [[ "$(command -v python3)" == "" ]]; then + echo_yellow "python3 not found in your system. Please install it and re-run this script to extract animation resources." exit 0 fi if [[ "$(command -v bsdtar)" == "" ]]; then @@ -90,7 +90,7 @@ fi echo_green "Extracting animation resources, please wait..." -python - << EOF +python3 - << EOF with open("$HOMM2_PATH/homm2.gog", "rb") as raw_file: with open("homm2.iso", "wb") as iso_file: while True: