1. giantpune

    giantpune GBAtemp Addict
    Member

    Joined:
    Apr 10, 2009
    Messages:
    2,860
    Country:
    United States
    im not sure about the differing speeds people are getting, but i think it might be OS dependent. ive noticed that using good ole ubuntu, i get 71.58MBs. using the exact same PC, games, and hardware and running the "windows" version in XP, i get 12.XXMBs. Maybe it's cygin slowing it down or something.
     
  2. oggzee

    oggzee GBAtemp Addict
    Member

    Joined:
    Apr 11, 2009
    Messages:
    2,333
    Country:
    Slovenia
    You could try comparing it with the speed of wbfs_file, which is compiled using mingw to find out if cygwin is the problem.
     
  3. giantpune

    giantpune GBAtemp Addict
    Member

    Joined:
    Apr 10, 2009
    Messages:
    2,860
    Country:
    United States
    Holy hell. ubuntu 40 seconds, windows over 5 minutes. Both tests are reading the exact same data from a internal NTFS SATA HDD. Ubuntu is writing to a ext3 drive, while windows is writing to the same HDD it is reading from. But I doubt that the HDD being written to is what makes ubuntu go so much faster.

    Code:
    C:\Documents and Settings\Administrator>"C:\Documents and Settings\Administrator\Desktop\wbfs_file.exe" "C:\Doc
    uments and Settings\Administrator\Desktop\RGHE52.wbfs" convert "C:\Documents and Settings\Administrator\Desktop
    \RGHE52.iso"
    Converting C:\Documents and Settings\Administrator\Desktop\RGHE52.wbfs to ISO
    writing to C:\Documents and Settings\Administrator\Desktop\RGHE52.iso
    100.00% (|) ETA: 0:00:00 (2922.00MB of 2922.00MB ~ÂÂ9.50MB/s) time: 307.70s
    Done inÂÂ0:05:08
    Code:
    [email protected]:~/c/wbfs_to_files$ '/home/j/c/wbfs_file/wbfs_file' '/media/900GB_3GbS/BackUp_of_Wii_HDD/wbfs/RGHE52.wbfs' convert '/home/j/Azureus Downloads/GH3_test.iso'
    Converting /media/900GB_3GbS/BackUp_of_Wii_HDD/wbfs/RGHE52.wbfs to ISO
    writing to /home/j/Azureus Downloads/GH3_test.iso
    100.00% (\) ETA: 0:00:00 (2922.00MB of 2922.00MB ~ 73.40MB/s) time: 39.81sÂÂ 
    Done inÂÂ0:00:40
     
  4. tueidj

    tueidj I R Expert
    Member

    Joined:
    Jan 8, 2009
    Messages:
    2,569
    Country:
    You really don't consider all the seeking that occurs when you read and write to the same drive as being relevant?
     
  5. giantpune

    giantpune GBAtemp Addict
    Member

    Joined:
    Apr 10, 2009
    Messages:
    2,860
    Country:
    United States
    when i have windows write to a different HDD than it reads from, it goes 2x as fast. but still far slower than the ubuntu test.
     
  6. Wiimm

    OP Wiimm Developer
    Member

    Joined:
    Aug 11, 2009
    Messages:
    2,266
    Country:
    Germany
    wwt: Wiimms WBFS Tool v0.40a - 2010-03-31
    A command line WBFS tool set for various os.

    I have updated the tool. The first post with more details is updated too.

    Download of the current stable version:Download of the previous stable version:Attention to all MAC users:
    • It would be nice if a MAC user can "make distrib" and send me the resulting "*.tar.gz." file. I will add it to the download directory.
    There is also a GUI available:
    Last changes:
    Code:
    wwt v0.39a r782 - 2010-03-29
    
    - Bug fix: New CISO files > 4 GiB have been truncated (modulo 2^32 error).
    - Character devices are allowed for WBFS.
    - wwt --auto: If the file /proc/partitions is not found, than all devices
    ÂÂ named '/dev/sd*' and '/dev/rdisk*' are scanned for WBFS. If scanning of
    ÂÂ '/dev/rdisk*' fails then also files named '/dev/disk*' are scanned.
    ÂÂ Using character devices '/dev/rdisk*' will speed up wwt on apple computers.
    
    wwt v0.40a r790 - 2010-03-31
    
    ÂÂ- Cache handling (pipe support) improved. Discs with update partitons are
    ÂÂÂÂproblematic (some discs needs a 256 MiB cache). Try --psel=game to ignore
    ÂÂÂÂupdate partitons. The CYGWIN version has real problems with pipes.
    ÂÂ- Bug fix: Option "--ciso" was not recognized.
    ÂÂ- New test script: scripts/test-wwt+wit.sh
    ÂÂÂÂ- test "wwt INIT" with different HD sector sizes
    ÂÂÂÂ- test "wwt ADD" with ISO, CISO, WDF, WBFS
    ÂÂÂÂ- test "wwt EXTRACT" to ISO, CISO, WDF, WBFS
    ÂÂÂÂ- test "wit COPY" (convert) to ISO, CISO, WDF, WBFS
    Sources comes with GPL2. Checkout the sources directly from the SVN repository or browse the source.
     
  7. Wiimm

    OP Wiimm Developer
    Member

    Joined:
    Aug 11, 2009
    Messages:
    2,266
    Country:
    Germany
    I can confirm that linux/ext* works much faster than windows/ntfs.
    If you compare the speeds remember that my tools print out MiB/sec and that 1 MiB = 1024*1024 = 1048576 (add 5% to MiB value to compare with MB)

    @all MAC users:
    It would be nice if a MAC user can "make distrib" and send me the resulting "*.tar.gz." file. I will add it to the download directory.


    @oggzee + others:
    Have you a running cross compiler for mac that runs under linux?
     
  8. giantpune

    giantpune GBAtemp Addict
    Member

    Joined:
    Apr 10, 2009
    Messages:
    2,860
    Country:
    United States
    i went to checkout the source to compile it is OSx but a get denied
     
  9. oggzee

    oggzee GBAtemp Addict
    Member

    Joined:
    Apr 11, 2009
    Messages:
    2,333
    Country:
    Slovenia
    Probably linux is still caching the data, try doing this:
    time ( wbfs_file .... ; sync ; )
    to make sure the caches are written
     
  10. Wiimm

    OP Wiimm Developer
    Member

    Joined:
    Aug 11, 2009
    Messages:
    2,266
    Country:
    Germany
  11. giantpune

    giantpune GBAtemp Addict
    Member

    Joined:
    Apr 10, 2009
    Messages:
    2,860
    Country:
    United States
    the sync adds 7 seconds to it


    EDIT>>
    wwt-v0.40a-r792-mac.tar.gz
    http://www.multiupload.com/nte3u2duck

    im not sure about the inner workings of the mac and the compatibility between different versions. ive just made this in a vmware PC running OSx 10.6.2.
     
  12. sylver78

    sylver78 Advanced Member
    Newcomer

    Joined:
    Oct 16, 2006
    Messages:
    98
    Country:
    France
    About the MacOS version, I guess that it's a i686 version ! The best would be to provide an universal binary (with PPC, i686 and x86-64 in it). I think that this could be done by modifying the Makefile a little bit ... I'll try to do that later.

    BTW Wiimm, have you ever tested wwt built in 64 bits ? I've tested it on Mac OS snow leopard (by commenting out the march=x86-64 line, but I'm not sure that everything is 100% working and bug free ...
     
  13. Wiimm

    OP Wiimm Developer
    Member

    Joined:
    Aug 11, 2009
    Messages:
    2,266
    Country:
    Germany
    linux/x86_64 is available since some versions. I have tested it with the new test script against 8 game => no problems. An universal binary would be nice [​IMG]

    Where have you found march=x86-64 ? It is a relict. And perhaps it is in Makefile.local that is not part of the svn.
     
  14. sylver78

    sylver78 Advanced Member
    Newcomer

    Joined:
    Oct 16, 2006
    Messages:
    98
    Country:
    France
     
  15. Wiimm

    OP Wiimm Developer
    Member

    Joined:
    Aug 11, 2009
    Messages:
    2,266
    Country:
    Germany
    But it's only a comment (and now a removed comment)

    You can create "Makefile.local" for local settings and "Makefile.user" for user rules.
     
  16. drh

    drh Advanced Member
    Newcomer

    Joined:
    Nov 14, 2009
    Messages:
    76
    Country:
    Hi Wiimm,

    The "Browse the Source" link is now broken since 0.40a was added.
    I always used this link because there is a link "Download GNU Tarball" at the bottom to get the whole source in one file download.

    The "SVN Repository" link just gives a list of all the individual files which is not too useful.

    Edit:
    Ah its ok, I used the "Browse the Source" link from page 34 that will links to the correct location:

    http://opensvn.wiimm.de/viewvc/wii/trunk/wiimms-wbfs-tool/
     
  17. Wiimm

    OP Wiimm Developer
    Member

    Joined:
    Aug 11, 2009
    Messages:
    2,266
    Country:
    Germany
    And where can I find the corresponding main.h?

    @dry:
    Thanx for the hint. The link is repaired (syntax error error in relocate script)
     
  18. fridgee

    fridgee Member
    Newcomer

    Joined:
    Feb 3, 2010
    Messages:
    13
    Country:
    Gambia, The
    You can find the main.h here
     
  19. giantpune

    giantpune GBAtemp Addict
    Member

    Joined:
    Apr 10, 2009
    Messages:
    2,860
    Country:
    United States
    if you are going to mess with the fst and extracted files to support sneek, it would probably be good to support part.bin files. as there is the 0xffff file limit in FAT and some games are several thousand. SSBB is over 5,000 files and guitar hero 3 is over 12,000 files. a part.bin is basically all the files that are found in the partition truncated into 1 file (starting at the boot.bin). so you dont use up 12,000 file entries where you can get away with 1. also, all the offsets for the fst.bin, main.dol, and every file in the fst.bin can be shifted down and aligned to 32 so you dont end up with a bunch of wasted space between files. basically you get a trimmed partition.
     
  20. sylver78

    sylver78 Advanced Member
    Newcomer

    Joined:
    Oct 16, 2006
    Messages:
    98
    Country:
    France
    I built a Mac OS universal binaries version (ppc, i386 and x86-64) for wwt v0.40a
    It's available here : http://www.multiupload.com/9TSRUILY3T
    I need someone with a ppc mac to test it (it's my first universal binary [​IMG])
    PS : I failed building a ppc64 version so it's not included ...
    PS2 : the install script is using wget to dowload a file on the internet, but wget is not installed on mac os by default ... I'm not sure what this file is for.
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - WBFS+ISO, wwt+wit, Wiimms