Fieldrunner 2 Android .obb

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Fieldrunner 2 Android .obb

Post by Hocmai »

How to extract the .obb file of the game Field. Thanks!

This is the file: http://www85.zippyshare.com/v/gWTzCeRY/file.html
Last edited by Hocmai on Wed Mar 14, 2018 6:59 am, edited 2 times in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Fieldrunner 2 Android

Post by aluigi »

They are just zip files.
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: Fieldrunner 2 Android

Post by Hocmai »

aluigi wrote:They are just zip files.

But when extracting it, you see the files like in the image:
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: Fieldrunner 2 Android

Post by Hocmai »

I do not know how to view and edit it. Hope you help me!. Thank you so much!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Fieldrunner 2 Android

Post by aluigi »

The files in the obb you uploaded are xored with 0xf8:

Code: Select all

filexor 0xf8
get SIZE asize
get NAME filename
string NAME + .
log NAME 0 SIZE

I can't know if the same obfuscation is used in the files of the other obb too.

*edit* fixed
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: Fieldrunner 2 Android

Post by Hocmai »

aluigi wrote:The files in the obb you uploaded are xored with 0xf8:

Code: Select all

filexor 0xf8
get SIZE asize
get NAME filaneme
string NAME + .
log NAME 0 SIZE

I can't know if the same obfuscation is used in the files of the other obb too.

I get this error:
Error: invalid datatype filaneme at line 3
Last script line before the error or that produced the error: 3 get NAME filaneme
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Fieldrunner 2 Android

Post by Acewell »

typo, line 3 should be

Code: Select all

get NAME filename

:)
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: Fieldrunner 2 Android

Post by Hocmai »

Acewell wrote:typo, line 3 should be

Code: Select all

get NAME filename

:)

Thank you! Acewell. But I just get the .dat file. It does not extract the parts inside the .obb file that I need. Can you help me! :|
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Fieldrunner 2 Android

Post by aluigi »

Because you are using it incorrectly, I already told you that obb is just a zip.
Extract obb as a zip and THEN use the script on all the extracted files.
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: Fieldrunner 2 Android

Post by Hocmai »

aluigi wrote:Because you are using it incorrectly, I already told you that obb is just a zip.
Extract obb as a zip and THEN use the script on all the extracted files.


Thank you! Aluigi. I extracted it in a nice way, I actually used it incorrectly :lol: . Your script is very effective! Thank you again! :D
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Fieldrunner 2 Android

Post by aluigi »

*edit* wrong, ignore.

Just for information, there is also a second way to the job.
Download http://aluigi.org/bms/zip.bms
Open it with a text editor and put the following line just at the beginning (first line):
encryption xor "\xf8"
Use the modified zip.bms with quickbms on the obb file, all the extracted files will be already decrypted.
:)
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: Fieldrunner 2 Android

Post by Hocmai »

aluigi wrote:Just for information, there is also a second way to the job.
Download http://aluigi.org/bms/zip.bms
Open it with a text editor and put the following line just at the beginning (first line):
encryption xor "\xf8"
Use the modified zip.bms with quickbms on the obb file, all the extracted files will be already decrypted.
:)

Thank you! It will give me more options. :D
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: Fieldrunner 2 Android

Post by Hocmai »

Unluckily! I get this error from cmd when extracting this game file:
Error: the compressed zlib/deflate input is wrong or incomplete (-3)
Info: algorithm 2
offset 00000026
input size 0x0000047a 1146
output size 0x00001443 5187
result 0xffffffff -1

Error: the uncompressed data (-1) is bigger than the allocated buffer (5187)

Last script line before the error or that produced the error: 220 CLog name offset comp_size uncomp_size

This is the file: http://www116.zippyshare.com/v/GxUU6tJh/file.html
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Fieldrunner 2 Android

Post by aluigi »

Right, my fault.
The encryption of the game is post-extraction, not before extraction (as used in zip.bms), so that solution can't work.
Forget it, use the normal method :)
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: Fieldrunner 2 Android

Post by Hocmai »

Aluigi! I see how your 1st one will need improvement. By! If you do so, you can only extract one file at a time. It will take more time, instead you can do it extracted all at once but only once. Thank you! :)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Fieldrunner 2 Android

Post by aluigi »

Remember that with quickbms you can select a whole folder as input so you can use the first script on all the extracted files in one operation.
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: Fieldrunner 2 Android

Post by Hocmai »

aluigi wrote:Remember that with quickbms you can select a whole folder as input so you can use the first script on all the extracted files in one operation.

Thank you! I really did not realize it :)
Hocmai
Posts: 21
Joined: Fri Mar 02, 2018 4:45 am

Re: Fieldrunner 2 Android

Post by Hocmai »

But there was an error, when I selected all the files. The quickbms window is closed :o