Hacking Configurable USB Loader

  • Thread starter Thread starter oggzee
  • Start date Start date
  • Views Views 7,866,408
  • Replies Replies 18,482
  • Likes Likes 22
Brawler said:
A question: is there a wad for the latest version of the loader?
No. There is very little point to hybrid/full channel wads. No configurability, no covers, no support files whatsoever.

If what you want is to have a channel to launch the latest version, then install a forwarder (there are links to several in the first post). You only have to install the forwarder once and update the .dol on your SD card or USB drive using the normal update methods.
 
WiiPower said:
Strange. Did you try the different parameters? And could you please try it with NeoGamma? That would help to identify if the disc+ or the loader code is causing the problem.

Yes I did, but it won't laod Rampage :/
I can't try with NeoGamma cos I own a black Wii and I cannot use backups.
 
Looking for a new drive today. Anyone have a favorite 1TB drive or larger they would recommend? Any you wouldn't recommend?
Thanks
 
western digital 1tb my book, they usually have it at sams club for about 100 bucks. i have one, and i set up two for my family they are great.
 
woodoste said:
WiiPower said:
Strange. Did you try the different parameters? And could you please try it with NeoGamma? That would help to identify if the disc+ or the loader code is causing the problem.

Yes I did, but it won't laod Rampage :/
I can't try with NeoGamma cos I own a black Wii and I cannot use backups.
neogamma can load backup disc AND is also a HDD usb loader
 
Dr. Clipper said:
9th_Sage said:
Heh, maybe there will be a new option:

enable_laser_sharks
If it were possible... Unfortunately, we can't do that for the same reasons as to why we can't make the intro image configurable. I guess we could make it passable via command line argument only, but that would need the forwarder creators to also be on board.
Oh, that's right. lol I was mostly joking anyway...I just thought it would be hillarious to have an argument called enable_laser_sharks.
 
woodoste said:
WiiPower said:
Strange. Did you try the different parameters? And could you please try it with NeoGamma? That would help to identify if the disc+ or the loader code is causing the problem.

Yes I did, but it won't laod Rampage :/
I can't try with NeoGamma cos I own a black Wii and I cannot use backups.

Oh, you got that wrong. A black wii has the new drive that prevents reading DVD-Rs with a software method. That's the only difference, you can still use NeoGamma to load retail discs and to load from sd or usb. You just need Waninkoko's cIOS for this, while configurable usb loader also works with both Hermes' and Waninkoko's cIOS. And i guess you have Waninkoko's cIOS already installed.
 
WiiPower said:
Strange. Did you try the different parameters? And could you please try it with NeoGamma? That would help to identify if the disc+ or the loader code is causing the problem.
Using the wdm file he posted I can confirm choosing Rampage from disc+ in both CFG and NeoGamma R8 launch Rampage Total Destruction.
 
DGenerateKane said:
WiiPower said:
Strange. Did you try the different parameters? And could you please try it with NeoGamma? That would help to identify if the disc+ or the loader code is causing the problem.
Using the wdm file he posted I can confirm choosing Rampage from disc+ in both CFG and NeoGamma R8 launch Rampage Total Destruction.

If you look, you will see that NeoGamma shortly tells which .dol it boots. I guess because of some bug, it boots the main.dol, but that needs to be confirmed. Hmm, maybe the .wdm code doesn't like the .dol in the .wdm file, it's written that the name doesn't need to be the full name. Actually just an "M" should be enough, that would cause it to look for .dols with names starting with "M", and since the main.dol is not in the fst.bin, it would only find one and use that. Long story short: I would try it with M1 or even just M as .dol name.
 
Yeah, it says its loading main.dol. Do you mean just "M" and "M1" without .dol? Because it already was M1.dol. I tried just M1 with the same result and just M got it to load jarvos.dol which is Rampage World Tour.
 
DGenerateKane said:
Yeah, it says its loading main.dol. Do you mean just "M" and "M1" without .dol? Because it already was M1.dol. I tried just M1 with the same result and just M got it to load jarvos.dol which is Rampage World Tour.

Ok, then i would say there's some major bug in the .wdm code. Alt .dol disc, gets you to select main.dol, jarvos.dol and M1.dol, right? Then alt .dol disc+ should accept these 3. What happens if you replace all .dol names in the .wdm file with M1, and then try to play the other games? If this doesn't lead anywhere, i will look at the .wdm code tomorrow.
 
Yes, all three are present for Alt. dol disc, and changing the others to M1 results in main.dol getting loaded each time.
 
I found 1 bug:
u32 stringcompare(char *s1, char *s2)
{
u32 index = 0;
while (true)
{
if (s1[index] == 0 || s2[index] == 0)
{
return 0;
}
if (s1[index] != '?' && s2[index] != '?' && toupper((u8)s1[index]) != toupper((u8)s2[index]))
{
return index;
}
index++;
}
}

If the 1st character doesn't match it also returns 0, i return 1 there now. That explains why M booted the other .dol. Well, the code should fall back to main.dol if there are 2 matches, which means it doesn't have a M1.dol in the list it looks in. And that doesn't make sense, NeoGamma uses the very same code for disc and disc+, it gets the .dol name in both cases and then searches its offset.

PS: If you want to, you don't have to, you can try "?1" but i doubt it changes anything
PPS: Sorry i'm tired but i think this bug might be the bug here, and "?1" should work as tempory fix
 
Yes, that is the bug. The other games we have tested have either only had two .dols (and main gets ignored) or have alternate .dols where the first character is the same.

?1 will work as a temporary fix as suggested. I'll code up a fixed version of the code for Cfg too soon.
 
WiiPower said:
DGenerateKane said:
Yeah it worked.

Thanks for the patient testing. It was all my fault, i wrote that bug.
wow.
a coder taking credit for a bug ?!
that is classy.
bow.gif

big respect wiipower.. big respect.
and thanks for all your work, it is truly appreciated (as well as the work of all the coders around.)

Cheers,
R
 

Site & Scene News

Popular threads in this forum