[Tutorial] Auto-updating Launcher

Page 1 of 9 123456789 LastLast
Results 1 to 15 of 126
  1. #1
    Account Upgraded | Title Enabled! 7-Eleven is offline
    MemberRank
    Oct 2007 Join Date
    LalaLandLocation
    714Posts

    [Tutorial] Auto-updating Launcher

    Firstly, you'll need a GunzLauncher of course. You can use the one from Maxtrax's tutorial. Links can be found in 'Useful Links'. Alright, let's begin.



    1) > Modifying the GunzLauncher
    According to Max's tutorial, make sure you've changed every IP or sitehost in the GunzLauncher provided to your IP or sitehost. You can visit the thread in the 'Useful Links'.

    You can also change the part where it says you need to insert your IP in it into a No-IP address. You'll just need a short domain for No-IP of course. (Only if you have dynamic IP, if you have static IP, just insert your IP in it as followed from Max's tutorial.)

    Once everything is done, your GunzLauncher is good to go.

    OPTIONAL - You can also edit the GunzLauncher interfaces to your liking of course, search for some GunzLauncher editing tutorials around the forums.

    2) > Setting up the apache folders as stated in Maxtrax's tutorial.
    You suppose to have apache already by now if you followed Maxtrax's tutorial and setting up a server based on his a while ago.

    Go to your 'AppServ' folder, and into 'www' folder and create two new folders. One, with the name 'Launcher' and another with the name 'gunzweb'.

    Go into the 'Launcher' folder, input your start.html and an image for your launcher. I'll attach a default html file and an image for your convenience.

    Go into 'gunzweb' folder, create a new folder entitled 'GunzUpdate'. You'll need to do some things in here, I'll explain in the next step.

    3) > Getting patch.xml ready to auto-update.
    Download ZPatchBuilder in the 'Useful Links' and put it in 'gunzweb', 'GunzUpdate'. (You can also put it elsewhere, but this is my way for my convenience.)

    Now, copy your main directory of your Gunz folder for your private server, and paste them into 'gunzweb', 'GunzUpdate'. Delete off files that you don't want to auto-update like 'CUSTOM' folder for crosshairs and config.xml.

    Now, rename your specific Gunz.exe to Gunz.exe (If you renamed it to theduel.exe, or myserve.exe or something, rename it to Gunz.exe)

    Run ZPatchBuilder! It should generate a patch.xml. After that, edit the patch.xml and remove config.xml's patch node, and 'CUSTOM' folder patch node and any other things that you do not want.

    Rename the Gunz.exe back to your specific Gunz.exe naming.

    Your patch.xml is ready to be used.

    4) > Testing and make sure it auto-updates
    Get on apache running and you can test whether it works or not!

    Go to your main directory of your Gunz folder. Delete any GunzLauncher.ini or any .ini files that the GunzLauncher reads.

    Do not insert '@SKIP_UPDATE' in it or it will not update. (Obviously)

    Delete some of your files in the Gunz folder (Preferrably 'Maps' folder and 'Model' folder because they are big.)

    Finally, run your GunzLauncher and it should download the files again. (If you are hosting @ your own computer, it should go very fast.)

    You got auto-update launcher to work!

    5) > Future edits and setting up auto-updating
    Now, whenever you finished editing some new stuff and you want it to auto-update, just simply place the specific file in 'gunzweb', 'GunzUpdate' and generate the patch node for it.

    You should have a new patch.xml and you can auto-update it again, good to go.

    Note: Some reason, it wouldn't auto-update GunzLauncher itself, even when it did. Just manually put it up as download if you want to update the GunzLauncher.



    [TUT] BR/Jan Server And Client SETUP Guide! - http://forum.ragezone.com/f245/tut-b...-guide-300485/

    ZPatchBuilder - http://forum.ragezone.com/attachment...rator-launcher-

    WinRar - WinRAR archiver, a powerful tool to process RAR and ZIP files

    Launcher Files - http://forum.ragezone.com/attachment...ting-launcher-



    Q. Will it still download the files if my apache is not on?
    A. Of course no, as long as your apache is on, auto-updating launcher is on too.

    Q. If I run the GunzLauncher in 'gunzweb', 'GunzUpdate', what will happen?
    A. It's better if you don't run it in 'gunzweb', 'GunzUpdate' because it might overwrite your patch.xml. Prevention is better than cure.

    Q. Build patch.xml failed? What do I have to do?
    A. Rename your executable to Gunz.exe, then build your patch.xml. It needs Gunz.exe. You may rename it back after generating it.

    Q. Unable to download patch.xml after I've 'Start Game' on the launcher?
    A: Use this GunzLauncher ::: http://forum.ragezone.com/attachment...translated-br-

    IPs and start.html is repaired, this would solve some problems by the GunzLauncher from kekku.


    I'll update the FAQ from time to time whenever I see a problem asked in this thread. Have fun with auto-updating launchers!
    Attached Files Attached Files
    Last edited by 7-Eleven; 13-12-07 at 09:06 AM.


  2. #2
    Account Upgraded | Title Enabled! willianmorvan is offline
    MemberRank
    Jan 2007 Join Date
    225Posts

    Re: [Tutorial] Auto-updating Launcher

    very easy... ^^

    tut for newbs good job^^

  3. #3
    Apprentice Kimitsazu is offline
    MemberRank
    Sep 2007 Join Date
    6Posts

    Re: [Tutorial] Auto-updating Launcher

    Lol, I dont understand some of this.

  4. #4
    Account Upgraded | Title Enabled! 7-Eleven is offline
    MemberRank
    Oct 2007 Join Date
    LalaLandLocation
    714Posts

    Re: [Tutorial] Auto-updating Launcher

    Lol, I've explained everything in detail, tell me which part you do not understand and I'll explain briefly.

  5. #5
    Banned MAXTRAXv3 is offline
    BannedRank
    Jan 2007 Join Date
    Perth, WesternLocation
    2,252Posts

    Re: [Tutorial] Auto-updating Launcher

    @7-Eleven extremly nice TuT

    well i understand it anys...

  6. #6
    Infraction Banned dark.miko14 is offline
    MemberRank
    Jan 2007 Join Date
    84Posts

    Re: [Tutorial] Auto-updating Launcher

    ZPatchBluid give me error, :S


    MUpdate

    Build Patch.xml failed

    help me .

  7. #7
    Proficient Member Nekroido is offline
    MemberRank
    Mar 2007 Join Date
    『サイレンLocation
    185Posts

    Re: [Tutorial] Auto-updating Launcher

    [QUOTE=

  8. #8
    Infraction Banned dark.miko14 is offline
    MemberRank
    Jan 2007 Join Date
    84Posts

    Re: [Tutorial] Auto-updating Launcher

    Quote Originally Posted by Nekroido View Post
    Place it in game client's folder.
    she is in flooder :S

    see.
    Last edited by ; 18-09-08 at 09:37 AM.

  9. #9
    Account Upgraded | Title Enabled! rodanio14 is offline
    MemberRank
    Jun 2007 Join Date
    Next to ur sister's houseLocation
    533Posts

    Re: [Tutorial] Auto-updating Launcher

    It gives that error because u gotta put a gunz.exe in the same directory ur zpatchbuilder is otherwise it will give error that it failed:) try to rename a file to gunz.exe and then run it^^

  10. #10
    Infraction Banned dark.miko14 is offline
    MemberRank
    Jan 2007 Join Date
    84Posts

    Re: [Tutorial] Auto-updating Launcher

    Quote Originally Posted by rodanio14 View Post
    It gives that error because u gotta put a gunz.exe in the same directory ur zpatchbuilder is otherwise it will give error that it failed:) try to rename a file to gunz.exe and then run it^^

    Fix.. other problem :S
    Last edited by ; 18-09-08 at 09:37 AM.

  11. #11
    Account Upgraded | Title Enabled! 7-Eleven is offline
    MemberRank
    Oct 2007 Join Date
    LalaLandLocation
    714Posts

    Re: [Tutorial] Auto-updating Launcher

    Update server is not responding. Are they on or you got the right IP up?

  12. #12
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: [Tutorial] Auto-updating Launcher

    OMG thanks mate u helped me out alot!

    You must be a launcher Freak XD nah im jking but seriously thanks!

  13. #13
    Infraction Banned dark.miko14 is offline
    MemberRank
    Jan 2007 Join Date
    84Posts

    Re: [Tutorial] Auto-updating Launcher

    yea my IP up check: Index of /gunzweb/GunzUpdate

  14. #14
    Account Upgraded | Title Enabled! 7-Eleven is offline
    MemberRank
    Oct 2007 Join Date
    LalaLandLocation
    714Posts

    Re: [Tutorial] Auto-updating Launcher

    [quote=

  15. #15
    Infraction Banned dark.miko14 is offline
    MemberRank
    Jan 2007 Join Date
    84Posts

    Re: [Tutorial] Auto-updating Launcher

    check now my patch.xml.. NOW



Page 1 of 9 123456789 LastLast

Advertisement