Files
Pokemon-Firered/compare.sh
T
2020-06-14 16:08:21 -04:00

12 lines
301 B
Bash

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