View unanswered posts | View active topics It is currently June 28th, 2017, 4:51 am



Welcome
Welcome to WADder

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!


Reply to topic  [ 4 posts ] 
 Compiling the USB Loader GX Forwarder 
Author Message
Site Admin
User avatar

Joined: March 13th, 2010, 11:57 am
Posts: 457
Has thanked: 29 time
Have thanks: 72 time
Post Compiling the USB Loader GX Forwarder
Main Download:
http://www.mediafire.com/file/wngzejqww ... warder.zip

This 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 forwarder
Looks 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 file
There 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 forwarder
To 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.rar

Open 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

_________________
. This signature is loading. Please wait.
Image


March 24th, 2010, 1:52 pm
Report this post
Profile
Site Admin
User avatar

Joined: March 13th, 2010, 11:57 am
Posts: 457
Has thanked: 29 time
Have thanks: 72 time
Post Re: Compiling the USB Loader GX Forwarder
SVN Checkout:

Roy wrote:
What is the SVN Checkout URL. When I put in a web address I get errors.

This is how I did it on Win XP, I don't know if it'll work on Vista. Get svn-1.4.6-setup.exe from http://subversion.tigris.org/servlets/ProjectDocumentView?documentID=41686&showInfo=true and install it. This is a command line svn client which means the command prompt will understand svn commands.

Now open up a command prompt and type in
Code:
svn checkout http://usbloader-gui.googlecode.com/svn/trunk/ usbloader-gui-read-only

This will download the entire source to the current directory (the directory shown in cmd).

An easier way it to create a text file in the folder you want to download the source to. Edit that text file so that it contains the svn checkout address. Use "Save As..." and select all file types, and save it as something.bat . Now double click on the .bat file and it will download the contents to the same location as the .bat file.

Note the svn address above will only grab the source for the USB loader. If you want the source for the forwarder you need to use

Code:
svn checkout http://usbloader-gui.googlecode.com/svn/branches/ USB_Loader_GX_Forwarder

If you want it all, try
Code:
svn checkout http://usbloader-gui.googlecode.com/svn/ USB_Loader_GX_ALL

The last part simply specifies the folder on your computer that the source will saved in.

_________________
. This signature is loading. Please wait.
Image


March 24th, 2010, 1:53 pm
Report this post
Profile
Site Admin
User avatar

Joined: March 13th, 2010, 11:57 am
Posts: 457
Has thanked: 29 time
Have thanks: 72 time
Post Re: Compiling the USB Loader GX Forwarder
Some updates to the forwarder code:
1. Fixes black bands at the left and right of the splash screen
2. Lists locations that the forwarder looks in if it fails to find a dol

Uses the libogc from the first post.


Attachments:
USB_Loader_GX_Forwarder_MOD.zip [90.42 KiB]
Downloaded 115 times

_________________
. This signature is loading. Please wait.
Image
March 31st, 2010, 3:07 am
Report this post
Profile
Site Admin
User avatar

Joined: March 13th, 2010, 11:57 am
Posts: 457
Has thanked: 29 time
Have thanks: 72 time
Post Re: Compiling the USB Loader GX Forwarder
I've been playing with this some more. Here's a version that allows the widescreen image to be 832x640.

I've tested it fairly thoroughly, but check the output on as many video modes as you can.


Attachments:
USB_Loader_GX_Forwarder_MODv2.zip [34.78 KiB]
Downloaded 68 times

_________________
. This signature is loading. Please wait.
Image
March 31st, 2010, 2:21 pm
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Donate Now
Donate Now


Hosted by © 2017 FreeForums.org | Create a free forum | Powered by phpBB
About FreeForums | Legal | Advertise Here | Investors | Contact FreeForums.org
suspicion-preferred