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

WBFS Win Wii: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 1: Line 1:
{{Infobox Wii Homebrews
{{Infobox Wii Homebrews
|title=WBFS Win
|title=WBFS Win
|image=wii-logo.jpg
|image=wbfswinwii2.png
|description=WBFS tool port for Windows built using MSVC 2008.
|description=WBFS tool port for Windows built using MSVC 2008.
|author=Gibbed
|author=Gibbed

Revision as of 01:59, 28 March 2023

WBFS Win
Wbfswinwii2.png
General
AuthorGibbed
TypePC Utilities
Versiondelta
LicenseMixed
Last Updated2009/03/31
Links
Download
Website

Wii Backup File System (WBFS) is a simple file system to store Wii backup in an efficient way on a harddrive, originally by Kwiirk.

The "delta" version allows you to format tge hard drives (USB 2.0) through the command line.

Note: WBFS is a filesystem tool that may damage you disc partition if you don't know what you are doing. Please make sure you keep a backup of your important data before using. The authors of the software decline all responsabilities on damage that can been done by the use of this software.

User guide

"X" in the following examples represents your drive letter, for example, G.

Init the partition:

wbfs_win.exe X init

Estimate the size of the iso on the USB drive:

wbfs_win.exe X estimate <your_wiidisc.iso>

Add an iso to your partition:

wbfs_win.exe X add <your_wiidisc.iso>

List the wiidisc that are on the wbfs, you will get the DISCID, game name, number of wide sectors used, and number of GB used:

wbfs_win.exe X list

Count the number of wide sectors / GB available on your partition:

wbfs_win.exe X info

Build Homebrew Channel directories for all the games in your partition (this will actually make a directory for each game with the DISCID of the game, copy the icon.png and boot.dol of the current directory, and make a meta.xml with the name of the game; then copy all the directories in the apps directory of your sdcard):

wbfs_win.exe X makehbc

Remove a disc from wbfs:

wbfs_win.exe X remove DISCID

Extract an iso from wbfs:

wbfs_win.exe X extract DISCID

Programmers Usage

  • wbfs is based on libwbfs, a library to handle wbfs discs.
  • Its usage is documented inside the header file libwbfs/libwbfs.h
  • The idea is that you only have to give libwbfs some function pointers that allow access to your partition, and original Wii discs, and you can then manage a wbfs partition.
  • Some basic access to wiidiscs are provided by wiidisc.(h|c), allowing to extract files from the Wii DVD filesystem, to change the partition table, and to find out which part of the Wii DVD is used.

Wii Filesystem

  • All Wii Games do not take advantage of the whole 4.7GB DVD.
  • A lot of WII dvd sectors are in fact never used, even if there is random encrypted garbage in it.
  • WBFS knows about the wiidisc filesystem, and will copy on the wbfs partition only the part that are really useful.
  • The idea of ignoring unused wiidisc sectors is not new, and is implemented in the WiiScrubber tool.

Other versions

Possible fix for the WBFS corruption by AllWiidUp (2009/04/12).

Changelog

Delta

  • Fixed a makehbc crash.
  • Rewrote all linux-specific stuff to use win32-specific stuff.
  • Drive letter is now required for usage (wbfs_win.exe [argument]).
  • Commands have more user-friendly names instead of their linux counterparts.
  • Added an 'estimate' command so you can estimate the size that an iso image will take up on a usb drive.
  • init command has a 'nice' warning on it so people don't break partitions on accident (at least I hope).
  • Minor fixes & changes to the code to improve it (the linux version seems to leak quite a few resources, not really noticable though).
  • Notes:
    • makehbc, extract commands very untested. May not work (yet).
    • I've had several people test this port and it appears to be working good, for init/adding at least.

Credits

wbfs is based on negentig, a tool from segher, that allows to verify and decrypt wii discs. a modified version is included, that allows to open discs on a wbfs filesystem.

External Links

Advertising: