a 'real' wbfs windows port

Discussion in 'Wii - Hacking' started by gibbed, Mar 31, 2009.

Mar 31, 2009

a 'real' wbfs windows port by gibbed at 3:11 PM (92,349 Views / 0 Likes) 217 replies

  1. gibbed
    OP

    Newcomer gibbed Member

    Joined:
    Mar 31, 2009
    Messages:
    14
    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:
     


  2. chris85

    Newcomer chris85 Member

    Joined:
    Jan 9, 2009
    Messages:
    37
    Country:
    Italy
    Thanks... I'll try it :-D
     
  3. Richy Freeway

    Member Richy Freeway GBAtemp Advanced Fan

    Joined:
    Oct 9, 2006
    Messages:
    776
    Country:
    United Kingdom
    Nice one, I'll give this a go when I get home.
     
  4. icebrg5

    Member icebrg5 GBAtemp Addict

    Joined:
    Apr 1, 2007
    Messages:
    2,326
    Country:
    United States
    finally got the add game thing to work.Adding sonic and the black knight as we speak [​IMG]

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

    Member rooskie54 GBAtemp Regular

    Joined:
    Jan 4, 2009
    Messages:
    282
    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?
     
  6. gibbed
    OP

    Newcomer gibbed Member

    Joined:
    Mar 31, 2009
    Messages:
    14
    Country:
    United States
    [*]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.
     
  7. kikoolol

    Newcomer kikoolol Advanced Member

    Joined:
    Mar 15, 2008
    Messages:
    64
    Country:
    United States
  8. Knocks

    Member Knocks GBAtemp Advanced Fan

    Joined:
    Jun 12, 2006
    Messages:
    559
    Country:
    How can you assign a drive letter to a partition that can't be read by windows? [​IMG]

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

    Member ds22 GBAtemp Regular

    Joined:
    Sep 27, 2008
    Messages:
    269
    Location:
    Rotterdam NL
    Country:
    Netherlands
    Thank you man [​IMG]
    This one is much better.
     
  10. eddanx

    Newcomer eddanx Member

    Joined:
    Jun 6, 2007
    Messages:
    32
    Country:
    United States
  11. nIxx

    Member nIxx GBAtemp Maniac

    Joined:
    Sep 30, 2007
    Messages:
    1,459
    Location:
    Germany
    Country:
    Germany
    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
     
  12. redia

    Member redia GBAtemp Fan

    Joined:
    Mar 9, 2008
    Messages:
    359
    Country:
    Switzerland
    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.
     
  13. gibbed
    OP

    Newcomer gibbed Member

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

    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').
     
  14. djnaff

    Member djnaff Advanced Member

    Joined:
    Nov 7, 2002
    Messages:
    87
    Country:
    United Kingdom
    but will also remove any data you have allready made
     
  15. Screemer

    Member Screemer GBAtemp Maniac

    Joined:
    Sep 21, 2008
    Messages:
    1,248
    Country:
    Germany
    and now a nice little gui with drag and drop [​IMG]
     
  16. SleepyPrince

    Member SleepyPrince GBAtemp Regular

    Joined:
    Aug 9, 2007
    Messages:
    173
    Country:
    Hong Kong
    just realize the extract function isn't fully tested
    no wonder it get stuck~

    Keep up the nice work~!
     
  17. Knocks

    Member Knocks GBAtemp Advanced Fan

    Joined:
    Jun 12, 2006
    Messages:
    559
    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.
     
  18. gibbed
    OP

    Newcomer gibbed Member

    Joined:
    Mar 31, 2009
    Messages:
    14
    Country:
    United States
    I'll look into this when I can test locally later today
     
  19. redia

    Member redia GBAtemp Fan

    Joined:
    Mar 9, 2008
    Messages:
    359
    Country:
    Switzerland
    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 [​IMG]

    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.
     
  20. djnaff

    Member djnaff Advanced Member

    Joined:
    Nov 7, 2002
    Messages:
    87
    Country:
    United Kingdom
    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
     

Share This Page