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.