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.

Lunia CBF files

Featured Replies

  • Author
  • Localization

slinker0, posted Sun Nov 17, 2019 7:38 pm (52162)


Hey, guys, I've been playing around for quite some time now with Lunia source for its 2.6 version and it helped me a lot to see what changed from 2.6 to 3.1 version by extracting CBF files using Aluigi's tool as well as his cbf script. Now things have changed a bit. I need to make my source code read and create those files from a xml file. My only issue is how do I make it readable (without lzma) According to Aluigi's script it's pretty simple.

Code:
comtype lzma
# Lunia (CBF archives) (script 0.2)
# script for QuickBMS http://quickbms.aluigi.org

get CBF_SIZE asize
for NEXT_OFF = 0 u< CBF_SIZE
    get DATA_SIZE long
    savepos NEXT_OFF
    math NEXT_OFF DATA_SIZE
    savepos OFFSET
    for OFFSET = OFFSET u< NEXT_OFF
        get ZSIZE long
        get SIZE long
        math ZSIZE 5
        savepos OFFSET
        clog "" OFFSET ZSIZE SIZE
        math OFFSET ZSIZE
        goto OFFSET
    next
    goto NEXT_OFF
next

Could you guys help me out understanding this? How is it gathering the header of the file and stuff like that.
Is there a small source code that would extract the data from this file in cpp that I could use to go deep into it? Thanks!
I attached a file that has the encryption mentioned.
Thanks so much
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.