User Tag List

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 32

Thread: iOS autmoatically clearing the game INI file

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    DTownTony's Avatar
    Join Date
    Sep 2010
    Location
    Detroit
    Posts
    428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    iOS autmoatically clearing the game INI file

    I've had a couple reports of the games INI file being reset automatically out of the blue. One person suggested that the cause of this is that iOS has an automatic routine/function that deletes all temporary, unprotected and cached data from apps. It is usually launched by the os when the storage free space is low and it isn't enough to perform a task. The most frequent reason is installing a big app while the disk is almost full. If thats the case is there anyway to protect the game data?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not sure where MMF saves INIs, but there should be some safe directory that isn't cleared out in such a situation. This link may help: http://stackoverflow.com/questions/7...d-new-ios-vers

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    After a bit of digging, looks like MMF is putting saved data (well List object save files at any rate) in Library/Cache directory which might explain the problem - might be better in Documents (that's where I used to save user data when coding in XCode)?

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can confirm that several MMF made apps lost their save files (INI) during updayes or with Low space.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's a bit of a hack, but works for saving List object data, so don't see why it shouldn't work for INI:
    save/load as "../../Documents/MySaveData" - this will step up from Library/Caches and into Documents
    Hope it helps!

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    DTownTony's Avatar
    Join Date
    Sep 2010
    Location
    Detroit
    Posts
    428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My only worry is now if I do that, will everyone lose there current data and have to restart?

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You might be able to make it backwards compatible by trying to load the file as usual, check if a value exists, and save again in the Documents directory.
    Of course you'll need to wipe out the original, perhaps use an empty INI and save that over the old one - like I said it's a bit of a hack
    I'm more familiar with using the List object where I can check to see if number of lines=0

    PS Even if Clickteam change the save data to use Documents in a future version of iOS Exporter, you'll still have the same problem.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    DTownTony's Avatar
    Join Date
    Sep 2010
    Location
    Detroit
    Posts
    428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I guess I'll have to look into that. I just released an update and have all ready gotten a couple complaints from people losing all of their data I guess on the bright side I checked other games that have been recently updated and games like JetPack Joyride are also getting those types of negative reviews for the same issue. From what I can tell its been updated 55,000 times and I have 3-4 negative reviews about the data going blank issue so maybe its not a huge issue, just kinda sucks.

  9. #9
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    AndyH's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,445
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by AyreGuitar View Post
    It's a bit of a hack, but works for saving List object data, so don't see why it shouldn't work for INI:
    save/load as "../../Documents/MySaveData" - this will step up from Library/Caches and into Documents
    Hope it helps!
    Thanks for this info. maybe clickteam can add support for chosing where to save ini, array and list data? In the mean time i will try this out on my new game...was about to send it to Apple to publish.
    Andy H @ ovine.net
    Awful Jokes - a new cartoon every day: http://awful.ovine.net/
    Ovine's games: http://www.ovine.net

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    DTownTony's Avatar
    Join Date
    Sep 2010
    Location
    Detroit
    Posts
    428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im afraid this will be a bigger issue whenever iOS gets another update as from what I've read the the /cache folders don't get backed up

Page 1 of 4 1 2 3 ... LastLast

Similar Threads

  1. Clearing INI file data
    By Renatos in forum iOS Export Module Version 2.0
    Replies: 4
    Last Post: 16th February 2012, 06:23 AM
  2. Clearing content of INI files (?)
    By BHGames in forum iOS Export Module Version 2.0
    Replies: 11
    Last Post: 20th December 2010, 04:46 PM
  3. Clearing Cache
    By Game_Master in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 17th August 2009, 12:08 PM
  4. Clearing the Cache?
    By pinacoladaxb in forum Vitalize
    Replies: 10
    Last Post: 5th June 2008, 08:18 PM
  5. Clearing the Clipboard
    By Dines in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 4th June 2007, 11:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •