Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[Yami]Game Launcher/Updater!


Joyce
 Share

Recommended Posts

I figured I'd change Robin's updater into something a little more fancy.. And, well this is what I basically came up with. I've included the source code in the download, and changed the readme to reflect the changes I've made to the system. :)

Now, there's a few changes which I like.. But the most important would be the fact it has a progress bar, which will simply tell you how far into updating it is.. And no longer will it nag you with bothersome text in a textbox and funny version numbers.. It will simply notify you how many updates it has downloaded of the currently available ones, say.. 4/6 updates, rather then showing version numbers! Allowing you to add your own patch IDs on your webpage without causing confusion.

**Screenshot**
![](http://www.freemmorpgmaker.com/files/imagehost/pics/c92d2a0391af1484131605ee51556a5b.png)
Doesn't look like much, but the background(s) are images so they can easily be modified to your tastes.. And the thingy on the left is a webbrowser, which is also configurable. :)

**Readme**

>! Eclipse Origins - Autoupdater
Created by: Robin Perris
Website: freemmorpgmaker.com
Modified by: Yami
>! === server ===
UPDATE.INI AND ALL UPDATE WINRARS NEED TO BE HOSTED ON A HTTP SERVER.
>! Update.ini should look like this:
>! [UPDATER]
version=3
>! 'version' needs to be the amount of downloads you have.
It will automatically look for version.rar on your server, make sure the file(s) exist!
Each version winrar file needs to be in the same folder as update.ini.
>! === client ===
unrar.dll needs to be shipped with the updater.
The launcher.exe looks for two GUI backdrops, Data Files\graphics\gui\updater\launch.jpg and Data Files\graphics\gui\updater\update.jpg, it will simple silently crash without these two files!
Remember the add the following lines and their values to your Data Files\Config.ini:
>! [UPDATER]
GameWebsite= updateURL= NewsURL= Version= IF THE SERVER FILES DON'T EXIST, THE UPDATER WILL ERROR!


**Downloads**
[>>> Download <<<](http://www.freemmorpgmaker.com/files/imagehost/pics/9b0e83be7bc8181d61c103268d5b8527.zip) URL Updated on 9/1/2012

**By default it's set up to download some minor graphic resources from my server! Try it out :)**
Link to comment
Share on other sites

  • Replies 214
  • Created
  • Last Reply

Top Posters In This Topic

The background image has the buttons on it.. But you can't move around stuff without using VB6\. :) To be honest everyone using Eclipse should have VB6.. Be it to at least make minor modifications to, for example the layout of interfaces. :)
Link to comment
Share on other sites

It's actually very very simple.. :) I made a quick UI mockup and then ended up rewriting his update sequence into two new subs(Which was easy as well, the original sub was fairly basic :)), along with the status and progress bar setting ones.. Some silly calculations for the progress bar value and tadaa, problem solved. :P
Link to comment
Share on other sites

Gave it a go, not what I fully expected of it but good nevertheless. This is what I got out of it:

![](http://i801.photobucket.com/albums/yy294/Adrammelech_2009/PatcherImage.png)

The play button is disabled and greys out when you need to install patches.
Link to comment
Share on other sites

There's a small bug in it, as soon as the patching is done it doesn't load the launch.jpg image. :) Easy fix for whoever's editing it though.

And what'd you expect then? :o

And here's my lazy version, with a small tweak here and there. :)
![](http://www.freemmorpgmaker.com/files/imagehost/pics/bdd4a20dc83689d92ff376b0c1d2de68.png)
Link to comment
Share on other sites

Question.

[![](http://www.freemmorpgmaker.com/files/imagehost/pics/3a1a707f3b95308493295c141c631738.png)](http://www.freemmorpgmaker.com/files/imagehost/#3a1a707f3b95308493295c141c631738.png)

The green bar is the picbackground, how would I make it longer?

Nvm, figured it out.
Link to comment
Share on other sites

@elementaldisaster:

> is it possible to have mor then one bg pic? for example a frame kinda thing and then inside the frame changing pictures (so it goes through screenshots for example) Might not do it. Just curious…

Have a folder of images in the autoupdater. When the form loads, change the BG image by loading a new image into the background every 20 seconds or so.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...