Hacking USB Loader... my turn ;)

Venko

Well-Known Member
Member
Joined
Feb 16, 2007
Messages
159
Trophies
0
Location
England
XP
264
Country
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.
 

Blue-K

No right of appeal.
Member
Joined
Jun 21, 2008
Messages
2,572
Trophies
0
Location
Helvetica
XP
209
Country
Swaziland
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
).
 

jservs7

Witcher of Whores
Member
Joined
May 14, 2008
Messages
892
Trophies
0
XP
222
Country
United States
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
 

bula

Well-Known Member
Member
Joined
Feb 4, 2009
Messages
812
Trophies
0
XP
42
Country
United States
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
 

Renaldo225

Member
Newcomer
Joined
Oct 26, 2008
Messages
22
Trophies
0
XP
31
Country
United States
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.
 

ZaMaster

Well-Known Member
Newcomer
Joined
Sep 14, 2006
Messages
62
Trophies
1
Age
47
Location
Netherlands
Website
www.gamestalker.nl
XP
1,008
Country
Netherlands
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?
 

netghost007

Active Member
Newcomer
Joined
Apr 8, 2009
Messages
30
Trophies
0
XP
9
Country

Blue-K

No right of appeal.
Member
Joined
Jun 21, 2008
Messages
2,572
Trophies
0
Location
Helvetica
XP
209
Country
Swaziland
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
 

-pb-

Well-Known Member
Newcomer
Joined
Mar 30, 2009
Messages
97
Trophies
0
Location
nl
Website
Visit site
XP
50
Country
Netherlands
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 :-)
 

PNo4

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
259
Trophies
1
Website
Visit site
XP
256
Country
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.
 

Blue-K

No right of appeal.
Member
Joined
Jun 21, 2008
Messages
2,572
Trophies
0
Location
Helvetica
XP
209
Country
Swaziland
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...
 

mso2000

New Member
Newbie
Joined
Apr 12, 2009
Messages
4
Trophies
0
XP
6
Country
Brazil
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!
 

OuahOuah

Well-Known Member
Member
Joined
Oct 2, 2006
Messages
1,072
Trophies
1
Age
46
Location
France
Website
www.ouahouah.eu
XP
764
Country
France
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...
 

netghost007

Active Member
Newcomer
Joined
Apr 8, 2009
Messages
30
Trophies
0
XP
9
Country
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.
 

ZaMaster

Well-Known Member
Newcomer
Joined
Sep 14, 2006
Messages
62
Trophies
1
Age
47
Location
Netherlands
Website
www.gamestalker.nl
XP
1,008
Country
Netherlands
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!
 

Reign1

Active Member
Newcomer
Joined
Mar 21, 2009
Messages
27
Trophies
0
XP
13
Country
United States
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

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: I think Switch 2 will launch about Christmas this year lol