Homebrew Elf/Dol Forwarder for Custom Channels

sexconker

Member
Newcomer
Joined
Apr 3, 2009
Messages
22
Trophies
0
XP
49
Country
United States
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.
 

maduin

Well-Known Member
Member
Joined
Jul 13, 2006
Messages
417
Trophies
0
Age
42
XP
309
Country
United States
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.
 

deceptica

Well-Known Member
Newcomer
Joined
Feb 19, 2009
Messages
87
Trophies
0
XP
57
Country
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?
 

Sir VG

Well-Known Member
Member
Joined
Jun 26, 2004
Messages
847
Trophies
0
Website
Visit site
XP
243
Country
United States
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.
 

JQE

Well-Known Member
Newcomer
Joined
Apr 15, 2009
Messages
68
Trophies
0
Age
44
Website
Visit site
XP
89
Country
Canada
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.
 

-fana-

New Member
Newbie
Joined
May 3, 2009
Messages
1
Trophies
0
Age
41
Location
In Hell
XP
41
Country
France
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
 

Takoru

Well-Known Member
Member
Joined
Aug 6, 2008
Messages
192
Trophies
0
Age
32
XP
276
Country
Egypt
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.
 

Sir VG

Well-Known Member
Member
Joined
Jun 26, 2004
Messages
847
Trophies
0
Website
Visit site
XP
243
Country
United States
-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.
 

pika9323

Well-Known Member
Member
Joined
Nov 23, 2008
Messages
409
Trophies
0
XP
112
Country
Gambia, The
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
 

JQE

Well-Known Member
Newcomer
Joined
Apr 15, 2009
Messages
68
Trophies
0
Age
44
Website
Visit site
XP
89
Country
Canada
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.
 

Tgrokz

Active Member
Newcomer
Joined
Mar 29, 2009
Messages
40
Trophies
0
XP
43
Country
United States
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.
 

Elfish

Well-Known Member
Member
Joined
Sep 20, 2004
Messages
451
Trophies
1
Age
39
Website
Visit site
XP
571
Country
Gambia, The
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

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://youtu.be/AjP7B2QFB9E?si=5qT8Ov9brYiIhoGi