[Android] Star Wars: Rebels. Recon missions (.obb)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

[Android] Star Wars: Rebels. Recon missions (.obb)

Post by Acewell »

Hi, i'm trying to extract the files from this obb file but none of the current bms scripts are capable.
The closest one was This War of Mine bms script
viewtopic.php?p=6606#p6606

When i used that script it went into an endless loop and many extracted files were 0 bytes or were overlapping others or cut short.

here is a sample made from the filecutter script
filecutter_SWRebels_Android.7z


if you need a larger sample i will generate another.

Thanks for any help! :D
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [Android] Star Wars: Rebels. Recon missions (.obb)

Post by aluigi »

Yeah the the starting cut must be bigger, let's say 10 Mb at least.
In the part you provide there is a table with references to unicode names followed by codepages, but no offsets.
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: [Android] Star Wars: Rebels. Recon missions (.obb)

Post by Acewell »

Okay thanks here is 10 MB from start and end

Code: Select all

http://www.mediafire.com/download/63884tqcvahvcyz/filecutter10MB_SWRebels.7z
Last edited by Acewell on Fri Nov 20, 2015 1:40 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [Android] Star Wars: Rebels. Recon missions (.obb)

Post by aluigi »

Apparently they were not filenames but just the files.
http://aluigi.org/bms/star_wars_rebels_obb.bms
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: [Android] Star Wars: Rebels. Recon missions (.obb)

Post by Acewell »

Awesome thanks! :D
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: [Android] Star Wars: Rebels. Recon missions (.obb)

Post by Acewell »

here is an updated bms script to extract the files with names from game version 1.4.0 .obb :D

Code: Select all

# Star Wars: Rebels. Recon missions 1.4.0 (.obb)

get SKIP long
get FILES long
math NAME_OFF = 0x299bc520
for i = 0 < FILES
    get SKIP long
    get OFFSET longlong
    savepos TMP
    math OFFSET + 0x53228
    goto OFFSET
    get SIZE longlong
    savepos OFFSET
    goto NAME_OFF
    getct NAME string 0x0a
    savepos NAME_OFF
    log NAME OFFSET SIZE
    goto TMP
next i