summaryrefslogtreecommitdiff
path: root/compare.sh
diff options
context:
space:
mode:
Diffstat (limited to 'compare.sh')
-rw-r--r--compare.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/compare.sh b/compare.sh
new file mode 100644
index 000000000..86db204ee
--- /dev/null
+++ b/compare.sh
@@ -0,0 +1,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