What's new

Welcome to Onforum.net - Web and gaming resource community

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Ask question

Ask Questions and Get Answers from Our Community

Answer

Answer Questions and Become an Expert on Your Topic

Contact Staff

Our Experts are Ready to Answer your Questions

[TOOL]PackMakerLite

Status
Not open for further replies.

Vanilla

Elite
Elite
Joined
Jan 28, 2019
Messages
490
Reaction score
2,790
Points
93
Credits
243
The PackMakerLite (PML) supports type0-1-2-3-4-5 (type4-5 only pack, not 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.
Usage:

Its settings (xtea keys, extensions, pack types to use) can be changed inside PackMakerLite.json:

You can actually integrate the tool in the context menu (running the .reg files) for packing folders and unpacking .eix files.


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

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

Here are the available options for the PackMakerLite.json (globally) or simply <packname> .json (eg 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
    ]
}
 
Status
Not open for further replies.
shape1
shape2
shape3
shape4
shape7
shape8
Top