bula said:FenrirWolf said:So it sounds like the fix is simple. Sweet.
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".
EDIT:
WiiNinja compiled and tested a windows version with the fix and all it well ;P
http://www.mediafire.com/?vvtmcmlyh32
Hi hungyip84
can you add the 1 to v3 source and recompile it. This should sove the remove problem. Thanks
hungyip84 said:bula said:FenrirWolf said:So it sounds like the fix is simple. Sweet.
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".
EDIT:
WiiNinja compiled and tested a windows version with the fix and all it well ;P
http://www.mediafire.com/?vvtmcmlyh32
Hi hungyip84
can you add the 1 to v3 source and recompile it. This should sove the remove problem. Thanks
Easy fix =) I have fixed it
hungyip84 said:bula said:FenrirWolf said:So it sounds like the fix is simple. Sweet.
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".
EDIT:
WiiNinja compiled and tested a windows version with the fix and all it well ;P
http://www.mediafire.com/?vvtmcmlyh32
Hi hungyip84
can you add the 1 to v3 source and recompile it. This should sove the remove problem. Thanks
Easy fix =) I have fixed it
wiimano said:kongsnutz said:Can you provide Hunyip with Brismas source code??
maybe he'll have a look..being the nice fellow he is.
hey mates, happy easter to ya, ive shown a few people the source for brismas loader, but i will just post it here again, here ya go
yes, in my sd root, in folder named images, no caps
all images are from kosaic, so they should be right
the problem seems to be when the loader says "waiting for usb device" the images will not load after the usb drive been detected
if loader doesn't say that and loads right away, images load
on brismas tho, images will load no matter how long it says "waiting for usb device"
thats what ive been tryin to have people add into these loaders on here, i know there is others too, they just havent been sayin somethin about it. unfortunately my drive is not as compatible so it takes a few seconds to 30 seconds to recognize and load up the drive
here is the source to brismas loader
http://wiinewz.com/forums/591533-post80.html
http://www.brisma.net/src/USB_Loader.1.1s_...1_by_Brisma.zip
also, this was another i found, and it worked, just simply used brismas source among others
http://www.tehskeen.com/forums/showpost.ph...amp;postcount=1
hungyip pleaes take a look at source if you can, to figure the image reload fix out, because this works great for me, but not close to how good the loaders are now.
Hey hungyip84, can you also try to implement the title renaming via Config-File from here? That would be awesomehungyip84 said:Tester needed for delete bug fix:
[url=http://sharebee.com/8fada77a]http://sharebee.com/8fada77a[/url]
Take your own risk!
Posts merged
I will look at the image reload bug.
Do you have any IM so i can work with you?
OuahOuah said:LOL Hungyip84, what can NOT you do ?
Maybe you're spanish and you're Waninkoko
hungyip84 said:Tester needed for delete bug fix:
[url=http://sharebee.com/8fada77a]http://sharebee.com/8fada77a[/url]
Take your own risk!
Posts merged
I will look at the image reload bug.
Do you have any IM so i can work with you?
hungyip84 said:OuahOuah said:LOL Hungyip84, what can NOT you do ?
Maybe you're spanish and you're Waninkoko
Well, I don't have a spare drive to test it. There should be someone that is willing to test?
Blue-K said:Hey hungyip84, can you also try to implement the title renaming via Config-File from here? That would be awesomehungyip84 said:Tester needed for delete bug fix:
[url=http://sharebee.com/8fada77a]http://sharebee.com/8fada77a[/url]
Take your own risk!
Posts merged
I will look at the image reload bug.
Do you have any IM so i can work with you?. WiiShizzza said he failed, so my hope is on you.
netghost007 said:Ruud91 said:yeah it isbula said:Hi Ruud91,Ruud91 said:Hey guys
I spend my whole day (yesterday) to find out everything about wads, and after a lot of work I finnaly managed to make an animated channel with the loader from this thread
So I hope you guys like it, and hope the guys who made it don't have anything against it
Inside the zip is the wad with the adult version of the loader (V3), a movie from the loader itself (that is the 8 mb xD) and the images map
enjoy!
http://www.megaupload.com/?d=VU07AC3C
and yeah, the quality of my movie isn't that good because of the crappy cellphone
Is this wad made using the last v3 posted here? TY
I can't download from megaupload. Do you have another mirror?
Could you update it for the last dol posted (game removal fix). ThanksRuud91 said:netghost007 said:Ruud91 said:yeah it isbula said:Hi Ruud91,Ruud91 said:Hey guys
I spend my whole day (yesterday) to find out everything about wads, and after a lot of work I finnaly managed to make an animated channel with the loader from this thread
So I hope you guys like it, and hope the guys who made it don't have anything against it
Inside the zip is the wad with the adult version of the loader (V3), a movie from the loader itself (that is the 8 mb xD) and the images map
enjoy!
http://www.megaupload.com/?d=VU07AC3C
and yeah, the quality of my movie isn't that good because of the crappy cellphone
Is this wad made using the last v3 posted here? TY
I can't download from megaupload. Do you have another mirror?
http://rapidshare.com/files/220553715/Wii_...91WAD_.zip.html yes now i have
bula said:PERFECT.......!!!!! I deleted a game in the middle of my HD and game before and after works perfect. Hats down for all that help to get it here.
hungyip84 said:Could someone having the image reload problem pm me? I want someone to help me to test on this problem =)