Android .obb editing, Help

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Shokoniraya
Posts: 416
Joined: Sat Sep 15, 2018 5:22 am

Android .obb editing, Help

Post by Shokoniraya »

hello guys
i need some help to repack .obb file from android games
as you know, some android games has .obb file and we can extract as zip or open with 7zip, Winrar or any zip extractor
but how can i replace files?
is this because of compression type or size?
i did it with zip.bms and zip2.bms
both script can works fine and i can import file and game can read file as well
but how can i re-create or import bigger file?

if i use Quickbms, i cant import bigger file
and if i repack or replace or re-create whit 7zip or winrar, game stuck and cant run or show a empty black screen

please someone help about this
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Android .obb editing, Help

Post by LolHacksRule »

Shokoniraya wrote:hello guys
i need some help to repack .obb file from android games
as you know, some android games has .obb file and we can extract as zip or open with 7zip, Winrar or any zip extractor
but how can i replace files?
is this because of compression type or size?
i did it with zip.bms and zip2.bms
both script can works fine and i can import file and game can read file as well
but how can i re-create or import bigger file?

if i use Quickbms, i cant import bigger file
and if i repack or replace or re-create whit 7zip or winrar, game stuck and cant run or show a empty black screen

please someone help about this

What game OBB? Is the file header odd?
Shokoniraya
Posts: 416
Joined: Sat Sep 15, 2018 5:22 am

Re: Android .obb editing, Help

Post by Shokoniraya »

LolHacksRule wrote:
Shokoniraya wrote:hello guys
i need some help to repack .obb file from android games
as you know, some android games has .obb file and we can extract as zip or open with 7zip, Winrar or any zip extractor
but how can i replace files?
is this because of compression type or size?
i did it with zip.bms and zip2.bms
both script can works fine and i can import file and game can read file as well
but how can i re-create or import bigger file?

if i use Quickbms, i cant import bigger file
and if i repack or replace or re-create whit 7zip or winrar, game stuck and cant run or show a empty black screen

please someone help about this

What game OBB? Is the file header odd?


Header is PK (Zip File)
but game will show a black screen when i replace file
what should i do?
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Android .obb editing, Help

Post by LolHacksRule »

Maybe there's hash checking or file integrity checking in the game (didn't say), if so, you have to figure out how to either fake the check, disable it or make it pass.
Shokoniraya
Posts: 416
Joined: Sat Sep 15, 2018 5:22 am

Re: Android .obb editing, Help

Post by Shokoniraya »

LolHacksRule wrote:Maybe there's hash checking or file integrity checking in the game (didn't say), if so, you have to figure out how to either fake the check, disable it or make it pass.


that was CRC32 Checker!
thank you for help

for other guys, (if sometime... maybe someone need this)
find CRC32 in obb header and write primary CRC (CRC will change if you replace again, that means updating file)
and do it in every time if you replace it again
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Android .obb editing, Help

Post by LolHacksRule »

You're welcome for helping.