Gameloft Jet Engine LibClara: *.BLIBCLARA, *.BCLARA (Level data)

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

Gameloft Jet Engine LibClara: *.BLIBCLARA, *.BCLARA (Level data)

Post by LolHacksRule »

I want to view the BCLARA and BLIBCLARA files in the game data of Minion Rush (other Gameloft games use this too not just that one), but they are binary and hard to read. According to internal SDK mentions I won't tell you locations to, they are CLARA and LIBCLARA files (plaintext XMLs) before internally binarizing the files to use with public games. Can someone figure out how to deserialize the binaries to source files (XML)? If you want samples of internal plaintext files (don't ask for the SDK tool), throw me a DM. This isn't Glitch Engine specific as no libs from that engine relate to these files.
Last edited by LolHacksRule on Fri Mar 27, 2020 4:28 pm, edited 1 time in total.
LokiReborn
Posts: 190
Joined: Fri Aug 26, 2016 3:11 pm

Re: Gameloft LibClara: *.BLIBCLARA, *.BCLARA (Level data)

Post by LokiReborn »

LolHacksRule wrote:I want to view the BCLARA and BLIBCLARA files in the game data of Minion Rush (other Gameloft games use this too not just that one), but they are binary and hard to read. According to internal SDK mentions I won't tell you locations to, they are CLARA and LIBCLARA files (plaintext XMLs) before internally binarizing the files to use with public games. Can someone figure out how to deserialize the binaries to source files (XML)? If you want samples of internal plaintext files (don't ask for the SDK tool), throw me a DM. This isn't Glitch Engine specific as no libs from that engine relate to these files.


How about the BCLARA & BLIBCLARA files haha, as for deserializing them it depends how much of a pain the format is. I did something very similar for Blade and Soul when PlayNC/NCSoft serialized all of their XML to a Binary format. If you have the originals or something close to it then ya shoot me the DM too, NcSoft mistakenly didn't serialize them once which made it easy to adjust to be exactly correct so knowing what is rooted under what helps for sure.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Gameloft LibClara: *.BLIBCLARA, *.BCLARA (Level data)

Post by LolHacksRule »

Sorry very busy so I started the post, I'll upload samples soon.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Gameloft LibClara: *.BLIBCLARA, *.BCLARA (Level data)

Post by LolHacksRule »

Here's some from Minion Rush on Win8 and Android. Shadow Guardian (Android, I don't have full APK) and Paddington Run (Android).

Code: Select all

I tried
NOTE: line one is always CLARANAME without the extension except in BLIBCLARA files
4bytes: Header (AA1A0C00)

BLIBCLARA SPECIFIC:
1byte: (Tree node count? Minion Rush [Win8] = E5, Minion Rush [Mobile] = 49, Paddington Run = 3B)
1bytes: Version of LibClara?

Per line:
1byte: Bytecount of line
1byte: zero or 04 (?)
?bytes: line
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Gameloft LibClara: *.BLIBCLARA, *.BCLARA (Level data)

Post by LolHacksRule »

Tintin (Android)
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Gameloft LibClara: *.BLIBCLARA, *.BCLARA (Level data)

Post by LolHacksRule »

BGIN files from Sonic Runners Adventure (Custom build I found, contact in DM) and A8 (I don't have A8) are also BCLARA files according to the similar header.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Gameloft LibClara: *.BLIBCLARA, *.BCLARA (Level data)

Post by LolHacksRule »

Here's one from Fantasy Town.


Last bumped by LolHacksRule on Wed Feb 26, 2020 4:56 pm.