Jump to content
Forgot your email address? ×
×
×
  • Create New...
  • 0

Weird Thing About HybridCrypt Encryption?


-TÜRK-

Question

Hi guys. I'm newbie in this forum not in developing of metin2 :). This forum is good idea I think. Because like EPVP etc forums, there is lot of players not developers, really idiots and kids you know..

 

I am using MakePack.exe (from official stuff)

 

As example, I create pack with some stuffs with HybridCrypt encryption okay.. (CSHybridEncryptExeNameList)

Im trying to unpack with unpackers, metin2dev_archiver, tims archiver etc. pack does not open (they can't find cipher-info key), this is very good.

 

BUT...

 

I put my handmade HybridCrypt pack into pack file. When I open client, client SUCCESSFULLY decrypting files and using even PackageCrypt infos not loaded?!!!

 

One more, while I make my handmade HybridCrypt pack, as the PackMaker sources pack maker must create HybridCrypt key file but MakePack does not create any key files?

 

Kind Regards...

Link to comment

16 answers to this question

Recommended Posts

  • 0
  • Premium

Here how Type 4 works:

 

- If you want to make a Type 4 protected archive you must use COMBINED or "4" as type.

- You can't use Type 4 on root, locale, uiscript and those files which gets loaded before the player logged in.

- You must make a new folder called package on your server, and you must put the generated cshybrid files in it.

Link to comment
  • 0

Thank you for answer sanchez...

 

here take a look:

 

 pack: d:/ymir work/ui/skillassassin.dds
 Write[type:4] d:/ymir work/ui/skillcommon.dds
 pack: d:/ymir work/ui/skillcommon.dds
 Write[type:4] d:/ymir work/ui/skillshaman.dds
 pack: d:/ymir work/ui/skillshaman.dds
 Write[type:4] d:/ymir work/ui/skillsura.dds
 pack: d:/ymir work/ui/skillsura.dds
 Write[type:4] d:/ymir work/ui/skillwarrior.dds
 pack: d:/ymir work/ui/skillwarrior.dds
 Write[type:1] d:/ymir work/ui/taskbar.tga
 pack: d:/ymir work/ui/taskbar.tga
 Write[type:4] d:/ymir work/ui/windows.dds
 pack: d:/ymir work/ui/windows.dds
 
here is a log from MakeScript.
 
also packmaker does not make any key files? (.dat ext: cshybrid )
Link to comment
  • 0

Also, as the Pack Maker sources he must make .dat file:

 

//make key file for CS hybrid crypt
std::string strCryptFileName = g_strFolderName + "/" + "cshybridcrypt_" + g_st_packName + ".dat";
 
packMgr->WriteHybridCryptPackInfo(strCryptFileName.c_str());
Link to comment
  • 0
FolderName "__pack"
PackName "../../ready_pc/__pack/item"

List SecurityExtNameList
{
	"txt"
	"msk"
	"msa"
	"msm"
	"mss"
	"mse"
	"msf"
	"spt"
	"py"
}

List CompressExtNameList
{
	"txt"
	"spt"
	"atr"
	"dds"
	"raw"
	"wtr"
	"mde"
	"tga"
}

List CSHybridEncryptExeNameList
{
	"dds"
	"raw"
	"gr2"
	"msm"
	"atr"	
}

List FileList
{
	"d:/ymir work/item/00001.msm"
	.................
}

You are specifiyng your file extension. Thats all. :)

My problem is still alive :/

 

packmaker does not create any key files.

Link to comment
  • 0
  • Premium
I have no idea of C++ but this looks wrong to me:
 
FolderName "__pack"
PackName "../../ready_pc/__pack/item"
 
shouldn't this be FolderName "../../ready_pc/__pack" and PackName "item"?
  • Love 1

 

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


  • Read our Rules
  • Activity

    1. 1

      Halloween 2021 Ninja M V2

    2. 0

      Visual Studio 2010 Ultimate

    3. 1

      Reduce server memory usage

  • Recently Browsing

    • No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.