User Tag List

Results 1 to 5 of 5

Thread: Data Elements, Include external files

  1. #1
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Data Elements, Include external files

    I'd like to distribute my app under one EXE that contains everything. My app uses an array that loads the file array.arr (filename isn't calculated with an expression) at the start of the frame.
    I'd rather have array.arr been read directly from the EXE file without the need for it to be extracted to user's hard disk in a temporary folder. How do I do that?

    -Must I check "Include external files" in the application properties?
    -Must I add arrar.arr into the Data Elements?
    -Must I do both?
    -Is it better to have array.arr at the exact location than the MFA?

    I tried everything above without success, the app doesn't find array.arr when tested on another machine. I must be missing something. EDIT: I'm using R243.

  2. #2
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Data Elements, Include external files

    Hmm. How exactly are you referring to the file?

    You have to select it using the file selector, you can't open the expression editor and just type "c:\folder\file.txt". Even though it's not being evaluated (as such), it's still an expression.

    To test it on your own system, simply build the app and then rename the file (i usually add the word 'gone' to the end, so it becomes "test_GONE.txt").

    (Make sure you rename the file AFTER you've built the app!)

  3. #3
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: Data Elements, Include external files

    Like I said above the filename isn't calculated with an expression, I've selected it using the file selector.
    That's really weird. I've renamed array.arr to something else and launched the EXE on the dev machine. Everything was ok. And again it didn't work on another machine.

  4. #4
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Data Elements, Include external files

    Why is it so essential that it is included in the .exe? Why not just have a file outside the main executable, but have it encrypted, then load the encrypted file, and decrypt it, that way it is never unencrypted where somebody could access it.

  5. #5
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: Data Elements, Include external files

    Yes at first I was thinking about encrypting the external files. I was using blowfish but I couldn't make it work. I was able to make blowfish load the array file and decipher it, but then I didn't know how to pass the data to the Array object.
    When blowfish loads a file and deciphers it, is this done in memory?

Similar Threads

  1. Include External Files
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 28th February 2015, 03:08 PM
  2. Include External Files
    By Keith in forum Android Export Module Version 2.0
    Replies: 5
    Last Post: 4th March 2013, 06:34 AM
  3. Include external files
    By Czentnar in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 5th April 2007, 08:41 PM
  4. Data Elements, Include external files
    By Olivier in forum Multimedia Fusion 2 - Technical Support
    Replies: 18
    Last Post: 15th March 2007, 01:44 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
  •