User Tag List

Results 1 to 7 of 7

Thread: No External Files in Stand Alone Application

  1. #1
    No Products Registered

    Join Date
    Jun 2007
    Location
    Scotland
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    No External Files in Stand Alone Application

    After moving my project to another (external) drive and resetting the location of all the project's external files in the event editor (and including 'include external files' in App. properties), there are no external files in the stand alone application. When building, a pop-up informs me that files on the old drive will not be included, although they are no longer referenced in event editor. I have tried building to the old drive as well, but still no files. Any thoughts?

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: No External Files in Stand Alone Application

    do not compress the runtime

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

    Re: No External Files in Stand Alone Application

    Are you sure that the files aren't referenced anymore? If they appear in the Data Elements / External Files tab then they are still in use somewhere in you app.

  4. #4
    No Products Registered

    Join Date
    Jun 2007
    Location
    Scotland
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: No External Files in Stand Alone Application

    Compressing or not at runtime appears to make no difference.

    There were (now deleted) references to now no longer existent files but these were not referenced during runtime.

    When I build the stand alone app to a drive (C or E), I am told that files on the other drive will not be included. However, saving to E does not include the E files. Saving to C appears to solve the problem now and appears to include all the files even the files the build process said would not be included.

  5. #5
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: No External Files in Stand Alone Application

    When you build a stand-alone application in a directory, the external files used by the stand-alone application must be in this directory (or in sub-directories of this directory) with the same relative pathnames as in the MFA file.

    For example if the MFA file is in c:\xyz and contains a reference to c:\xyz\subdir\picture.png, and you build your stand-alone application to d:\abcd, then picture.png must be in d:\abcd\subdir.

    The easy way : build your stand-alone application in the same directory as the MFA file.

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,144
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: No External Files in Stand Alone Application

    Is this stuff automatic? I mean, lets say I get it to play an MP3 file using an extension, would it automatically build that MP3 file into the EXE now that it's in the event editor? Or does this only work using MMF's default abilities?

  7. #7
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: No External Files in Stand Alone Application

    That depends on what you use to play your MP3 file and what options you select in MMF2.

    If you use an expression like Apppath$ + "yourfile.mp3" to play the file, it won't be included, unless you add it to the Binary Data tab in the Data editor.

    If you use an expression that displays a file selector, or if the filename is mentioned in the properties of an object, it will be included in the EXE either if you select the "Include external files" option, or if you add it to the Binary Data tab in the Data editor.

    PS: I think the Include External Files option is not compatible with files you add in the Binary Data tab.

Similar Threads

  1. Error when building stand-alone Mac application
    By Michael_Nelson in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 28th October 2010, 12:01 AM
  2. external ini files
    By jchristiansen in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 2nd June 2010, 07:58 PM
  3. Stand Alone Mac Application Question
    By GnadeGames in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th April 2010, 03:08 PM
  4. [ Stand Alone Application ] Test Syncronisation :
    By Mister DROX in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 26th February 2008, 10:00 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
  •