ini created on PC but needed on android

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.
  • hello

    I have an mfa, a kind of editor, which saves in an ini file on the PC, in the current directory.

    another MFA is the game which loads the ini file on startup.

    On PC everything is ok

    therefore on Android, the game cannot find the ini file which is normal since it is saved on the PC.

    what do you think to do to transfer the ini to android and for the game to find it.

    thank you for your help

  • You'll need to add the INI file that your editor app creates as "binary data" in the Data Elements tab of your Android app before you build it, then in the Android app, the location of the INI file is in : "DataStorageDirectory("Android Object") + "/" + "yourfile.ini" when you need to reference it. You'll also need the Android Object extension to retrieve the above filepath.

    Please login to see this attachment.

Participate now!

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