summaryrefslogtreecommitdiff
path: root/utils/compare.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/compare.sh')
-rw-r--r--utils/compare.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/utils/compare.sh b/utils/compare.sh
new file mode 100644
index 0000000..44e0771
--- /dev/null
+++ b/utils/compare.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+# Compares baserom.gb and pokegold-spaceworld.gb
+
+# create baserom.txt if necessary
+if [ ! -f baserom.txt ]; then
+ hexdump -C baserom.gb > baserom.txt
+fi
+
+hexdump -C pokegold-spaceworld.gb > pokegold-spaceworld.txt
+
+diff -u baserom.txt pokegold-spaceworld.txt | less