Dragon Ball Online PAK encryption
Hello !
DragonBall online have encrypted specific .pak file.
Unpacker already exist, but i want creat better program for open, view and edit pak file.
so, I give you all information i have about PAK files of DragonBall online, and if someone can help me to find encryption algorithm, it would be nice !
PAK file which doesn't have number in name -> header file
PAK file which have number in name -> content file
Only header file are crypted.
You can see exactly same size for both for crypted and uncrypted files.
structure of uncrypted header file are:
Code:
1 Byte = Always 0x07
1 Byte = the # in data#.pak
128 Bytes = Filename, ends with a null terminator (0x00). The 0xFDs are just padding.
3 Bytes = ???, but I've never seen this not equal "0x00 0x00 0x00".
4 Bytes = Filesize
4 Bytes = Position of file in the data#.pak file
This structure containt 140 bytes, multiply this by number of file in data#.pak
lang.pak have 4 files.
And i think header file are crypted 8 bytes by 8 bytes, hum it's just i think '.' !
I need to know how to get lang_d.pak from lang.pak.
thanks for help.
plop.