• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Problem : ini_open with free version

K

K_lomnie

Guest
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