User Tag List

Results 1 to 2 of 2

Thread: Load text file in android (Binary data)

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    zephni's Avatar
    Join Date
    Apr 2010
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Load text file in android (Binary data)

    I have added a binary data file named "level.lvl" (Ive also tried "level.txt" just in case) and then used String Parser to load the file in so I can loop through it. But it only works on Windows, this is my condition and action:

    +Run this event once
    - String Parser: Load from file "level.txt"

    +Always
    - String: Set alterable string to String Parser source string

    And it doesn't pull anything in. I have used an INI file as binary data in the same application and that works fine in Android, it just can't seem to work with the txt file. Is this maybe because the String Parser's "Load file" method isn't compatible with Android?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Mar 2009
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe you could try doing something like this? https://dl.dropboxusercontent.com/u/...Games00056.JPG

    I am using this method and is actually really effective. It not only saves the INI in the external storage directory to make it hard to edit, in case for example you are using progress in your game and saving it with an INI, it also hides the file itself in the Android device. =)

Similar Threads

  1. Binary data wont load in exe build
    By mobichan in forum Fusion 2.5
    Replies: 11
    Last Post: 11th March 2015, 11:43 PM
  2. Array from binary data on iOS and Android
    By paobrasil in forum Android Export Module 2.5
    Replies: 2
    Last Post: 1st June 2014, 11:51 PM
  3. Cannot extract or load Binary Data
    By liquixcat in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 16th December 2013, 02:31 AM
  4. [BUG 256.34 Unicode] Can't load Binary Data files
    By Olivier in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 30th January 2013, 06:06 AM
  5. Using an ini file as a binary data element
    By keokeo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 13th February 2011, 11:03 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
  •