Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Gameloft Framework (GLF, 2017-present): LZ4 data serialization

Featured Replies

  • Author
  • Localization

LolHacksRule, posted Tue Nov 05, 2019 2:08 am (51907)


I want to view the game data, I was stumped on their OBB (APK for Disney Getaway Blast) until I figured out its a ZIP with a custom header for likely the index (idx header) (I can open with 7Zip fine or repair using WinRAR), but many of the files in them, even the TEXTURES AND MODELS have this header of GCBF (Game/Gameloft/Code Binary Format/Framework?), along with the data in a funky format. https://we.tl/t-OEeYMs27KG.

Formats confusing:
TGA/PNG: Usually a ZIP with split KTX'ed files
BDAE: ZIP with NFOs, a hash and the compressed BDAE.
SWF: ZIP with TGAs (SERIALIZED) and SWF.
GAME/LEVEL/TX(LEGO/GETAWAYBLAST/few in Tycoon), UI (Car Tycoon): JSON.
XLS/XLSX (All games)

UPDATE: Glitch isn't an engine, its a graphics api according to internal SDK mentions
  • Author
  • Localization

Ekey, posted Tue Nov 05, 2019 3:10 am (51908)


They are probably compressed by something from the LZ series. It looks like a LZ4
  • Author
  • Localization

LolHacksRule, posted Tue Nov 05, 2019 3:13 am (51909)


Ok thanks for that. I don't see LZ anywhere in the libraries and DLLs... I see LZMA though...

Code:
Header (4bytes): 47 43 42 46
Byte ordering? (1byte): 02 (?), 07, (?), 09, (?), 50, (?), 7A (??)
Zero (7bytes)
Unknown (1byte): 18
Zero (3bytes)
Binary data before packed data (?bytes)
Zero (11bytes)
Packed data to end (?bytes)
  • Author
  • Localization

LolHacksRule, posted Wed Dec 18, 2019 7:12 pm (52660)


The Car Tycoon beta ditches this for most files for some reason...
  • Author
  • Localization

LolHacksRule, posted Mon Dec 23, 2019 6:59 pm (52758)


Could the script have support for autodecompressing LZ4'ed data in zip-compressed files like BDAE, PNG and TGA?
  • Author
  • Localization

aluigi, posted Thu Mar 26, 2020 5:03 pm (55148)


What you mean?
The files compressed with lz4 are those having the 32bit field "Lz4 " in the table of the archive.
  • Author
  • Localization

KL3W, posted Sat Jan 22, 2022 5:06 pm (69278)


Hey!

I am having troubles with BDAE files too for LEGO STAR WARS CASTAWAYS videogame?

Any thing to open these files? It seems BDAE files are BRRES files but I can't open them...
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.