summaryrefslogtreecommitdiff
path: root/compare.sh
blob: 86db204ee1245fbee77c714dab5009b30709a7d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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