User Tag List

Results 1 to 2 of 2

Thread: Save games are removed (ini) when shutting down device

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Save games are removed (ini) when shutting down device

    I have noticed a very serious bug when using ini to save the game on Android. I had got many reports in the past on my games and 1 star reviews etc of people who said their saved games and progress where reset, but I never understood exactly what happened or what could be the problem. Now I tested my games on a device and then shut the device down and opened it up again and I see that the ini saves are not keept, they must be cleaned out or something when you shut the device down. I also tried a myrriad of other games on this device that I had this problem on from the google play store and none of them had this problem. It is only my fusion games that does this where the save is not keept after shutting the device down, so I don't know if it is the ini object that is the problem or if I should use some other method to save that prevents it from being cleaned out? This does not happen on most devices though, most devices seem to keep the ini after shutting it down, but it is of course still a huge issue that there are devices that does not keep the player save file. And also I have noticed that there is a very slim chance that it will keep the ini even on the device that have the problem, like maybe 5% chance.

    I have no idea what do to do make sure that the save games are not wiped out when shutting down on some devices? What is the most common way that games save their game since I don't have this problem when playing other games?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    941
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I use the array object for my data and never had a problem.
    save and load array file to/from: DataStorageDirectory$( "Android object" ) + "/filename.filetype" (any file extension is okey) [on iOS just save/load from file.filetype]
    This needs to save the file every time data is changed, and it will be immediately available as long as you load the file on start of frame at the top of the event list.

    There is also an object called "Quick Save" for android by Cootje on the clickstore which stores data properly, and functionally similiar to the ini object (unencrypted and easily modifiable)

Similar Threads

  1. Where do i save the apk file on my android device
    By rubes in forum Android Export Module 2.5
    Replies: 4
    Last Post: 28th February 2014, 11:54 AM
  2. Mobile device games...??
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 18
    Last Post: 12th January 2012, 07:28 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
  •