WBFSSync

Discussion in 'Wii - Backup Loaders' started by albanibr, Aug 13, 2009.

Aug 13, 2009

WBFSSync by albanibr at 3:32 PM (198,101 Views / 5 Likes) 228 replies

  1. albanibr
    OP

    Newcomer albanibr Member

    Joined:
    Sep 28, 2006
    Messages:
    38
    Country:
    Brazil
    Project Description
    WBFSSync is a program to organize, edit and synchronize Wii Game Backups on both PC and WBFS formatted storage devices. Using a clean and Explorer-like interface

    More about WBFSSync

    Windows explorer!! [​IMG]

    [​IMG]
    [​IMG]
    [​IMG]


    The WBFSSync is a Free, Open-Source project created by me for learning purposes and because programming is a personal hobby, it's on the early stages of development so a few bugs may appear.
    Fell free to use any part of the code on your applications, following the Microsoft Reciprocal License (see licence tab for the full license).

    Current version
    2.0.08 (Nov 27 2009)

    Requirements

    .NET Framework 3.5

    WBFSSync Features for current release:

    * Explorer-like interface
    * Customizable Skin and Language development
    * Allow Copy / Cut / Paste / Delete files
    * Allow Direct WBFS-WBFS transfer
    * Game organizer for Wii Backups on PC
    * Rename discs
    * Manage multiple WBFS drives
    * Automatically download covers or 3D covers from the internet
    * Export covers to SD using customizable schemes for each Loader Homebrew installed on Wii
    * RIP Backups to PC or WBFS drive from DVD (does not work with original discs)
    * Allow disc scrubbing
    * Support for Hermes' cISO format (via Console)
    * Allow multiple file operations running at the same time
    * Automatically detects new inserted drives and supress "Format Drive" window from Windows Explorer
    * Format drives to WBFS
    * Log all errors and exceptions allowing better bug-trace
    * WBFS Library fully implemented in C# .NET Framework facilitating debug, and reducing the risk of memory leaks

    * Avaliable Languages:
    * PT-BR
    * EN-US
    * FR (thanks to GBATemp's redia)
    * ES (thanks to GBATemp's PabloACZ)

    To Do:

    * Fix some layout glitches

    Changelog


    2.0.08

    -Added Export covers to folder function
    -Added Naming of Network-Mapped Drives
    -Added Spanish language
    -Changed Configuration menu to something more organized
    -Fixed some typos in the Language files
    -Fixed layout problem where "This folder is empty" message was over the configuration menu
    -Fixed more minor layout problems...
    -Fixed 'send to...' crashing when used with multiple files
    -Fixed bug where Configuration Panel was forced to close when an operation ended
    -Fixed error in Drive Format where the resultant size was smaller than it could be
    -Fixed problem where the repeated Scrub files were not skipped when adding to a WBFS partition
    -Update the Language files, see "Language-pack-base 2.0.08.txt"
    *added language variable 177

    Warning: Spoilers inside!


    Donate

    Donate via PayPal

    While I enjoy working on this project, sometimes I lack resources to improve the program, like a HD with capacity close to those used normally by you, in the present time i only have a small 2GB pendrive and a 16GB virtual drive

    Ôm?ga Frøst

    DOWNLOAD
     
    Dutchmen, nopantsx, CoolCeron and 2 others like this.


  2. WiiCrazy

    Member WiiCrazy Be water my friend!

    Joined:
    May 8, 2008
    Messages:
    2,391
    Location:
    Istanbul
    Country:
    Turkey
    Wow, nice work! everything is in managed c# nicely ported!
     
  3. zektor

    Member zektor GBAtemp Maniac

    Joined:
    Nov 29, 2005
    Messages:
    1,325
    Country:
    United States
    It looks good, although I admit I have not tested its WBFS transfer abilities yet. I'll be testing them out shortly on a spare drive. A new WBFS tool is *always* welcome [​IMG] And yes, I agree it does need to be translated to English [​IMG]

    EDIT: Just tested this and it is REALLY nice! GREAT job! I will let you know if I run into any bugs, but for right now it seems pretty darn nice. Move over WBFS Manager [​IMG]


    EDIT2:

    Quick question. I just added a game to a 1TB drive that starts with "S". It added the game fine, but but it at the bottom of the list (after "Z"). Any way to sort it correctly, or a bug?
     
  4. zektor

    Member zektor GBAtemp Maniac

    Joined:
    Nov 29, 2005
    Messages:
    1,325
    Country:
    United States
    Oops, didn't realize...it is not adding games correctly. Just tested the one game I added in my loader. Got a return = 0. So, there is some major issue.
     
  5. Teh H4rRy

    Member Teh H4rRy GBAtemp Regular

    Joined:
    Jun 12, 2009
    Messages:
    145
    Country:
    United Kingdom
    Mine doesnt work, it attempts to divide by zero...why would it want to?!

    "See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.DivideByZeroException: Attempted to divide by zero.
    at WBFSSync.WBFSDevice.IsWBFSDrive(String drive, Boolean force)
    at WBFSSync.DeviceManager.IsWBFSDrive(String c)
    at WBFSSync.DeviceManager.ProcessPendingDrives(Boolean checkBeforeRemove)
    at WBFSSync.DeviceManager.MapAllDevices()
    at WBFSSync.FormWBFSSync.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    at System.Windows.Forms.Form.WmShowWindow(Message& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at WBFSSync.FormWBFSSync.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    WBFSSync
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/Admin/Desktop/WBFSSync-2-0-0/WBFSSync.exe
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.1 built by: SP
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    Log
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/Admin/Desktop/WBFSSync-2-0-0/Log.DLL
    ----------------------------------------
    DeviceManager
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/Admin/Desktop/WBFSSync-2-0-0/DeviceManager.DLL
    ----------------------------------------
    WiiBackupFileSystem
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/Admin/Desktop/WBFSSync-2-0-0/WiiBackupFileSystem.DLL
    ----------------------------------------
    IOManager
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/Admin/Desktop/WBFSSync-2-0-0/IOManager.DLL
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:





    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box."
     
  6. zektor

    Member zektor GBAtemp Maniac

    Joined:
    Nov 29, 2005
    Messages:
    1,325
    Country:
    United States
    Formatting is messed up as well. Attempted to format a drive and all it did was completely remove the partition...not create a new WBFS partition.

    It looks REALLY good and I can see where you are going with it, but for now it needs some tending to [​IMG]
     
  7. albanibr
    OP

    Newcomer albanibr Member

    Joined:
    Sep 28, 2006
    Messages:
    38
    Country:
    Brazil
    Version 2.0.01 on line!
     
  8. myron0815

    Newcomer myron0815 Member

    Joined:
    Feb 14, 2009
    Messages:
    40
    Country:
    United States
    ok, trying now.
    but it's hard for me cause only pt-br language. since you are able to speak en, please add this at least.
    The second annoying thing is, if i move the mouse around (on some icons whatsoever) it seems the complete drive list is reloaded, making always annoying seeking sounds on the floppy drive.
     
  9. Omega Frost

    Newcomer Omega Frost Advanced Member

    Joined:
    Jun 27, 2009
    Messages:
    84
    Country:
    Brazil
    Thanks albanibr for posting my app here, for those who lost games because my program, i really sorry (zektor), there was a critical error (no sh#t!) caused by variable scopes.

    Like i said i am testing the program in a virtual WBFS drive, that is a file formatted to WBFS, what limits my tests to 32GB only, so i can't guarantee 100% that the problem is solved, but, as far as i can measure, the MD5 sums match, including the Dual Layer Metroid Prime Trilogy, so i think is ok...

    The error reported by Teh H4rRy was also fixed.

    WBFSSync is now in 2.0.03 which includes a EN-US language pack.

    Thanks for the support and i hope i can count with your help to find and fix bugs and add useless-but-cool-features-that-will-entertain-me-to-implement.

    Omega.
     
  10. Whatssup

    Newcomer Whatssup Member

    Joined:
    May 24, 2008
    Messages:
    29
    Country:
    United States
    How do I enable the English language pack?

    Never mind...figured it out!
     
  11. zektor

    Member zektor GBAtemp Maniac

    Joined:
    Nov 29, 2005
    Messages:
    1,325
    Country:
    United States

    Not a problem [​IMG] I have my backups on multiple hard drives, so no real loss. This is why I do not mind testing [​IMG]
     
  12. redia

    Member redia GBAtemp Fan

    Joined:
    Mar 9, 2008
    Messages:
    359
    Country:
    Switzerland
    nice software.
    I am currently testing it so I can give it to some of my pals.
    personally I do most of the things through self made scripts, but it is nice anyhow.

    could you please give us more information on syncscrub ? are you "simply" triming the iso or is it more like a ciso (cluster based?)
    about syncscrub, if I am not mystaken you are only copying the game partition.. could you add an option to copy the update partition too ?
    if the syncscrub works to well it would be great if you could provide a small command line tool that achieves the same things
    i.e. wbfs-syncscrub.exe which could
    scrub an iso
    "unscrub" an iso
    copy a syncscrub to a wbfs drive
    extract a wbfs bame to a syncscrub
    I understand we could simply use your application, but on the side it would add tremendous value (on my point of vue)
    (or maybe you could give us details on the dll that we could use.)

    what about the covers.. where are you downloading them ?
    could you give us an option to define a download url ?

    thanks for your efforts, it is a very nice looking interface you did..

    Cheers,
    R

    edit. I looked into the syncscrub matter a little bit more.
    I noticed that unlike the ciso you do not need to have a WBFS drive plugged in.. so you are not linked to the cluster.. GREAT !!
    even the "estimate" function that we find in most wbfs manager do need a wbfs drive, not yours.. awesome.
    so I really beg you to add an option to include the update partition
    and if you could give us a command line tool and/or dll access.. that would simply be awesome !
     
  13. redia

    Member redia GBAtemp Fan

    Joined:
    Mar 9, 2008
    Messages:
    359
    Country:
    Switzerland
    I (very quickly) did a translation in french.
    bare with the errors, I will try to see if I can improve it, and comment it if you wish.
    I could not get the location of all the messages so it was sometime hard to translate.

    cut and paste it in a txt file in the the language folder..

    Warning: Spoilers inside!

    I hope this helps.
    R
     
  14. Omega Frost

    Newcomer Omega Frost Advanced Member

    Joined:
    Jun 27, 2009
    Messages:
    84
    Country:
    Brazil
    <!--quoteo(post=2230108:date=Sep 4 2009, 06:38 AM:name=redia)--><div class='quotetop'>QUOTE(redia @ Sep 4 2009, 06:38 AM) <a href="index.php?act=findpost&pid=2230108"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->
    Warning: Spoilers inside!
    <!--QuoteEnd--></div><!--QuoteEEnd-->

    Thanks!

    I've planned the syncscrub format to be flexible, because i saw the problems and considerations of tranfering from one wbfs partition to another, because of the wbfs sector size difference. The independence of a drive is because the file itself a "wbfs drive", so, if i need to compress an ISO, it will take a default value for the wbfs sector size, if i scrub a game from a partition it will have the same sector size of the origin drive.

    i will implement command line for the next release ^^
    i will also include a config line in the .ini for the Partition Selector

    as for the covers, i am downloading from <a href="http://www.wiiboxart.com/" target="_blank">http://www.wiiboxart.com/</a>

    <!--quoteo(post=2230409:date=Sep 4 2009, 11:24 AM:name=redia)--><div class='quotetop'>QUOTE(redia @ Sep 4 2009, 11:24 AM) <a href="index.php?act=findpost&pid=2230409"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I (very quickly) did a translation in french.
    bare with the errors, I will try to see if I can improve it, and comment it if you wish.
    I could not get the location of all the messages so it was sometime hard to translate.

    cut and paste it in a txt file in the the language folder..

    Warning: Spoilers inside!

    I hope this helps.
    R<!--QuoteEnd--></div><!--QuoteEEnd-->

    Thanks! I will upload the pack to CodePlex and it will be by default in the next releases.
     
  15. 9th_Sage

    Member 9th_Sage GBAtemp Maniac

    Joined:
    Apr 30, 2008
    Messages:
    1,481
    Country:
    United States
    Well now, this is *really* nice. I was using before WBFS Intelligent GUI, which is OK, but it seemed kind of buggy for me. This is great though, and the interface is a lot better (using it right now to make a backup of the files on my WBFS drive).
     
  16. redia

    Member redia GBAtemp Fan

    Joined:
    Mar 9, 2008
    Messages:
    359
    Country:
    Switzerland
    thanks for the clarification on syncscrub.
    and GREAT news for the command line... I am dying to see it.

    I will do some more testing on your app and revert with any comments I have.

    Cheers,
    R
     
  17. ToneEQ

    Member ToneEQ GBAtemp Regular

    Joined:
    Aug 14, 2007
    Messages:
    228
    Location:
    South Wales
    Country:
    United Kingdom
    Huge bug on v2.0.03. Every action I make in the program causes it to access the floppy drive A:\. Every images download, every movement of the scroll bar when "Computador" is selected in the left pane. When I select my WBFS drive or any other drive the accessing stops. Is it because there is no floppy in the drive and your program keeps trying to read it?
     
  18. Omega Frost

    Newcomer Omega Frost Advanced Member

    Joined:
    Jun 27, 2009
    Messages:
    84
    Country:
    Brazil
    The program uses Microsoft Classes to access drives, every time the program "updates" due to a finished operation it will query information of all drives and reject the not-ready ones, appearently the only way floppy drive has to know if it's ready is trying to read it...

    I will disable A: and B: drives support, i don't think someone will try store a game in a floppy or zip drive...
     
  19. toazron1

    Newcomer toazron1 Member

    Joined:
    Jun 7, 2009
    Messages:
    22
    Country:
    United States
    Drive to drive copy works quite well, used to use WBFS manager 3.0 but this program is better imo.

    Thanks [​IMG]
     
  20. Omega Frost

    Newcomer Omega Frost Advanced Member

    Joined:
    Jun 27, 2009
    Messages:
    84
    Country:
    Brazil
    2.0.04 is out:

    -Fixed bug where the program sometimes crash when pasting
    -DevConsole.exe renamed to Console.exe
    -Added partition selection for Iso Scrubber, can only be accessed from the configuration file
    -Added configuration parameter for the Windows Format Drive Pop-Up
    -Added configuration parameter for exclude drives from the program, A and B excluded by default
    -Added command lines in Console.exe for WBFS and Scrub related functions
    -Added French language to pack

    @redia:

    use the Console.exe to use command line.

    use parameterless commands for a help about them
    the output is formatted as it follows:

    Source File
    Destination File
    Progress

    these are the commands:

    listdrive: list the games on a wbfs drive
    add: add a game to a wbfs drive, iso or scrub
    extract: extract a game from a wbfs drive, has argument for scrubbed extraction
    scrub: scrub a iso
    unscrub: unscrub a syncscrub
    delete: delete a game from a wbfs drive
    rename: rename and recode a game in a wbfs drive
    format: format a drive to wbfs
     

Share This Page