Error -31 on sparse ntfs iso files

Discussion in 'Wii - Backup Loaders' started by myron0815, Jan 6, 2010.

Jan 6, 2010
  1. myron0815
    OP

    Newcomer myron0815 Member

    Joined:
    Feb 14, 2009
    Messages:
    40
    Country:
    United States
    Hi,

    currently testing the step from wbfs->ntfs.
    Whilst this works like a charm, the compressed ntfs folders give me some headaches :/

    I mostly get an error -31
    i tried to defrag my hdd, then it got better (but not 100%)

    One game had a special behaviour:
    After the click on the game, it took 15 seconds (!) to load the banner sound and another 15 seconds (!) to display the spinning cd dialog (saw some console flickering in the background dunno whats going on here)
    Looking into the fragments showed no real fragmentation: data had no fragmentation, but in the first block of the hdd, i saw some matadata info i cant remember (something to tell if sparse or not; maybe xxx.iso::$ATTR_COMPRESSION_MASK... dunno) Didnt got this defragmented (if we call this a fragment).

    Any ideas, what causes this error -31, or, better, how to suppress it?
    what needs to be done?!
    Better defragmentation... or better libntfs support?!
    Or where is the/my problem?!
     
  2. XFlak

    Member XFlak Wiitired but still kicking

    Joined:
    Sep 12, 2009
    Messages:
    9,122
    Location:
    Ontario
    Country:
    Canada
    just use fat32 for now... wait until oggzee perfects ntfs support

    i know its not a real solution, but its what i would do
     
  3. fig2k4

    Member fig2k4 GBAtemp Advanced Fan

    Joined:
    Oct 30, 2009
    Messages:
    758
    Location:
    Scotland
    Country:
    United Kingdom
    As far as I know, NTFS compression isn't supported yet. That's why everyone's using sparse ISOs to save space instead of compression.
     
  4. myron0815
    OP

    Newcomer myron0815 Member

    Joined:
    Feb 14, 2009
    Messages:
    40
    Country:
    United States
    ok, this might be my problem ^^
    thought that ntfs compressed == sparse file.... but it seems that is not the case.

    so how to create/set a file as sparse file?!
     
  5. oggzee

    Member oggzee GBAtemp Addict

    Joined:
    Apr 11, 2009
    Messages:
    2,335
    Country:
    Slovenia
    NTFS compresson will never be supported for loading games.
    Disable that on the file or on the whole drive.
    To create sparse files use one of these tools:
    - wii backup manager
    - wii game manager
    - wbfs_file.exe
    but the easiest way is to just use .wbfs files instead of .iso
     
  6. myron0815
    OP

    Newcomer myron0815 Member

    Joined:
    Feb 14, 2009
    Messages:
    40
    Country:
    United States
    thanks - got it working.

    you live and learn ^^
     

Share This Page