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 GLLib data.bar (Windows Mobile)

Featured Replies

  • Author
  • Localization

LolHacksRule, posted Mon Dec 20, 2021 7:36 am (68384)


I'm planning to datamine a lot of Gameloft's legacy Java titles. I stumbled upon the Samsung Windows Mobile version of the game however, the messy filesystem is crammed into a file called 0000data.005 where the file name after extraction is data.bar. The format is not a simple zip archive but it's relatively easy to document. Is it possible for a QuickBMS script to get made for extracting the filesystem from this file? It would help a lot.

It seems it's also used with other GL titles on WinMobile.

https://raw.githubusercontent.com/LolHacksRule/GameFileFormatsRE/main/Gameloft/GameloftBubbleBash2SamsungBarFile.bt
  • Author
  • Localization

LolHacksRule, posted Mon Dec 20, 2021 9:23 pm (68390)


Actually, I decided to solve it myself! This also seems to work with other Win Mobile ports from GL.

Code:
#Reading of data.bar in WinPhone ports from Gameloft
#Wow my first QuickBMS script -LHR

endian big
get FILES short
for i = 0 < FILES
    get STRINGSIZE short
   getdstring FNAME STRINGSIZE
   get OFFSET long
   get FILEBYTESIZE long
    putarray 0 i OFFSET
   log FNAME OFFSET FILEBYTESIZE
next i
savepos BASE_OFF
for i = 0 < FILES
    getarray FILEBYTESIZE 0 i
    math FILEBYTESIZE - OFFSET
    math OFFSET BASE_OFF
next i
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.