User Tag List

Results 1 to 8 of 8

Thread: Can someone spell this out for me (HTML5 INI)

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export Module

    Join Date
    Jun 2021
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can someone spell this out for me (HTML5 INI)

    I've read about 50 posts and I still can't do it. It's simple. My dialogue is all stored in dialogue.ini.

    it works fine until I export as HTML5 - then nothing. No matter what directory I put the file in = nothing.

    I have tried putting the full path.

    I've tried it on my server and I have tried it locally.

    Please just tell me what to do.

    dialogue.jpg

    what do I put here to make it work?

  2. #2
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    185
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Dillhole View Post
    I've read about 50 posts and I still can't do it. It's simple. My dialogue is all stored in dialogue.ini.

    it works fine until I export as HTML5 - then nothing. No matter what directory I put the file in = nothing.

    I have tried putting the full path.

    I've tried it on my server and I have tried it locally.

    Please just tell me what to do.

    dialogue.jpg

    what do I put here to make it work?
    Hi, in html5 the drawer is like so:

    resources
    src

    and to run the application is : index.html

    all in resources are replaced every build an run the application;
    Try to create drawer like : datas and put the dialog.ini inside;
    Finally you must have like this file structure;
    resources
    src
    datas
    index.html

    In this case you can set : set current file to "datas/dialog.ini" , hope this will help you;

    Regards

  3. #3
    Clicker Fusion 2.5 Mac
    PandaExplosion's Avatar
    Join Date
    Dec 2008
    Posts
    279
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have the same problem. Gigatron solution won't work.

  4. #4
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    185
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by PandaExplosion View Post
    I have the same problem. Gigatron solution won't work.
    Please send .mfa example for testing ;

    Thanks

  5. #5
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,054
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    you must add this INI file in the binary data and it will be read INi file are saved in localstorage for HTML5.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  6. #6
    Clicker Fusion 2.5 Mac
    PandaExplosion's Avatar
    Join Date
    Dec 2008
    Posts
    279
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Fernando, tried it, but unfortunately it won't work.

    I added the binary file and used the right path. I then built in exe, deleted the original file, just to be sure, it worked. The same process won't work in HTML5.

    IT seems html5 can't read binary files at all.

  7. #7
    Clicker Fusion 2.5 Mac
    PandaExplosion's Avatar
    Join Date
    Dec 2008
    Posts
    279
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, just did it using Gigaton idea. I searched for "data\" + "value.arr" after creating the folder.

    Solved!

  8. #8
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,168
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by PandaExplosion View Post
    Thanks Fernando, tried it, but unfortunately it won't work.

    I added the binary file and used the right path. I then built in exe, deleted the original file, just to be sure, it worked. The same process won't work in HTML5.

    IT seems html5 can't read binary files at all.
    It works fine here, I confirm what Fernando said, I just tested it. The best way to do it = put the INI in the directory of the MFA, add it to the binary files and use Set current file to Apppath$ + "your_ini.ini" in the INI object. Nothing more.

Similar Threads

  1. Spell check in HTML5?
    By ratty in forum HTML5 Export Module 2.5
    Replies: 0
    Last Post: 10th October 2017, 05:44 PM
  2. Replies: 4
    Last Post: 4th December 2014, 08:03 AM
  3. Changes to my extensions (INI++, Chart object, Spell checkers, etc.)
    By Jax in forum Multimedia Fusion 2 - Technical Support
    Replies: 27
    Last Post: 9th March 2014, 09:37 PM
  4. Any MMF2 Spell Check Example?
    By soloman in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 29th June 2010, 07:21 PM
  5. How to use the Spell Check object
    By RickyRombo in forum Articles
    Replies: 1
    Last Post: 18th June 2010, 02:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •