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.

Help creating a QuickBMS Script for this format (found vital info!)

Featured Replies

  • Author
  • Localization

Penney19, posted Sat Aug 15, 2020 2:03 am (58083)


Hello, a while ago I posted about a format for .ho files. This time, I found out some useful things about these .ho that is vital information, but I need help creating a script for them.
First of all, these .ho files have filenames, but no absolute offsets in the file to the assets.
Image
But, the game i am researching on has these .lo files that are logs! it has all of the filenames, and their absolute offsets, as well as what asset type they are, as well as their size, and padding size!!! Image
So, my question is, knowing the files absolute offsets, as well as their name, size and padding, how do I make a script to extract these .ho files??? Please help! .ho and .lo samples here! https://drive.google.com/file/d/1Pv_jqTZ9wYbVo2llkvvy5C7rcQBF8dX8/view?usp=sharing
  • Author
  • Localization

Penney19, posted Wed Aug 19, 2020 4:30 am (58176)


Any help? Like i said, for these .ho files, there is a .lo file that goes with it that in plain text says what offset the files are as well as their size. So knowing this, how would I make a QuickBMS script for these .ho files? :)
  • Author
  • Localization

aluigi, posted Wed Aug 19, 2020 7:44 am (58179)


It's a messy format, I can only make a script for scanning the LO file and dumping the data referenced in HO:
Code:
OPEN FDDE "lo"
OPEN FDDE "ho" 1

set SEARCH binary  "\t      0\t "

get LO_SIZE asize
do
    get TMP line
    set NAME string TMP
    string TMP 0| SEARCH
    if TMP != ""
        string NAME % " "
        string TMP << 8
        string TMP p "0x%s" TMP
        putarray 0 -1 NAME
        putarray 1 -1 TMP
    endif
    savepos TMP
while TMP < LO_SIZE

get TMP asize 1
putarray 0 -1 ""
putarray 1 -1 TMP
sortarray 1 1

for i = 0
    getarray NAME 0 i
    if NAME == ""
        break
    endif
    getarray OFFSET 1 i
    math i 1
    getarray SIZE   1 i
    math SIZE - OFFSET
    log NAME OFFSET SIZE 1
next i
  • Author
  • Localization

Penney19, posted Wed Aug 19, 2020 12:41 pm (58180)


Thanks!!! This works!
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.