User Tag List

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

Thread: Ini File issues

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

    Ini File issues

    Hello

    I have created a simple app and wondered if anyone can see any issues with it, or know why it wont work.

    http://dl.dropbox.com/u/7612886/test.zip

    Download the file.

    Extract both files to your desktop.. run the app.

    The first frame should try and load data into a counter after 1 second, it doesnt.... after a few seconds press the spacebar and you will get another frame where its full pathname is entered and working.

    Can anyone see why the first one wont show up on windows? This is a test for the iphone, so i cannot enter the full path, and i cannot use APP$ path type stuff.

    If anyone can make any suggestions?

    Jason

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini File issues

    Your ini files simply aren't referring to the same location. In the first frame you try to load from "test.ini" - which I'm not sure is even a valid location. And on the second frame you load from a file on the desktop.

    All you need to do for the iOS or INI object in general is set the file name (in the object properties - not event editor) to just the name of the ini file. eg. "test.ini".

    MMF then automatically loads/saves test.ini from a location that is available on the user's machine. On a PC this is usually somewhere such as C:\Users\Andrew\AppData. On an iPhone I don't know where it resides, but it works as long as you set the filename in the object properties.

    You don't need to put any loading or saving events in the event editor.

  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)

    Re: Ini File issues

    On windows it saves to my windows directory.

    On the iPhone it saves the data in the app itself. Since apple likes to package everything together, an app is just a glorified folder with the .app extension.

  4. #4
    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: Ini File issues

    Francois is looking at making it so it can work locally to the mmf app, but i wasnt sure how it was supposed to work currently, so thats the reason for asking.. so i can get my simple game released

    Makes sense. I will take a look and see if i can get it working.

    Thanks for the replies.

    Jason

  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: Ini File issues

    If i just put the name in the ini properties it doesnt seem to create the ini file regardless. It does if i put the full path using .\ and the filename.

    If i create the file using .\ and then just enter the filename.ini it wont read the data from the file... its all very strange to be honest.

    Jason

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini File issues

    > If i create the file using .\ and then just enter the filename.ini it wont read the data from the file... its all very strange to be honest.

    I had reported the same a while ago. To avoid it as a workaround just set the full path to the folder and file on Windows and it will work on iOS. Same happens with the highscore object.

  7. #7
    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: Ini File issues

    The problem for me BH is that its not working on the device.. which is why i've been trying to find an alternative way

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini File issues

    I've tried it on my device and the INI object seems to work fine. All I do is put in a name into the INI object's properties - such as "scores.ini". What are you trying to do and what isn't working?

  9. #9
    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: Ini File issues

    I am trying to load data in from an ini file. It only works if i put the full path to the ini.

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini File issues

    Is this on both PC and iOS? What OS do you have on your PC. It works for me on Windows 7. Do you have any restrictions on your user account? Are you an administrator?

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Having issues with external array file.
    By Shabadage in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 14th October 2012, 03:43 PM
  2. QUESTIONS - Converted Video File... Loading Issues
    By ChrisStreet in forum XNA Export Module Version 2.0
    Replies: 4
    Last Post: 3rd February 2012, 01:10 PM
  3. Problem opening a HTML file with a flash file
    By liliaks in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 15th January 2012, 10:26 AM
  4. Minor documentation / help file issues
    By AndyH in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 1st March 2011, 11:03 AM
  5. File object - file selector saving issues
    By Gary_Molton in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th November 2006, 08:25 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
  •