smurk-too / open-wiiflow-mod

Automatically exported from code.google.com/p/open-wiiflow-mod
0 stars 0 forks source link

Reload cache not working, causing directory corruption #174

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Manually add a new game to the wbfs folder.  You can copy with Windows or 
use WiiBackupManager to copy it.
2. Eject drive, attach to Wii and run WiiFlow.
3. Click home and reload the cache.

What is the expected output? What happend instead?

The cache file usb1_wii.db is created with 0 bytes and the file name is all 
upper case USB1_WII_DB.  When you attach it back to the PC and run a directory 
scan it shows directory errors.

If you then fix the directory errors and delete the zero byte file and redo it 
the cache file is created normally with lower case letters.

It looks like the reload cache is not deleting the file correctly or the 
overwrite is causing a directory failure.  My guess is that if a file exists it 
is not overwriting it correctly for some reason.  Can you delete the file 
first?  That seems to work if you manually do it in Windows.

What version of the product are you using? Which d2x cIOS version?

r886, d2x v8 and I've verified this happens with d2x v10 also.

Please provide any additional information below.

I am using a 2TB drive formatted with a single partition as FAT32.  I've also 
tested it on a 3TB FAT32 single partition drive and it does the exact same 
thing.

With large game sets this is very noticeable as it has to recreate the cache 
each time.

Original issue reported on code.google.com by bdonovan...@gmail.com on 1 Mar 2013 at 1:57

GoogleCodeExporter commented 8 years ago
I forgot to mention if you manually delete the usb1_wii.db file on your PC 
before you reload the cache in WiiFlow on the Wii - it works perfectly the 
first time and no directory corruption occurs.

Original comment by bdonovan...@gmail.com on 9 Mar 2013 at 2:02

GoogleCodeExporter commented 8 years ago
wiiflow deletes the cache file at first, I never had such a problem, you might 
delete the whole wiiflow/cache folder as well as you wiiflow.ini and try the 
official wiiflow 4.1.

Original comment by fix94.1 on 24 Mar 2013 at 12:06

GoogleCodeExporter commented 8 years ago
It seems to be working now in r892.  Thanks.

Original comment by bobconso...@gmail.com on 30 Mar 2013 at 6:58

GoogleCodeExporter commented 8 years ago

Original comment by fix94.1 on 30 Mar 2013 at 7:04