
Compiling the USB Loader GX Forwarder
Main Download:http://www.mediafire.com/file/wngzejqww ... warder.zipThis is based on work by the USB Loader GX team, which in turn is based on the work of others. All I have done is change a few paths and update the name of one variable. Credit to those guys. Their work can be seen here:
http://code.google.com/p/usbloader-gui/The forwarder comes in dol and elf versions, and is in the
binaries directory of this archive.
Order of loading by forwarderLooks for SD:\forwarders\WiiShip.cfg
Reads the application directory from the config file
Tries to load the boot.dol from that directory, if that fails
Tries to load the boot.elf from that directory, if that fails
Looks for USB:\forwarders\WiiShip.cfg
Reads the application directory from the config file
Tries to load the boot.dol from that directory, if that fails
Tries to load the boot.elf from that directory, if that fails
Tries to load SD:\apps\WiiShip\boot.dol, if that fails
Tries to load SD:\apps\WiiShip\boot.elf, if that fails
Tries to load USB:\apps\WiiShip\boot.dol, if that fails
Tries to load USB:\apps\WiiShip\boot.elf, if that fails
Returns to system menu.
If you don't want to use the.cfg file you don't have to it will work without, but these just make it easy to customise the forwarder.
Editing the WiiShip.cfg fileThere is an example in the forwarders directory of this archive. This should be a single line, and this should be edited using a *nix compatible editor like notepad++ or Wordpad. The line may look like the following two examples:
Code:
path = SD:/apps/WiiShip/
Code:
path = USB:/apps/WiiShip/
This cfg file should be places in SD:\forwarders\ or USB:\forwarders\
Editing the forwarderTo build it you need to install devkitpro, there's a good guide here:
http://www.codemii.com/2008/08/10/tutor ... vironment/ Although you should install the latest version available, devkitProUpdater-1.5.0.exe at time of writing.
You will also need to copy the files from the latest libogc to c:\dekitpro\libogc\ these files can be downloaded here:
http://www.mediafire.com/file/2tlr2nhjo ... -06-07.rarOpen SD_USB_Forwarder.pnproj in Programmer's Notepad (part of devkitpro), this will load all of the files need to build the dol/elf. Expand the branches on the left and open main.cpp and search for WiiShip. Replace each instance with your application name. Rebuild the application in devkitpro. Create a new .cfg file based on the app name if you want to use that. You can also change the splash screen by changing the .png file
in \source\image\background.png before you build it.
Optional: Later versions of libogc will be available here, but you shouldn't need them for this project to work: http://code.google.com/p/usbloader-gui/downloads/list