Add ROM comparison scripts (requires baserom-ruby.gba and baserom-sapphire.gba)

This commit is contained in:
PikalaxALT 2016-08-27 21:53:50 -04:00
parent 67a057d573
commit 22d455dea0
2 changed files with 22 additions and 0 deletions

11
compare-ruby.sh Executable file
View File

@ -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

11
compare-sapphire.sh Executable file
View File

@ -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