Homebrew Elf/Dol Forwarder for Custom Channels

loopguy

Well-Known Member
Member
Joined
Mar 19, 2007
Messages
234
Trophies
1
XP
924
Country
Germany
i made a new forwarder channel for usb loader. put "boot.dol" in "apps/usb_loader"

NEW!
now with wii-like sound!


banner_usb_loader.jpg


sound:
http://rapidshare.com/files/216048033/Forw...oader_sound.wad

no sound:
http://rapidshare.com/files/215984594/Forw..._USB_Loader.wad


request from kedest
no text, with sound:

banner_usb_loade_no_text.jpg

http://rapidshare.com/files/216314617/Forw...der_no_text.wad
 

jservs7

Witcher of Whores
Member
Joined
May 14, 2008
Messages
892
Trophies
0
XP
222
Country
United States
Hey loopguy, I made a forwarder WAD myself in this thread:

http://gbatemp.net/index.php?showtopic=144718

But people that are using USB Loader 1.1 are having problems with it if a USB device is plugged in. I am using the dol originally created by SpaceJump to inject into my WAD, so I wanted to know if you are using a different one?
 

loopguy

Well-Known Member
Member
Joined
Mar 19, 2007
Messages
234
Trophies
1
XP
924
Country
Germany
i use his source too but with the newest devkit and libogc, so i have sdhc support, it works fine with my system 4.0E.
i think people are haveing trouble because some devices aren't reconiced well or maybe they use 3.2x...
also the forwarder doesn't work with every dol. e.g. mplayer ce 3.0a didn't work but the newest version 0.4 does.........
 

evala

Well-Known Member
Newcomer
Joined
Dec 13, 2008
Messages
45
Trophies
0
XP
65
Country
Maurice10 said:
Can someone make a good looking channel for the USBloader forwarder?

Maybe use following graphic (Author unknown :/)
60cc61b1da8c27a665a9910fe851a937.png

And a resized version for the thumbnail.
That would be very nice
smile.gif


Edit: Edited out the "Version 1.0" tag out of the pic.
really that image is the best one i've seen for the channel. please if somebody can use it to make a forwarder it would be just GREAT. tnx in advance.
 

DjoeN

Captain Haddock!
Member
Joined
Oct 21, 2005
Messages
5,489
Trophies
0
Age
54
Location
Somewhere in this potatoland!
Website
djoen.dommel.be
XP
2,857
Country
Belgium

Cypherdias

Well-Known Member
Newcomer
Joined
Mar 31, 2009
Messages
60
Trophies
0
XP
49
Country
United States
DjoeN said:
[EDIT] or does this just forward to the usbloader dol file, so it doesn't matter what version it is?
I think that is what a forwarder should do, since in other cases it wouldn't be a forwarder.
wacko.gif


Nice work btw., runs very well on my 3.3E Wii with USB Loader 1.1 without any problems.
smile.gif
 

kedest

Well-Known Member
Member
Joined
Feb 6, 2007
Messages
3,289
Trophies
0
Website
Visit site
XP
534
Country
Netherlands
DjoeN said:
loopguy said:
i made a new forwarder channel for usb loader. put "boot.dol" in "apps/usb_loader"

NEW!
now with wii-like sound!


banner_usb_loader.jpg


sound:
http://rapidshare.com/files/216048033/Forw...oader_sound.wad

no sound:
http://rapidshare.com/files/215984594/Forw..._USB_Loader.wad


Any updated version for USB Loader v1.1
smile.gif

Thx

[EDIT] or does this just forward to the usbloader dol file, so it doesn't matter what version it is?

it loads the dol from sd, that's the whole point of a forwarder. It makes it so much easier when an update comes.
 

Pyrofyr

Well-Known Member
Member
Joined
Apr 24, 2008
Messages
1,262
Trophies
0
Age
33
Location
Miami
XP
277
Country
United States
Holy crap, these are amazing, I suppose I'll just have to download them all -maniac laughter-

Hats off to the gents who made these.
 

tobeychris

Active Member
Newcomer
Joined
Jan 24, 2009
Messages
32
Trophies
0
XP
91
Country
Canada
loopguy said:
i use his source too but with the newest devkit and libogc, so i have sdhc support, it works fine with my system 4.0E.
i think people are haveing trouble because some devices aren't reconiced well or maybe they use 3.2x...
also the forwarder doesn't work with every dol. e.g. mplayer ce 3.0a didn't work but the newest version 0.4 does.........

I've been trying to do this as well.

I downloaded the newest devkitPro (v1.4.10), installed it, and put the source in convenient location (can have no spaces in the file path), for example C:/.

So now I have devkitPro installed, and I have the specific forwarder source in C:/forwarder.

I open up forwarder.pnproj, launching Programmer's Notepad and opening the forwarder project.

I then open main.c (located in the left project tree) and navigate to line 90. (View > Line Numbers)

I then see this:
CODE//read elf/dol from given path:
ÂÂÂÂFILE* inputFile;
ÂÂÂÂinputFile = fopen( "/apps/UAE4Wii/boot.dol", "rb");
ÂÂÂÂ
ÂÂÂÂif(inputFile == NULL) {
ÂÂÂÂÂÂÂÂprintf("boot.dol does not exist in the /apps/UAE4Wii folder on sd!\n");
ÂÂÂÂÂÂÂÂprintf("Press A to reboot Wii...\n");
ÂÂÂÂÂÂÂÂwhile (1) {
ÂÂÂÂÂÂÂÂÂÂÂÂWPAD_ScanPads();
ÂÂÂÂÂÂÂÂÂÂÂÂu32 pressed = WPAD_ButtonsDown(0);
ÂÂÂÂÂÂÂÂÂÂÂÂif (pressed & WPAD_BUTTON_A) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂSYS_ResetSystem(SYS_RESTART,0,0);
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ//exit(0);
ÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂ}
ÂÂÂÂ}

Now, my assumption would be to only have to change the two lines.
I want an Mplayer fowarder and would therefore change them to:

"/apps/mplayer_ce/boot.dol"
and
"boot.dol does not exist in the /apps/mplayer_ce/ folder on sd!\n"

If I do that, then press alt-1 to make the file, it creates the .dol successfully, I inject it into a wad... but it doesn't work. I get the black screen.

Am I missing something here? Is "rb" significant? I'm not up to date on my c code.
 

jservs7

Witcher of Whores
Member
Joined
May 14, 2008
Messages
892
Trophies
0
XP
222
Country
United States
loopguy said:
i use his source too but with the newest devkit and libogc, so i have sdhc support, it works fine with my system 4.0E.
i think people are haveing trouble because some devices aren't reconiced well or maybe they use 3.2x...
also the forwarder doesn't work with every dol. e.g. mplayer ce 3.0a didn't work but the newest version 0.4 does.........
I noticed your dol for your USB Loader locates the boot.dol file at "apps/usb_loader", while the one I used (SpaceJump's) goes to "apps/USBLoader".

For the people that were having a problem with my WAD, would their apps folder have to be typed out exactly the same as USBLoader or do caps even matter?

And if not, mind sharing your dol file?
smile.gif
 

loopguy

Well-Known Member
Member
Joined
Mar 19, 2007
Messages
234
Trophies
1
XP
924
Country
Germany
tobeychris said:
loopguy said:
i use his source too but with the newest devkit and libogc, so i have sdhc support, it works fine with my system 4.0E.
i think people are haveing trouble because some devices aren't reconiced well or maybe they use 3.2x...
also the forwarder doesn't work with every dol. e.g. mplayer ce 3.0a didn't work but the newest version 0.4 does.........

I've been trying to do this as well.

I downloaded the newest devkitPro (v1.4.10), installed it, and put the source in convenient location (can have no spaces in the file path), for example C:/.

So now I have devkitPro installed, and I have the specific forwarder source in C:/forwarder.

I open up forwarder.pnproj, launching Programmer's Notepad and opening the forwarder project.

I then open main.c (located in the left project tree) and navigate to line 90. (View > Line Numbers)

I then see this:
CODE//read elf/dol from given path:
ÂÂÂÂFILE* inputFile;
ÂÂÂÂinputFile = fopen( "/apps/UAE4Wii/boot.dol", "rb");
ÂÂÂÂ
ÂÂÂÂif(inputFile == NULL) {
ÂÂÂÂÂÂÂÂprintf("boot.dol does not exist in the /apps/UAE4Wii folder on sd!\n");
ÂÂÂÂÂÂÂÂprintf("Press A to reboot Wii...\n");
ÂÂÂÂÂÂÂÂwhile (1) {
ÂÂÂÂÂÂÂÂÂÂÂÂWPAD_ScanPads();
ÂÂÂÂÂÂÂÂÂÂÂÂu32 pressed = WPAD_ButtonsDown(0);
ÂÂÂÂÂÂÂÂÂÂÂÂif (pressed & WPAD_BUTTON_A) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂSYS_ResetSystem(SYS_RESTART,0,0);
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ//exit(0);
ÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂ}
ÂÂÂÂ}

Now, my assumption would be to only have to change the two lines.
I want an Mplayer fowarder and would therefore change them to:

"/apps/mplayer_ce/boot.dol"
and
"boot.dol does not exist in the /apps/mplayer_ce/ folder on sd!\n"

If I do that, then press alt-1 to make the file, it creates the .dol successfully, I inject it into a wad... but it doesn't work. I get the black screen.

Am I missing something here? Is "rb" significant? I'm not up to date on my c code.
try using the newest mplayer ce version...
 

TeenTin

Well-Known Member
Member
Joined
Jun 20, 2007
Messages
1,256
Trophies
1
XP
857
Country
Hong Kong
loopguy said:
i made a new forwarder channel for usb loader. put "boot.dol" in "apps/usb_loader"

NEW!
now with wii-like sound!


banner_usb_loader.jpg


sound:
http://rapidshare.com/files/216048033/Forw...oader_sound.wad

no sound:
http://rapidshare.com/files/215984594/Forw..._USB_Loader.wad


request from kedest
no text, with sound:

banner_usb_loade_no_text.jpg

http://rapidshare.com/files/216314617/Forw...der_no_text.wad


Is the forwarder dol file you injected different from that from SpaceJump ? If yes, would you please post the dol file ?

Many Thanks !
 

snaker

Well-Known Member
Member
Joined
Mar 30, 2009
Messages
217
Trophies
1
Website
biohazard-era.blogspot.com
XP
691
Country
United States
First of all i want to say a big thanks to SpaceJump for every single one of his forwarders!
Can someone please give me a source code,the needed libraries and the makefile for the dol,of a simple forwarder that will load an application that is located at apps/FOLDER
I want to change this FOLDER every time that i want to make a new forwarder for other application.I dont want to use the .conf file because it loads only one boot file from sd and i want to have multiple forwarding channels at the same time.Thanks a lot

EDIT:Sorry i didnt saw the source codes at the first page.
wacko.gif
 

loopguy

Well-Known Member
Member
Joined
Mar 19, 2007
Messages
234
Trophies
1
XP
924
Country
Germany
TeenTin said:
Is the forwarder dol file you injected different from that from SpaceJump ? If yes, would you please post the dol file ?

Many Thanks !
no, it's the same. i used the newest devkit and libogc.
 

jhoff80

Well-Known Member
Member
Joined
Jan 23, 2006
Messages
806
Trophies
0
Website
Visit site
XP
150
Country
United States
loopguy said:
i made a new forwarder channel for usb loader. put "boot.dol" in "apps/usb_loader"

NEW!
now with wii-like sound!


banner_usb_loader.jpg


sound:
http://rapidshare.com/files/216048033/Forw...oader_sound.wad

no sound:
http://rapidshare.com/files/215984594/Forw..._USB_Loader.wad


request from kedest
no text, with sound:

banner_usb_loade_no_text.jpg

http://rapidshare.com/files/216314617/Forw...der_no_text.wad

A non-forwarder 1.1 version of the no text, with sound one would be awesome if you could do that.

Edit: Never mind, used Wadder to do it myself.
 

TeenTin

Well-Known Member
Member
Joined
Jun 20, 2007
Messages
1,256
Trophies
1
XP
857
Country
Hong Kong
loopguy said:
TeenTin said:
Is the forwarder dol file you injected different from that from SpaceJump ? If yes, would you please post the dol file ?

Many Thanks !
no, it's the same. i used the newest devkit and libogc.

I used the WAD Channel Updater to inject the dol to a wad but got a black screen.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: All of us lol