here you go
Steps:
1. Configure in shell/console
export GEKKO_DEBUG=yes
export RELOAD_SUPPORT=yes
You may get the error "region exe overflowed by 1432 bytes" or similar, then you need to disable something, because the code is too big. When you disable something in the code, just start with debug_printf and exception.c. The code must fit into 6 KByte.
You should also disable the MIOS version of gcplugin. Disable lines with MIOS_BACKUP=yes in global Makefile and disable all code which needs miosplugin in gcbackuplauncher (you will see the lines in the error output of make, loadmios.c).
2. Change to directory gcbackup0.1
3. make clean
4. make
5. connect USB Gecko
6. Start a terminal program like kermit, minicom or hyperterminal and connect it with the USB Gecko. Maybe you need to configure it that it writes to a file. With Linux you can use "cat /dev/ttyUSB0 | tee -a usbgecko.log"
7. wiiload rungcbackup/rungcbackup.elf (or other method, but USB Gecko is used for something else)
8. Press START
9. Watch what is printed on the console.
There is something printed like "Patching ... 0x..."
The first block of "Patching..." can be ignored, because the gcbackuplauncher patches it.
The next block which will be much lines later is important.
The addresses should be somewhere near 0x81307ebc (upper area), because this is the apploader for the game.
The next block of "Patching" is for the game loaded.
The addresses should be somewhere at the beginning of the memory (e.g. 0x8030a4ac).
You need to enter the address in gcbackuplauncher/source/loadapp.c.
Just copy the following block:
{
/* Zelda Collection. */
.gameid = "PZLJ",
/* Patch for Game Loader. */
.address1 = 0x81307ebc,
.size1 = 0x100,
.number1 = 1,
/* Patch for final Game. */
//.address2 = 0x800b1ca0,
.address2 = 0x8030a4ac,
.size2 = 0x100,
.number2 = 1,
}
You should try if the lowest address in each block is working. Otherwise you need to choosse a address which is equal or before the "DVD read" patch. "DVD seek" needs sometimes also to be patched. The printf patch is only for debug.
If there are more game reloads, you may increase "number1" and "number2" and you may need to use a lower address1 for a different game
wiigator