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.

Space Hulk 2 (PC, 1996) - MUSIC.FF [script]

Featured Replies

  • Author
  • Localization

AlphaTwentyThree, posted Wed Apr 01, 2015 9:45 am (4276)


Another script from my collection for you guys.
Used a workaround to get rid of the additional zero byte in-between.
Code:
# extract the MUSIC.FF from Space Hulk 2
# (c) 2015-04-01 by AlphaTwentyThree
# script for QuickBMS http://quickbms.aluigi.org

get FILES long
math FILES -= 1
get FSIZE asize
for i = 1 <= FILES
   savepos MYOFF
   get OFFSET long
   if OFFSET > FSIZE
      goto MYOFF
      get DUMMY byte
      get OFFSET long
   elif OFFSET < 0
      goto MYOFF
      get DUMMY byte
      get OFFSET long
   endif
   get NAME string
   putArray 0 i OFFSET
   putArray 1 i NAME
next i
for i = 1 <= FILES
   getArray NAME 1 i
   getArray OFFSET 0 i
   if i != FILES
      xmath NXT "i 1"
      getArray SIZE 0 NXT
   else
      get SIZE asize
   endif
   math SIZE -= OFFSET
   log NAME OFFSET SIZE
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.