Homebrew Elf/Dol Forwarder for Custom Channels

djdynamite123

Master Of Hardcore!
Banned
Joined
Sep 21, 2008
Messages
3,788
Trophies
0
Age
35
Location
Redcar, England UK
Website
www.djdynamite.bravehost.com
XP
101
Country
QUOTE said:
Your file: # Path to elf/dol file:
/apps/MPlayerWii/boot.dol

My file: # Path to elf/dol file:
#/apps/geexbox/boot.elf
/apps/MPlayerWii/boot.dol

where's the difference in the PATH of that mplayer????? it's like spotting impossible whares wally!

how can it find the correct .dol to load if you have about 4 path, 4 channels with the same 4 forwarder injects, how does it know which .dol to load? it's obviously getting confused.
or is which craft happening?
 

Patryc

Well-Known Member
Member
Joined
Jul 30, 2007
Messages
452
Trophies
0
XP
182
Country
djdynamite123 said:
QUOTE said:
Your file: # Path to elf/dol file:
/apps/MPlayerWii/boot.dol

My file: # Path to elf/dol file:
#/apps/geexbox/boot.elf
/apps/MPlayerWii/boot.dol

where's the difference in the PATH of that mplayer????? it's like spotting impossible whares wally!

how can it find the correct .dol to load if you have about 4 path, 4 channels with the same 4 forwarder injects, how does it know which .dol to load? it's obviously getting confused.
or is which craft happening?

Haha. All I know is the file spacejump sent me worked
But when i try it myself it doesn't

Spacejumps file

# Elf/Dol Forwarder configuration file
# This file needs to be in the root of your SD card!
# Path to elf/dol file:
/apps/MPlayerWii/boot.dol

I tried another app and it cant find the dol

# Elf/Dol Forwarder configuration file
# This file needs to be in the root of your SD card!
# Path to elf/dol file:
/apps/Wadmanager/boot.dol
 

djdynamite123

Master Of Hardcore!
Banned
Joined
Sep 21, 2008
Messages
3,788
Trophies
0
Age
35
Location
Redcar, England UK
Website
www.djdynamite.bravehost.com
XP
101
Country
so what's the point? i think im not going to bother with this it's too much hassle.....

what i dont get is e.g.
you have mplayerwii channel
geexbox channel
homebrew browser channel

now you tell me in the config file, how are these 3 channels meant to find their path? without fucking up?

have the path set up correct yeah, which i did, and with all 3 injected with the forwarder, how the hell can it decide to load a .dol for that channel without which craft happening lol, thats what is freaking me out!!!
e.g. how can it tell to load geexbox elf, when it will get confused with browser and mplayer, get what i mean??

it can only have the one path in the config i recon
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,746
Trophies
4
Age
45
Location
Engine room, learning
XP
15,563
Country
France
I don't understand why you inject or install 3 forwarder for 3 different dol.

You can only specify 1 dol and 1 path in the config file.

the # lines are only comment and is an example.
the one read is the line without the # comment.

now if you need more, it may be usefull to have the Wad TitleID in the config file. (idea for future update -_^)

something like
# path 1
[ABCD]
/aps/name1/boot.dol

# path 2
[EFGH]
/aps/name2/boot.dol
 

Patryc

Well-Known Member
Member
Joined
Jul 30, 2007
Messages
452
Trophies
0
XP
182
Country
djdynamite123 said:
so what's the point? i think im not going to bother with this it's too much hassle.....

what i dont get is e.g.
you have mplayerwii channel
geexbox channel
homebrew browser channel

now you tell me in the config file, how are these 3 channels meant to find their path? without fucking up?

have the path set up correct yeah, which i did, and with all 3 injected with the forwarder, how the hell can it decide to load a .dol for that channel without which craft happening lol, thats what is freaking me out!!!
e.g. how can it tell to load geexbox elf, when it will get confused with browser and mplayer, get what i mean??

it can only have the one path in the config i recon

Patryc, can you check in your .conf file if after boot.dol there are empty spaces or empty lines (go right with the cursor till the end, it must stop at the "l"). If so, remove them and try it again.

The clue is here! It does work! You just have to follow this exactly.

It works for one app at at time I think but not sure if you can have multiple apps in the same conf. file
 

Patryc

Well-Known Member
Member
Joined
Jul 30, 2007
Messages
452
Trophies
0
XP
182
Country
djdynamite123 said:
QUOTE said:
It works for one app at at time I think but not sure if you can have multiple apps in the same conf. file
exactly, so it's pointless. would be good if you could have many paths....

Don't say it's pointless..Spacejump is just trying to help us guys...Maybe he is working on a solution to add multiple apps
 

djdynamite123

Master Of Hardcore!
Banned
Joined
Sep 21, 2008
Messages
3,788
Trophies
0
Age
35
Location
Redcar, England UK
Website
www.djdynamite.bravehost.com
XP
101
Country
very true, +respect to him, i take that back, just was annoyed with it all day
frown.gif
 

SpaceJump

Well-Known Member
OP
Member
Joined
Aug 18, 2005
Messages
3,865
Trophies
1
Location
Zebes
XP
2,968
Country
Germany
Cyan said:
I don't understand why you inject or install 3 forwarder for 3 different dol.

You can only specify 1 dol and 1 path in the config file.

the # lines are only comment and is an example.
the one read is the line without the # comment.

This explains it exactly! The Elf/Dol Forwarder only loads one elf/dol, the line without "#". The lines with "#" are only comments. It shouldn't matter how many comment lines you have.

That what causes your errors are spaces and empty lines (as Patryc also found out). I will fix this by removing these spaces from the path string before passing the parameter, but this will take some days cause time is rare right now. In the meanwhile just check and remove whitespaces and it should work.
 

SpaceJump

Well-Known Member
OP
Member
Joined
Aug 18, 2005
Messages
3,865
Trophies
1
Location
Zebes
XP
2,968
Country
Germany
Update: on request of Banjosancho I compiled versions for the following apps:
snes9xGX
fceuGX
Genplus
SMSPlus
vbaGX
ScummVM

Download links in the first post.
 

kevenz

Well-Known Member
Member
Joined
Oct 20, 2008
Messages
297
Trophies
0
XP
273
Country
Canada
Humm...... if I understand correctly.

These .dol can be injected into a .wad and they will auto-boot the real boot.dol file on the apps/emu of my sd card?

This should make the .wad file smaller, which is a good thing....also removing the use of autoinjectuwad but I guess if the forwarder doesn't support sdhc and you're using one sdhc card..... it will code dump ?

Anyway thanks this is a great find.

If you could make a quake gx and wiiengine version too
wink.gif
 

SpaceJump

Well-Known Member
OP
Member
Joined
Aug 18, 2005
Messages
3,865
Trophies
1
Location
Zebes
XP
2,968
Country
Germany
kevenz said:
Humm...... if I understand correctly.

These .dol can be injected into a .wad and they will auto-boot the real boot.dol file on the apps/emu of my sd card?

This should make the .wad file smaller, which is a good thing....also removing the use of autoinjectuwad but I guess if the forwarder doesn't support sdhc and you're using one sdhc card..... it will code dump ?

Anyway thanks this is a great find.
If you have a SDHC card try it and report back, but it shouldn't work
ph34r.gif

I will add SDHC support once I have the time to and once I find some code examples.

QUOTEIf you could make a quake gx and wiiengine version too
wink.gif

What are paths?
 
General chit-chat
Help Users
    Skelletonike @ Skelletonike: 1H left, such a slow week.