summaryrefslogtreecommitdiff
path: root/compare-ruby.sh
diff options
context:
space:
mode:
authorYamaArashi <YamaArashi@users.noreply.github.com>2016-09-03 13:45:05 -0700
committerGitHub <noreply@github.com>2016-09-03 13:45:05 -0700
commitdbaf6e125020cac5d897983dc9dfbf8d3d74e589 (patch)
tree2cf7c01a63ac97fc9e18e2b31bef0668ce72c92d /compare-ruby.sh
parentfc23707dc64abdc3219f72e7cb7992890737d00d (diff)
parent48711cdf9aed3512b7229e7c8488b3c05ff64ff9 (diff)
Merge pull request #38 from TwitchPlaysPokemon/master
Diffstat (limited to 'compare-ruby.sh')
-rwxr-xr-xcompare-ruby.sh11
1 files changed, 11 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