Homebrew Elf/Dol Forwarder for Custom Channels

  • Thread starter Thread starter SpaceJump
  • Start date Start date
  • Views Views 252,827
  • Replies Replies 570
  • Likes Likes 1
Tried using the general forwarder with the ultimate usb loader (7.4) and it just throws up a DSI error and a code dump.
(With or without a nunchuck, I heard that that forwarder crashes if the nunchuck is plugged in.)

I'd like a forwarder that works for the ultimate usb loader 7.4, preferably one with a matching banner. (Or just a straight wad channel for it.)

I tried injecting the .dol for the usb loader into another usb loader's wad, but that just resulted in a blank screen.

The loader works fine from the homebrew channel, so either I injected it wrong (autoinjectuwad hangs at waiting for final injected wad, but does output the wad file, and using the injector via command line outputs the same file, with no errors), or... I dunno.
 
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.

did anyone ever make a forwarder for this one? I'd love to have it if it's available.
 
I'm having random crashes when running the injected emulator forwarders. I'm using the ones from the first page of this topic, and injecting into Troy the zombies channels:

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

I don't have a nunchuck plugged in, but I do have two gamecube memory cards and a gc controller attached.

The thing is, the crashes are totally random. They may start ten times with no problems, then a crash.

This applies to these emulator forwarders:

Snes, genplus, smsplus, fceugx, pcengine

Any ideas?
 
Just a notation to people using this:

The emulator forwarder needs to be updated with 2 different paths: FCEU and VBA are on new paths now.

While I have found what I need to edit in the source code, I don't know the first thing about compiling C++ (sorry, I'm a VB programmer).

So all I can do for now is to edit the code and post the source for somebody else to compile (this appears to be stored in the main.c file, from what I saw looking over the code, which I have edited with the new paths).

So if somebody can compile and provide a WAD to people, this will allow them to use the FCEUGX and VBAGX paths used by Homebrew Browser 0.3.

Code:
http://www.mediafire.com/?dttnzhtdulg


Thanks to SpaceJump for making these forwarders in the first place. They're freakin' awesome.
 
deceptica said:
For people like me having random crashes from the forwarders in this thread, I suggest trying these:

http://wadder.net/viewtopic.php?f=33&t=1000

These all seem much more stable and are fully SDHC compatible


no source code though, which makes it hard to modify.

I am having some issues getting these forwarders to work from within another app. Trying to get a LibWiiGui app to launch different apps. (sorta like the EMU forwarder, but a gui interface). Crashes or feezes everytime i try... was hoping to find newer source, or a fix. So far it looks like space jump was the only one to release his code.
 
Hi all, an sry for bad english :s

I want to know how to modify the forwarder.
I want to change the file in which the forwarder fetches the boot.dol

plz help
 
Sir VG said:
Just a notation to people using this:

The emulator forwarder needs to be updated with 2 different paths: FCEU and VBA are on new paths now.

While I have found what I need to edit in the source code, I don't know the first thing about compiling C++ (sorry, I'm a VB programmer).

So all I can do for now is to edit the code and post the source for somebody else to compile (this appears to be stored in the main.c file, from what I saw looking over the code, which I have edited with the new paths).

So if somebody can compile and provide a WAD to people, this will allow them to use the FCEUGX and VBAGX paths used by Homebrew Browser 0.3.

Code:
http://www.mediafire.com/?dttnzhtdulg


Thanks to SpaceJump for making these forwarders in the first place. They're freakin' awesome.

Wow, it would be great to compile this new version. I hope somebody will do this.
 
-fana- said:
Hi all, an sry for bad english :s

I want to know how to modify the forwarder.
I want to change the file in which the forwarder fetches the boot.dol

plz help

Grab the source code, modify main.c and then recompile it.

How to recompile though, I can't tell you because I don't know myself.
 
Hmm maybe someone can help me?
I always get a code dump...

Ok here my way:

->Devkitpro installed and up to date
->replaced my libogc with the one from spacejump


Ok i downloaded Elf/Dol Forwarder for specific apps
Extracted it and opened main.c

Then here are the lines:
//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");



The red one is the edited:
//read elf/dol from given path:
FILE* inputFile;
inputFile = fopen( "/apps/w00t/load.dol", "rb");

if(inputFile == NULL) {
printf("boot.dol does not exist in the /apps/WooT folder on sd!\n");



And saved.
Then opened cmd and:
make clean
make

CMD LOG:
dol.c
elf.c
main.c
c:/test2/source/main.c: In function 'main':
c:/test2/source/main.c:119: warning: implicit declaration of function 'valid_elf_image'
c:/test2/source/main.c:122: warning: implicit declaration of function 'load_elf_image'
c:/test2/source/main.c:125: warning: implicit declaration of function 'load_dol_image'
c:/test2/source/main.c:140: warning: implicit declaration of function '__exception_closeall'
c:/test2/source/main.c:147:2: warning: no newline at end of file
linking ... test2.elf
output ... test2.dol


I prepared all (rename to boot.dol etc...) and want test it through the Homebrewchannel.
Well and Code dump...

Nothing blucked in. Just my Wii remote is connected.



Someone has an idea?
Thanks for advice
 
pika9323 said:
Hmm maybe someone can help me?
I always get a code dump...

Ok here my way:

->Devkitpro installed and up to date
->replaced my libogc with the one from spacejump


Ok i downloaded Elf/Dol Forwarder for specific apps
Extracted it and opened main.c

Then here are the lines:
//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");



The red one is the edited:
//read elf/dol from given path:
FILE* inputFile;
inputFile = fopen( "/apps/w00t/load.dol", "rb");

if(inputFile == NULL) {
printf("boot.dol does not exist in the /apps/WooT folder on sd!\n");



And saved.
Then opened cmd and:
make clean
make

CMD LOG:
dol.c
elf.c
main.c
c:/test2/source/main.c: In function 'main':
c:/test2/source/main.c:119: warning: implicit declaration of function 'valid_elf_image'
c:/test2/source/main.c:122: warning: implicit declaration of function 'load_elf_image'
c:/test2/source/main.c:125: warning: implicit declaration of function 'load_dol_image'
c:/test2/source/main.c:140: warning: implicit declaration of function '__exception_closeall'
c:/test2/source/main.c:147:2: warning: no newline at end of file
linking ... test2.elf
output ... test2.dol


I prepared all (rename to boot.dol etc...) and want test it through the Homebrewchannel.
Well and Code dump...

Nothing blucked in. Just my Wii remote is connected.



Someone has an idea?
Thanks for advice


I noticed that it is case sensitive. Make sure the case of the path you type in the dol matches the case of the path you type in the file.

I have been having some code dumps to. Especially when adding this function to another app... it seems to happen in random locations, i have comments in to see where it's happening. Sometimes its on the first text read sometimes the first data read, but always on the memmove function.
 
the gecko forwarder crashes with gecko os 1.9
the first time i ran it, i got a code dump. now it just freezes on the black screen between clicking "start" and the program loading.
 
hi,

i tried to compiled the specific source with the lates devkitpro and libogc
it compiles just fine all warnings are the following:

Code:
d:/wii/source/elf_dol_forwarder/source/main.c: In function 'main':
d:/wii/source/elf_dol_forwarder/source/main.c:119: warning: implicit declaration of function 'valid_elf_image'
d:/wii/source/elf_dol_forwarder/source/main.c:122: warning: implicit declaration of function 'load_elf_image'
d:/wii/source/elf_dol_forwarder/source/main.c:125: warning: implicit declaration of function 'load_dol_image'
d:/wii/source/elf_dol_forwarder/source/main.c:140: warning: implicit declaration of function '__exception_closeall'
d:/wii/source/elf_dol_forwarder/source/main.c:147:2: warning: no newline at end of file

Somehow i just get a blackscreen after loading the dol.
I got a sd card but compiling it with the latest devkit and libogc. that shouldnt be a problem right?
Anyone knows why it doesnt work?
 

Site & Scene News

Popular threads in this forum