kctoh
Joined: 03 Jan 2012
Posts: 2
|
Just did some more experimenting.
It appears that the "mobile documents" folder on the iPhone/iPad does not quite function as in Lion's mobile documents folder. Lion's mobile documents folder offers Dropbox-like file syncing across Macs.
The one on the iPhone/iPad does display the correct file created on another device, but a file synced this way can not be copied off the device normally. When using iFile to copy the file into a local directory, a "File Exists: File could not be copied" error is generated, and trying to copy the file off USB via iExplorer yields a 0 byte file with the same name. I think it may be that the iCloud version of the file is not really saved locally into the device.
Copying the save file and manually transferring them across devices works though, so it is definitely not the iPhone/iPad having incompatible save formats.
I have tried to set the permissions to 777, but it does not appear to resolve the issue.
Update:
It appears the issue is that iCloud does not save the synced files locally. I set the save directory into the GoodReader iCloud documents folder under "/var/mobile/Library/Mobile Documents/GOODREADER FOLDER/Documents" for both devices. I saved an iPhone game with ScummVM and used GoodReader on my iPad to download the data locally into the iPad. After that, the savegame worked on the iPad. I don't have the iPhone version of GoodReader to test if the reverse works though.
It would be great if this could be implemented into ScummVM, maybe as an "enable iCloud save" checkbox that would set the save directory into the iCloud folder and perform a download of the iCloud files into the iDevice on startup if enabled.
Otherwise, does anyone know of any similar file management apps that use iCloud - that are free?
Update 2:
iCloud saving works as long as the save file exists in the iCloud folder on both devices. Updating the savefile on 1 device automatically updates the savefile on the other.
|