• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Site › Dolphin Patches (Archive) v
« Previous 1 2 3 4 5 ... 7 Next »

[PATCH] .wbfs file support
View New Posts | View Today's Posts

Pages (3): 1 2 3 Next »
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[PATCH] .wbfs file support
01-22-2012, 11:05 AM
#1
R.H.
Unregistered
 
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.
(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.


Attached Files
.patch   wbfs.patch (Size: 7.27 KB / Downloads: 4,312)
01-23-2012, 10:49 PM
#2
lazzy
Unregistered
 
i stock all my wii game wbfs in HDD 500G formated NTFS, your patch can support it (we choose directory wbfs on HDD external it will show all of them) ?
01-23-2012, 11:17 PM
#3
arthur117 Offline
Junior Member
**
Posts: 28
Threads: 1
Joined: May 2011
I can't get the patch: It keeps me asking to log in... Huh
GPU: ATI Radeon HD 5750 (GPU @ 850MHZ, 1GB DDR3 @ 1200MHz)
CPU: Intel Core2Duo E8400 @3.61GHz
RAM: 4GB DDR2 @ 1066MHz
OS: Windows 7 Ultimate x64
Find
01-23-2012, 11:42 PM
#4
ExtremeDude2 Offline
Gotta post fast
*******
Posts: 9,310
Threads: 273
Joined: Dec 2010
(01-23-2012, 11:17 PM)arthur117 Wrote: I can't get the patch: It keeps me asking to log in... Huh

Browser?
Check out my videos (dead)
[Image: sig-22354.png]
Website Find
01-24-2012, 12:46 AM
#5
arthur117 Offline
Junior Member
**
Posts: 28
Threads: 1
Joined: May 2011
(01-23-2012, 11:42 PM)ExtremeDude2 Wrote:
(01-23-2012, 11:17 PM)arthur117 Wrote: I can't get the patch: It keeps me asking to log in... Huh

Browser?

Chrome. But never mind, I can't get the source to compile anyway (I suck with VC Express), and I use CISO format on my other storage drive so no use for this patch if I switch to that. The other one I wanted won't apply due to a patch format error, so unless the Devs can correct the DX9 lighting errors I'll have to cope with it.
GPU: ATI Radeon HD 5750 (GPU @ 850MHZ, 1GB DDR3 @ 1200MHz)
CPU: Intel Core2Duo E8400 @3.61GHz
RAM: 4GB DDR2 @ 1066MHz
OS: Windows 7 Ultimate x64
Find
01-24-2012, 07:32 AM
#6
lazzy
Unregistered
 
i cant down load this patch with FF , always require login!
01-24-2012, 09:56 AM
#7
R.H.
Unregistered
 
I've updated the patch to support split files (wbfs->wbf1->wbf2 etc), perform sanity checks, read the proper block sizes from the file, and remove the non-standard __attribute((packed)) requirement. It will handle pretty much any wbfs file, the only things that would need changed would be to support physical partitions.

I wrote and tested this on a Mac with the SConstruct build system, Visual C++ users will need to add the Source/Core/DiscIO/Src/WbfsBlob.(cpp,h) files into the project manually before building.

Since people are apparently having problems downloading I have put it on pastebin.

http://pastebin.com/bPWBMDPx

By the way, is it possible to edit posts on this forum?
01-24-2012, 10:28 AM
#8
ExtremeDude2 Offline
Gotta post fast
*******
Posts: 9,310
Threads: 273
Joined: Dec 2010
(01-24-2012, 09:56 AM)R.H. Wrote: By the way, is it possible to edit posts on this forum?

Yep, just look under your post.
Check out my videos (dead)
[Image: sig-22354.png]
Website Find
01-24-2012, 06:24 PM
#9
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,208
Threads: 50
Joined: Jun 2009
(01-24-2012, 09:56 AM)R.H. Wrote: By the way, is it possible to edit posts on this forum?

Not until you've written 10 posts.
My blog
Me on Twitter
My wishlist on Amazon.de
Find
01-25-2012, 04:26 AM
#10
ExtremeDude2 Offline
Gotta post fast
*******
Posts: 9,310
Threads: 273
Joined: Dec 2010
(01-24-2012, 06:24 PM)neobrain Wrote:
(01-24-2012, 09:56 AM)R.H. Wrote: By the way, is it possible to edit posts on this forum?

Not until you've written 10 posts.

Ah, I thought that might be a problem too Tongue
Check out my videos (dead)
[Image: sig-22354.png]
Website Find
« Next Oldest | Next Newest »
Pages (3): 1 2 3 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode