Hacking New WAD Manager mod

  • Thread starter Thread starter WiiPower
  • Start date Start date
  • Views Views 8,703
  • Replies Replies 38
one thing that kind of sucks is that not all of my wads will install properly under a certain IOS, 36 works for some, but then I have to try a different one for different wads.
 
i get this error when trying to compile it

> "make"
sys.c
video.c
wad-manager.c
wad.c
wpad.c
pngu.c
stub.S
linking ... boot.elf
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.4/../../../../powerpc-gekko/bin/ld.exe: cannot find -lpng
collect2: ld returned 1 exit status
make[1]: *** [/c/wad/boot.elf] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:03
 
WiiPower, can you do me a little favour and compile a version for me that returns to the System Menu? Thanks in advance
smile.gif
 
mat03111984 said:
so can i install wads straight to an sd card then? does the sd card menu have a certain ios that i can choose?

No.

TrickyTony said:
My Wii has been off visiting Nintendo for a while now, can someone explain to a dumbass like me why this is needed. Obviously it is, but for what?

You might need it, because you want to install wads from usb while you have the usb loader cIOS installed. Or you might need it to downgrade with IOS16 or IOS35, without getting a 2nd WAD Manager.

SpaceJump said:
Guess what, suddenly USB Storage works with IOS36. I didn't change anything. Strange...

Anyway, thanks WiiPower
smile.gif


That's what i said, usb storage doesn't work with IOS249 if you have the usb loader cIOS installed.

QUOTE(FenrirWolf @ Apr 18 2009, 10:52 PM) Okay, when I used this it didn't let me select what IOS to run off of. It was stuck on IOS36.

Can you give me more details please? Do you have a cIOS installed? I will check what happens in the case the default IOS isn't present.

QUOTE(WiiMonkey @ Apr 18 2009, 11:04 PM)
i get this error when trying to compile it

> "make"
sys.c
video.c
wad-manager.c
wad.c
wpad.c
pngu.c
stub.S
linking ... boot.elf
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.4/../../../../powerpc-gekko/bin/ld.exe: cannot find -lpng
collect2: ld returned 1 exit status
make[1]: *** [/c/wad/boot.elf] Error 1
"make": *** [build] Error 2

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

Look at the readme.
 
Lol too many quotes...

Please don't quote the full post if you reply to me. Try it, it's not that difficult and helps reading the thread a lot.

Does anybody have suggestions what to integrate into this WAD Manager mod? I mean things that are helpfull but easy to implement, so no install directly to sd, or determine how much space is left and much much space will be taken, sorry.



SpaceJump said:
WiiPower, can you do me a little favour and compile a version for me that returns to the System Menu? Thanks in advance
smile.gif

I'm on it. The next version will return to loader if started from a loader and restart the wii else. You want this for a channel version, right?
 
@WiiPower: make the ultimate (lol) WAD-Manager by adding the following line of code after "fatInitDefault()":

Code:
ÂÂÂÂfatSetReadAhead("sd", 6, 64);
ÂÂÂÂfatSetReadAhead("usb", 6, 64);


then link your program with an up-to-date libogc/libfat (get it from snes9x download page)


This make use of a libfat patch that setup a readahead cache and will GREATLY speedup SDCARD reads (not sure about USB, didn't notice any improvment myself)

hope that helps, would be better to centralize all WM mods together
 
http://rapidshare.com/files/223160503/WADM...lectR2.zip.html

This should return to loader when started from a loader and restart the wii when started from a channel. Please test this before releasing channel versions. And i was in panic for 2 minutes as i couldn't access my sd card anymore. That's why version now tells you if the wad folder is missing instead of displaying error -1.

FenrirWolf said:
Okay, when I used this it didn't let me select what IOS to run off of. It was stuck on IOS36.

Sorry, i couldn't reproduce this. As long i have no clue at all why it happens i can't fix it, sorry. Does it happen in SoftChip too?

Jacobeian said:
@WiiPower: make the ultimate (lol) WAD-Manager by adding the following line of code after "fatInitDefault()":

CODEÂÂÂÂfatSetReadAhead("sd", 6, 64);
ÂÂÂÂfatSetReadAhead("usb", 6, 64);


then link your program with an up-to-date libogc/libfat (get it from snes9x download page)


This make use of a libfat patch that setup a readahead cache and will GREATLY speedup SDCARD reads (not sure about USB, didn't notice any improvment myself)

hope that helps, would be better to centralize all WM mods together

Well, i'm conservative when it's about speed and stability. I don't know much about it, and i don't know on which libogc and ligfat version it's based. As long as i'm not sure that it has the same or a higher compatibility than the standard libogc/libfat, i won't integrate it. But of course you are free to mod my version with this.


PS: I'm thinking about adding usb 2.0 storage cIOS support, but i don't have any experience with it. If anybody knows how to use it, could this someone integrate it, so that this WAD Manager uses the usb2.0 module if the proper IOS(IOS202?) is used?
 
QUOTE said:
Well, i'm conservative when it's about speed and stability. I don't know much about it, and i don't know on which libogc and ligfat version it's based. As long as i'm not sure that it has the same or a higher compatibility than the standard libogc/libfat, i won't integrate it. But of course you are free to mod my version with this.

I can ensure you it's based on the last libfat version
The patch has been done by svpe and was submitted some time ago in the sourceforge patch tracker

I think it has been applied by rodries on the last libfat and doesn not break anything regarding compatibilty, only increase reading speed. It is currently used in many applications (emulators and media players).

I already use my own WM version, this was just meant to get all "mods" in one package

QUOTEPS: I'm thinking about adding usb 2.0 storage cIOS support, but i don't have any experience with it. If anybody knows how to use it, could this someone integrate it, so that this WAD Manager uses the usb2.0 module if the proper IOS(IOS202?) is used?

I thin you only have to load a CIOS that have an usb2.0 driver... this is transparent from the program side
 
I will take a look at it this afternoon.

Integrating all features into one WAD Manager mod would be really nice. Actually i'm dreaming about a google code project with a few developers that all work together to improve the WAD Manager. And best would be of course if Waninkoko would be one of these developers *even more dreaming*.
 
WiiPower said:
I will take a look at it this afternoon.

Integrating all features into one WAD Manager mod would be really nice. Actually i'm dreaming about a google code project with a few developers that all work together to improve the WAD Manager. And best would be of course if Waninkoko would be one of these developers *even more dreaming*.

Out of curiosity, what would you like to improve ?

Any way, the WAD Manager code is pretty simple, this is mainly a wrapup for libogc ES_ functions. Once you know what steps are required to install/uninstall WAD channel content on the NAND, you could just make your own project on googlecode (lol, the guy behing WiiQUiz already did the same by the way, some of its app are just mockup of waninkoko ones), I don't see any problem with that, there aren't many ways to do that kind of stuff on the Wii...
 
noobwarrior7 said:
lol....it was a nice off-topic.


Well i dont think it is off-topic, even though my initial idea was completely wrong. This new Wad Manager lets you select which IOS you want to use, on the other hand SoftChip and Toy R8 let you do the same, select which IOS are you going to boot. I was just making a comparision in functionability but now i understand that this change only affect Toy R8 not the regular Wad Manager so i would be impossible to select the IOS at Toy R8 options and then go to Wad manager using this selection.
 

Site & Scene News

Popular threads in this forum