-
2 Attachment(s)
ZPatchBuilder (unofficial)
Instructions
Place it in the GunZ directory and run it - just like you do with the official one.
Top Reasons
- It's 400% faster
My benchmark of 146 files in 16 folders (238 MB) took just 15 seconds, compared to MAIET's version which took 59.
- Interface
There's a working progress meter. Hot. There's also a file list showing which files it tried to checksum, including those it failed with.
- Built-in support for Lambda MRS encryption keys
And if you're using a similar encrypting method - hack this program to support it! The byte decryption function at 0x455EA4 and was compiled with extra NOP's :wink:
- Filename blacklisting
Any files you wish to exclude from the patch file can be entered into the blacklist, separated by a comma. There are a few already hardcoded which should be enough. Case insensitive.
Screengrab
Alternatively
Why not code your own launcher using my SerialKey generator, and you are free to check for updates however you like!
Updates
Corrected closing PATCHNODE tag (credit: corrado)
Corrected mismatched XML and PATCHINFO tags (credit: Linear88)
Added additional blacklisted files:
Code:
mlog.txt
profile.txt
test.txt
-
Re: ZPatchBuilder (unofficial)
Firts post Thanks is very simple and easy to use Good!!! :thumbup:
-
Re: ZPatchBuilder (unofficial)
wow this is very helpfull thanks
-
Re: ZPatchBuilder (unofficial)
I have a bug closes TAG wrong, errm: e.g:
<?xml version="1.0"?>
<XML>
<PATCHINFO>
<PATCHNODE file="./bdcap32.dll">
<SIZE>363008</SIZE>
<CHECKSUM>4008437021</CHECKSUM>
</PATCHNODE
<PATCHNODE file="./bdcore32.dll">
<SIZE>5200896</SIZE>
<CHECKSUM>2398615877</CHECKSUM>
</PATCHNODE
">"
-
Re: ZPatchBuilder (unofficial)
can you also enable for the other two encryptors?
-
Re: ZPatchBuilder (unofficial)
Quote:
Originally Posted by
corrado
I have a bug closes TAG wrong
Thank you! Totally missed that; updated thread!
Quote:
Originally Posted by
Military
can you also enable for the other two encryptors?
Links?
-
Re: ZPatchBuilder (unofficial)
-
Thanks a lot man, this is very useful and makes things easier.
Quote:
Originally Posted by
x1nixmzeng
Thank you! Totally missed that; updated thread!
Links?
Zephyr's 2008 encryption released by jewness12. Find it if you have time or i'll give you the link later when i'm on the pc. Thanks.
Posted via Mobile Device
-
Re: ZPatchBuilder (unofficial)
Both methods can easily be edited into my program. As I described in my post, I left more than enough space in the byte decryptor function to add what's being done:
Zephyr's (5 keys)
Quote:
Originally Posted by
ThePhailure772
00401103 |. |C0C8 01 |ROR AL,1
00401106 |. |34 01 |XOR AL,1
00401108 |. |04 01 |ADD AL,1
0040110A |. |34 01 |XOR AL,1
0040110C |. |2C 01 |SUB AL,1
This is done to ECX (after the MOV CL,BYTE PTR DS:[EAX] instruction)
ThievingSix (1 key)
Quote:
Originally Posted by
ThievingSix
SUB BYTE PTR DS:[ECX],32 Subtract 0x32 from ecx(first byte of data)
Again to ECX (after the MOV CL,BYTE PTR DS:[EAX] instruction)
-
Re: ZPatchBuilder (unofficial)
-
Re: ZPatchBuilder (unofficial)
Nice Release; Downloaded it.
Will use it for future reference.
-
Re: ZPatchBuilder (unofficial)
damm.... this is great. Extremely useful. This would help those servers that have those stupid launchers with false-positive or w/e viruses. Plus a 400% increase in speed from the original updaters will definitely keep those impatient players from whining.
Great work. It seems like you're releasing a lot of great stuff as of recent. Hope to see more ^^
-
Re: ZPatchBuilder (unofficial)
-
Re: ZPatchBuilder (unofficial)
Tag is placed wrongly.
</PATCHINFO> should come before </XML>.
Also, shouldn't there be a <VERSION> tag?
Code:
<?xml version="1.0"?>
<XML>
<PATCHINFO>
<PATCHNODE file="./Gunz.exe">
<SIZE>1363212</SIZE>
<CHECKSUM>2133256721</CHECKSUM>
</PATCHNODE>
</XML>
</PATCHINFO>
-
Re: ZPatchBuilder (unofficial)
Thank you, This one is really sweet.
-
Re: ZPatchBuilder (unofficial)
Quote:
Originally Posted by
x1nixmzeng
Both methods can easily be edited into my program. As I described in my post, I left more than enough space in the byte decryptor function to add what's being done:
Zephyr's (5 keys)
This is done to ECX (after the MOV CL,BYTE PTR DS:[EAX] instruction)
ThievingSix (1 key)
Again to ECX (after the MOV CL,BYTE PTR DS:[EAX] instruction)
So I just need to edit those lines in Olly?
-
Re: ZPatchBuilder (unofficial)
Quote:
Originally Posted by
Linear88
Tag is placed wrongly.
</PATCHINFO> should come before </XML>.
Also, shouldn't there be a <VERSION> tag?
Thanks. I was very surprised I hadn't already spotted it.
The VERSION tag is optional - the launcher doesn't error if it doesn't exist.
Quote:
Originally Posted by
ManyBlackPpl
damm.... this is great. Extremely useful. This would help those servers that have those stupid launchers with false-positive or w/e viruses. Plus a 400% increase in speed from the original updaters will definitely keep those impatient players from whining.
Great work. It seems like you're releasing a lot of great stuff as of recent. Hope to see more ^^
Thanks! I hope to release something else I've worked on by the end of this week too.
Quote:
Originally Posted by
phoenix_147
So I just need to edit those lines in Olly?
Something like this (method was posted by Phail, which was what I'm using..)
http://i51.tinypic.com/wir7mx.png
-
Re: ZPatchBuilder (unofficial)
-
Re: ZPatchBuilder (unofficial)
You should add an additional blacklist: patch.xml.
-
Re: ZPatchBuilder (unofficial)
nice you should add a second option using zephyr's encryption method it would make this more interesting I would use this but I use zephyrs and my Launcher is already encrypted
-
Re: ZPatchBuilder (unofficial)
-
Re: ZPatchBuilder (unofficial)
-
Re: ZPatchBuilder (unofficial)
I did not understand. How to make for Zephyr encypt
-
Re: ZPatchBuilder (unofficial)
-
Re: ZPatchBuilder (unofficial)
What the fuck?!
I make lambda encrypt for 2008 server files.
Write like Keys: 25.
When i try get checksum .mrs get failed.
-
Re: ZPatchBuilder (unofficial)
@Gosu[ru]: You don't seem to understand what you're doing, and I'd like you to stop spamming this thread!
As a general comment, if you want to add support for other encryption methods, I'm encouraging you to edit the executable! If you don't understand the method you're using for your client then perhaps you should look into it..
-
Re: ZPatchBuilder (unofficial)
Quote:
Originally Posted by
x1nixmzeng
@Gosu[ru]: You don't seem to understand what you're doing, and I'd like you to stop spamming this thread!
As a general comment, if you want to add support for other encryption methods, I'm encouraging you to edit the executable! If you don't understand the method you're using for your client then perhaps you should look into it..
Yes, I do not understand, then you can do for zypher encryption, or give sources
-
Re: ZPatchBuilder (unofficial)
Quote:
Originally Posted by
x1nixmzeng
If you don't understand the method you're using for your client then perhaps you should look into it..
Quote:
Originally Posted by
Gosu[ru]
Yes, I do not understand, then you can do for zypher encryption, or give sources
You need to do it manually on your own. He has already given an example.
-
Re: ZPatchBuilder (unofficial)
Quote:
Originally Posted by
Linear88
You need to do it manually on your own. He has already given an example.
i can't asm >.>"
-
Re: ZPatchBuilder (unofficial)
made a lambda encrypt, opened the program, put a check, enter the number encrypter, created successfully patch.xml. open gunzlauncher. He starts to patch and when to finish out the error.
Open the folder "PATCH" and there are 3 files ..
Code:
Log start : Sun Oct 17 23:07:35 2010
Current Directory : D:\Gunz
23:07:35:101 [APP] OS version : (Build 7600)
23:07:35:125 [APP] Window created successfully.
23:07:37:302 [ZUpdate] Create.
23:07:37:302 [ZFileTransfer] Create.
23:07:37:302 [ZFileTransfer] Create successfully complete.
23:07:37:303 [ZFileTransfer] Open connection.
23:07:37:303 [ZFileTransfer] Open connection successfully complete.
23:07:37:303 [ZFileTransfer] Change directory.
23:07:37:303 [ZFileTransfer] Change directory successfully complete.
23:07:37:303 [ZUpdate] Create successfully compete.
23:07:37:304 [APP] Download patch info file
23:07:37:304 [ZUpdate] Start update.
23:07:37:304 [ZFileTransfer] Download file : ./patch.xml to ./patch.xml
23:07:37:308 [ZFileTransfer] Download successfully complete.
23:07:37:308 [ZUpdate] Get update info.
23:07:37:310 [ZUpdate] Get update info successfully complete.
23:07:37:311 [ZUpdate] Check valid from patch list.
23:07:43:052 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : './model.mrs'
23:07:43:052 [ZUpdatePatchNode] Needs to update : ./model.mrs
23:07:43:053 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : './sfx.mrs'
23:07:43:053 [ZUpdatePatchNode] Needs to update : ./sfx.mrs
23:07:43:054 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : './system.mrs'
23:07:43:054 [ZUpdatePatchNode] Needs to update : ./system.mrs
23:07:43:054 [ZUpdate] Check valid from patch list successfully complete.
23:07:43:054 [ZUpdate] + Total patch file count : 3
23:07:43:054 [ZUpdate] + Total patch file size : 3849019 bytes
23:07:43:054 [APP] Exist patch file(s)
23:07:43:154 [APP] Start file updating...
23:07:43:154 [ZUpdate] Patch files.
23:07:43:154 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\model.mrs_'
23:07:43:155 [ZFileTransfer] Download file : ./model.mrs to D:\Gunz\PATCH\model.mrs_
23:07:49:309 [ZFileTransfer] Download successfully complete.
23:07:49:309 [ZUpdate] Successfully download '.\PATCH\model.mrs_'
23:07:49:310 [ZFileTransfer] Download file : ./sfx.mrs to D:\Gunz\PATCH\sfx.mrs_
23:07:55:722 [ZFileTransfer] Download successfully complete.
23:07:55:722 [ZUpdate] Successfully download '.\PATCH\sfx.mrs_'
23:07:55:723 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\system.mrs_'
23:07:55:723 [ZFileTransfer] Download file : ./system.mrs to D:\Gunz\PATCH\system.mrs_
23:07:55:760 [ZFileTransfer] Download successfully complete.
23:07:55:760 [ZUpdate] Successfully download '.\PATCH\system.mrs_'
23:07:55:760 [ZUpdate] Patch files successfully complete.
23:07:55:760 [ZUpdate] Move patch files.
23:07:55:761 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\model.mrs_'
23:07:55:761 [ZUpdate] ERROR : Invalid CRC '.\PATCH\model.mrs_'
23:07:55:761 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\sfx.mrs_'
23:07:55:761 [ZUpdate] ERROR : Invalid CRC '.\PATCH\sfx.mrs_'
23:07:55:761 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\system.mrs_'
23:07:55:761 [ZUpdate] ERROR : Invalid CRC '.\PATCH\system.mrs_'
23:07:55:761 [ZUpdate] Move patch files successfully complete.
23:07:55:761 [ZUpdate] ERROR : Cannot move patch files.
23:07:55:762 [APP] ERROR - Update fail
23:07:55:762 [APP] Updater error message :
This file is corrupt or missing : '.\PATCH\model.mrs_'
[Tip] Please check for file authorization
[Tip] Try delete this file
This file is corrupt or missing : '.\PATCH\system.mrs_'
[Tip] Please check for file authorization
[Tip] Try delete this file
This file is corrupt or missing : '.\PATCH\model.mrs_'
[Tip] Please check for file authorization
[Tip] Try delete this file
Invalid CRC from the downloaded patch file. : .\PATCH\model.mrs_
[Tip] Please check for anti-virus program or firewall running on your system.
This file is corrupt or missing : '.\PATCH\sfx.mrs_'
[Tip] Please check for file authorization
[Tip] Try delete this file
Invalid CRC from the downloaded patch file. : .\PATCH\sfx.mrs_
[Tip] Please check for anti-virus program or firewall running on your system.
This file is corrupt or missing : '.\PATCH\system.mrs_'
[Tip] Please check for file authorization
[Tip] Try delete this file
Invalid CRC from the downloaded patch file. : .\PATCH\system.mrs_
[Tip] Please check for anti-virus program or firewall running on your system.
23:07:55:763 [App] File transfer error message :
23:08:14:653 [ZUpdate] Destroy.
23:08:14:654 [ZFileTransfer] Destroy.
23:08:14:654 [ZFileTransfer] Close connection.
23:08:14:654 [ZFileTransfer] Close connection successfully complete.
23:08:14:654 [ZFileTransfer] Destroy successfly complete.
23:08:14:654 [ZUpdate] Destroy successfully complete.
-
Re: ZPatchBuilder (unofficial)
-
Re: ZPatchBuilder (unofficial)
Quote:
Originally Posted by
DylanGFX
Which proves this is a fail release.
This is the best ZPatchBuilder there is. It just doesn't support Zephyr's encryption but 1nix also posted on how to make it work.
-
Re: ZPatchBuilder (unofficial)
-
Re: ZPatchBuilder (unofficial)
Quote:
Originally Posted by
Requnael
made a lambda encrypt, opened the program, put a check, enter the number encrypter, created successfully patch.xml. open gunzlauncher. He starts to patch and when to finish out the error.
Open the folder "PATCH" and there are 3 files ..
Code:
Log start : Sun Oct 17 23:07:35 2010
Current Directory : D:\Gunz
23:07:35:101 [APP] OS version : (Build 7600)
23:07:35:125 [APP] Window created successfully.
23:07:37:302 [ZUpdate] Create.
23:07:37:302 [ZFileTransfer] Create.
23:07:37:302 [ZFileTransfer] Create successfully complete.
23:07:37:303 [ZFileTransfer] Open connection.
23:07:37:303 [ZFileTransfer] Open connection successfully complete.
23:07:37:303 [ZFileTransfer] Change directory.
23:07:37:303 [ZFileTransfer] Change directory successfully complete.
23:07:37:303 [ZUpdate] Create successfully compete.
23:07:37:304 [APP] Download patch info file
23:07:37:304 [ZUpdate] Start update.
23:07:37:304 [ZFileTransfer] Download file : ./patch.xml to ./patch.xml
23:07:37:308 [ZFileTransfer] Download successfully complete.
23:07:37:308 [ZUpdate] Get update info.
23:07:37:310 [ZUpdate] Get update info successfully complete.
23:07:37:311 [ZUpdate] Check valid from patch list.
23:07:43:052 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : './model.mrs'
23:07:43:052 [ZUpdatePatchNode] Needs to update : ./model.mrs
23:07:43:053 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : './sfx.mrs'
23:07:43:053 [ZUpdatePatchNode] Needs to update : ./sfx.mrs
23:07:43:054 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : './system.mrs'
23:07:43:054 [ZUpdatePatchNode] Needs to update : ./system.mrs
23:07:43:054 [ZUpdate] Check valid from patch list successfully complete.
23:07:43:054 [ZUpdate] + Total patch file count : 3
23:07:43:054 [ZUpdate] + Total patch file size : 3849019 bytes
23:07:43:054 [APP] Exist patch file(s)
23:07:43:154 [APP] Start file updating...
23:07:43:154 [ZUpdate] Patch files.
23:07:43:154 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\model.mrs_'
23:07:43:155 [ZFileTransfer] Download file : ./model.mrs to D:\Gunz\PATCH\model.mrs_
23:07:49:309 [ZFileTransfer] Download successfully complete.
23:07:49:309 [ZUpdate] Successfully download '.\PATCH\model.mrs_'
23:07:49:310 [ZFileTransfer] Download file : ./sfx.mrs to D:\Gunz\PATCH\sfx.mrs_
23:07:55:722 [ZFileTransfer] Download successfully complete.
23:07:55:722 [ZUpdate] Successfully download '.\PATCH\sfx.mrs_'
23:07:55:723 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\system.mrs_'
23:07:55:723 [ZFileTransfer] Download file : ./system.mrs to D:\Gunz\PATCH\system.mrs_
23:07:55:760 [ZFileTransfer] Download successfully complete.
23:07:55:760 [ZUpdate] Successfully download '.\PATCH\system.mrs_'
23:07:55:760 [ZUpdate] Patch files successfully complete.
23:07:55:760 [ZUpdate] Move patch files.
23:07:55:761 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\model.mrs_'
23:07:55:761 [ZUpdate] ERROR : Invalid CRC '.\PATCH\model.mrs_'
23:07:55:761 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\sfx.mrs_'
23:07:55:761 [ZUpdate] ERROR : Invalid CRC '.\PATCH\sfx.mrs_'
23:07:55:761 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\system.mrs_'
23:07:55:761 [ZUpdate] ERROR : Invalid CRC '.\PATCH\system.mrs_'
23:07:55:761 [ZUpdate] Move patch files successfully complete.
23:07:55:761 [ZUpdate] ERROR : Cannot move patch files.
23:07:55:762 [APP] ERROR - Update fail
23:07:55:762 [APP] Updater error message :
This file is corrupt or missing : '.\PATCH\model.mrs_'
[Tip] Please check for file authorization
[Tip] Try delete this file
This file is corrupt or missing : '.\PATCH\system.mrs_'
[Tip] Please check for file authorization
[Tip] Try delete this file
This file is corrupt or missing : '.\PATCH\model.mrs_'
[Tip] Please check for file authorization
[Tip] Try delete this file
Invalid CRC from the downloaded patch file. : .\PATCH\model.mrs_
[Tip] Please check for anti-virus program or firewall running on your system.
This file is corrupt or missing : '.\PATCH\sfx.mrs_'
[Tip] Please check for file authorization
[Tip] Try delete this file
Invalid CRC from the downloaded patch file. : .\PATCH\sfx.mrs_
[Tip] Please check for anti-virus program or firewall running on your system.
This file is corrupt or missing : '.\PATCH\system.mrs_'
[Tip] Please check for file authorization
[Tip] Try delete this file
Invalid CRC from the downloaded patch file. : .\PATCH\system.mrs_
[Tip] Please check for anti-virus program or firewall running on your system.
23:07:55:763 [App] File transfer error message :
23:08:14:653 [ZUpdate] Destroy.
23:08:14:654 [ZFileTransfer] Destroy.
23:08:14:654 [ZFileTransfer] Close connection.
23:08:14:654 [ZFileTransfer] Close connection successfully complete.
23:08:14:654 [ZFileTransfer] Destroy successfly complete.
23:08:14:654 [ZUpdate] Destroy successfully complete.
up post.
-
Re: ZPatchBuilder (unofficial)
The lack of respect for developers actually contributing to GunZ development makes it so easy not to bother finishing things. I guess that's an internet thing. /grumpling
@Requnael - best guess : if you read the log, it states the MRS was corrupt. This points towards the MRS block signature not decrypting correctly - meaning you most likely haven't updated your patch file folder with your Lambda-encrypted files. This is even more likely because it only failed on 3 files - and clearly the client has more than that.
-
Re: ZPatchBuilder (unofficial)
Quote:
Originally Posted by
x1nixmzeng
The lack of respect for developers actually contributing to GunZ development makes it so easy not to bother finishing things. I guess that's an internet thing. /grumpling
@Requnael - best guess : if you read the log, it states the MRS was corrupt. This points towards the MRS block signature not decrypting correctly - meaning you most likely haven't updated your patch file folder with your Lambda-encrypted files. This is even more likely because it only failed on 3 files - and clearly the client has more than that.
When i upload all files in upload folder. He start update 60+ files.. This is not help..