Hacking wbfs2fat.py

  • Thread starter Thread starter PsyBlade
  • Start date Start date
  • Views Views 243,913
  • Replies Replies 274
  • Likes Likes 18
No there is no way back once you used/written to the filesystem.
As long as you are careful not to write to it(mount it read only - "mount -o ro")
you can restore the backup file but that's it.

The other way around would be much more work, more difficult and even more useless then this.
Considering how long it took for someone to give this a try I wouldn't hold my breath.

Code:
wit cp -Bz *.iso -d /mnt/wii
should do it afaik - cant check - no isos
there were some nameing options but I cant find them atm
 
Thanks psyblade. I found the wit command.
I tried your tool, but it kept giving me errors like using duplicate blocks use wwt -v.

This is what I tried
Code:
./wbfs2fat-03.py /dev/sdc2 backup /dev/sdb2
/dev/sdc2 is my wbfs partition
It went on checking the partition and then the error. I am going by the memory here.
OK, I don't know CLI on ubuntu as much as I would like to believe!

Then I checked my partitions, there were two bad discs, after that I did not try.
 
this is a knows bug in some versions of the wbfs c library
if you delete a game using a manager, loader or whatever that uses an affected lib
parts of another game are marked as free too
if you add a game (even with a good lib) these parts are overwritten

wwt can figure out which game was overwritten thus is defect and can remove it
I can only abort because I don’t know how to and choosing the wrong one breaks both

I cant believe this crap still happens

and the 3rd parameter should be a directory where you would like the drive mounted
something like /media/wii-disk
not (another?!) device
but that has nothing to do with the error
 
I tried this out and everything went smoothly until I executed the wbfs2fat.py and then I received an error stating, basically, that I don't have enough free blocks? Is this referring to the WBFS partition? Or to the cygwin 'ghost' drive? Or something else?
 
I dont know what ghost drive you mean.
But yes I do mean the WBFS drive
the *.wbfs files require slightly more space once extracted (one wbfs block per game; block size depends on wbfs partition)
Aditionally I require some space to store fat meta data (~0.02% of the partitions size)
The error should include the actual numbers
Please check that they match up with what you manager gives as free space etc...
If the drive is really that full ther is nothing I can do
 
just updated to v0.4

+ standalone wbfs2fat.exe for windows
+ python version runs under windows, linux and cygwin
+ more understandable options/parameters
+ --help
+ fixed some bugs that prevented bigger partitions from being recognised properly
+ combined both scripts into one
 
uploaded version 0.6
has a GUI and can restore a backup by itself

thinking about making a short demo video
what's the best way to embed a video here?
(without creating additional accounts!)
 
PsyBlade said:
thinking about making a short demo video
what's the best way to embed a video here?
(without creating additional accounts!)
I guess youtube...
 
Short Demo of the GUI under Windows
converting a 10 and a 100GB drive
and restoring the backup of the 10GB one

[youtube]http://www.youtube.com/watch?v=2YqSNQnnvcI[/youtube]
 
Amazing!
And so fast!
yay.gif
 
i just tried a SD 2gb with a couple games on and the results are just amazing

great app, you made PsyBlade
bow.gif
bow.gif
 
Thank you for the work you did on it, there's even a GUI version now
smile.gif

I find the restoration feature awesome, and all the conversion are done fast.
 
Im blind here the only DL link I can find is Download wbfs2fat-0.6.tar.bz2

Where is the windows version as that one wont run for me, or am I missing something very obvious.
 
tar.bz2 is treated just like another compression type, like Zip, 7z or Rar.
Just use your usual archive extractor program (not the included zip support from windows) to extract the content and you will find a "windows" folder.
 
Cyan said:
tar.bz2 is treated just like another compression type, like Zip, 7z or Rar.
Just use your usual archive extractor program (not the included zip support from windows) to extract the content and you will find a "windows" folder.
Thanks, Will use my 7zip now, so silly of me.
 
Does anyone know a feature that should really be added?

I feel like working on this a little more but I'm out of ideas.
Well besides crazy stuff like porting it to Wode(which I dont have) or Wii(don't feel like coding C)
 

Site & Scene News

Popular threads in this forum