Hacking How do you delete games off the USB Loader?

moviecouple

Well-Known Member
Member
Joined
Dec 13, 2006
Messages
173
Trophies
0
XP
121
Country
United States
I keep hearing that your USB HDD will get screwed up if you delete games off the hard drive when using WBFS?

What about if you delete them through the actual USB Loader from the Wii?
 

mestapho

Well-Known Member
Member
Joined
Dec 3, 2008
Messages
266
Trophies
0
XP
60
Country
United States
Right now it looks like you shouldn't delete games at all. It has to do with WBFS.

Basically it looks like when you delete off of this file system it just leaves a "blank spot"

on the hdd or flash mem. When you add a game/iso it will just write to that "blank spot"

whether the new iso will fit or not thus corrupting the data around the "blank spot".

Someone in another thread made a good visual representation of it. I'll see if I can copy/paste

it here.
 

mestapho

Well-Known Member
Member
Joined
Dec 3, 2008
Messages
266
Trophies
0
XP
60
Country
United States
raptor5001 said:
Ext2 would be preferred because we definitely don't need any journaling capabilities if we're not constantly writing to the disk.

With a quick look at the source code, it seems that WBFS does NOT fragment its files, so there is no need for a defragger. It does this on purpose, because the data for the file needs to be contiguous when loading it. Possibly, there is a need for a compactor, though. (Smush all files together to eliminate gaps of free space.) But the problem is that keeping contiguous files can result in wasted space:

ex1.png


In this case, a user has 4 files on his hard drive. He deletes file B. Then he adds file E. Space is wasted (unless he adds a file that can fill that space, but this is never a guarantee).

Regarding corruption of games, maybe there's a problem checking free space, which would cause this problem: Just a wild guess.
ex2.png


I don't feel like looking into the source in depth right now, because it's 3 am here; goodnight!

I think this makes it easier to understand.
 

Site & Scene News

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Flame @ Flame:
    did you own a genesis ken
  • Flame @ Flame:
    or maybe you still do
  • kenenthk @ kenenthk:
    Pretty sure I did I remember playing lion King on it
  • CompSciOrBust @ CompSciOrBust:
    Uni wifi slow af today
  • sorabora tempBOT:
    sorabora has left the room.
  • felixsrg tempBOT:
    felixsrg has left the room.
  • CeeDee @ CeeDee:
    CeeDee has left the room.
  • impeeza @ impeeza:
    I want yo eat more veggies.
  • impeeza @ impeeza:
    but I am anticoagulted so no can do ;(
  • kenenthk @ kenenthk:
    You wouldn't like my veggie
  • PeeJay Bonobo @ PeeJay Bonobo:
    BUMPER CARS
  • kenenthk tempBOT: @ kenenthk
    Into the thick of it
  • XAIXER @ XAIXER:
    Pretty quiet Shoutbox
  • SG854 @ SG854:
    Chit chat move at too fast a pace. Before when it was like 4 people I could keep up.
  • SylvWolf tempBOT:
    SylvWolf has left the room.
  • XAIXER @ XAIXER:
    True
  • PeeJay Bonobo @ PeeJay Bonobo:
    Nowadays, everybody wanna talk like they got something to say, but nothing comes out
  • MochaMilk @ MochaMilk:
    New update looks clean as heck!
    +1
  • XAIXER @ XAIXER:
    Never seen it get to 0 before...
  • PeeJay Bonobo @ PeeJay Bonobo:
    I have.
  • PeeJay Bonobo @ PeeJay Bonobo:
    but the issue is, when you start talking, it increases to 1
  • PeeJay Bonobo @ PeeJay Bonobo:
    So I guess it counts the active people in the chat.
    +1
    PeeJay Bonobo @ PeeJay Bonobo: So I guess it counts the active people in the chat. +1