User Tag List

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

Thread: IOS - INI questions

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export Module
    GameMaker2019's Avatar
    Join Date
    Jul 2012
    Location
    U.S.
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IOS - INI questions

    Hi I don't have the IOS export module yet, but I am putting together my game for PC and will adjust it when I have the IOS stuff.

    My question is with the INI. When I click the INI in the frame under "Settings" I put the name (example: mygame.ini), then the box is checked under it that says "Create INI file in Application Data folder". Is this correct to have the box checked for an IOS game?


    Question 1 - In the event editor I have under the INI icon "Set current file to mygame.ini".
    Is this fine or do I have to actually type in "Set current file to Appdrive$ + Appdir$ + mygame.ini" ?

    Question 2 - Where the heck is the .ini file kept? I can't find it anywhere on my hard drive, yet the save/load function works.
    When you build the game does it show up in the main file? Same with IOS games?

    Thanks

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    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)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you set the name of the file in the settings of the ini object, you don't need to call it again in the event editor. This is usually only if you want to change ini files using the same ini object.

    The ini file is located usually in C:/Users/Username/AppData/Roaming/MMFApplication

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export Module
    GameMaker2019's Avatar
    Join Date
    Jul 2012
    Location
    U.S.
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the info

  4. #4
    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)
    iOS only looks for the filename and extension of the file. It not does take into account at all the path.
    THe create INI in application data folder property only has an effect on PC.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    S.East England
    Posts
    744
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thats good to know. I was actually wondering about this last whether i should tick "create in app folder" but i assumed it wouldnt need to be.

  6. #6
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    If your INI file is located relative to your application in some way (same folder or subfolder) then that relative path will matter on iOS. If your INI file is located somewhere else that isn't in the same or subfolder of your application then all path information is ignored as there is nowhere else we can store it than the root folder.

    So:
    If your application (on windows) is stored at: C:\somefolder\anotherfolder\myApp.mfa
    Then an INI file stored at C:\somefolder\anotherfolder\ini.ini (same folder as MFA) will load fine if you just load "ini.ini".
    If the ini is stored at C:\somefolder\anotherfolder\subfolder\ini.ini (subfolder of the MFA) then you have to load it like this "subfolder\ini.ini" or it will not work.
    If you ini file is stored somewhere else entirely, fx: C:\differentfolder\ini.ini then the runtime will detect that and ignore the path on iOS. Loading it with "ini.ini" will then work again.

    Rule of thumb: You only ever need to worry about subfolders if your files are actually located in a subfolder to your MFA file.

  7. #7
    Clicker Fusion 2.5 DeveloperiOS Export Module
    GameMaker2019's Avatar
    Join Date
    Jul 2012
    Location
    U.S.
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Andos,

    Right now I have a file on my C: drive with the MFA in it. In that file I have 2 subfolders, 1 for audio and 1 for images for that game.

    So should I take the images and audio out of the subfolders and just keep them and the MFA all in one file?

    Also should I find the .ini on my computer and put it in that same folder?

    Game is for IOS only (no PC).

    Thanks

  8. #8
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    GameMaker2019:
    No need. If it works for you on the PC chances are that it works for you in the iOS runtime as well. We have tried to make this as painless as possible for you.
    If you have external files like images (that you load with the Active Picture object for example) you should include them as binary files in the Data Elements editor though.

    The audio files are automatically included in your project if you play them using the built in audio player functionality of MMF2, no need to include those manually.

  9. #9
    Clicker Fusion 2.5 DeveloperiOS Export Module
    GameMaker2019's Avatar
    Join Date
    Jul 2012
    Location
    U.S.
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    All the external image files I have are used for backdrops, buttons and active objects. I currently have them in the subfolder in the main file with the MFA. Is that OK?

    Thanks

  10. #10
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    If you use them like that then they will also be included automatically (into the MFA file and then into the .CCI file when exporting). No need to keep them local to your MFA file at all but that is up to you of course

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. some Questions
    By DiViNiTY in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 24th September 2010, 03:11 PM
  2. Some Questions
    By Atom in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 15th June 2009, 07:49 PM
  3. 2 questions
    By Spark in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 30th November 2007, 05:56 PM
  4. two questions please
    By piki in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 4th August 2007, 06:01 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
  •