Hacking USB Loader... my turn ;)

  • Thread starter Thread starter WiiShizzza
  • Start date Start date
  • Views Views 817,541
  • Replies Replies 4,239
bula said:
WiiShizzza said:
impressive, what happened the last 10 hours...
If I should update the first post, somebody should tell me what is going on here and
what to put there, lot of new versions floating around....

This is the last V3 posted, based on sorg's 1.11 release:

http://www.yafaze.com/wii/files/USB_LOADER..._VERSION_V3.rar

Source code, please
smile.gif


Also, did I read correctly somewhere that someone ported the 1.1 release's code to C++? I'm sure that would be a lot easier to read, modify and improve than the original C version. Different people would be able to easily work on different parts of the loader too and integrate them easily. The joys of OOP.
 
bula said:
WiiShizzza said:
impressive, what happened the last 10 hours...
If I should update the first post, somebody should tell me what is going on here and
what to put there, lot of new versions floating around....

This is the last V3 posted, based on sorg's 1.11 release:

http://www.yafaze.com/wii/files/USB_LOADER..._VERSION_V3.rar

Nice one...the best outhere for now...but is there a Chance to save the Options I choose? Have I to create a Config-File? Would be happy if someone could answer me this...

QUOTE(ZaMaster @ Apr 12 2009, 05:51 PM)
Does anyone know how to compile a version with proper 16:9 support? Because all the versions in this thread still give me black borders on the left and right side of the screen.
Nope, until now, all failed...I'm also waiting for one...my advice...use a bg which is black (like the one I made
wink.gif
).
 
kongsnutz said:
He only fixed 2 things.

The game at top of list now shows.
And Game cover doesn't make it code dump anymore if sized wrong.


Not worth using yet.............

I understand he's about to release 1.4 and CIOS11 tomorrow or soon there after.
I am hoping 1.4 also adds the delete/add fix that's discussed here:

http://gbatemp.net/index.php?showtopic=147969&st=0

Waninkoko even commented on the thread and confirmed that this might fix it.
smile.gif
 
Venko said:
bula said:
WiiShizzza said:
impressive, what happened the last 10 hours...
If I should update the first post, somebody should tell me what is going on here and
what to put there, lot of new versions floating around....

This is the last V3 posted, based on sorg's 1.11 release:

http://www.yafaze.com/wii/files/USB_LOADER..._VERSION_V3.rar

Source code, please
smile.gif


Also, did I read correctly somewhere that someone ported the 1.1 release's code to C++? I'm sure that would be a lot easier to read, modify and improve than the original C version. Different people would be able to easily work on different parts of the loader too and integrate them easily. The joys of OOP.
http://superuploader.net/73d528474672-usbloader3-rar.html
 
On another string a guy says he thinks he found why the corruption occurs on deletion! It's part of libwbfs. Waninkoko confirmed the error and the solution. If we could get that working correctly, it would be sweet!

http://gbatemp.net/index.php?showtopic=147969&st=0

Top post = explanation of error and what the solution would need to be

Toward the bottom of page one Waninkoko says, "You're completely right. It frees an incorrect block (we don't free the first block of the game, but we free the first block next to the last block of the game)."


If that gets fixed (and if CIOS 11 fixes the no other USB limitation) then this becomes the loader I will stick with.


Oops looks like I was too slow typing all this. Since it's a new page I'll leave it anyway.
 
Blue-K said:
bula said:
WiiShizzza said:
impressive, what happened the last 10 hours...
If I should update the first post, somebody should tell me what is going on here and
what to put there, lot of new versions floating around....

This is the last V3 posted, based on sorg's 1.11 release:

http://www.yafaze.com/wii/files/USB_LOADER..._VERSION_V3.rar

Nice one...the best outhere for now...but is there a Chance to save the Options I choose? Have I to create a Config-File? Would be happy if someone could answer me this...

QUOTE(ZaMaster @ Apr 12 2009, 05:51 PM)
Does anyone know how to compile a version with proper 16:9 support? Because all the versions in this thread still give me black borders on the left and right side of the screen.
Nope, until now, all failed...I'm also waiting for one...my advice...use a bg which is black (like the one I made
wink.gif
).

@Blue-k Could you give me a link to your bg?
 
ZaMaster said:
@Blue-k Could you give me a link to your bg?


I've updated it right now. Changes:
-Added Kwiirk to Credits (Sorry..I totaly forgot you..you realy deserve it
smile.gif
)
-Changed Button Layout to match with Loader
 
Blue-K said:
ZaMaster said:
@Blue-k Could you give me a link to your bg?


I've updated it right now. Changes:
-Added Kwiirk to Credits (Sorry..I totaly forgot you..you realy deserve it
smile.gif
)
-Changed Button Layout to match with Loader

Do you have this also for the simple button layouts?
(language +/_ )

ignore, can use this one if take child1 :-)
 
ZaMaster said:
Does anyone know how to compile a version with proper 16:9 support? Because all the versions in this thread still give me black borders on the left and right side of the screen.


Sadly there is no PROPER Widescreen (16:9) fix anywhere yet. Not even Homebrew Channel v1.0.1 have a PROPER Widescreen mode.

If you check on a Wii in 4:3 mode on a 4:3 TV and look at the SD-card when booting HBC v1.0.1, and compare that to a Wii in 16:9 on a 16:9 TV you will see that the SD-card actually is thicker/wider in 16:9 mode then in 4:3 mode, so the "FIX" is a small stretching codefix.

That is whats possible right now as far as I have seen (tell me if I'm wrong).

If a little more stretch to the picture is OK (you hate borders more then a stretched picture) then this is whats need to be done:

Find this place in: Video.c
Code:
void Video_SetMode(void)
{
ÂÂÂÂ/* Select preferred video mode */
ÂÂÂÂvmode = VIDEO_GetPreferredMode(NULL);
ÂÂÂÂ
ÂÂÂÂ/* Allocate memory for the framebuffer */
ÂÂÂÂframebuffer = MEM_K0_TO_K1(SYS_AllocateFramebuffer(vmode));

And change/add this to: Video.c
CODEvoid Video_SetMode(void)
{
ÂÂÂÂ/* Select preferred video mode */
ÂÂÂÂvmode = VIDEO_GetPreferredMode(NULL);
ÂÂÂÂ
ÂÂÂÂvmode->viWidth = 678;
ÂÂÂÂvmode->viXOrigin = (VI_MAX_WIDTH_PAL - 678)/2;

ÂÂÂÂ/* Allocate memory for the framebuffer */
ÂÂÂÂframebuffer = MEM_K0_TO_K1(SYS_AllocateFramebuffer(vmode));

If this is done there should no longer be any black bars on the screen.
 
MightyMouse said:
i love this background Blue-K its very iphone lol
Thanks
smile.gif
. Well, it's not iPhone, it should be the Cover Flow-Layout
tongue.gif
. But that's also from Apple ;) (I love the Design of them
wub.gif
)


QUOTE(-pb- @ Apr 12 2009, 06:28 PM) Do you have this also for the simple button layouts?
(language +/_ )
I can make one...wait a minute...
 
People, in first place, I'd like to thank you for the excellent efforts to build the perfect loader. It's awesome to see all the progress since first release from Waninkoko. Now, I'd like to contribute with a minor issue I've found with ULTIMATE LOADER V3: The boxes arts doesn't show up when USB device doesn't initialize immediately with the loader. Only "noimage.png" appears to all games. When I switch my 2.5 HD with USB external case (which takes 4-5 seconds to detect after loader starts) by my 2GB Pen-drive (which is detected at start) the boxes appears. I believe the delay to detect USB device causes this issue. I hope you guys can fix this. You're great and sorry for my bad English!
 
But if Wanin make a 1.4, it will correct libwbfs but still have ton of bug, resolved with utltimate version here, no ?
So need 2 version : one to delete, other to play ?
Hope 1.4 + ultimate will be able to be merged...
 
Renaldo225 said:
On another string a guy says he thinks he found why the corruption occurs on deletion! It's part of libwbfs. Waninkoko confirmed the error and the solution. If we could get that working correctly, it would be sweet!

http://gbatemp.net/index.php?showtopic=147969&st=0

Top post = explanation of error and what the solution would need to be

Toward the bottom of page one Waninkoko says, "You're completely right. It frees an incorrect block (we don't free the first block of the game, but we free the first block next to the last block of the game)."


If that gets fixed (and if CIOS 11 fixes the no other USB limitation) then this becomes the loader I will stick with.


Oops looks like I was too slow typing all this. Since it's a new page I'll leave it anyway.

The bug has been solved. Try this..... http://www.mediafire.com/?vvtmcmlyh32

Update you WBFS tools, You do not have to re-format. This can be used as standalone, or any GUI that uses Sorg's command line util.
 
PNo4 said:
ZaMaster said:
Does anyone know how to compile a version with proper 16:9 support? Because all the versions in this thread still give me black borders on the left and right side of the screen.


Sadly there is no PROPER Widescreen (16:9) fix anywhere yet. Not even Homebrew Channel v1.0.1 have a PROPER Widescreen mode.

If you check on a Wii in 4:3 mode on a 4:3 TV and look at the SD-card when booting HBC v1.0.1, and compare that to a Wii in 16:9 on a 16:9 TV you will see that the SD-card actually is thicker/wider in 16:9 mode then in 4:3 mode, so the "FIX" is a small stretching codefix.

That is whats possible right now as far as I have seen (tell me if I'm wrong).

If a little more stretch to the picture is OK (you hate borders more then a stretched picture) then this is whats need to be done:

Find this place in: Video.c
Code:
void Video_SetMode(void)
{
ÂÂÂÂ/* Select preferred video mode */
ÂÂÂÂvmode = VIDEO_GetPreferredMode(NULL);
ÂÂÂÂ
ÂÂÂÂ/* Allocate memory for the framebuffer */
ÂÂÂÂframebuffer = MEM_K0_TO_K1(SYS_AllocateFramebuffer(vmode));

And change/add this to: Video.c
CODEvoid Video_SetMode(void)
{
ÂÂÂÂ/* Select preferred video mode */
ÂÂÂÂvmode = VIDEO_GetPreferredMode(NULL);
ÂÂÂÂ
ÂÂÂÂvmode->viWidth = 678;
ÂÂÂÂvmode->viXOrigin = (VI_MAX_WIDTH_PAL - 678)/2;

ÂÂÂÂ/* Allocate memory for the framebuffer */
ÂÂÂÂframebuffer = MEM_K0_TO_K1(SYS_AllocateFramebuffer(vmode));

If this is done there should no longer be any black bars on the screen.

It's a shame they aren't incorporating it. Look at the post by Marcan himself on hackmii:

""marcan // Dec 9, 2008 at 6:52 pm

@bob:

Not really. HBC wasn’t engineered with 16:9 support in mind.""

I've noticed the difference of the SD card, but I don't like it when the image gets stretched. It's a shame I don't know a thing about coding. Shouldn't the code be somewhere inside the system menu code of the Wii itself, because the system menu doesn't have a problem with 16:9

@K-blue thanks for your bg. It's really nice!
 
OuahOuah said:
But if Wanin make a 1.4, it will correct libwbfs but still have ton of bug, resolved with utltimate version here, no ?
So need 2 version : one to delete, other to play ?
Hope 1.4 + ultimate will be able to be merged...


I would put money on the fact that hungyip will be merging the ultimate version with 1.4 very soon after its released; he's been doing alot of that up until this point and I sense a pattern.
 

Site & Scene News

Popular threads in this forum