User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 24

Thread: iOS INI files are not working

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Aug 2011
    Location
    Beverly Hills, CA USA
    Posts
    508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    iOS INI files are not working

    I have deployed several INI files for my project with preset data. I am using this approach to get around the lack of .arr support for iOS in MMF2. On Windows reading the INI files works without issue as it pulls then from "C:\Windows". On iOS nothing happens.

    In my MMF2 file I have an event which sets the INI file to "something.ini". It then sets the current group to "data" (e.g. [Data] in the file). I then read a value. End result: nothing. The files are loaded into my XCode project under resources and when I compile, I can right click on the compiled app and do a "Show Package Contents" ... my INI files are present and accounted for. The case of the names matches without issue. The files show up under "Copy Bundle Resources" under Targets.

    What is going on? This is really holding me back from getting a key deliverable out.

  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)

    Re: iOS INI files are not working

    Andos, when you are bAck from the convention, can you have a look at it? He will need the mfa and the xcode project

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    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)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: iOS INI files are not working

    Not sure if it helps, but remember reading somebody else on these forums having problems using set group part of the INI object - he managed to get it working without groups.

  4. #4
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export ModulePatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)
    Renatos's Avatar
    Join Date
    Jun 2006
    Location
    São Paulo, SP - Brasil
    Posts
    593
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: iOS INI files are not working

    Yea, i prefer not setting a group alone, but using the "Set Group and Item" at once to load a value.

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperiOS Export ModuleMac Export ModuleSWF Export ModuleUnicode Add-on
    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)
    JasonDarby's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    4,938
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: iOS INI files are not working

    Ini works for me (used it in memory shop)..

    I always get MMF to create the initial ini in the application folder... to make sure its working.

    Then remember you have to manually copy the ini file to the resources folder on the X-code project.

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Aug 2011
    Location
    Beverly Hills, CA USA
    Posts
    508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: iOS INI files are not working

    Getting rid of the group and using the default "[]" made no difference. Is there any special UTF format etc. or other things I cannot do with INIs that I should be using for iOS? I do set the INI source using the following "Set current file to "somefilename.ini". Should I be using one per INI instead of reusing it for all 14 of my INIs? FYI - I am using INIs because I cannot use the .arr data source.

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Aug 2011
    Location
    Beverly Hills, CA USA
    Posts
    508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: iOS INI files are not working

    Francois I sent you a PM about this. I think I may be onto the source of the problem.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jan 2011
    Posts
    61
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: iOS INI files are not working

    I tried what JasonDarby said, I skipped the groups and just used items and it worked

  9. #9
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Aug 2011
    Location
    Beverly Hills, CA USA
    Posts
    508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: iOS INI files are not working

    When you say you skipped the groups, can you show an example of what your INI file looks like? Does it look like this:

    []
    Some Setting=123
    Another Setting=456

  10. #10
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    AndyH's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,445
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: iOS INI files are not working

    Hmmm, I have been using groups in my game. If I let the MMF app create it when it first runs, all works ok. If I put a pre-made ini file in to the Xcode project and try to write back to it, my app locks up although I was able to read values from it. I have not tried without using groups either way.
    Andy H @ ovine.net
    Awful Jokes - a new cartoon every day: http://awful.ovine.net/
    Ovine's games: http://www.ovine.net

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. "Flash / INI object: now loads INI files stored as binary files in the application."
    By EdibleWare in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 2nd July 2014, 10:22 AM
  2. Loading files such as INI,Text files, List Files?
    By Gibbon in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 21st July 2012, 06:41 AM
  3. Sound Files Not Working Properly - Help Needed
    By SourC in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 26th April 2011, 02:50 PM
  4. re: any WORKING example files?
    By ClickerGuy in forum Lacewing
    Replies: 2
    Last Post: 27th February 2011, 09:07 AM
  5. Different savegame files not working properly
    By Blue66 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 7th April 2009, 11: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
  •