pokecrystal/compare.sh

12 lines
252 B
Bash
Executable File

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