summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2016-08-27 21:53:50 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2016-08-27 21:53:50 -0400
commit22d455dea05e55f0191febe1f3bd8d5cbf61c801 (patch)
treebe7890a4e8e379850c000ffda1cd9981566211e5
parent67a057d573b9c9e716f5afae5c6049f86836adbe (diff)
Add ROM comparison scripts (requires baserom-ruby.gba and baserom-sapphire.gba)
-rwxr-xr-xcompare-ruby.sh11
-rwxr-xr-xcompare-sapphire.sh11
2 files changed, 22 insertions, 0 deletions
diff --git a/compare-ruby.sh b/compare-ruby.sh
new file mode 100755
index 000000000..5fbd2a1c8
--- /dev/null
+++ b/compare-ruby.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+# Compares baserom-ruby.gba and pokeruby.gba
+
+# create baserom.txt if necessary
+if [ ! -f baserom-ruby.txt ]; then
+ hexdump -C baserom-ruby.gba > baserom-ruby.txt
+fi
+
+hexdump -C pokeruby.gba > pokeruby.txt
+
+diff -u baserom-ruby.txt pokeruby.txt | less
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