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.

[script] EA mus to wave

Featured Replies

  • Author
  • Localization

AlphaTwentyThree, posted Wed Jul 26, 2017 2:30 pm (25039)


Hi there!

Sometimes EA games use files that look like EA MUS but are in reality just wave or AT3 files, e.g. Medal of Honor: Heroes 2 for PSP. The following script parses those files.

Code:
# parse pseudo EA MUS files to wave
# written by AlphaTwentyThree of Zenhax
# script for QuickBMS http://quickbms.aluigi.org

idstring "SCHl" # header
get BLOCKSIZE long
goto BLOCKSIZE
savepos OFFSET
getDstring IDENT 4
get BLOCKSIZE long
math OFFSET = BLOCKSIZE
log MEMORY_FILE 0 0
for
   goto OFFSET
   getDstring IDENT 4
   if IDENT == "SCEl"
      get NAME basename
      string NAME = ".wav"
      get SIZE asize MEMORY_FILE
      log NAME 0 SIZE MEMORY_FILE
      cleanexit
   endif
   get SIZE long
   math SIZE -= 0x18
   math OFFSET = 0x18
   append
   log MEMORY_FILE OFFSET SIZE
   append
   math OFFSET = SIZE
next
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.