[GUIDE] Decoding FollowPetInfo.dat

04/15/2020 20:52 no_1#1
Hello All,

I succesfully decoded the FollowPetInfo.dat file.

However this file is the only location where move speed and pick up speed is set.
For this reason i will not release a fully working tool as this can be abused by players.
I will be making a small guide about how the file is encoded and will give you the key.
For those who wish can always contact me and will gladly decode and encode this file for you if you can't make your own tool for this.

The style of encoding is XOR Cipher
Alright first of all.
Code:
byte[] key = { 0x68, 0x66, 0x79, 0x64, 0x62, 0x65, 0x69, 0x72 };
For the sttructure of this file i took the first hex values:
Code:
03 00 00 00 33 57 24 
06 00 00 00 3C 1F 09 01 5F 54
It always start with int32 what define the lenght of the encoded string.
The key index is set to 0 each time the string ends.

The example code decoded result
Code:
5B 31 5D
54 79 70 65 3D 31

Text:
[1]
Type=1
I hope this can be usefull to some.
If you have any question about this feel free to contact me here or on discord.
10/22/2020 19:36 linja12#2
Cool