mirror of
https://github.com/projectPiki/pikmin2.git
synced 2024-12-04 03:21:49 +00:00
507f5d6e87
Elf2dol now compiles when you run make, patch_linker.sh is ran from the makefile to make the needed changes to the 2.7 linker(confirmed to work on Windows, will likely work on Linux as well). asmdiff.sh now points to the correct build version.
7 lines
303 B
Bash
7 lines
303 B
Bash
#!/bin/bash
|
|
|
|
OBJDUMP="$DEVKITPPC/bin/powerpc-eabi-objdump -D -bbinary -EB -mpowerpc -M gekko"
|
|
OPTIONS="--start-address=$(($1)) --stop-address=$(($1 + $2))"
|
|
$OBJDUMP $OPTIONS baserom.dol > baserom.dump
|
|
$OBJDUMP $OPTIONS build/pikmin2.usa/main.dol > main.dump
|
|
diff -u --color=always baserom.dump main.dump |