Homebrew MAking new forwarder channels

Hielkenator

Well-Known Member
OP
Member
Joined
Feb 7, 2010
Messages
4,210
Trophies
0
XP
679
Country
Netherlands
Can anyone provide info how to make forwarder channels that work with the new hbc 1.08 and ios58.

I want one for genisisplus gx to use dvd ( rightnow only usable from the hbc.
An I want one for snes gx to work with dvd from a forwarder channel.

EDIT: Works!

Thank you FIX94 and the rest, for your great help!
You guys made my day!

Here's my channel forwarders for SNES9GX and GenesisPlus

http://www.mediafire.com/?3cnrf81pfehy7ou
 

matguitarist

Well-Known Member
Member
Joined
Oct 14, 2008
Messages
458
Trophies
0
Location
Canada
XP
147
Country
Canada
you could use wiimc forwarder source and recompile it for the apps you want (forwarder is in libs folder ) check for the line :

sprintf(filepath, "%s:/apps/wiimc/boot.dol", part[j].mount); ( in the main.c )

replace the path to where is the folder you want :

sprintf(filepath, "%s:/apps/genplusgx/boot.dol", part[j].mount);

after that you have to inject the boot.dol you got in a wad of your choice , i don't test it so i'm not sure it work. just give it a try
 

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,803
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,790
Country
Cyprus
you would also need to use a different base wad that has already been modified for direct hardware access. Instead of building your own, just use one of the static base wads from here: http://gbatemp.net/t249210-static-base-wad

so... this is what u should do...
1) Build a new forwarder dol using WiiMC source code or some other apps source code (FYI, latest WiiMC Channel Installer has some issues, so u may want to wait for that to get sorted before modding its source code)
2) Download customize Mii and the static base wad I linked to above
3) Launch customize mii and load the static base wad, then replace the dol with the one from step 1). You can also make some changes to the GFX of the channel, then when you're ready, click "create wad"
4) Profit
biggrin.gif
 

Hielkenator

Well-Known Member
OP
Member
Joined
Feb 7, 2010
Messages
4,210
Trophies
0
XP
679
Country
Netherlands
I can't seem to download the source...can anybody explain?
Where do I download? Installed devkit pro....is this enough to compile and how?
Thank you all very much
 

turbotronic

Well-Known Member
Member
Joined
Sep 13, 2009
Messages
114
Trophies
1
XP
922
Country
Germany
i compiled one with banner/icon/animation based on the layout of the troythezombie wad. also got it for turbografx16, master system, sega saturn/yabause, snes, atari2600, atari 7800 and atari lynx. if you or everyone else wants a wad of it i'll provide it via pm.
 

Hielkenator

Well-Known Member
OP
Member
Joined
Feb 7, 2010
Messages
4,210
Trophies
0
XP
679
Country
Netherlands
I would like one for snes and genesisgxplus.

@Xflak I know where the code is it's in main.c
But i can't download the source. Also do I need more files to compile a forwarder?
Soory if I'm souding dumb.. But I'm new to coding Wii, but I really would like to know.
 

Hielkenator

Well-Known Member
OP
Member
Joined
Feb 7, 2010
Messages
4,210
Trophies
0
XP
679
Country
Netherlands
matguitarist said:
download tortoise svn and checkout this adress : http://wiimc.googlecode.com/svn/trunk/

all instruction and files need for compiling wiimc is here but i don't think you need portlibs for just compiling the forwarder

When running the "make file" I get this:

Administrator@HielkeDesktop ~
$ "C:\Documents and Settings\Administrator\Bureaublad\Code\Makefile"
C:\Documents and Settings\Administrator\Bureaublad\Code\Makefile: line 4: .SUFFI
XES:: command not found
C:\Documents and Settings\Administrator\Bureaublad\Code\Makefile: line 6: syntax
error near unexpected token `$(strip $(DEVKITPPC)),'
C:\Documents and Settings\Administrator\Bureaublad\Code\Makefile: line 6: `ifeq
($(strip $(DEVKITPPC)),)'

Administrator@HielkeDesktop ~
$

Am I doing it all wrong?
Thanks for all the help b.t.w.
 

Jacobeian

Well-Known Member
Member
Joined
May 15, 2008
Messages
1,893
Trophies
0
XP
387
Country
Cuba
You don't actually "run the makefile", you need to run the command make within the makefile directory, as explained in the link given above.
Make sure you have installed devkitPPC or you won't be able to compile anything.
 

Hielkenator

Well-Known Member
OP
Member
Joined
Feb 7, 2010
Messages
4,210
Trophies
0
XP
679
Country
Netherlands
Jacobeian said:
You don't actually "run the makefile", you need to run the command make within the makefile directory, as explained in the link given above.
Make sure you have installed devkitPPC or you won't be able to compile anything.

What am I doing wrong?

I'm getting :

$ make C:\Documents and Settings\Administrator\Bureaublad\CODE2\forwarder
make: *** No rule to make target `C:Documents'. Stop.
 

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
29
Location
???
XP
11,238
Country
Germany
Hielkenator said:
Jacobeian said:
You don't actually "run the makefile", you need to run the command make within the makefile directory, as explained in the link given above.
Make sure you have installed devkitPPC or you won't be able to compile anything.

What am I doing wrong?

I'm getting :

$ make C:\Documents and Settings\Administrator\Bureaublad\CODE2\forwarder
make: *** No rule to make target `C:Documents'. Stop.
You must copy the forwarder folder to C:
That it's "C:\forwarder"
Then compile it again.
 

Hielkenator

Well-Known Member
OP
Member
Joined
Feb 7, 2010
Messages
4,210
Trophies
0
XP
679
Country
Netherlands
FIX94 said:
Hielkenator said:
Jacobeian said:
You don't actually "run the makefile", you need to run the command make within the makefile directory, as explained in the link given above.
Make sure you have installed devkitPPC or you won't be able to compile anything.

What am I doing wrong?

I'm getting :

$ make C:\Documents and Settings\Administrator\Bureaublad\CODE2\forwarder
make: *** No rule to make target `C:Documents'. Stop.
You must copy the forwarder folder to C:
That it's "C:\forwarder"
Then compile it again.
copied the file and tried again.

Now I get:
$ make c:\forwarder
make: Nothing to be done for `c:forwarder'.
 

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
29
Location
???
XP
11,238
Country
Germany
Hielkenator said:
I.ve uploaded the source: http://www.mediafire.com/?zlbt9p8lk0xat49

main.c is allready edited.

Note: When I compile from the programmer's notepad, it does more but does'nt compile right.
lots of errors are shown.
blink.gif
and where is the problem with this source code????
CODE> "make"
dol.c
fileop.c
main.c
pngu.c
video.c
background.png
bin2s -a 32 /c/devkitPro/fw/source/images/background.png | powerpc-eabi-as -o background.png.o
echo "extern const u8" `(echo background.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo background.png | tr . _)`.h
echo "extern const u8" `(echo background.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo background.png | tr . _)`.h
echo "extern const u32" `(echo background.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo background.png | tr . _)`.h
background_wide.png
bin2s -a 32 /c/devkitPro/fw/source/images/background_wide.png | powerpc-eabi-as -o background_wide.png.o
echo "extern const u8" `(echo background_wide.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo background_wide.png | tr . _)`.h
echo "extern const u8" `(echo background_wide.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo background_wide.png | tr . _)`.h
echo "extern const u32" `(echo background_wide.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo background_wide.png | tr . _)`.h
linking ... boot.elf
output ... boot.dol

> Process Exit Code: 0
> Time Taken: 00:11
Make sure you are using the latest libogc and portlibs...
Oh, and you still have the wiimc logo, take a look into source\images
 

Hielkenator

Well-Known Member
OP
Member
Joined
Feb 7, 2010
Messages
4,210
Trophies
0
XP
679
Country
Netherlands
Oh cool!

I've dowloaded the portlibs allready.
Maybe i have them at the wrong location...
Could you point that out to me?
It's abit unclear to me because I did'nt have a folder named portlib in my devkit directory.


> "make"
fileop.c
c:/forwarder/source/fileop.c:14:18: warning: ntfs.h: No such file or directory
c:/forwarder/source/fileop.c: In function 'AddPartition':
c:/forwarder/source/fileop.c:167: warning: implicit declaration of function 'ntfsMount'
c:/forwarder/source/fileop.c:167: error: 'NTFS_DEFAULT' undeclared (first use in this function)
c:/forwarder/source/fileop.c:167: error: (Each undeclared identifier is reported only once
c:/forwarder/source/fileop.c:167: error: for each function it appears in.)
c:/forwarder/source/fileop.c:167: error: 'NTFS_RECOVER' undeclared (first use in this function)
c:/forwarder/source/fileop.c:170: warning: implicit declaration of function 'ntfsGetVolumeName'
c:/forwarder/source/fileop.c:170: warning: initialization makes pointer from integer without a cast
c:/forwarder/source/fileop.c: In function 'UnmountPartitions':
c:/forwarder/source/fileop.c:423: warning: implicit declaration of function 'ntfsUnmount'
make[1]: *** [fileop.o] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:01

The above is what I am getting....

Also does'nt libogc come with the devkitpro installation?

Really all of you, thank you very much! I've learned a great deal!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: good night