Hacking Forwarder with meta.xml support

  • Thread starter Thread starter FIX94
  • Start date Start date
  • Views Views 92,174
  • Replies Replies 106
  • Likes Likes 5
XFlak said:
is your new version the same one u got me to test via PM?
thx!
Not in EVERY point, but you can say the main thing is the same. It's really strange that sd card loading is slow for you, it works fine for me. Please try the forwarder in the pm you got.
 
That's exactly what I tested and I experienced slow loading time only when there was an SD card inserted in the Wii. I'm using a standard 2GB Sandisk SD card.

edit: my bad, I totally missed your new PM, I'll test asap and let u know!

edit2: that didn't load any faster from SD, sorry dude!
 
XFlak said:
That's exactly what I tested and I experienced slow loading time only when there was an SD card inserted in the Wii. I'm using a standard 2GB Sandisk SD card.
Even the new one from today? Look to your messenger again.
 
I can't get my meta.xml to be used by the forwarder.

Background: my Wii is running system menu 4.3 (don't ask), so I must use an IOS other than 249 for the USBLoader. I chose ISO248. following this guide: http://gwht.wikidot.com/usb-loader

I have no problem running the USBLoader from HBC (0.8), and I see it use ISO248 on startup (bottom-right corner of the screen). But when I run from the forwarder, it tries to use IOS249 and I get the "ISO249 is a stub" error.

Looking at the source code posted above in this thread, I must say I can't see how the parameters read from the meta.xml file can be used on the command-line.

First, in arg_addl(), cmdline is built with NULs between the arguments. No string function that I know of will look past the first NUL.

2nd, in main(), when building the command line for the entrypoint, argc is forced to 1 and the only argv set is [0] with the above-mentioned command-line, which means no arguments are actually passed to USBLoader.

Has anyone been able to get their USBLoader's meta.xml used by the forwarder ? If so, can you please tell me how ?
 
@JMFangio:
You don't need to change anything in the source, it's fine.
Meta.xml arguments structure:
CODE
...
...
...
...

The argument you want
The second argument you want

 
Wow, I realized the parser was picky, but not that much ! The relevant fragment of my meta.xml was like this:

CODEios=248

Chaning it to the following made things work:

CODE
ios=248


I don't understand why that is just looking at the code, but oh well... Thanks for your quick reply !
 
Hey guys, I've uploaded the source from my new cfg-loader forwarder v8, have fun
smile.gif

It would be great if someone could try it, thanks!
 
i tried to compile your forwarder v8, but :

with no splash :

linking ... boot.elf
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/4.5.1/../../../../powerpc-eabi/bin/ld.exe: cannot find -lpng
collect2: ld returned 1 exit status
make[1]: *** [/c/Wii/forwarder/boot.elf] Error 1
"make": *** [build] Error 2

with splash :

c:/Wii/forwarder/source/pngu.c:13:17: fatal error: png.h: No such file or directory
compilation terminated.
make[1]: *** [pngu.o] Error 1
"make": *** [build] Error 2

blink.gif
 
Fox888 said:
i tried to compile your forwarder v8, but :

with no splash :

linking ... boot.elf
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/4.5.1/../../../../powerpc-eabi/bin/ld.exe: cannot find -lpng
collect2: ld returned 1 exit status
make[1]: *** [/c/Wii/forwarder/boot.elf] Error 1
"make": *** [build] Error 2

with splash :

c:/Wii/forwarder/source/pngu.c:13:17: fatal error: png.h: No such file or directory
compilation terminated.
make[1]: *** [pngu.o] Error 1
"make": *** [build] Error 2

blink.gif
You will need libpng for the splash version but I forgot to remove the png from the makefile from the no splash version, now it's removed, thanks! Please re-download the no splash source, now it should work.
If you want to compile the splash version you will need to extract the portlibs folder to your local devkitpro folder
 
Thanks Fix94 for the quick answer, but i just re-downloaded the no splash source and it still give me the same error as above..

anyway´s Thanks for your work on this
yaywii.gif


btw your v2 source compile just like a charm
yaywii.gif
 
Fox888 said:
Thanks Fix94 for the quick answer, but i just re-downloaded the no splash source and it still give me the same error as above..

anyway´s Thanks for your work on this
yaywii.gif


btw your v2 source compile just like a charm
yaywii.gif
laugh.gif
Sorry, I've found the problem, NOW it should work perfect
wink2.gif
 
XFlak said:
do we need to redownload the libs or just the source?
The libs are still OK, you only need to redownload the source. Is everything working for you now?
 
FIX94 said:
XFlak said:
do we need to redownload the libs or just the source?
The libs are still OK, you only need to redownload the source. Is everything working for you now?
I was able to compile it properly, I'll test it on my Wii as soon as get a chance and let u know
biggrin.gif


edit: quick q, adding more forwarder paths (ie. 10 instead of 4) shouldn't slow down the forwarder at all, right? If it does, I imagine the difference in loading time would be negligible, but I'm just wondering.
 
XFlak said:
edit: quick q, adding more forwarder paths (ie. 10 instead of 4) shouldn't slow down the forwarder at all, right? If it does, I imagine the difference in loading time would be negligible, but I'm just wondering.
I think it's no problem, it could be that it's a bit slower if the file is on path 10
laugh.gif
, but not very much.
 

Site & Scene News

Popular threads in this forum