#!/bin/bash W=/root/icmp rm -rf "$W"; mkdir -p "$W"; cd "$W" cp -f "/mnt/f/Change_bootLoader.exe" new.exe cp -f "/path/to/pf/Change_bootloader/Change_bootLoader.old-3.0.1.exe" old.exe for f in old.exe new.exe; do echo "== $f" if [ ! -f "$f" ]; then echo " missing"; continue; fi printf ' icon groups (type=14): ' wrestool -l "$f" 2>/dev/null | grep -c 'type=14' || true printf ' icon images (type=3): ' wrestool -l "$f" 2>/dev/null | grep -c 'type=3' || true wrestool -l "$f" 2>/dev/null | grep 'type=3' | head -6 | sed 's/^/ /' done