PDA

View Full Version : 411 encryption ?


deros
22.04.2005, 01:52
If i decrypt itemname-e.txt using 411 legacy how do i re-encrypt it so C2 will use it? I tried just re-encrypting it with a 411 header and it causes the client to not load.

flakka
22.04.2005, 02:02
Yep. There's no way to re-encrypt it back right now because the L2.exe has some weird coding attached to it. I've been pullin my hair out trying to figure it out.

deva
22.04.2005, 02:11
why not use the tools from http://dstuff.luftbrandzlung.org/l2asylum/

the l2encdec has a patcher and loader that will re encrypt the files using a public key so you can edit them then use em witht he client :)

deros
22.04.2005, 03:37
I was hoping there was a better way.. but if that is the only way I guess it will have to do.

flakka
22.04.2005, 05:20
Tried that already. Some l2.exe files have a different excryption on it, and I've tried various ways to decrypt/encrypt the files. Just doesn't want to work. When I thought I was successful, I'd get a protocol error when I log on to my server. Client was 486 and server was 419 (411). I even tried the 486 and C2Server_xxTest version and still no luck. Even tried the Chinese encryption and the Engine.dll file here. The loader doesn't work, either.

I'm ready to call it quits and just use the 98.rar patch, lol.

deva
22.04.2005, 06:20
well you can use it in conjection with the 98 patch

also theres a 486 server? thought it was 411 419 and 481

C2Server_xxTest being 419 and l2server483 being 481

flakka
22.04.2005, 09:24
Well the thing is that I want to just throw the 98.rar patch out the door because it causes more problems. Although it seems like the best method to connect to the server now.

I have no idea about a 486 server. I've been looking around but still no luck.

The way I see it is that there has to be a way to get the encryption right with just the l2.ini file. Since the newest l2encdec (2.5.4) actually alters the l2.exe by default (make sure you use a command option like -n). It's hard to see exactly what it changes unless you compare it at the hex level.

The newest l2encdec also supports C3, so it's just a matter of fixing the L2Server.exe and whatnot to accept the clients.

ThaDon
22.04.2005, 21:05
here my guide

Get the new encdec from here : http://dstuff.luftbrandzlung.org/l2asylum/public/common/l2encdec254.zip

1.extract all files from the l2encdec254.zip to your system folder of L2, the loader.exe, patcher.exe and l2encdec.exe should be in the self folder where is L2.exe and l2.ini

2.U have a backup folder in your l2 system folder, delete them or move them to a other place, its very important u have no more backup ordner in L2 system

3.Now click on your windows start button > Run and insert the full path to your Lineage2/system/patcher.exe

4.Now hit Ok, and a dos window will open, a process runs, wait it takes a while (the dos window closes automaticall when its done)

5.Now open again windows start button > Run and type in "cmd" (without ")

6.Navigate to your Lineage2 System folder and run l2encdec -s l2.ini to encode

7.after this go to your Lineage2 System folder and Open and edit the dec-l2.ini , be sure in the dec-l2.ini is no header like "L i n e a g e 2 V e r 4 1 1", otherwise erase the header.

8.now go again in "cmd" and try l2encdec -h 411 dec-l2.ini l2.ini to decode the dec-l2.ini

9.now your are finish, it should works. Important!!!: start Lineage 2 no more with the l2.exe, doesnt work, now u must start with loader.exe

Note: in the new version 254 of l2encdec its possible to use the l2.exe no the loader.exe


works fine ;) :wink:

deros
23.04.2005, 07:35
I appreciate the guide, but i'm trying to re-encrypt itemname-e.txt with some added set items but the 411 legacy encryption thing is throwing me off.. I havent tried the loader yet, i thought that only applied to the L2.ini.. do you know if that loader will allow me to use a re-encrypted itemname-e.txt?

flakka
23.04.2005, 07:41
I believe the loader only helps the L2.exe. So we're SOL. :?

deros
23.04.2005, 15:52
too bad we couldn't just decrypt everything and leave it decrypted.. i mean seriously whats the deal with all this encryption anyways. :)

Livid
23.04.2005, 19:09
Ahem, what about https://postpacific.loc-online.com/forum/viewtopic.php?t=485 ???

flakka
23.04.2005, 19:10
Doesn't work. The problem we're having is unrelated.

Livid
23.04.2005, 19:33
Hmm? Strange...
"decrypt itemname-e.txt"... Ok, leagacy decryption isn't that hard (l2encdec)
"re-encrypting it with a 411 header"... Of course, stupid RSA... need patcher.
too bad we couldn't just decrypt everything and leave it decrypted.. No, we can... see my prevous post.
May be I misunderstood something? Sry, my english could be better...

deros
24.04.2005, 06:41
sounds like i have to decrypt everything for that too work.. sounds like a bit of work.. but if I can do that and repackage the 98.rar all unencrypted.. wow.. you got me dreamin now :) I'll give it a shot when I'm less sleepy :)

Spayn
09.05.2005, 14:52
here my guide

6.Navigate to your Lineage2 System folder and run l2encdec -s l2.ini to encode
it gives me: I/O file file error occured... and it doesnt make decrypted file...