Duuh herro!
Been looking around for this earlier and only found launchers in AutoIT so I eventually made my own :)
It's nothing fancy really and I lack creativity (design speaking) so yeah :P I hope people can make use of it though ^^
So here's how it works;
-First you'll need a webhost. (That's where it'll download the updates from)
You'll put your update URL inside 'launcher.ini' aswell as the links you wish to display in the browsers.
-Create a folder called update so the link will be something like "http://yourlinkhere.com/update"
To create an update, you'll need to do the following;
1. Create version.txt in the update file we just created
2. Make sure your files are properly placed; (When the file extracts, it should extract them and replace the original files)
3. Now change your cabalmain's version to +1, for example if your cabalmain's version is 2, make it 3. You'll need resource hacker (Or that's what I use anyway, google is your bestfriend)
4. Put your update inside a self extracting archive (SFX) using silent mode (hide all) and overwrite all files, so it doesn't need the user to click anything.
5. Now upload your update to your "Update" folder on the webhost and name it "update(version)", it should look something like this;
6. Change version.txt to whatever your current version is; MAKE SURE YOU DO THIS AS THE LAST STEP!
Additional Info;
The update will download updates one by one in order to not mess the game files up, so if you have "update2", "update3", "update4", it will downloads update2 first then 3 then 4.
If you set the version.txt to a higher version without the update file being there it'll throw an exception.
If you set the version to something lower than your current cabalmain version, the updater WILL NOT update.
So, here it is, I kinda suck at explaining so lemme know if I missed anything xD
PS: If you have anything to ask or request please lemme know ~ I might add more to it when I get some more free time :P
https://mega.co.nz/#!MlB0ASaI!Qlxa2g...tBEqPwWFPTuRhU






Reply With Quote


