Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Tutorial] Make Auto Update Offcial Launcher

Status
Not open for further replies.
Joined
Nov 1, 2009
Messages
842
Reaction score
276
Here, i want to share my knowledge for DN Section about Autoupdate from Offcial Launcher.

Im sorry for my bad english.
coz, this not my main language.


Ok let we start.

- - - - First Step - - - -
===============​

you need to download some tools for making this work
- PakPacker / DNPacker-Eng
download http://forum.ragezone.com/f853/editing-tools-980445/


- PatchTxtGenerator ( i make this with my own )
- Plugin MD5 Checksum for Right-Click Function.
- Dateditor with my strs ( Structorian ) for change the URL of ServerConfig.xml
download here

Code:
http://www.mediafire.com/download/15das88v26u93d3/PatchTxtGenerator.7z
http://www.mediafire.com/download/vxzoo36xm6x699j/md5summer.7z
http://www.mediafire.com/download/ugl76cv29bxg3k7/Launcher+strs+datedit.7z

password : http://idfl.me
================================================================

i want to explain about "How This Autoupdate Working" , before we starting for next step..

A. If we start the launcher. it will reading the PatchConfigList.xml form URL that showing in launcher. and then Launcher Reading some file on our server for Version.
Code:
<?xml version="1.0" encoding="utf-8"?>
<document>
	<ChannelList channel_name="VenomTest">
		<Local local_name="DE_Aurora">
			<version addr="http://192.168.86.131/version/"/>
			<update addr="http://192.168.86.131/update/"/>
			<guidepage addr="http://192.168.86.131/Launcher/"/>
			<homepage addr="http://192.168.86.131"/>
			<login addr="192.168.86.131" port="14303"/>
		</Local>
	</ChannelList>
</document>
the name of server files is PatchInfoServer.cfg in version addr directory.
Code:
http://192.168.86.131/version/PatchInfoServer.cfg
and this
if Launcher got that .cfg they will extract Resource00.pak for taking version.cfg. if match.. SKIP. and if NOT. UPDATE..!!!!


B. when Launcher read the different version from server to client. Launcher will download the update version from the directory of
Code:
<update addr="http://192.168.86.131/update/"/>

C. after that. will download 3 files from that directory .the .pak file, .md5 file and .txt file.
and launcher will automaticlly extract that .pak file into Resource--.pak

And Done. thats my analyz.

Ok We doing to the next step.

================================================================




- - - - STEP 2 - - - -
===============​

Open datedit and drag your dnLauncher.exe to datedit.
Change your URL with your own URL. and Save it




- - - - STEP 3 - - - -
===============​

If you have files for an update. Like mapdata folder and Resource Folder Just Pack it into 1 Folder with PakPacker.exe
and rename it with new version. In case is first version is 13. and we doing with new version is 14.
Rename it with
Code:
Patch00000014.pak
Dont delete the Folder mapdata and Resouce.




- - - - STEP 4 - - - -
===============​

Create version.cfg file for version 14 with content like this with HxD
Code:
76 65 72 73 69 6F 6E 20 31 34 00 00 00 00 00 00 version 14......
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

and now, we need to inserting version.cfg into Patch00000014.pak
use DNPacker English.exe, Open that Patch00000014.pak and Add files like this And Save.
l0gkAY3 - [Tutorial] Make Auto Update Offcial Launcher - RaGEZONE Forums




- - - - STEP 5 - - - -
===============​

and next. put the PatchTxtGenerator.exe in 1 Directory with Mapdata and resource.
Run it...

and we have 1 file from that generator like this
Code:
Patch000000--.txt

Change it into
Code:
Patch00000014.txt

Open that Text. Make sure your list file is from Mapdata and Resource folder.
and will write with D direction. like this
Code:
D mapdata\grid\sainthaven\gridinfo.ini
D mapdata\grid\sainthaven\0_0\alphatable.ini
D mapdata\grid\sainthaven\0_0\colbuild.ini
D mapdata\grid\sainthaven\0_0\decalinfo.ini
D mapdata\grid\sainthaven\0_0\default.ini

if you have new patch the DragonNest.exe.
just write with C Directory like..
Code:
C DragonNest.exe



- - - - STEP 6 - - - -
===============​

Install md5summer.exe. and then Right Click files Patch00000014.pak
make sure your file with this name, with upper case MD5. and open your MD5 with Notepad. and Make sure it just md5 code..
if got another text..Delete it
Code:
Patch00000014.pak.MD5

And upload this 3 Files into Update Folder with new folder 00000014
- Patch00000014.pak
- Patch00000014.pak.MD5
- Patch00000014.txt




- - - - STEP 7 - - - -
===============​

Create PatchInfoServer.cfg with notepad, and put that in version Folder. with this content
Code:
Version 14
nextversion 15


Note : --
your patch version should with consecutive.
Example, if your previous version is 14, you need to update with version 15.
if your version is 133, update with version 134., and so on

Autopatch Tutorial is Done.



And this Video Tutorial from whintz



Original Post
http://forum.ragezone.com/f854/tutorial-auto-update-offcial-launcher-990784-post8243285/#post8243285


If you want to taking this tutorial to any site. Dont change any context and content.
respect to other people with what we get from their.


Greeting from Indonesia

- novanakal -
 

Attachments

You must be registered for see attachments list
Last edited:
Junior Spellweaver
Joined
Jan 19, 2014
Messages
110
Reaction score
10
How i can edit the URL with Dataedt? i load Launcher.exe but i cant edit.. only view



And still get the error...

Here is the log , is a Language changer .pak the update:

20140307010953 [info] Logging Start..
20140307010953 [debug] InitLauncher Start!
20140307010953 [debug] DirectX Version (655360) (10.0)
20140307010953 [debug] PatchInfo Init Start!
20140307010953 [debug] DownLoad PatchConfigList (FileName PatchConfigList.xml)
20140307010953 [debug] Open Internet Session
20140307010953 [debug] Open Http Connection
20140307010954 [debug] Download File Start
20140307010954 [debug] Download File Success
20140307010954 [debug] ParsingPatchConfigList
20140307010954 [debug] PatchInfo Init Success!
20140307010954 [debug] LoadPatchVersionInfo
20140307010954 [debug] Open Internet Session
20140307010954 [debug] Open Http Connection
20140307010954 [debug] Download File Start
20140307010954 [debug] Download File Success
20140307010954 [debug] LoadPatchVersionInfo Complete : Client Ver[133] / Server Ver[134]
20140307010954 [debug] RemoveUsedFile
20140307010954 [debug] InitLauncher Success!
20140307010954 [debug] InitDialog Start!
20140307010954 [debug] InitInterface
20140307010954 [debug] InitWebpage
20140307010954 [debug] InitDialog Success!
20140307010954 [debug] ?Patch Start!
20140307010954 [debug] BeginPatch - Start
20140307010954 [info] Patch Check Version (Client Ver:133, Server Ver:134)
20140307010954 [debug] Patch Step 1 - DownloadPatch Start
20140307010954 [debug] Download Patch Version [00000134]
20140307010954 [debug] URLDownload Start
20140307010954 [debug] Open Internet Session
20140307010954 [debug] Download Total File Size : 1405621
20140307010954 [debug] Check Downloaded Temp File
20140307010954 [debug] Open Http Connection
20140307010954 [debug] DownLoad Left File Size : 1405621
20140307010954 [debug] Download File Start
20140307011025 [debug] Download File Success
20140307011025 [debug] MD5 Check Start
20140307011025 [debug] Open Internet Session
20140307011025 [debug] Open Http Connection
20140307011025 [error] Download File Is Not Exist!
20140307011025 [debug] Open Internet Session
20140307011025 [debug] Open Http Connection
20140307011025 [error] Download File Is Not Exist!
20140307011025 [debug] Open Internet Session
20140307011025 [debug] Open Http Connection
20140307011026 [error] Download File Is Not Exist!
20140307011026 [error] MD5 Check Failed!



I did everything of the tutorial, but the error still...



Here is the .txt.. :

D resource\uistring\help.xml
D resource\uistring\prohibitword.xml
D resource\uistring\uistring.xml
D resource\uistring\uistring_server.xml



And here is my patch files :

https://mega.co.nz/#!fZQSRLzT!C7toxY_D0QAls7Rjbn0R5a8q0GARF2sq0s3XilZ6uPQ

Where is the error?



PD : I fix the error of downloading , but not the MD5..

20140307045005 [info] Logging Start..
20140307045005 [debug] InitLauncher Start!
20140307045005 [debug] DirectX Version (655360) (10.0)
20140307045005 [debug] PatchInfo Init Start!
20140307045005 [debug] DownLoad PatchConfigList (FileName PatchConfigList.xml)
20140307045005 [debug] Open Internet Session
20140307045005 [debug] Open Http Connection
20140307045006 [debug] Download File Start
20140307045006 [debug] Download File Success
20140307045006 [debug] ParsingPatchConfigList
20140307045006 [debug] PatchInfo Init Success!
20140307045006 [debug] LoadPatchVersionInfo
20140307045006 [debug] Open Internet Session
20140307045006 [debug] Open Http Connection
20140307045006 [debug] Download File Start
20140307045006 [debug] Download File Success
20140307045006 [debug] LoadPatchVersionInfo Complete : Client Ver[133] / Server Ver[134]
20140307045006 [debug] RemoveUsedFile
20140307045006 [debug] InitLauncher Success!
20140307045006 [debug] InitDialog Start!
20140307045006 [debug] InitInterface
20140307045006 [debug] InitWebpage
20140307045006 [debug] InitDialog Success!
20140307045006 [debug] ?Patch Start!
20140307045006 [debug] BeginPatch - Start
20140307045006 [info] Patch Check Version (Client Ver:133, Server Ver:134)
20140307045006 [debug] Patch Step 1 - DownloadPatch Start
20140307045006 [debug] Download Patch Version [00000134]
20140307045006 [debug] URLDownload Start
20140307045006 [debug] Open Internet Session
20140307045015 [debug] Download Total File Size : 1405621
20140307045015 [debug] Check Downloaded Temp File
20140307045015 [debug] Open Http Connection
20140307045024 [debug] DownLoad Left File Size : 1405621
20140307045024 [debug] Download File Start
20140307045024 [debug] Download File Success
20140307045024 [debug] MD5 Check Start
20140307045024 [debug] Open Internet Session
20140307045024 [debug] Open Http Connection
20140307045024 [debug] Download File Start
20140307045024 [debug] Download File Success
20140307045024 [error] MD5 Check Failed!
20140307045024 [debug] DownLoadSplitFile Start!
20140307045024 [debug] Open Internet Session
20140307045024 [debug] Open Http Connection
20140307045024 [debug] Download File Start
20140307045024 [debug] Download File Success
20140307045024 [error] Download Failed!
20140307045024 [debug] Patch Step 1 - DownloadPatch Start
20140307045024 [debug] Download Patch Version [00000134]
20140307045024 [debug] URLDownload Start
20140307045024 [debug] Open Internet Session
20140307045033 [debug] Download Total File Size : 1405621
20140307045033 [debug] Check Downloaded Temp File
20140307045033 [debug] Open Http Connection
20140307045041 [debug] DownLoad Left File Size : 1405621
20140307045041 [debug] Download File Start
20140307045041 [debug] Download File Success
20140307045041 [debug] MD5 Check Start
20140307045041 [debug] Open Internet Session
20140307045041 [debug] Open Http Connection
20140307045041 [debug] Download File Start
20140307045041 [debug] Download File Success
20140307045041 [error] MD5 Check Failed!
20140307045041 [debug] DownLoadSplitFile Start!
20140307045041 [debug] Open Internet Session
20140307045041 [debug] Open Http Connection
20140307045041 [debug] Download File Start
20140307045041 [debug] Download File Success
20140307045041 [error] Download Failed!
20140307045041 [debug] Patch Step 1 - DownloadPatch Start
20140307045041 [debug] Download Patch Version [00000134]
20140307045041 [debug] URLDownload Start
20140307045041 [debug] Open Internet Session
20140307045049 [debug] Download Total File Size : 1405621
20140307045049 [debug] Check Downloaded Temp File
20140307045049 [debug] Open Http Connection
20140307045055 [debug] DownLoad Left File Size : 1405621
20140307045055 [debug] Download File Start
20140307045055 [debug] Download File Success
20140307045055 [debug] MD5 Check Start
20140307045055 [debug] Open Internet Session
20140307045055 [debug] Open Http Connection
20140307045055 [debug] Download File Start
20140307045055 [debug] Download File Success
20140307045055 [error] MD5 Check Failed!
20140307045055 [debug] DownLoadSplitFile Start!
20140307045055 [debug] Open Internet Session
20140307045055 [debug] Open Http Connection
20140307045055 [debug] Download File Start
20140307045055 [debug] Download File Success
20140307045055 [error] Download Failed!
20140307045055 [debug] 134 Version Patch Download Failed!
20140307045055 [debug] ?Patch Failed!
20140307045100 [debug] ? Patch Canceled
20140307045100 [debug] Thread End
 
Junior Spellweaver
Joined
Jan 19, 2014
Messages
110
Reaction score
10
your error is MD5.

have you create MD5 file from your .pak file.. ?

Yeah . here is the 3 files :



The MD5 of the .pak is

5f55e186f42f3b801922c9a0ee138a55

I verify it and is matched , then what is the problem?
 
Junior Spellweaver
Joined
Jan 19, 2014
Messages
110
Reaction score
10
ok,ill test it

Ok , let me know if it works for you, if it works , the problem will be my hosting



ah and yes , ignore the .md5 , i forgot to put he .pak.md5



but .md5 or .pak.md5 is the same error anyways.



and the one more 0 of the name of pak.
 
Joined
Nov 1, 2009
Messages
842
Reaction score
276
you have wrong name of file and format.

and you not try to following my instruction for

MD5 files and all text format

try to change with this

Code:
Patch00000134.pak.MD5
Patch00000134.pak
Patch00000134.txt
 
Junior Spellweaver
Joined
Jan 19, 2014
Messages
110
Reaction score
10
you have wrong name of file and format.

and you not try to following my instruction for

MD5 files and all text forma

try to change with this

Code:
Patch00000134.pak.MD5
Patch00000134.pak
Patch00000134.txt

Yeah i update my last post about this , i have the same error of md5 anyways , is work for you?



problably the problem will be my hosting... , try it in your web server.. and tell me if works or not.
 
Skilled Illusionist
Joined
Oct 23, 2006
Messages
302
Reaction score
2
Your error in md5 filename
Patch00000014.md5 - correct
Patch00000014.pak
Patch00000014.txt

but anyway stuck on half 50%

md5 file have data
# MD5 checksums generated by MD5summer ( )
# Generated 2014-05-22 01:12:01

e13fe5cf28ac493c72bfd1530e91f45c *Patch00000014.pak

log....
20140522011730 [info] Logging Start..
20140522011730 [debug] InitLauncher Start!
20140522011731 [debug] DirectX Version (655360) (10.0)
20140522011731 [debug] PatchInfo Init Start!
20140522011731 [debug] DownLoad PatchConfigList (FileName PatchConfigList.xml)
20140522011731 [debug] Open Internet Session
20140522011731 [debug] Open Http Connection
20140522011731 [debug] Download File Start
20140522011731 [debug] Download File Success
20140522011731 [debug] ParsingPatchConfigList
20140522011731 [debug] PatchInfo Init Success!
20140522011731 [debug] LoadPatchVersionInfo
20140522011731 [debug] Open Internet Session
20140522011731 [debug] Open Http Connection
20140522011731 [debug] Download File Start
20140522011731 [debug] Download File Success
20140522011731 [debug] LoadPatchVersionInfo Complete : Client Ver[13] / Server Ver[14]
20140522011731 [debug] RemoveUsedFile
20140522011731 [debug] InitLauncher Success!
20140522011731 [debug] InitDialog Start!
20140522011731 [debug] InitInterface
20140522011731 [debug] InitWebpage
20140522011731 [debug] InitDialog Success!
20140522011731 [debug] ?Patch Start!
20140522011731 [debug] BeginPatch - Start
20140522011731 [info] Patch Check Version (Client Ver:13, Server Ver:14)
20140522011731 [debug] Patch Step 1 - DownloadPatch Start
20140522011731 [debug] Download Patch Version [00000014]
20140522011731 [debug] URLDownload Start
20140522011731 [debug] Open Internet Session
20140522011731 [debug] Download Total File Size : 154725
20140522011731 [debug] Check Downloaded Temp File
20140522011731 [debug] Open Http Connection
20140522011731 [debug] DownLoad Left File Size : 154725
20140522011731 [debug] Download File Start
20140522011731 [debug] Download File Success
20140522011731 [debug] MD5 Check Start
20140522011731 [debug] Open Internet Session
20140522011731 [debug] Open Http Connection
20140522011731 [error] Download File Is Not Exist!
20140522011731 [debug] Open Internet Session
20140522011731 [debug] Open Http Connection
20140522011731 [error] Download File Is Not Exist!
20140522011731 [debug] Open Internet Session
20140522011731 [debug] Open Http Connection
20140522011731 [error] Download File Is Not Exist!
20140522011731 [error] MD5 Check Failed!
20140522011731 [error] Download Failed!
 
Status
Not open for further replies.
Back
Top