ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Sep 25, 2018 3:34 am

All times are UTC




Post new topic  Reply to topic  [ 18 posts ] 
Author Message
PostPosted: Sat Mar 03, 2018 2:43 am 
User avatar

Joined: Fri Mar 02, 2018 4:45 am
Posts: 21
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.

Top
   
PostPosted: Thu Mar 08, 2018 3:21 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8831
They are just zip files.


Top
   
PostPosted: Sat Mar 10, 2018 3:42 am 
User avatar

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

But when extracting it, you see the files like in the image:


Attachments:
Fieldrunner 2.png [90.76 KiB]
Downloaded 1 time
Top
   
PostPosted: Sat Mar 10, 2018 3:44 am 
User avatar

Joined: Fri Mar 02, 2018 4:45 am
Posts: 21
I do not know how to view and edit it. Hope you help me!. Thank you so much!


Top
   
PostPosted: Sat Mar 10, 2018 2:01 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8831
The files in the obb you uploaded are xored with 0xf8:
Code:
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


Top
   
PostPosted: Sun Mar 11, 2018 12:38 am 
User avatar

Joined: Fri Mar 02, 2018 4:45 am
Posts: 21
aluigi wrote:
The files in the obb you uploaded are xored with 0xf8:
Code:
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


Top
   
PostPosted: Sun Mar 11, 2018 6:22 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 514
typo, line 3 should be
Code:
get NAME filename

:)

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Sun Mar 11, 2018 7:27 am 
User avatar

Joined: Fri Mar 02, 2018 4:45 am
Posts: 21
Acewell wrote:
typo, line 3 should be
Code:
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! :|


Attachments:
Fieldrunner.png [35.3 KiB]
Downloaded 1 time
Top
   
PostPosted: Sun Mar 11, 2018 8:51 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8831
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.


Top
   
PostPosted: Sun Mar 11, 2018 9:17 am 
User avatar

Joined: Fri Mar 02, 2018 4:45 am
Posts: 21
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


Top
   
PostPosted: Sun Mar 11, 2018 11:16 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8831
*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.
:)


Top
   
PostPosted: Sun Mar 11, 2018 12:47 pm 
User avatar

Joined: Fri Mar 02, 2018 4:45 am
Posts: 21
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


Top
   
PostPosted: Sun Mar 11, 2018 2:21 pm 
User avatar

Joined: Fri Mar 02, 2018 4:45 am
Posts: 21
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


Top
   
PostPosted: Sun Mar 11, 2018 4:05 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8831
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 :)


Top
   
PostPosted: Mon Mar 12, 2018 12:58 am 
User avatar

Joined: Fri Mar 02, 2018 4:45 am
Posts: 21
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! :)


Top
   
PostPosted: Mon Mar 12, 2018 3:00 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8831
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.


Top
   
PostPosted: Tue Mar 13, 2018 12:03 am 
User avatar

Joined: Fri Mar 02, 2018 4:45 am
Posts: 21
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 :)


Top
   
PostPosted: Tue Mar 13, 2018 1:21 am 
User avatar

Joined: Fri Mar 02, 2018 4:45 am
Posts: 21
But there was an error, when I selected all the files. The quickbms window is closed :o


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 18 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited