Hacking a 'real' wbfs windows port

gibbed

Member
OP
Newcomer
Joined
Mar 31, 2009
Messages
14
Trophies
0
XP
127
Country
United States
I've properly ported the wbfs tool to windows (cygwin is nasty). The download provided is wbfs built using MSVC 2008.

The current build is 'delta'. If a new release is required I'll give it a new name.

wbfs_win_delta.zip (md5sum is 1a64aa4dad42a6360d88b173b0d6a0d8)

Readme has been adjusted for the windows port. Source for the windows port is also included in the zip file.

Changes:
  • 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.



This is probably strange to be seeing this from a completely new user, if you're dubious, scan the executable or build the source yourself (will require openssl libraries built yourself though).

OLD VERSIONS:
 

icebrg5

Well-Known Member
Member
Joined
Apr 1, 2007
Messages
2,328
Trophies
0
Website
Visit site
XP
412
Country
United States
finally got the add game thing to work.Adding sonic and the black knight as we speak
smile.gif


It was the way the file was named.I renamed it and it worked
 

rooskie54

Well-Known Member
Member
Joined
Jan 4, 2009
Messages
282
Trophies
0
XP
171
Country
United States
How would you go about using this under XP exactly? The first step is the init command, but my computer doesn't detect the wbfs partition as it has no clue what it is and therefore doesn't assign it a letter. How can I initialize the drive when there is no drive letter assigned?
 

gibbed

Member
OP
Newcomer
Joined
Mar 31, 2009
Messages
14
Trophies
0
XP
127
Country
United States
rooskie54 said:
How would you go about using this under XP exactly? The first step is the init command, but my computer doesn't detect the wbfs partition as it has no clue what it is and therefore doesn't assign it a letter. How can I initialize the drive when there is no drive letter assigned?
[*]Control Panel > Administrative Tools > Computer Management[*]Computer Management > Storage > Disk Management[*]Look for the USB drive in the bottom list, it's probably the last "Disk #" that you see, it should say it's "RAW". It might show up in the top list with a blank name. Rightclick either entry and select "Change Drive Letter and Paths".[*]Add[*]Give it a drive letter.
Note that this is how it's done under Windows Vista, for XP it might be slightly different but roughly the same.
 

Knocks

Well-Known Member
Member
Joined
Jun 12, 2006
Messages
559
Trophies
0
XP
255
Country
How can you assign a drive letter to a partition that can't be read by windows?
huh.gif


Edit: The Vista Disk Management utility shows wbfs as free space. You can't change drive letters for free space without creating a volume.
 

nIxx

Well-Known Member
Member
Joined
Sep 30, 2007
Messages
1,544
Trophies
0
Location
Germany
Website
Visit site
XP
337
Country
Gambia, The
Yep as long as you made a FAT/FAT32 or NTFS partition and format this in the loader you will be fine but if you use none Format and format then you can´t see or assign any drive letter
 

redia

Well-Known Member
Member
Joined
Mar 9, 2008
Messages
371
Trophies
0
XP
234
Country
Swaziland
rooskie54 said:
How would you go about using this under XP exactly? The first step is the init command, but my computer doesn't detect the wbfs partition as it has no clue what it is and therefore doesn't assign it a letter. How can I initialize the drive when there is no drive letter assigned?
same here.
it does not make sense.
first you tell us to format as fat32
then we should init

but if I am not mistaken wbfs is a full file system. nothing to do with fat32.
unless you are simply "tricking" the soft and only using the letter for the fat32, but not the partition as per say.

R.
 

gibbed

Member
OP
Newcomer
Joined
Mar 31, 2009
Messages
14
Trophies
0
XP
127
Country
United States
I've uploaded a new build ('delta') that fixes a crash in makehbc. See the OP for the download.

Knocks said:
How can you assign a drive letter to a partition that can't be read by windows?
huh.gif


Edit: The Vista Disk Management utility shows wbfs as free space. You can't change drive letters for free space without creating a volume.
redia said:
QUOTE(rooskie54 @ Mar 31 2009, 04:24 PM) How would you go about using this under XP exactly? The first step is the init command, but my computer doesn't detect the wbfs partition as it has no clue what it is and therefore doesn't assign it a letter. How can I initialize the drive when there is no drive letter assigned?
same here.
it does not make sense.
first you tell us to format as fat32
then we should init

but if I am not mistaken wbfs is a full file system. nothing to do with fat32.
unless you are simply "tricking" the soft and only using the letter for the fat32, but not the partition as per say.

R.
That's odd, the wbfs partition shows up here as 'RAW' and lets me assign it a letter.

Unallocated space should be allocated and left at raw or formatted (to fat32 for example) then use the tool on the drive letter assigned to it. The FAT32 is indeed just a 'trick', but it doesn't matter, the init process will overwrite any FAT32 data and make it into a wbfs partition (then it will show up as 'RAW').
 

Knocks

Well-Known Member
Member
Joined
Jun 12, 2006
Messages
559
Trophies
0
XP
255
Country
Thanks, I just reformatted, no big deal. Everything works now.

All of this is of course for shits and giggles until the loader gets the ability to rip over network. Then it's going to be real fun.
 

redia

Well-Known Member
Member
Joined
Mar 9, 2008
Messages
371
Trophies
0
XP
234
Country
Swaziland
gibbed said:
That's odd, the wbfs partition shows up here as 'RAW' and lets me assign it a letter.

Unallocated space should be allocated and left at raw or formatted (to fat32 for example) then use the tool on the drive letter assigned to it. The FAT32 is indeed just a 'trick', but it doesn't matter, the init process will overwrite any FAT32 data and make it into a wbfs partition (then it will show up as 'RAW').

well I know what happened.
my partition was WBFS... that's why it did not allow me to assign a letter.
knowing I only had a couple of games there I deleted it.
and when starting from scratch you do not loose the letter after the init
smile.gif


one comment / reminder
XP format does not allow formatting a fat32 partition bigger than 32Go so you need a third party tool to do that
(easeus, gparted, .....)

I will test the games I added and will revert later, but it seems to be working pretty well.
thank you for the port.

Cheers,
R.
 

djnaff

Well-Known Member
Member
Joined
Nov 7, 2002
Messages
89
Trophies
2
Age
47
Website
adrenalin23.co.uk
XP
482
Country
Thanks works fine if formated by your tool
if you formated via linux or wii you have have to make it fat again to get the drive letter and reformat via your tool

Thanks again saves me loading into linux each time
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: 16 is becoming bare minimum for today's gaymes +1