Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

WBFS2FAT Wii: Difference between revisions

From GameBrew
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox Wii Homebrews
{{Infobox Wii Homebrews
|title=WBFS2FAT
|title=WBFS2FAT
|image=wbfs2fat.png
|image=wbfs2fatwii3.png
|description=WBFS to FAT32 conversion.
|description=WBFS to FAT32 conversion.
|author=PsyBlade
|author=PsyBlade
|lastupdated=2013/01/03
|lastupdated=2013/01/26
|type=PC Utilities
|type=WBFS Managers
|version=0.9.0 beta2
|version=0.9.0 beta2
|license=Mixed
|license=Mixed
|download=https://www.unix-ag.uni-kl.de/~t_schmid/wbfs2fat/
|download=https://www.unix-ag.uni-kl.de/~t_schmid/wbfs2fat/
|website=https://gbatemp.net/threads/wbfs2fat-py.291320/
|website=https://gbatemp.net/threads/wbfs2fat-py.291320/
|source=
}}
}}
WBFS2FAT is a tool that transforms a hard drive from WBFS to FAT32, enabling access to the drive without requiring a backup manager and allowing the drive to be repurposed for other functions. All games are preserved during the process.
WBFS2FAT is a tool that transforms a hard drive from WBFS to FAT32, enabling access to the drive without requiring a backup manager and allowing the drive to be repurposed for other functions. All games are preserved during the process. An alternative Python version for other operating systems is also provided.


An alternative Python version for other operating systems is also provided.
The homebrew was part of the GBAtemp Homebrew Bounty 2011 (Wii).


==Features==
==Features==
Line 45: Line 44:
* "wbfs2fat -m convert " to convert​.
* "wbfs2fat -m convert " to convert​.


===Exit Codes===
===Error Codes===
{| class="wikitable" style="width: 800px;"
{| class="wikitable" style="width: 800px;"
!style="width: 20%;"|Error codes
!style="width: 20%;"|Error codes
Line 70: Line 69:
!5: Additional free Blocks needed
!5: Additional free Blocks needed
|Conversion needs more free space. <br>
|Conversion needs more free space. <br>
See chapter "Space" it the [https://gbatemp.net/threads/how-to-convert-from-wbfs-to-fat32-or-ntfs.292391/ tutorial] for details.  
See chapter "Space" in the [https://gbatemp.net/threads/how-to-convert-from-wbfs-to-fat32-or-ntfs.292391/ tutorial] for details.  
|-
|-
!6: WBFS is corrupted: Blocks used multiple Times
!6: WBFS is corrupted: Blocks used multiple Times
Line 93: Line 92:
|-
|-
|}
|}
==Screenshots==
https://dlhb.gamebrew.org/wiihomebrews/wbfs2fatwii3.png


==External links==
==External links==
* Official site - https://www.unix-ag.uni-kl.de/~t_schmid/wbfs2fat/
* Official site - https://www.unix-ag.uni-kl.de/~t_schmid/wbfs2fat/
* GBAtemp - https://gbatemp.net/threads/wbfs2fat-py.291320/
* GBAtemp - https://gbatemp.net/threads/wbfs2fat-py.291320/
* GBAtemp - https://gbatemp.net/threads/wbfs2fat-wii-entry-pc-software.294498/
* Detailed Tutorial/Howto - https://gbatemp.net/threads/how-to-convert-from-wbfs-to-fat32-or-ntfs.292391/
* Detailed Tutorial/Howto - https://gbatemp.net/threads/how-to-convert-from-wbfs-to-fat32-or-ntfs.292391/
[[Category:GBAtemp Homebrew Bounty 2011]]

Latest revision as of 12:12, 4 Haziran 2024

WBFS2FAT
Wbfs2fatwii3.png
General
AuthorPsyBlade
TypeWBFS Managers
Version0.9.0 beta2
LicenseMixed
Last Updated2013/01/26
Links
Download
Website

WBFS2FAT is a tool that transforms a hard drive from WBFS to FAT32, enabling access to the drive without requiring a backup manager and allowing the drive to be repurposed for other functions. All games are preserved during the process. An alternative Python version for other operating systems is also provided.

The homebrew was part of the GBAtemp Homebrew Bounty 2011 (Wii).

Features

  • Convert a WBFS partition into a Fat32 partition - on the fly/in place.
  • Keep games as 4GiB splited ID6.wbfs files in wbfs folder.
  • Blazing fast - over 10GiB/s (50GiB Test in 4.27s).
  • Need very little space on other drives: only ~0.0125% of the partition size for Backup and RAM.
  • Windows + Linux (with some adjustments everything that runs python).
  • Both GUI and CLI available.
  • Designed with security in mind:
    • Only modifies disk after all other computations.
    • Creates backup of modified data.

User guide

Requirements

  • Windows(.exe) - Nothing.
  • Linux(.py) - python (+PyQt4 for GUI)​.
  • Windows(.py) - python + pywin32 + WMI for python (+PyQt4 for GUI)​.
  • Windows(Cygwin .py) - Cygwin + its python package​.
  • (The versions marked "update" need to be copied over the next earlier full version)​.

Usage GUI

  • Run wbfs2fat without options (e.g. double click)​.
  • Select partition from list​.
  • Click "convert to Fat32"​.

Usage CLI

  • "wbfs2fat --help" to see all options​.
  • "wbfs2fat -m scan" to list of all wbfs partitions​.
  • "wbfs2fat -m convert " to convert​.

Error Codes

Error codes Descriptions
0: No Error Everything went as expected.
1: General Error Something totally unexpected happened.

Post the output and ask.

2: Argument Error Check the command line options for typos and the like.
3: Not a WBFS partition (missing magic) Partition is probably not in WBFS format.

If it really should be a WBFS at least the identifier in the header is missing.

4: Unknown WBFS Version So far I only encountered versions 0 and 1.

If other versions appear wbfs2fat needs to be updated first.

5: Additional free Blocks needed Conversion needs more free space.

See chapter "Space" in the tutorial for details.

6: WBFS is corrupted: Blocks used multiple Times Two or more games claim ownership of the same WBFS data, but only one can be right about it.

That meant that at least parts of some games are corrupted.
As possibly only a tiny part of a game was overwritten this may have gone unnoticed for years.

This is caused by a known bug in the original version of the wbfs C library.
If you delete a game using a manager, loader or whatever uses an affected library, parts of another game are marked as free too. If you add a game (even with a good lib) these parts are overwritten and the original game is corrupted.
Unfortunately it is impossible to recover the data, delete and re-rip is the only way to fix it.

wiimms "wwt" can figure out which game the block really belongs to and delete the corrupted ones.
You need to download it and run it from a command-line.
For details on how to do this see wit verify.

If you can or want not do this there is another way.
Run wbfs2fat with the "ignore-error-6" option. This will generate one copy of the affected block for each game that claims it. This will NOT fix nor identify the corrupted games.
But it will allow you to go ahead while keeping your games in the same (bad) shape they are in now.

7: Permission denied wbfs2fat was unable to read any data from the partition.

Most likely you simply lack the rights required to do so. Try running wbfs2fat as admin/root.
And try closing all WBFS mangers because they sometimes lock the drives.
Empty CD drives and the like can show this too.

Screenshots

wbfs2fatwii3.png

External links

Advertising: