• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android INI-saving and lost game progress, bug?

@Jizo

Member
Hey,

I hope I've posted this on correct sub-forum, this sounds like a bug for me.
I've had same issue for last two years since I've started using Game Maker 1.4, now using 2.0.
So far I've been making Android games only. I use INI-saving and loading.
I've got 4 games in Google Play now and with all of my games, some people have reported that their game have crashed and the progress is reseted. My games have nearly 100k downloads total and these lost progresses are pushing the ratings annoyingly down :(

What do you guys think, is this a bug or am I doing something wrong with INI-stuff?
Have anyone else experienced the same issue on Android?

I simply have upon starting the game

ini_open("saves.ini");
global.variable = ini_read_real("xx",xx",0)
ini_close();

And for saving (every few seconds called by alarm):

ini_open("saves.ini");
ini_write_real("xx","xx",global.variable)
ini_close();

So everything should be like the manual says.

Thanks for the help.
 
S

Scizor

Guest
Been having the exact same issue with v1.4, hope someone knows a solution!
 

Pushloop

Member
It happened to me when updating from 1.4 to 2. Even if the android preference "always do a full install" is unchecked, it still overwrites the .ini file. Worked fine before in 1.4. Is there a solution?
 
Top