It is currently 16 Apr 2024, 08:07
   
Text Size

ZED Files Tools

Moderator: CCGHQ Admins

ZED Files Tools

Postby spirolone » 09 Aug 2016, 14:35

Here are my Java classes to manage ZED files. Zed files are archive similiar to zip, but they have first 256 bytes of central directory and of any compressed files in archive encrypted; they also have remaining bytes "xored".
Encryption uses a RSA-like algorythm and we only know public key (in those tools it's used Magic Duels one, and you have to change it if you want to use them for Magic 2015 zed files), so we cannot compress new files when we create zed archive.
To create a zed file, my tool uses a Data.bin file that contains some parts of a genuine zed file. To be sure files contained in your zed archives will overwrite genuine ones, you have to use a Data.bin obtained by latest genuine zed.

However, you could also use thefiremind tool that is more user-friendly than mine:
viewtopic.php?f=99&t=17361

USAGE:
ZedToZip.jar [FileName]: It creates a zip file with content of a zed file specified as argument (default: DATA_000).
CreateZed.jar [FolderName]: It creates a zed file with content of a folder specified as argument (default: DATA_004). It uses a Data.bin file.
ZedToDataBin.jar [FileName]: It creates a Data.bin file to be used by CreateZed.jar obtaining needed pieces by a genuine zed file specified as argument (default: DATA_004).
ZipToZed.jar [FileName]: It creates a zed file with content of a zip file specified as argument and using a genuine zed file with same name.
Data.bin: Used only by CreateZed.jar. This is obtained by DATA_004.zed, actually latest data available.

EDIT: I added Data.bin file to tools zip file (I forgot it!) and updated CreateZed default argument (It was DATA_001).
Attachments
ZedTools.zip
(138.12 KiB) Downloaded 618 times
Sources.zip
(6.69 KiB) Downloaded 452 times
spirolone
Programmer
 
Posts: 190
Joined: 31 Aug 2014, 23:14
Has thanked: 7 times
Been thanked: 107 times

Return to Utilities

Who is online

Users browsing this forum: No registered users and 15 guests


Who is online

In total there are 15 users online :: 0 registered, 0 hidden and 15 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 15 guests

Login Form