Angry Birds Blast: *map-X.JSON (Encoded/compressed?)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Angry Birds Blast: *map-X.JSON (Encoded/compressed?)

Post by LolHacksRule »

Anyone going to figure out the compression/encoding for these files? Thanks so much.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Angry Birds Blast: *map-X.JSON (Encoded/compressed?)

Post by aluigi »

Just a simple xor with 0x09:

Code: Select all

get NAME filename
get TMP byte
if TMP == 0x22
    savepos OFFSET
    get SIZE asize
    math SIZE - 2
    filexor 0x09
    log NAME OFFSET SIZE
endif
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Blast: *map-X.JSON (Encoded/compressed?)

Post by LolHacksRule »

Oh its XOR, that's what it was, thanks so much.