From 3ef90edf47f9a89b05a3e8a0a7d02b38d2691a58 Mon Sep 17 00:00:00 2001 From: scnorton Date: Mon, 18 Dec 2017 11:27:43 -0500 Subject: Add some potentially useful scripts de_before.sh: Set up the environment to build German Ruby. WARNING: Do not commit in this state unless you know what you are doing. de_after.sh: Revert the German build environment to the English (default) environment. After executing this script, it will be safe to commit changes. WARNING: This discards any changes to asm/, data/, and graphics/. asmdiff_de.sh: Like asmdiff.sh but for the German build environment. Requires baserom_de.gba with SHA1 sum = 1c2a53332382e14dab8815e3a6dd81ad89534050. build_tools_mac.sh: Like build_tools.sh but for OS X environments experiencing problems with Homebrew's g++. clean_tools.sh: Use this to clean the tools directories if you want to cross-compile or recompile. Does not touch agbcc. --- asmdiff_de.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 asmdiff_de.sh (limited to 'asmdiff_de.sh') diff --git a/asmdiff_de.sh b/asmdiff_de.sh new file mode 100755 index 000000000..aa42daa5e --- /dev/null +++ b/asmdiff_de.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +OBJDUMP="$DEVKITARM/bin/arm-none-eabi-objdump -D -bbinary -marmv4t -Mforce-thumb" +OPTIONS="--start-address=$(($1)) --stop-address=$(($1 + $2))" +$OBJDUMP $OPTIONS baserom_de.gba > baserom_de.dump +$OBJDUMP $OPTIONS pokeruby_de.gba > pokeruby_de.dump +diff baserom_de.dump pokeruby_de.dump -- cgit v1.2.3