a simple script to compare the baserom and generated rom

This commit is contained in:
Bryan Bishop 2012-05-14 11:05:22 -05:00
parent 3afb9602eb
commit d3ecd6d10c
1 changed files with 11 additions and 0 deletions

11
compare.sh Executable file
View File

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