Jump to content
  • 0

Changing LZO keys


Kirazu

Question

2 answers to this question

Recommended Posts

  • 0
  • VIP
Posted (edited)
Quote

  

On 8/28/2014 at 8:47 AM, martysama0134 said:

Lzo is a data compression algorithm. It compress data and there are no "lzo keys".

On the other hand, XTEA is a block cipher which uses a 8 byte key to encrypt/decrypt data.


static DWORD s_adwEterPackKey[] =
{
	45129401,
	92367215,
	681285731,
	1710201,
};

static DWORD s_adwEterPackSecurityKey[] =
{
	78952482,
	527348324,
	1632942,
	486274726,
};

 

 

you have to go to EterPack/EterPack.cpp
search for
static DWORD s_adwEterPackKey and static DWORD s_adwEterPackSecurityKey
you'll find them as quoted from MartySama0134
you have to change these keys (you can use Xtea Keys Generator, Credits: MartySama: https://github.com/martysama0134/how-to-mt2-general/tree/master/xtea-keys-generator)

 

you'll have output like:

 image.png

you have to replace the keys in static DWORD s_adwEterPackKey & static DWORD s_adwEterPackSecurityKey in your eterpack.cpp with the new keys from the generated keys then compile the binary, then change the Hex keys in your Packer [This example uses EterNexus]

 

image.png

(some packers will require the whole key (enclosed in [ ])
after that you have to repack the pack folder again (root, locale, etc) with new keys.

 

 

 

 



 

Edited by Asentrix (see edit history)
  • Love 1
Link to post

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


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