Problem : ini_open with free version

K_lomnie

Member
Hi, i start with GML since 15 days and naw i would like to create an ini save system.
I use for the moment the free version of GM and my code doesn' work ... I don't know where to put the .ini file, there is no .exe file whith the free version and i would like to know if it's possible or not whit this version.. :)

i tried ini_open whith the full path (c:/blabla/blabla/save.ini) and it doesn't work either
i don't understand ^^ pliz need u held ;)

ty a lot !
 
Just use the file name only.

Code:
ini_open("save.ini")
ini_write_real("Settings", "level_complete", 1);
ini_close()
The ini file will be saved in your %localappdata% folder, which is usually c:\Users\<username>\AppData\local\<gamename>
 
Top