Problem ini read for 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.
  • I don't think you can use "apppath$" on Android, instead load your .ini to binary data and simply use "inifilename.ini" when refering.

    Also, on Android it doesn't work if your .ini is like this:
    [group]
    say1 = How are you doing

    It needs to be
    [group]
    say1=How are you doing

    So no space between!

    Currently working on Please login to see this link.
    Released games: Please login to see this link. and Please login to see this link.

  • Hi Jesse

    I used DataStorageDirectory$( "Android object" ) +"inifilename.ini" and even only "inifilename.ini" instead Apppath$ but it doesn't work for both. Would you mind please see my attached file for find my wrong .

    My website and 2d Animation artworks: Please login to see this link.

  • Ah sorry, I might have given you wrong information.

    It's some months I last time played around with these, but if I recall you first need to load the .ini file from actual path using the basic INI object:
    For example: "E:\PROJECT_03\dialogue_english.ini" You can have this in "Start of frame" event, or however you wish to load it.

    For example:
    Start of frame
    + Set current file to "E:\PROJECT_03\dialogue_english.ini"

    Also, add your file to binary data:
    View -> Data Elements -> Binary Data -> Add the .ini file from there.
    It should be the same path, for example for me it would be: "E:\PROJECT_03\dialogue_english.ini"

    That's all, it should work when you build for Android or iOS. It looks for the .ini file inside the app - from the binary data.

    Currently working on Please login to see this link.
    Released games: Please login to see this link. and Please login to see this link.

Participate now!

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