pokeruby/compare-sapphire.sh
2018-06-20 20:12:50 -05:00

12 lines
298 B
Bash
Executable File

#!/bin/sh
# Compares baserom-sapphire.gba and pokesapphire.gba
# create baserom.txt if necessary
if [ ! -f baserom-sapphire.txt ]; then
hexdump -C baserom-sapphire.gba > baserom-sapphire.txt
fi
hexdump -C pokesapphire.gba > pokesapphire.txt
diff -u baserom-sapphire.txt pokesapphire.txt | less