User Tag List

Results 1 to 6 of 6

Thread: "Flash / INI object: now loads INI files stored as binary files in the application."

  1. #1
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Android Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2010
    Posts
    339
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    "Flash / INI object: now loads INI files stored as binary files in the application."

    "Flash / INI object: now loads INI files stored as binary files in the application."

    Just noticing that this statement is wrong and Flash can't do this.

    There's no option to do this inside Flash Runtime or inside the Ini object, any path leading to this ara blank and doesn't works.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    I will be investigating this problem next week.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Oct 2008
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    I just stumbled upon this topic and I have to say, reading an INI file stored in Binary Data in the Flash Runtime still doesn't work for me.

    I followed this tutorial : http://download.clickteam.com/tutorials/en/binary-data.pdf and made a simple MFA including a binary INI file and reading a simple value, and built a SWF application from it (both are attached to my post).
    When I test this application in Fusion 2.5 (build 281.2) by pressing F8, it works, but the SWF version doesn't (although I tried to built an Android version, which works well).

    Any help would be appreciated
    Attached files Attached files

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,608
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Hi,

    did you try unckeck the UTF8 flag, is your ini file in ANSI, if so need, you need to unchecked the UTF8 flag.

    please test and let me know


    (at my side, some changes are made in the code to handle INI file in Unicode, available for next beta)
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Oct 2008
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just unchecked the "UTF8" and "create in Application Data" flag, and converted my file to ANSI (my ini file was in UTF8 before anyway), it still doesn't work :/

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Oct 2008
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Found a sort of solution : putting my INI contents into a List object, and writing the List contents to another INI file when the game starts (which takes about 5 seconds...).
    Of course this is a bad workaround, it would be much better with a working binary data...

Similar Threads

  1. "Too many files in use by 16 bit programs" Error during install
    By TheDonald in forum Install Creator and Patch Maker
    Replies: 2
    Last Post: 29th July 2013, 07:06 PM
  2. "Locking" game files? +Unlocking from inside the app?
    By Tsun in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 14th January 2012, 10:09 AM
  3. Installing files to "My documents" of all users
    By PeterT in forum Install Creator and Patch Maker
    Replies: 8
    Last Post: 8th March 2011, 02:44 PM
  4. delete "old" files automatically
    By delta in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 6th August 2008, 03:11 PM
  5. ".dll" files and ".ox" ActiveX Control install
    By himan in forum Install Creator and Patch Maker
    Replies: 5
    Last Post: 3rd April 2008, 02:49 PM

Posting Permissions

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