I wanted to test some wii games in dolphin, but I stored them all in .wbfs files which dolphin doesn't support. While the tools to convert them back to isos are available I decided it would be more fun to just add support myself.
The patch adds trivial changes to a few files and includes two new 'WbfsBlob' files in Source/Core/DiscIO/Src. It's not very robust, using a couple of magic numbers, but handles all the files I've thrown at it. Also the code is pretty simple if any changes are needed.
Notably only .wbfs files are supported, you can't load full wbfs partitions. Also if you stripped the update partition during conversion you will need to provide a full NAND dump (I used bootmii to build it and one of the available tools to extract) from your Wii to avoid issues loading games.
Whoops, forgot to attach the file.
The patch adds trivial changes to a few files and includes two new 'WbfsBlob' files in Source/Core/DiscIO/Src. It's not very robust, using a couple of magic numbers, but handles all the files I've thrown at it. Also the code is pretty simple if any changes are needed.
Notably only .wbfs files are supported, you can't load full wbfs partitions. Also if you stripped the update partition during conversion you will need to provide a full NAND dump (I used bootmii to build it and one of the available tools to extract) from your Wii to avoid issues loading games.
(01-22-2012, 11:05 AM)R.H. Wrote: I wanted to test some wii games in dolphin, but I stored them all in .wbfs files which dolphin doesn't support. While the tools to convert them back to isos are available I decided it would be more fun to just add support myself.
The patch adds trivial changes to a few files and includes two new 'WbfsBlob' files in Source/Core/DiscIO/Src. It's not very robust, using a couple of magic numbers, but handles all the files I've thrown at it. Also the code is pretty simple if any changes are needed.
Notably only .wbfs files are supported, you can't load full wbfs partitions. Also if you stripped the update partition during conversion you will need to provide a full NAND dump (I used bootmii to build it and one of the available tools to extract) from your Wii to avoid issues loading games.
Whoops, forgot to attach the file.