Hacking USB Loader1.1 + Power Button Fix

  • Thread starter Thread starter hungyip84
  • Start date Start date
  • Views Views 6,789
  • Replies Replies 36

hungyip84

Well-Known Member
Member
Joined
Mar 5, 2007
Messages
470
Reaction score
0
Trophies
1
XP
136
Country
United States
Hi,

Here is my updated version of usb loader, which merge almost everything together.

Here is the default menu: (by raptor1010)

3129tvk.png


Power Button code dump is fixed!

Here is the special control:

button 1: force NTSC (or force PAL)
button 2: toggle language

Put all image files to SD:/images/
If the loader could not find noimage.png and bg.png, it will use the one default by the loader.


If someone want to have WiiShizzza's background, I could make a version that fit that background too.

Here is the link (SD bug should be fixed)

NTSC:
http://sharebee.com/840f0eba
PAL:
http://sharebee.com/ef50a18c

Thanks =)
 
usptactical said:
Sigh...this still has the long filename bug and looks like it doesn't have the SD fix.

Could you tell me more about the SD fix and the long filename bug?

Here is the default menu: (by raptor1010)

3129tvk.png
 
hungyip84 said:
usptactical said:
Sigh...this still has the long filename bug and looks like it doesn't have the SD fix.

Could you tell me more about the SD fix and the long filename bug?

Here is the default menu: (by raptor1010)

3129tvk.png
Here I fix the long file name bug and also the sd bug but I don't have time to test it.

http://sharebee.com/396b5e4d
 
56killer said:
hungyip84 said:
usptactical said:
Sigh...this still has the long filename bug and looks like it doesn't have the SD fix.

Could you tell me more about the SD fix and the long filename bug?

Here is the default menu: (by raptor1010)

3129tvk.png
Here I fix the long file name bug and also the sd bug but I don't have time to test it.

http://sharebee.com/396b5e4d

Thanks for fixing!

I will test it out now.

BTW, should I include

fatUnmount("sd");
__io_wiisd.shutdown();

before every return code in fst.c? I see that some return routine don't have these 2 lines of code
 
QUOTE said:
Thanks for fixing!

I will test it out now.

BTW, should I include

fatUnmount("sd");
__io_wiisd.shutdown();

before every return code in fst.c? I see that some return routine don't have these 2 lines of code

Just tried it out. It could not load the image.
 
hungyip84 said:
QUOTE said:
Thanks for fixing!

I will test it out now.

BTW, should I include

fatUnmount("sd");
__io_wiisd.shutdown();

before every return code in fst.c? I see that some return routine don't have these 2 lines of code

Just tried it out. It could not load the image.

which ones?
 
56killer said:
hungyip84 said:
QUOTE said:
Thanks for fixing!

I will test it out now.

BTW, should I include

fatUnmount("sd");
__io_wiisd.shutdown();

before every return code in fst.c? I see that some return routine don't have these 2 lines of code

Just tried it out. It could not load the image.

which ones?

Both cover arts and the background image.
 
So what is the ocarina bug? I don't use ocarina so didn't test on ocarina.

About sd bug, what is it?

Thanks!
 
I don't know how to set the apps/"loader"/ to load the images from there but you can change.

In menu.c
QUOTE said:
char imgPath[20];

and

snprintf(imgPath, sizeof(imgPath), "./images/%c%c%c%c%c%c.png", ascii(header->id[0]), ascii(header->id[1]), ascii(header->id[2]), ascii(header->id[3]), ascii(header->id[4]), ascii(header->id[5]));

To
QUOTE said:
char imgPath[30];

and

snprintf(imgPath, sizeof(imgPath), "sd:/images/%c%c%c%c%c%c.png", ascii(header->id[0]), ascii(header->id[1]), ascii(header->id[2]), ascii(header->id[3]), ascii(header->id[4]), ascii(header->id[5]));


Check If it works but images should go in root in folder images.

Posts merged

And

QUOTE said:
ctx = PNGU_SelectImageFromDevice("./images/noimage.png");

To

QUOTE said:
ctx = PNGU_SelectImageFromDevice("sd:/images/noimage.png");

In usb-loader.c
QUOTE
ctx = PNGU_SelectImageFromDevice("images/bg.png");

To
QUOTE
ctx = PNGU_SelectImageFromDevice("sd:/images/bg.png");
 
Sorry for triple post.

I'm going to sleep now its 12:42 am here in Puerto Rico and will check what else I can do or see other people fixes tomorrow.
 
56killer said:
Sorry for triple post.

I'm going to sleep now its 12:42 am here in Puerto Rico and will check what else I can do or see other people fixes tomorrow.

Sounds like a good idea
smile.gif

Take a rest. same do I.

G.Night
 
WiiShizzza said:
56killer said:
Sorry for triple post.

I'm going to sleep now its 12:42 am here in Puerto Rico and will check what else I can do or see other people fixes tomorrow.

Sounds like a good idea
smile.gif

Take a rest. same do I.

G.Night

Goodnight =)
 

Site & Scene News