Hacking ncWBFSTool

nubecoder

Well-Known Member
OP
Newcomer
Joined
May 20, 2009
Messages
82
Trophies
0
Age
44
Website
www.nubecoder.com
XP
125
Country
United States
[UPDATE 10-18-2009]
Source code released (v1.1.b1-ish... Notes below).

[UPDATE 10-16-2009]
Version 1.1.b3 released.

[UPDATE 10-13-2009]
Version 1.1.b2 released.

From the readme:
CODE
ncWBFSTool
----------------------------------------------------------------

Description:
----------------------------------------------------------------
The goal of ncWBFSTool is to be a user friendly WBFS manager that is easy to use and has the best features available.
----------------------------------------------------------------

Requirements:
----------------------------------------------------------------
A compatible operating system (Windows XP ~ Windows 7)
.Net framework 2.0
----------------------------------------------------------------

Features:
----------------------------------------------------------------
A user friendly and easy to use interface.
Partition level drive support (notes below).
Format a partition to WBFS (protection against formatting the windows system drive).
Add games to a WBFS partition (ISO, CISO, and WBI file extensions supported).
Extract games from a WBFS partition to a PC hard drive (ISO, CISO, and WBI file extensions supported).
Remove games from a WBFS partition.
Copy games from a WBFS partition to another WBFS partition on the fly, drives with different sector sizes supported (notes below).

Change a game Title on a WBFS partition.
Change a game Id on a WBFS partition.
Change a game Title of a backup image (ISO, CISO, and WBI supported).
Change a game Id of a backup image (ISO, CISO, and WBI supported).

Export a list of games from a WBFS partition to either text or html.
Export a list of games from the selected import folder to either text or html.

Game titles and extractd filenames can utalize a localized titles.txt file. (http://www.wiitdb.com/)
Update the titles.txt file for your preferred language. (http://www.wiitdb.com/)
Download game cover images for your preferred language. (http://www.wiitdb.com/)

Drag and drop support for adding games to a WBFS partition (drop onto the Add Games buton).

WBI file extension added, 100% identical to CISO format (notes below).
Uses a dll rather than an underlying command line application.
Progress reporting enhancements (notes below).
No false positives from antivirus programs. =]
----------------------------------------------------------------

Development Info:
----------------------------------------------------------------
Developed and tested on 32 bit Windows XP (SP3).
Tested on 64 bit Windows 7 (automatically requests admin rights).
----------------------------------------------------------------

Change Log:
----------------------------------------------------------------
10-16-2009 - 1.1 beta.3 Release

Changes:
Added an option to enable or disable recursive directory support.
Changed the wording of the "Partition level support" option to "Enhanced drive detection".
Fixed a floppy disk drive related bug.


10-12-2009 - 1.1 beta.2 Release

Changes:
Partition detection routines should be more reliable now.
Added some logging features to help track bugs.
Waiting cursor now used during long running processes.
Drag and Drop support has been added to the main form's Add Games button.
Change a game Title on a WBFS partition.
Change a game Title of a backup image (ISO, CISO, and WBI supported).
(Game titles are limited to 60 characters.)
Change a game Id on a WBFS partition.
Change a game Id of a backup image (ISO, CISO, and WBI supported).
Export a list of games on a WBFS partition to text or html.
Export a list of games in the import folder to text or html.
(HTML game list exports will utalize local images, if no image is found locally a default image is shown ["no image"].)
Display game titles using titles.txt. (http://www.wiitdb.com/)
An english titles.txt file is included in the package. (http://www.wiitdb.com/)
Function added to update the titles.txt file from http://www.wiitdb.com/.
Added an option to include the Game Id in the extracted filename.
Added WiiTDB preferred language selection (for cover images and titles.txt downloading).
Added game cover downloading for games on the WBFS and in the import folder (if one has been selected).
(Existing images will be overwritten.)
Added an option to enable or disable partition level drive detection.
Added a link to the support forums, my website, and to donate (via paypal) to support nubecoder software.
Added an about form with version info, support links, etc.
Added an Expanded view option.
Implemented a FilterMode for the add games window.
Removed the fade effect from all child windows.
Added FormOpenStyle to config (manually edit the config file), valid options are:
None, Blend, Center, Fade, HRollNegative, HRollPositive, HSlideNegative, HSlidePositive,
VRollNegative, VRollPositive, VSlideNegative, VSlidePositive


09-07-2009 - 1.0 Initial release
----------------------------------------------------------------

Here is a (outdated) preview of the main window
main.png

and here in skin mode
main_skinned.png


Here is a link to more (outdated) preview images.

Here is a link to the current readme.

Here is the ncWBFSTool v1.0 Download Link.

Here is the ncWBFSTool v1.1.b2 Download Link.

Here is the ncWBFSTool v1.1.b3 Download Link.

Source code:

It is programmed in a mixture of C++ and C#.

I haven't had the time to clean this code up as I would have liked to, but I'm going ahead and sharing it now anyways.

The source available is post v1.0 and pre v1.1b2 (prolly somewhere along the lines of v1.1b1-ish).

ncWBFSTool source code download link.

I'll try to get some newer code available soon.

Extra Notes:

Check out RogueSpear's .Net installers if you would like an alternative to Microsoft's .Net install packages.

The mini-deployed version does not require .Net to be installed, it has all of the .Net stuff packaged with it.
To get more info about the mini deployed version, send an email to "[email protected]" with the subject "ncWBFSTool_mdeployed".

ncWBFSTool has been tested and should be stable, but if you run into any issues, bugs, or have any requests, be sure to post them at the official support forums.

If you like my work and would like to support it please visit my donation page.

Enjoy

=]
 

ToneEQ

Well-Known Member
Member
Joined
Aug 14, 2007
Messages
231
Trophies
0
Location
South Wales
XP
215
Country
Looks very good and seems stable. I will try using this next time I clone a hard drive.

EDIT: Estimated extraction times seems wrong. Extracted Wii Play and it stated 00:00:53 remaining and didn't change throughout, actually took around 00:02:07.
 

nubecoder

Well-Known Member
OP
Newcomer
Joined
May 20, 2009
Messages
82
Trophies
0
Age
44
Website
www.nubecoder.com
XP
125
Country
United States
ToneEQ said:
EDIT: Estimated extraction times seems wrong. Extracted Wii Play and it stated 00:00:53 remaining and didn't change throughout, actually took around 00:02:07.
Ahh yes, extracting to ISO?

I did my best to fix all of the progress reporting, but the ISO extraction I was unable to fix.

Basically what is happening is, during the part of the ISO extraction that there is no actual game data being written (the ISO is being padded), the progress does not move.

This "flaw" is in every WBFS manager I've come across (including AlexDP's WBFSManager 3.0). It is a flaw in the libwbfs code.

I should have noted this in the readme (it will be noted in the next release).

Unfortunately, I cannot say that this will ever be fixed (I will however have a friend who is more proficient in C/C++ take a look to see if a fix is possible).

Take a look at the activity light on your USB drive and you will get what I am talking about.

This "flaw" will only occur when extracting to ISO, extracting to CISO or WBI will show the correct progress.
 

ToneEQ

Well-Known Member
Member
Joined
Aug 14, 2007
Messages
231
Trophies
0
Location
South Wales
XP
215
Country
It's no problem for me, I know how long it takes anyway, but as you said, would be helpful to new users if it was in the readme.
 

redia

Well-Known Member
Member
Joined
Mar 9, 2008
Messages
371
Trophies
0
XP
234
Country
Swaziland
weird,
this does not work for me.
does not recognize my wbfs drive.

it is the first tool that has this problem.. I hope I can figure it out.

R
 

nubecoder

Well-Known Member
OP
Newcomer
Joined
May 20, 2009
Messages
82
Trophies
0
Age
44
Website
www.nubecoder.com
XP
125
Country
United States
redia said:
weird,
this does not work for me.
does not recognize my wbfs drive.

it is the first tool that has this problem.. I hope I can figure it out.

R

The only thing I can think of is, running as admin under Vista / Win7. But it should elevate to admin permissions by it's self (I added the required code to it's manifest file for it to do so).

I'm off to bed for now (10:30am EST here), so I won't be around to help you for a while, but the only time a WBFS formatted drive was not recognized was early in beta testing and that was on 64 bit Windows 7 (and running as admin fixed it).

Sorry, I'll check back here as soon as I get up.
 

redia

Well-Known Member
Member
Joined
Mar 9, 2008
Messages
371
Trophies
0
XP
234
Country
Swaziland
nubecoder said:
redia said:
weird,
this does not work for me.
does not recognize my wbfs drive.

it is the first tool that has this problem.. I hope I can figure it out.

R

The only thing I can think of is, running as admin under Vista / Win7. But it should elevate to admin permissions by it's self (I added the required code to it's manifest file for it to do so).

I'm off to bed for now (10:30am EST here), so I won't be around to help you for a while, but the only time a WBFS formatted drive was not recognized was early in beta testing and that was on 64 bit Windows 7 (and running as admin fixed it).

Sorry, I'll check back here as soon as I get up.

Nubecoder,

sorry I should have mentioned a couple of things.
I am running on XP (and I am an admin on my own machine)
and I am quite knowledgeable on wbfs matters, that's why I am not finger pointing at your apps. ("I hope I can figure it out"). I have to check if the problem could come with my current setup.
wink.gif


but I think I might have found the issue.
I have a weird setup : i have a WBFS partition on my 1rst HD of 10go.
I use it for temporary transfer / tests...
and this partition is not recognized by your application.
if I plug a usb key, it works like a charm.
maybe you disable the scanning of the first hd because for you it would be a non sense..
dunno.. you tell me.

I even tried to format my partition directly with your tool.. it works.. (I even can go to my other tools and I can see that the partition has been emptied), but then I still cannot select it in the drop down list...


Cheers,
R
 

redoxoder

Member
Newcomer
Joined
Mar 6, 2008
Messages
11
Trophies
0
XP
99
Country
United States
yaypsp.gif


look great

just tested and notice "little" bugs:

extract to wbi or ciso doesn't work for 70% of my games (resident evil,grand slam tennis...) : create a file of 0 kb

in iso format works ok.

i will test wbfs to wbfs this week

thks
 

nubecoder

Well-Known Member
OP
Newcomer
Joined
May 20, 2009
Messages
82
Trophies
0
Age
44
Website
www.nubecoder.com
XP
125
Country
United States
redia said:
but I think I might have found the issue.
I have a weird setup : i have a WBFS partition on my 1rst HD of 10go.
I use it for temporary transfer / tests...
and this partition is not recognized by your application.
if I plug a usb key, it works like a charm.
maybe you disable the scanning of the first hd because for you it would be a non sense..
dunno.. you tell me.

I even tried to format my partition directly with your tool.. it works.. (I even can go to my other tools and I can see that the partition has been emptied), but then I still cannot select it in the drop down list...
I am looking into why this might happen, there is no reason I can think of for it to skip a WBFS formatted partition.

I'll try to figure this out, I may even go as far as repartitioning one of my PC's system drives for testing.

QUOTE(redoxoder @ Sep 7 2009, 04:23 PM) just tested and notice "little" bugs:

extract to wbi or ciso doesn't work for 70% of my games (resident evil,grand slam tennis...) : create a file of 0 kb

in iso format works ok.
I have not come across his problem, could you post a few more details for me so I know what I'm dealing with?

What OS do you use?
How big is the WBFS drive?
How big is the extraction drive?
How many games were you trying to extract?
Have you tried those problem games individually?
Have you had any problems extracting these games with other WBFS managers?
Could you list more of the offending games?

I have not been able to reproduce this at all, even extracting to a network shared drive is working without issue (and this laptop's network card is flakey to say the least).

--------------------------------

I will be working on fixing redia's issue as well as adding some debug output that might help in tracking these problems.

I'll post back when I have more info or a new build.

Till then
=]
 

zektor

Well-Known Member
Member
Joined
Nov 29, 2005
Messages
1,340
Trophies
1
XP
382
Country
United States
Nice to see a new WBFS manager on the block! I downloaded and booted it up...very nice, clean and simple....the way I think all apps should be
smile.gif
I've been planning on extracting all of my 242 games to .wbi format (aka: ciso) for awhile now, since my backups all reside as extracted iso inside of a compressed NTFS folder. While that method is fine, I plan on eventually moving back to Linux and want to move away from NTFS entirely.

I'll be testing the extraction of all games tomorrow to a 500GB drive...which will fit them all. I'll report back on the results and let you know if the problem of 0kb files exists on my end.
 

redia

Well-Known Member
Member
Joined
Mar 9, 2008
Messages
371
Trophies
0
XP
234
Country
Swaziland
nubecoder said:
I am looking into why this might happen, there is no reason I can think of for it to skip a WBFS formatted partition.

I'll try to figure this out, I may even go as far as repartitioning one of my PC's system drives for testing.

I will be working on fixing redia's issue as well as adding some debug output that might help in tracking these problems.

I'll post back when I have more info or a new build.

Till then
=]

nubecoder,

thanks for the effort.
let me know if you need any test to be done.
I will take another computer and try to see if I can reproduce the error too.

Cheers,
R


EDIT
tested on another computer.
running a clean XP.
created a small partition on my first HD
formatted it with your tool.
but does not appear in the drop down list to be selected as WBFS drive.
if is available for my other tools.
 

hackotedelaplaqu

Well-Known Member
Member
Joined
Jan 10, 2009
Messages
606
Trophies
1
Website
wiibrew.org
XP
1,196
Country
France
User friendly and very nice GUI. Still less powerfull than WBFS Intelligent Gui.

[Request]
-DvdRom to WBFS
- "bunpatcher" on the fly for old decrypted games (wannikoko beta loader 1).

Good work.
 

nubecoder

Well-Known Member
OP
Newcomer
Joined
May 20, 2009
Messages
82
Trophies
0
Age
44
Website
www.nubecoder.com
XP
125
Country
United States
jelbo said:
I didn't see the option to rename games
That's because it hasn't been implemented yet.
wink.gif

QUOTE(hackotedelaplaque @ Sep 8 2009, 01:33 PM) [Request]
-DvdRom to WBFS
- "bunpatcher" on the fly for old decrypted games (wannikoko beta loader 1).
I'll look into DVDROM to WBFS as a future feature (not that I really see the point, I would just use my Wii and a USBLoader to rip a burnt game, but I will definitely consider it).

And I'm not sure what "BurnPatcher" (or bunpatcher
wink.gif
) is. Could you please explain in more detail, or give me a link or something.

I'm assuming it has something to do with trucha patching or IOS249 patching, but I have no experience with either of those.

--------------------------------

I'm still working with redia to fix his issue, once that is sorted out I'll be releasing an update.

I plan on working out any bugs people come across, as well as adding useful debugging output, before I get into adding more features.

=]
 

hackotedelaplaqu

Well-Known Member
Member
Joined
Jan 10, 2009
Messages
606
Trophies
1
Website
wiibrew.org
XP
1,196
Country
France
No typo. it's bunpatcher.
It's not IOS related.
You can see the thread here http://www.gbatemp.net/index.php?showtopic=148794
This app performs the opposite of what Waninkoko's backup-creator.exe did on the earlier scene (or wiigator extract-partition tool).
Though it only works with DVD5 isos.
Those backups can't be ripped within loaders. You need to make an iso with imgburn and use bunpatcher to encrypt your iso.

I'll definitvely use your app if you can go into this.
 

pepxl

GFX W!Z4RD
Member
Joined
Jun 19, 2009
Messages
3,263
Trophies
1
XP
328
Country
nubecoder said:
jelbo said:
I didn't see the option to rename games
That's because it hasn't been implemented yet.
wink.gif

QUOTE(hackotedelaplaque @ Sep 8 2009, 01:33 PM) [Request]
-DvdRom to WBFS
- "bunpatcher" on the fly for old decrypted games (wannikoko beta loader 1).
I'll look into DVDROM to WBFS as a future feature (not that I really see the point, I would just use my Wii and a USBLoader to rip a burnt game, but I will definitely consider it).

some USB Loaders dont rip burt backups at full dvd drive speed compared to originals so i to am hoping it would be possible adding this feature
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    LeoTCK @ LeoTCK: yes for nearly a month i was officially a wanted fugitive, until yesterday when it ended