User Tag List

Results 1 to 6 of 6

Thread: Bundled Resources Question

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    UrbanMonk's Avatar
    Join Date
    May 2008
    Location
    Southern U.S.A.
    Posts
    847
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Bundled Resources Question

    I've searched the web for an answer to this but I can't seem to find one.

    Whenever you build your MMF made app Xcode always updates the Application.cci file of the app each build, but other external files that are bundled aren't updated even if they change.
    The only way to update those resources is to delete the app and rebuild it.

    So my question is this: How can I get Xcode to treat my included external files like it treats "Application.cci?" Is there a setting I have to change?

    I don't know if anyone knows the answer to this one, but thanks for any help in advance!

  2. #2
    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)

    Bundled Resources Question

    Have you tried going to Product>Clean in XCode before building?

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    UrbanMonk's Avatar
    Join Date
    May 2008
    Location
    Southern U.S.A.
    Posts
    847
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yes. That doesn't help.

    How is the "application.cci" set up? If I can do something similar with my resources I could get them to update every build.

    Like I said, the only way to update the resources is to remove the app and reinstall it.

  4. #4
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    UrbanMonk's Avatar
    Join Date
    May 2008
    Location
    Southern U.S.A.
    Posts
    847
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb

    UPDATE: Just a heads up. Removing the file name before the end of the frame doesn't prevent the app from saving a new copy of the data file. This is going to have to be fixed by clickteam.

    Hi everyone!

    I discoved the problem! It has nothing to do with Xcode.

    I has to do with the way the ini object works. I'm using the ini object to load external data, but currently the ini object saves the file at the end of each frame regardless of whether or not the data was modified.
    I think it should only save if the file is modified. I've got an idea to fix it though that I'm going to try... I'm going to clear the loaded file at the end of every frame and see if that stops the problem.

    Here is what I discovered:




    So basically it's making copies of my data files whenever they're loaded, and then when I make a new build of my app they aren't getting overwritten which results in out of data files on the device.

    A fix I think should be added to the ini object is the ability to load a file in "read-only" mode.

    Can that be done? Thanks!
    Images attachées Images attachées

  5. #5
    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)
    A read-only flag is a really good idea. I'll see if we have spare flags in the object for it.

  6. #6
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    UrbanMonk's Avatar
    Join Date
    May 2008
    Location
    Southern U.S.A.
    Posts
    847
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Wow thanks! This is the fastest you've ever gotten back with me!

    Hope it does. If this issue and the GameCenter multiplayer was fixed then the iOS plugin would be perfect!

Similar Threads

  1. sprite resources
    By willow in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 11th November 2009, 12:31 AM
  2. Compile & get Resources in exe
    By Looki in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 26th February 2007, 06:04 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
  •