Jump to content

Recommended Posts

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
https://metin2.dev/topic/167-weird-thing-about-hybridcrypt-encryption/
Share on other sites

  • 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.

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 )

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());
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.

  • 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
  • 1 year later...

does anybody know the run ?

one server is using such encryption

https://metin2.download/picture/5f57HAkgSh8y7JTI7Cy4m0H3xLuDtIUk/.png

https://metin2.download/picture/DuRmoQy311LD86vu0v7ibv11R9b7XD3Q/.png

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
  • Love 1
  • 1 year later...
On 2/4/2016 at 6:50 PM, hikmet123 said:

this is interesting  

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

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.