User Tag List

Results 1 to 10 of 10

Thread: What is the best way of distributing a game that uses an ini file?

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export ModuleMac Export Module
    Enchantainment's Avatar
    Join Date
    Sep 2012
    Location
    West Yorkshire
    Posts
    140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What is the best way of distributing a game that uses an ini file?

    My game is just about ready to be distributed on Windows. I've been in contact with a games distributor (Desura) and they're ready to accept my game.

    They've asked for just the .exe of the game, but do say that they will configure your install settings as part of the MCF creation process, and to let them know if your game has any special installation requirements.

    I have no idea how if I'm supposed to create an installer, or just give them the .exe. I'm not sure how Desura works, whether the user has to downlaod the games, or if they play the game through Desura. If they have to download the game to their computer, I don't want they game to have to create a .ini on their desktop.

    Could anyone give me some help this matter?

    Thanks.

  2. #2
    Clicker Fusion 2.5SWF Export Module

    Join Date
    Oct 2007
    Posts
    875
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well, the ini files are saved/created where the game is installed, so the ini file is never going to be on the desktop normally.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Paul_Boland's Avatar
    Join Date
    Jun 2006
    Location
    Waterford, Ireland.
    Posts
    2,739
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Providing you don't specify the path to create your games INI file at, it will be created in the Windows folder. Just set your INI to the INI file name, "MyINIFile.ini", and it will be created in the Windows folder so the user won't see it.
    KnightTrek Productions
    http://www.knighttrek.com

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Yep, just make sure you're using $appdir everywhere, and then you can simply bundle everything together in a zip file - job done

  5. #5
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2006
    Posts
    1,469
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    If the ini file is going to be read/write then you will to take care of what folder it is placed in as part of the install since Windows is now locking down certain directories to be read only. Also, will the ini be only for a single user account or used with several accounts on the system. This also has to be considered on where you place it.

    Here is a link to help you decide where to place data: http://msdn.microsoft.com/en-us/libr...ialfolder.aspx

  6. #6
    Clicker Fusion 2.5 DeveloperiOS Export ModuleMac Export Module
    Enchantainment's Avatar
    Join Date
    Sep 2012
    Location
    West Yorkshire
    Posts
    140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is no path specified for the ini, so it just creates it where the .exe is. The thing is, I don't know if the user will have to install the game to their system, or if Desura makes users play the game through Desura. Also when I create an installer and install the game, it won't create the ini file, which is probably because of the directory it's being installed in (like droberson said). I guess I'll have to make the game create a file in the My Documents/ My Games folder or something. Would this work? (if I have to create an installer for the game).

  7. #7
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,016
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Just use the INI property "Create INI in Application Data Folder". Fusion 2.5 creates the INI in a special temporary directory (typically under \Roaming\) which will work just fine. When using this, just call the filename (not a full path) such as myfile.ini...
    Want to learn Clickteam Fusion 2.5?




  8. #8
    Clicker Fusion 2.5 DeveloperiOS Export ModuleMac Export Module
    Enchantainment's Avatar
    Join Date
    Sep 2012
    Location
    West Yorkshire
    Posts
    140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Danny. This solution seems to be working perfectly. All data being saved and no ini file being created next to the .exe! Thanks a lot for your help

  9. #9
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,016
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Never a problem. Good luck with the game and ensure you let us know when/where it's available!

  10. #10
    Clicker Fusion 2.5 DeveloperiOS Export ModuleMac Export Module
    Enchantainment's Avatar
    Join Date
    Sep 2012
    Location
    West Yorkshire
    Posts
    140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'll inform you all when you can grab the game for sure

Similar Threads

  1. Distributing Java apps
    By JohnZ in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 24th June 2013, 03:24 PM
  2. INI file for my game
    By Tuna in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 26th October 2012, 05:43 PM
  3. Replies: 8
    Last Post: 18th January 2012, 08:30 AM
  4. How do i save my game as a .ccn file?
    By Vorthe in forum Vitalize
    Replies: 6
    Last Post: 8th January 2009, 12:20 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •