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 0000000..b52696d
--- /dev/null
+++ b/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 \ No newline at end of file