The Updater has undergone a lot of changes since the last version of it. I did originally want to include the source for it, but I’ve decided against doing that for a few reasons that I won’t be discussing here…
What is the Updater? It’s a program that can be used to update programs, engines, and games. It was made with the focus of being used with Eclipse based games, but it will work with most programs as well.
Why use it if it’s closed source? Just because it’s closed source, doesn’t mean it’s not flexible. The Updater has files that you can change to change the language, GUI, and program it’s updating.
Do I have to download a new version whenever one’s released? No, the Updater is self updating and will keep itself up to date. I will try my best to make sure everything is backwards compatible so that no issues will arise from updating.
What are the files written in? The config, gui, and language files are written in xml so that they are easy to read, understand, and edit.
How do I learn how to use it? There are a few text files in the various folders explaining how to set things up. there are also comments in the xml files talking about various nodes you can use. These files will be created by the Updater when the config, language, or gui files are missing.
You can also read the tutorials below the learn how to use the program.
Where can I download it? The download link can be found in my signature or here: https://www.dropbox.com/s/bx42wr50lh6z8ug/Program Updater v1.0.0.rar?dl=0
Let’s talk about each file and what it can do.
The Config.xml file is located in the \data\ folder. This file stored the online version history, local version, executables to launch, language, and skin. It also controls whether or not to close the updater after launching the executables.
The only things you have to change as a dev are the <url> for the version history, the <version> (make sure it says 0.0.0), and the <executables>.
Tutorial for setting up Config.xml: https://www.eclipseorigins.com/topic/86324/mohenjo-daro-s-updater-tutorial-setup-config
Version History (Online):
The version history can be on most any site. I’ve been testing the updater using https://pastebin.com but I’ve also used https://www.eclipseorigins.com . If you can see the version history in the web page source, the Updater can as well.
The version history holds 3 very important pieces of info: the version number, the version file to download, and the file compression (I know that zip and rar work).
Users and devs will have the ability to change the GUI file to move, resize, recolor, and re-image the form elements. You can make custom graphics for the Updater and save them in a new folder. (There’s an example folder that has some GUI graphics for guidance while setting up the GUI).
A GUI folder can have multiple GUI files in it. These files will all use the same graphics, but can change the GUI layout.
Tutorial for setting up a GUI: https://www.eclipseorigins.com/topic/86322/mohenjo-daro-s-updater-tutorial-setup-gui
The GUI and language files are separate from each other to give more flexibility and better readability for the user and dev.
The language xml file will contain all the test shown by the updater. The language files are named with the language they are (eg. English.xml)
Tutorial for setting up a language file: https://www.eclipseorigins.com/topic/86323/mohenjo-daro-s-updater-tutorial-setup-language
To rename the
Program Updater.exe, you have to name the
Program Updater.exe and the
Program Updater.exe.cofig. They have to share a name so that the program can find the runtime config file, the updater will crash if they don’t have the same name.
Program Updater.exe ->
Program Updater.exe.config ->
“This program was easy to use and when I opened the config and edited a few texts and put in some gfx here and there, it turned out to be really good! This is one of the easiest updaters I have ever used and I love it 10/10 All hail Daro!” - @SolidLink
Updater’s Version History:
<?xml version="1.0" encoding="UTF-8"?> <!-- This is Mohenjo Daro's Updater's version history used to keep it up to date --> <versions> <version id='1.0.0'> <url>https://www.dropbox.com/s/bx42wr50lh6z8ug/Program%20Updater%20v1.0.0.rar?dl=0</url> <extension>rar</extension> </version> <version id='1.0.1'> <url>https://www.dropbox.com/s/m7xzq2hxcdmkqaj/Program%20Updater%20v1.0.1.rar?dl=0</url> <extension>rar</extension> </version> <version id='1.0.2'> <url>https://www.dropbox.com/s/p8bds0xka1s5cex/Program%20Updater%20v1.0.2.rar?dl=0</url> <extension>rar</extension> </version> <version id='1.0.3'> <url>https://www.dropbox.com/s/ijjai5tclfpmenh/Program%20Updater%20v1.0.3.rar?dl=0</url> <extension>rar</extension> </version> <version id='1.1.0'> <url>https://www.dropbox.com/s/6oulljgl7lh701o/Program%20Updater%20v1.1.0.rar?dl=0</url> <extension>rar</extension> </version> <version id='1.1.1'> <url>https://www.dropbox.com/s/9iqybq7a33xh3ms/Program%20Updater%20v1.1.1.rar?dl=0</url> <extension>rar</extension> </version> </versions>