Page 1 of 1
[HELP] My Little Pony Gameloft .ark file format
Posted: Sun Oct 13, 2019 12:15 pm
by Spyrohat
Hello. Can someone help with decrypting .ark format files? I’ve looked all over the Internet and nowhere is there a way to open these files. Who can help and write a program to open such files? Or maybe there is already a way to decrypt such files?
I attach a link to a file of this type:
https://mega.nz/#!FwZiSQTS!bQyCgN8kW7ya ... OjN5MddcI8
Please help anyone than you can!
Re: [HELP] My Little Pony Gameloft .ark file format
Posted: Wed Oct 30, 2019 6:19 pm
by LolHacksRule
Not encrypted, ZLib compressed, but if you want filenames and directories, you have to decrypt the metadata then extract, unfortunately they changed the key as of some update.
Re: [HELP] My Little Pony Gameloft .ark file format
Posted: Thu Nov 07, 2019 6:27 pm
by LolHacksRule
Ekey made this script:
Code: Select all
# Gameloft (Glitch Engine) ARK format
# Ice Age Adventures (Android / iOS)
# Littlest Pet Shop (Android)
# MY LITTLE PONY: Magic Princess (Android)
# script for QuickBMS http://quickbms.aluigi.org
set KEY binary "\x4F\x94\x32\x01\xA1\x5B\x02\x00\x4F\x94\x32\x01\xB5\x88\x99\x00"
get TABLE_SIZE asize
get FILES long
get TABLE_OFFSET long
math TABLE_SIZE -= TABLE_OFFSET
callfunction DecryptTable 1
for i = 0 < FILES
getdstring NAME 64 MEMORY_FILE
getdstring PATH 64 MEMORY_FILE
get OFFSET long MEMORY_FILE
get SIZE long MEMORY_FILE
get ZSIZE long MEMORY_FILE
get ESIZE long MEMORY_FILE
get TIMESTAMP long MEMORY_FILE
getdstring MD5 16 MEMORY_FILE
get RESERVED long MEMORY_FILE
string PATH += NAME
if ESIZE != 0
log MEMORY_FILE2 OFFSET ESIZE
encryption xxtea KEY "0x9e3779b9 0" 0 16
goto 0
if ZSIZE == SIZE
log PATH 0 SIZE MEMORY_FILE2
else
clog PATH 0 ESIZE SIZE MEMORY_FILE2
endif
encryption "" ""
else
if ZSIZE == SIZE
log PATH OFFSET SIZE
else
clog PATH OFFSET ZSIZE SIZE
endif
endif
next i
startfunction DecryptTable
encryption xxtea KEY "0x9e3779b9 0" 0 16
log MEMORY_FILE TABLE_OFFSET TABLE_SIZE
encryption "" ""
endfunction
Like I said due to the encryption key change, this script will only output a memory error when trying to extract this game's ARKs.
Re: [HELP] My Little Pony Gameloft .ark file format
Posted: Sat Nov 09, 2019 6:05 am
by Spyrohat
It’s sad. As I understand it, no one knows how to decrypt these files at present?
Re: [HELP] My Little Pony Gameloft .ark file format
Posted: Sat Nov 09, 2019 8:29 am
by Dinoguy1000
You could try asking on the
game's subreddit, since that's where past reverse engineering work has generally been located, but I have no idea if anyone that did that work in the past is still involved or interested these days.
Re: [HELP] My Little Pony Gameloft .ark file format
Posted: Sat Nov 09, 2019 8:40 am
by Spyrohat
Thanks, but hardly anyone will help me there. About a year ago I tried to ask for help there, but, unfortunately, no one knows anything about this type of file.