[Release] Gunz launcher and TUT

Junior Spellweaver
Joined
Jan 27, 2007
Messages
109
Reaction score
0
Location
Canada
This launcher was programmed by Yashua of please give credit to me

File download



TUT on how to use it

ok to start it off extract that RAR file to your desk top or, in to a folder here are the files you should see.

site.folder
launcher.exe
updateconfig.ini

if you see those files than you have everything the site folder is what you want to put in your internet server make a folder called updater and, put everything in the site folder in there first lets config the launcher open the file called updateconfig.ini this is what you should see in there.

[Launcher]
path=put the link to the folder info.ini is
FileName=Gunz.exe
exename=Gunz.exe


this is not how it looks just fill it out like this fill in your gunz exe name if its gunz.exe than make it gunz.exe put your website url mainly the page you register for, the server on the path is the path way to the site folder the folder with the file called info.ini in side of it now that the launcher is ready to go time to teach you guys how to make updates.

first open up the site folder and, drag all the files in there to your webserver maybe a folder called updater the same webserver you use for, your servers register page than open the file called info.ini in there you will see this.

[VERSION]

Version=2
GameFileName=gunz.exe
Max=1
[FILES]
FileName1=Gunz.exe
FileVersion1=2

in the slot it says version in you need to all ways change that number if you want the auto updater to install something to your users computer change it up where it says gamefilename just leave it at gunz.exe if the file you use to play your game is gunz.exe and, set max to the max to the amount of files that are going to be updated now where it says. [FILES]

you see this
FileName1=Gunz.exe

FileVersion1=2

this is the file its going to be updating if you are giving out a gunz.exe in the update make it gunz.exe for, the first file it will be what's in the auto updater you must have the gunz.exe in the same folder as the info.ini for, it to work when ever you want somones auto updater to install the new version of a file just change the file version up from 2 to 3 or, 3 to 4 etc here is what it would look like if you had a say the gunz.exe and, the system.mrs files being updated just copy and, paste this in if you want.

[VERSION]

Version=2
GameFileName=gunz.exe
Max=2
[FILES]
FileName1=Gunz.exe
FileVersion1=2
FileName2= system.mrs

FileVersion2=2

and, lets say you just made a new system.mrs file and, you want them to get it in the update simply change the FileVersion2=2 in the system.mrs one to a FileVersion2=3 there we go I'm sure most of you got it by now and, notice how I changed the Max=1 to a Max=2 since there are two files in the update now that’s done I will show you guys how to update a file not in the same folder as the launcher lets say \Model\man.mrs or, \Model\women.mrs ok first make a folder in the same place as info.ini and, call it Model now open it and, drag and, drop women.mrs and, man.mrs in to it and, here is what the info.ini would look like just learn from this.

[VERSION]

Version=2
GameFileName=gunz.exe
Max=4
[FILES]
FileName1=Gunz.exe
FileVersion1=2
FileName2= system.mrs

FileVersion2=2
FileName3= Model/man.mrs

FileVersion1=2
FileName4= Model/women.mrs

FileVersion2=2

this should work fine cheers. If you have any problems at all please reply to this topic enjoy. Again here is the download for, the updater.


 
Last edited:
It's ok, I guess, but it's way too similar to Aweb's launcher with the whole config thing. The interface is kinda lackluster, and it's kinda easily bypassed if you planned on using it to replace edited files in clients as well. They just need to run the update once then edit files to their heart's content since it wouldn't update again. Going by version = bad idea. Use filehash checks, much better.

Maybe it's just me, but the interface is kinda bad. You can go a lot farther, even in VB. I made one that looks like the official launchers.

yahshuah - [Release] Gunz launcher and TUT - RaGEZONE Forums


That was in VB.NET. Yours isn't bad though. Nice job.
 
I updated the config I just replaced the auto run with a new line now the config is just one line the rest will be shot out pretty simple to speed up the downloads around 20% and I updated the interface a tiny bit the config is now just.

[Launcher]
path=


oh thanks for the comment RepublicOfAstra thats a pretty nice launcher like I said if anyone wants somthing like that its easy to make just post some good grapics for me to use for you and again please if there is any bugs tell me right away I only put about 10mins of work in to this I'm trying to make this easy to work with and no bugs.
 
filehash checks takes more time...
Not very much and I based my launcher and updater more of the file hash subject I used somthing like a ladder I like it more than filehashing but thats just me. filehash may be better I'm not sure they both seem pretty good. they get the job done thats all that really matters.
 
What did you use for the download part, like wininet or something?
No nothing like this my one is very old school I just abused

If Mid$(path, 8, 4) <> "www." Then
path = " ." & Mid$(path, 5)

thats all I'm going to post I toke the idea from my old mmorpg it just requests the files from the servers and sends them in packets to the launcher sounds strange but works fine
 
aww my updater address is 84.***.**.**/updater
(84.***.**.**=ip)
but when im puting it in updateconfig
it makes it

and this is aint working..
 
try this site 2 gig hosting FREE
works with the updater(i have done it)
 
this dosent seem to over right, at lest not update1.mrs
can i have some help here!
It does you need to update the version text and thanks for all you're comments guys I will work on a new layout some time and fix and bugs if there even is any just report them I'm 99% sure there are no bugs but 1% could be somthing in visual vb6 there is no auto scan so I just checked my codes a few times to make sure its 99% safe.
 
yes i did it all it seems to download the update but i dont know where its downloading to! or if it just look like it is it dosent download any filesjust looks like it dose

info.ini
[VERSION]
Version=4
GameFileName=gunz.exe
Max=2
[FILES]
FileName1=system.mrs
FileVersion2=3
FileName2=update1.mrs
FileVersion3=4

updateconfig
[Launcher]
exename=Gunz.exe
WebSite=http://5.146.137.230
path=http://www.filexoom.com/files/2007/4/3/66858/updater/
Version=3
FileVersion1=2
FileVersion2=3
FileVersion3=3

then i try it
and it dosent work...
update1.mrs is 100kb
the one in gunz is 79kb
i checked it dosent do it


wtf did you do?
 
Back