Overwrite pre-existing data in INI?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Using INI++ 1.5 to save option data in my game. I have the following setup in the INI itself.

    Code
    [options]
    fullscreen=0
    screenscale=2
    soundvol=100
    musicvol=100

    It loads data from the INI just fine. It's WRITING to the INI that I seem to be having trouble with.

    Example: Let's say you set the screen scale to 2x (which would be a value of 1 saved to the INI).

    Start of Frame:

    • Appdrive$ + Appdir$ + "options.ini" (Load file, keeping the old path, keeping the data in the current object.)

    Player Pressed Button (Okay):

    • Set Item "fullscreen" in group "options" to value FScreen("Active")
    • Save INI

    For some reason, the value for fullscreen stays the same. Nothing changes.

    EDIT: When looking in the debugger, the data is changed there. But just not saved. And for the life of me I have no idea why.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!