User Tag List

Results 1 to 5 of 5

Thread: ini naming; I have some questions

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLC
    PlayDay's Avatar
    Join Date
    Aug 2018
    Posts
    32
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    ini naming; I have some questions

    I'm getting ready to share a small game with the world on itch.io.
    I will use an ini file for saving music volume settings.

    1) I'm not sure how to address the ini in the MFA as some tutorials use the full path and others use only the filename.
    For a public program, is it best to use:

    Set current file to Apppath$+"\gameName.ini"
    or Set current file to "gameName.ini"

    2) a second question, I see that if I double click on the ini object, there is a box to enter name.
    When would we use this option; and would we put the name only or include path with name?

    3) last question, is it good practice to use the game name for the ini file name?

    Thanks all

  2. #2
    Clicker Fusion 2.5

    Join Date
    Jan 2018
    Posts
    108
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Apppath $ + "\ gameName.ini" me semble la meilleur solution car en entrant le chemin complet, sur un autre ordinateur il faut que ce chemin existe, c'est aléatoire.

    moi j'utilise Appdrive$ + Appdir$ + "savegame.ini"

    utiliser le nom du jeu permet de retrouver facilement le nom et certain petit malin pourront tricher pour modifier , mais en meme temps c'est plus facile aussi pour nous .

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLC
    PlayDay's Avatar
    Join Date
    Aug 2018
    Posts
    32
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by fredetmumu View Post
    Apppath $ + "\ gameName.ini" me semble la meilleur solution car en entrant le chemin complet, sur un autre ordinateur il faut que ce chemin existe, c'est aléatoire.

    moi j'utilise Appdrive$ + Appdir$ + "savegame.ini"

    utiliser le nom du jeu permet de retrouver facilement le nom et certain petit malin pourront tricher pour modifier , mais en meme temps c'est plus facile aussi pour nous .
    Google translates this from french as : "Apppath $ + "\ gameName.ini" seems to me the best solution because when entering the full path, on another computer this path must exist, it's random.

    I use Appdrive $ + Appdir $ + "savegame.ini"

    using the name of the game makes it easy to find the name and some smart guy can cheat to modify, but at the same time it's easier for us too."


    Thank You. Is appdrive good for all devices, and Appath better for only windows?

  4. #4
    Clicker Fusion 2.5

    Join Date
    Jan 2018
    Posts
    108
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    J'utilise Appdrive $ + Appdir $ +" savegame.ini " pour android et ça fonctionne

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    1,136
    Mentioned
    197 Post(s)
    Tagged
    0 Thread(s)
    Be careful if this is a pc game, if the person installs the game into Program Files(X86) and then your ini file is named Apppath$ or even Appdrive$ and Appdir$ - then Windows cannot write to it. It will fail.

    If you just specify a name, without giving a path, then Fusion will automatically save it into .../Roaming/MMFApplications and they save all Fusion applications there for some crazy reason. But in this case it won't matter where they install or put your game. But it does mean you should be careful with your name - so if your game is named: THISGame - Do something like THISGameSaveData52 - and it's not likely anyone else will have the same name or that there will be a conflict.

    Else you need to create the data directory yourself first, and then save to that directory.

Similar Threads

  1. Does ini naming length matter to performance?
    By Outcast in forum Fusion 2.5
    Replies: 1
    Last Post: 8th December 2014, 11:47 AM
  2. Help naming my game
    By delta9857 in forum The Games Factory 2 - Technical Support
    Replies: 12
    Last Post: 11th September 2011, 03:56 AM
  3. Beta 17: naming convention on properties
    By AndyH in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 22nd March 2011, 11:53 AM
  4. Array naming question
    By SharpS in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 29th September 2010, 08:37 AM
  5. Naming the global values: a quick way?
    By Boba Fonts in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 21st September 2009, 03:32 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
  •