pes mobile bin files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Meee
Posts: 4
Joined: Thu Nov 02, 2017 1:26 pm

pes mobile bin files

Post by Meee »

I was able to extract the obb file and I got CPK files. After extracting those with quickbms got bin files. Now I am stuck and I can't extract the files anymore. A sample file attached. Please help.

Coach.bin
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: pes mobile bin files

Post by aluigi »

decompressing script for quickbms:

Code: Select all

goto 8  # "\x00\x10" "WESYS"
get ZSIZE long
get SIZE long
savepos OFFSET
get NAME basename
get EXT extension
string NAME + "_unpack."
string NAME + EXT
clog NAME OFFSET ZSIZE SIZE
Meee
Posts: 4
Joined: Thu Nov 02, 2017 1:26 pm

Re: pes mobile bin files

Post by Meee »

. Thanks very much for the script. I think I have the required data in the decompressed file. Do you know how to get those data/read that file ?

Appreciate your efforts
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: pes mobile bin files

Post by aluigi »

I think I have found the format, it's a container of japanese strings and names apparently.
Use this script on the decompressed file you obtained with the previous script and it will generate a text file.

Code: Select all

get SLOG_NAME basename
string SLOG_NAME + ".txt"
get BIN_SIZE asize
do
    get DUMMY long
    get DUMMY longlong
    get DUMMY long
    slog SLOG_NAME -1 0x2e
    slog SLOG_NAME -1 0x2e
    savepos TMP
while TMP != BIN_SIZE

Do you plan to translate it?
That's possible with quickbms but requires some steps.

I guess that already exist tools for doing the job but I'm not sure if they allow to make full translations, try searching the following on Google:
"WESYS" pes
Meee
Posts: 4
Joined: Thu Nov 02, 2017 1:26 pm

Re: pes mobile bin files

Post by Meee »

That seems to be working with coach data but not with player data. Please see the attached file.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: pes mobile bin files

Post by aluigi »

Unfortunately I can't support all these different files.
You need a tool for doing the job, if there is nothing available then I have no other suggestions.
Meee
Posts: 4
Joined: Thu Nov 02, 2017 1:26 pm

Re: pes mobile bin files

Post by Meee »

Please! Please! Please!. Only this file too. Please bro, I really need it. Was been digging on google for last 3 days. Please help me open this file.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: pes mobile bin files

Post by aluigi »

Code: Select all

get SLOG_NAME basename
string SLOG_NAME + ".txt"
get BIN_SIZE asize
do
    getdstring DUMMY 0x34
    slog SLOG_NAME -1 0x2e
    slog SLOG_NAME -1 0x2e
    slog SLOG_NAME -1 0x30
    savepos TMP
while TMP != BIN_SIZE