summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-05-14 11:05:22 -0500
committerBryan Bishop <kanzure@gmail.com>2012-05-14 11:05:22 -0500
commitd3ecd6d10c61775e2ad384d37f0bca45c4b0c6fa (patch)
tree81a946b3638798e86a140c9db1cec0d48caf566b
parent3afb9602ebce53fa14c7360a22fb8b6ae5e4f557 (diff)
a simple script to compare the baserom and generated rom
-rwxr-xr-xcompare.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/compare.sh b/compare.sh
new file mode 100755
index 000000000..27f8a4cab
--- /dev/null
+++ b/compare.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Compares baserom.gbc and pokecrystal.gbc
+
+# create baserom.txt if necessary
+if [ ! -f baserom.txt ]; then
+ hexdump -C baserom.gbc >> baserom.txt
+fi
+
+hexdump -C pokecrystal.gbc >> pokecrystal.txt
+
+diff baserom.txt pokecrystal.txt | less