Hacking Error -31 on sparse ntfs iso files

  • Thread starter Thread starter myron0815
  • Start date Start date
  • Views Views 1,775
  • Replies Replies 5

myron0815

Active Member
Newcomer
Joined
Feb 14, 2009
Messages
40
Reaction score
0
Trophies
1
XP
89
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
attrib_frag.c said:
if ((na->data_flags & ATTR_COMPRESSION_MASK) && NAttrNonResident(na))
{
return -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?!
 
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?!
 
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
 

Site & Scene News

Popular threads in this forum