Customizing your ENC's compression/decompression method

i have another problem when i decompress the data.enc theres nothing in it the data.txt so when i recompress and load it in the client there is no items. what did i do wrong?
 
did you try to decompress/decrypt the latest data.enc and item.enc? because i get the same problem as Cath22 mentioned but with old data.enc and item.enc it works.
 
Yes, I did to start off with.

im sure i did the same procedure withe rest of the encs just the data.enc and item.enc mainly won't seem to decrypt properly.

can you share your decrypted data.enc and item.enc if it's ok with you? if not i understand. thank you.

Offtopic: Did someone manage to unpack the latest cabalmain.exe?
 
Last edited:
im sure i did the same procedure withe rest of the encs just the data.enc and item.enc mainly won't seem to decrypt properly.

can you share your decrypted data.enc and item.enc if it's ok with you? if not i understand. thank you.

No, as mine are modified quite heavily.


Offtopic: Did someone manage to unpack the latest cabalmain.exe?

We wouldn't give it out even if we have unpacked it... That sort of thing leads to more hackers.
 
so i read all post posted here.first with what can help us this? add sigmetal or what and for me for exemple is hard to to this becouse i have no ideea in editing enc i really want to learn :D
can anyone help me about enc

thx
 
The idea of this is to make a cabalmain and a set of enc files only your cabalmain can load. It is so you can secure your cabalmain against hackers and prevent them replacing parts of the client with hacked/unprotected versions.

The example is very simple. All you are doing is editing 4 values in both zpipe and cabalmain. It can't really be made any simpler.

Enc file editing is also very simple but unless you understand the format of the data, the data itself and how it corresponds to the server data editing is only going to lead you to problems. Unless you know both ends very well i would suggest a lot of studying of the data until you know what does what. I will be posting some examples very soon.
 
I tried editing the 'Guid Creation' fee in both server and client side but all I get is a non loading client. It seems to be if I change the slightest thing.

Does this mean that the exe has file size checks for its enc's or is it a case of im not editing ALL areas that need to be edited.
Because if I edit the ***_msg.enc files, they work perfectly. But I know these are just to display text for items in game so no need for matching files on server.

Could someone show me how to edit this? Not sure if it has been posted. I apologise if it has!
 
Last edited:
I tried editing the 'Guid Creation' fee in both server and client side but all I get is a non loading client. It seems to be if I change the slightest thing.

Does this mean that the exe has file size checks for its enc's or is it a case of im not editing ALL areas that need to be edited.
Because if I edit the ***_msg.enc files, they work perfectly. But I know these are just to display text for items in game so no need for matching files on server.

Could someone show me how to edit this? Not sure if it has been posted. I apologise if it has!

follow the guide
 
I tried editing the 'Guid Creation' fee in both server and client side but all I get is a non loading client. It seems to be if I change the slightest thing.

Does this mean that the exe has file size checks for its enc's or is it a case of im not editing ALL areas that need to be edited.
Because if I edit the ***_msg.enc files, they work perfectly. But I know these are just to display text for items in game so no need for matching files on server.

Could someone show me how to edit this? Not sure if it has been posted. I apologise if it has!

From what i know the client has some sort of protection of it`s files, something like a filesize check. Not 100% sure but i believe chumpywumpy or Yamachi may hold your answer.

*i will get a nice rant from yamachi for pointing people at him ^.^*
 
From what i know the client has some sort of protection of it`s files, something like a filesize check. Not 100% sure but i believe chumpywumpy or Yamachi may hold your answer.

*i will get a nice rant from yamachi for pointing people at him ^.^*

I heard about this but cannot see it anywhere. Im no good with olly debugger, so I wouldn't see a filesize check there even if it slapped me in the face lol!
 
The default cabalmains do have a check but you will know if it is this preventing it as you will get the infamous "enc file is corrupt" error that you see on official when they mess the patches up and send out the wrong enc files. Saur0n's exe (and the one in my patches which is the same one) has this check removed.

If the client just refuses to load without any messages about enc files then the chances are you have found an enc file that doesn't pack well as there are some. Try different versions of the file as that is the only workaround i know of.
 
Back