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.

Deconstructing the music of HPatHBP with the mpf.info

Featured Replies

  • Author
  • Localization

AlphaTwentyThree, posted Thu Jan 20, 2022 10:36 am (69191)


Hello folks,

I'm currently taking a deep-dive into Harry Potter and the Half-Blood Prince (PS2 at the moment) because I sense a bit of an opportunity to understand the music engine of at least some EA games here.
The main music archive (hbpmusic.mus) just consists of eamus files without any TOC at the start or the end. It includes 460 files in total. The files can be extracted and played easily. However, deep inside the game's structure is a file called "HBPMusic.mpf.info" which corresponds to the music archive in some way. It has names and all kinds of data saved inside. The names give me hope to finally get some correlation between the split mus segments.
I've attached the file and my stump of a script so you can at least begin to work with the info at hand. The first TOC lists the position of filenames as well as two unknown short variables for each file. After this TOC follows a "PFD" portion (offset and size stored in header). Things I can see in this PFD:
- 0x4c: 0x44f entries of 0x2
- 0x2578: 0x32 entries of 0x18
- 0x2cf8: 0x30 entries of 0x18
- 0x61a8: 0xfe entries of 0x2
- 0xacbc: 0x5c entries of 0x18 (0x8a0)
- 0xacc0: 0x1cb entries of 0x8 (0xe58)
Does anybody have any ideas about this mpf.info file?

hp.7z

  • Author
  • Localization

AlphaTwentyThree, posted Thu Jan 20, 2022 11:01 am (69193)


just added some observations about the PFD portion
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.