Help Encrypting Res Files

02/11/2013 05:46 justcallmem#1
Can somehow make a short tutorial on how to encrypt resfiles using the source / serverfiles? Thanks in advance.
02/11/2013 21:28 Cartmanforlife#2
Look in the source for the function, where the encryption takes place.. ?
02/11/2013 23:03 Cartmanforlife#3
You WILL need C++ knowledge and the knowledge how to use Streams and so on...
02/11/2013 23:13 Rhyder`#4
Code for encryption?
02/12/2013 05:19 justcallmem#5
Thanks for the reply, i appreciate everything you've said.

I believe it has something to do with this:
But i'm stocked , i dunno what's the next step.


Go into your resource folder, and then search for Resource.txt

Code:

version "V0.01"
encryptionKey 0x57

resource 1 "..\ResClient\data.res"

If you change the encryption key, and if someone tries to open your *.res files by using the Flyff Resource-Editor it will cause it to break, so untill someone can change your new encryption key to the old one (0x57) your *.res files will be protected.

But i dont recommend this way of protecting your res files, it aint hard to find out your new encryption key if you do it in this way. But it might helps to protect your files from kids that trying to modify the resources to get Speed/Range etc.

When you changed the encryption key, you also gotta edit some stuff in your Neuz source and you might need a new merge.exe programm to merge your files.

(of course, there is also a lot more ways to encrypt and protect your resource files.)



I'll appreciate your help. Thank you.
02/12/2013 05:51 Jarryve Dayllon#6
That's easy to fix on source the ranged editing without an encryption improvement.
But if you want to protect all your files from being stolen, you must learn how to do it x)
02/12/2013 06:00 justcallmem#7
@ Jarryve Dayllon

I'd like to protect the datasubs of the client sir.
I'll be happy to hear back from you. A little help could be give a lot happiness to me :)
Seriously.
02/15/2013 20:51 Xefiroid#8
i doubt that anyone here will explain u how to encrypt the resource files, since theres almost no one that can really do that.

You may ask Lethal from Monster/Aether Flyff, they have a really good encryption based on rijndael.
Or phoen1x from Eclipse flyff, he also got a decent one and as far as i know he will also make encryptions for a small price. (The safer the encryption code, the higher the price)
or ask Yoshii50000 on epvpers he is selling a encryption for 50€, but i dont recommend u to use his encryption since his old one was really crappy coded and got cracked in a few minutes by phoen1x.
You can also ask Pumbaaaa on epvpers, he also got an ecryption which he is selling.
02/15/2013 22:06 DarkFlyffTeam#9
I highly doubt mootie uses a open source for encrypt/decrypt files. More like a custom XOR encryption.

Btw, best will be to create a new custom file format instead make small edits to the original.