[EterPack Archiver] PackMakerLite

04/02/2019 15:35 lollo_9_1#1
This is an archiver I've created, and it looks quite stable so far.

The PackMakerLite (PML) supports type 0-1-2-3-4-5-6 (type 4-5 only pack, type 6 only unpack).

As a summarize, the metin2 types are handled like this:
  • Type 0 - only storage (no encryption/compression; it can be read fully from the .epk)
  • Type 1 - compressed - lzo(file)
  • Type 2 - compressed and encrypted - xtea(lzo(file))
  • Type 3 - encrypted with Panama - you must save an .iv key server-side in the panama/ folder. (content readable only after auth phase) The official used it only for patch2.
  • Type 4 - encrypted with a mix of ciphers (cshybridcrypt) - you must save a .dat key server-side in the package/ folder. (content readable only after auth phase) Practically all the metin2_patch files.
  • Type 5 - like type 4, but a server-side map/<map_name> is also provided. (content readable only after accessing the <map_name> map as a player) The official used it only for the catacomb data.
  • Type 6 - compressed and encrypted - xtea(snappy(file))

And the metin2 headers are handled like this:
  • EPKD - only storage (no encryption/compression; it can be read fully from the .eix)
  • MCOZ - xtea(lzo(header))
  • MCSP - xtea(snappy(header))


Usage:
[Only registered and activated users can see links. Click Here To Register...]



Its settings (xtea keys, extensions, pack types to use) can be changed inside PackMakerLite.json:
[Only registered and activated users can see links. Click Here To Register...]



You can actually integrate the tool in the menu context (running the .reg files) for packing folders and unpacking .eix files.
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

Remove "--nolog" from the .bat files if you want to see the logs again.

You can install it by running as admin "install.bat".

In here all the available options for the PackMakerLite.json (globally) or simply <packname>.json (e.g. etc.json) for a specific pack:
Code:
{
    "log_name": "PackMakerLite",
    "cs_name": "",
    "force_filename_lowercase": true,
    "ignore_file_extension": ["bak", "db"],
    "default_pack_type": 0,
    "eter_pack_index_ext": ".eix",
    "eter_pack_data_ext": ".epk",
    "pack_type_by_list": [
        ["mss", 0],
        ["mse", 1],
        ["msf", 2],
        ["spt", 0],
        ["atr", 1],
        ["dds", 2],
        ["raw", 0],
        ["wtr", 1],
        ["mde", 2],
        ["tga", 0],
        ["txt", 1],
        ["msk", 2],
        ["msa", 0],
        ["msm", 1],
        ["py", 2]
    ],
    "eter_pack_index_key": [
        45129401,
        92367215,
        681285731,
        1710201
    ],
    "eter_pack_data_key": [
        78952482,
        527348324,
        1632942,
        486274726
    ]
}
Download: [Only registered and activated users can see links. Click Here To Register...]
04/02/2019 19:15 timiich12#2
vielen dank <3
04/04/2019 01:30 xKiritoKun#3
sauber danke
09/22/2019 18:49 lollo_9_1#4
Update v1.9 - type6 & mcsp unpack supported [ty @[Only registered and activated users can see links. Click Here To Register...]]
09/25/2019 10:09 KaMeR1337#5
make something like 7zip interface drag&drop, never seen one, only command-line :thinking: