pokefirered/compare.sh

12 lines
366 B
Bash

#!/bin/bash
# Compares baserom.gba and pokefirered.gba
# create baserom_compare.dump if necessary
if [ ! -f baserom_compare.dump ]; then
hexdump -C baserom.gba > baserom_compare.dump # can create an empty baserom_compare.dump if no baserom.gba
fi
hexdump -C pokefirered.gba > pokefirered_compare.dump
diff -u baserom_compare.dump pokefirered_compare.dump | less