Hacking USBLoader with Game Images

ulysse57

Well-Known Member
Newcomer
Joined
Apr 9, 2009
Messages
91
Trophies
0
XP
30
Country
France
Hi,

did you already integrated the fix for the deleting bug when you remove a game ?

Posted by AllWIIdUP:

Looking at the WBFS alloc and free functions I noticed an off by 1 error, that likely frees the wrong block.

in libwbfs.c:

CODEstatic void free_block(wbfs_t *p,int bl)
{
+ int i = (bl-1)/(32);
+ int j = (bl-1)&31;
u32 v = wbfs_ntohl(p->freeblks);
p->freeblks = wbfs_htonl(v | 1freeblks);
p->freeblks = wbfs_htonl(v | 1wlba_table); // bl = info->wlba_table
if (iwlba)
free_block(p,iwlba); // should have been free_block(p,iwlba - 1);but since "alloc_block" adds the +1 then "free_block" should have the -1, otherwise someone else might introduce the bug again, if the use free_block in another place since both block functions are used for "wlba_table".
 

TiMeBoMb4u2

Well-Known Member
Member
Joined
Oct 25, 2008
Messages
1,550
Trophies
0
Location
Hyrule
XP
1,198
Country
United States
Kosaic said:
@TiMeBoMb4u2 ...

Are you creating these in Photoshop ? If so, could I get the .psd file for the BMW background? Easier for me to tweak ...

Upload it somewhere, and stick the link here ... would be awesome.

Thanks again

Here's the BMW Photoshop Template... http://www.filesavr.com/usbloadertemplate-bmw


TiMeBoMb
yay.gif
 

TiMeBoMb4u2

Well-Known Member
Member
Joined
Oct 25, 2008
Messages
1,550
Trophies
0
Location
Hyrule
XP
1,198
Country
United States
smash_brew said:
@ Timebomb
Thanks for the simpsons theme. It looks great and is just what i was looking for. It really couldn't be better. Thanks again.

yay.gif
It was a request, so I was just helping out!
yay.gif
I'm glad to see you like it!
yay.gif



TiMeBoMb
=)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Maximumbeans @ Maximumbeans: butte