User Tag List

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

Thread: Game updater

  1. #1
    No Products Registered

    Join Date
    Feb 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Game updater

    I've been struggling with this idea for quite a while, but I've not been able to use anything besides a download object, or FTP.

    Basically, I want the game to launch, and check the version number with the one hosted on my server. If they match, the game opens. If they're different, then the game downloads the newest update from the server.

    Is there any possible way to do this?

  2. #2
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,016
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)

    Re: Game updater

    Yes, I used a pretty lucrative and secure method with my Stock Market Game.

    I'll spill the beans on how I did it:

    Create a text file called vernum.txt and pack it with your game. Inside include the value (version of the game) thats it. So;
    1.2

    When you have an update ready upload the installer exe to your server with an incremental filename, example setup13.exe (version 1.3) also upload to a folder on your server a copy of vernum.txt and put inside it 1.3, rename the destination as newver.txt

    Compare the 2 values in the text files, if vernum.txt (installed) is equal or greater then next frame. If not, update frame.

    Inside your update frame then download the setup13.exe, once download is complete, launch setup13.exe, end application. User will update then.

    If this doesn't make sense fire me any questions, if I get round to it I may make a more suitable tutorial or widget.
    Want to learn Clickteam Fusion 2.5?




  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    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)
    Crian's Avatar
    Join Date
    Oct 2009
    Posts
    415
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Game updater

    This is very interesting.
    Can you post a simple example, please?

  4. #4
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,964
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)

    Re: Game updater

    Just get your program to write a batch file... or have a seperate autoupdater... I've used both of these.

  5. #5
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,016
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)

    Re: Game updater

    Crian if I get chance in the morning which I should, I'll post an example!
    Want to learn Clickteam Fusion 2.5?




  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    Game_Master's Avatar
    Join Date
    Jul 2007
    Location
    England
    Posts
    1,705
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game updater

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=190456#Post1904 56

    It would need to be modified a bit, but that shouldn't take long

  7. #7
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Game updater

    I remember seeing this Game_Master. Awesome widget.

    However i have always needed clarification for the term server.


    What exactly do u mean by server?

  8. #8
    No Products Registered

    Join Date
    Feb 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game updater

    A server is a hosted storage place where you can upload files that others can download. It's typically paired with a domain, so others can access the files without using an FTP client.

    Quote Originally Posted by DannyC
    Yes, I used a pretty lucrative and secure method with my Stock Market Game.

    I'll spill the beans on how I did it:

    Create a text file called vernum.txt and pack it with your game. Inside include the value (version of the game) thats it. So;
    1.2

    When you have an update ready upload the installer exe to your server with an incremental filename, example setup13.exe (version 1.3) also upload to a folder on your server a copy of vernum.txt and put inside it 1.3, rename the destination as newver.txt

    Compare the 2 values in the text files, if vernum.txt (installed) is equal or greater then next frame. If not, update frame.

    Inside your update frame then download the setup13.exe, once download is complete, launch setup13.exe, end application. User will update then.

    If this doesn't make sense fire me any questions, if I get round to it I may make a more suitable tutorial or widget.
    I'd also like an example of this.

  9. #9
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Game updater

    sooo if i were to upload my files to mediafire, mediafire would act as my sever?

  10. #10
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Game updater

    Yes and No.

    Yes, it will allow people to download the game.

    No, because unless you pay for the premium membership, you can't use a direct link to the download. Which means the game would have to just open the webpage where the player would then have to enter in a captcha code and download the game from that page.

    You couldn't use those free hosting sites for this type of in-game download.

    Unless you find a file hosting site that gives you free direct downloads (which would be rare, since getting people to come to their download page is how they advertise)

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Game Updater Issues
    By Panchos in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th September 2013, 08:46 PM
  2. Game/Application Updater
    By Game_Master in forum Widgets
    Replies: 2
    Last Post: 21st May 2013, 09:19 AM
  3. How to make a game updater?
    By Oreo in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 30th May 2010, 06:42 PM
  4. Updater for your game - a problem
    By Leander in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 9th May 2010, 10:29 PM
  5. Game updater - what do you prefer? (survey)
    By Leander in forum Multimedia Fusion 2 - Technical Support
    Replies: 21
    Last Post: 13th November 2009, 10:49 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
  •