summaryrefslogtreecommitdiff
path: root/compare-sapphire.sh
diff options
context:
space:
mode:
Diffstat (limited to 'compare-sapphire.sh')
-rwxr-xr-xcompare-sapphire.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/compare-sapphire.sh b/compare-sapphire.sh
new file mode 100755
index 000000000..b4047e81d
--- /dev/null
+++ b/compare-sapphire.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+# Compares baserom-sapphire.gba and pokesapphire.gba
+
+# create baserom.txt if necessary
+if [ ! -f baserom-sapphire.txt ]; then
+ hexdump -C baserom-sapphire.gba > baserom-sapphire.txt
+fi
+
+hexdump -C pokesapphire.gba > pokesapphire.txt
+
+diff -u baserom-sapphire.txt pokesapphire.txt | less