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.

PopCap Games (Original Xbox, XBLA) XPR without extension

Featured Replies

  • Author
  • Localization

LolHacksRule, posted Wed Sep 29, 2021 6:20 pm (66581)


I recently acquired the game data from extracting the XBEs, but the game data is in XPR archives without an extension, also proving by headers, it is version 1 of the format. I'm aware of the XPR format being known and having a script, but the script for it fails to unpack these provided samples from PopCap's Bejeweled 2 and BookWorm ports for the original Xbox in the XBLA title install disc, content doesn't appear to be compressed but crammed into them. Any plan to fix the script for these files or do I have to find another solution? Please note the names of the provided files are modified to provide an XPR extension.
  • Author
  • Localization

Ekey, posted Wed Sep 29, 2021 7:14 pm (66746)


Code:
# PopCap Games XPR
# script for QuickBMS http://quickbms.aluigi.org

idstring "XPR1"
get ARCHIVE_SIZE1 long
get ARCHIVE_SIZE1 long
get FILES long

for i = 0 < FILES
   get NAME_OFF long
   get OFFSET long
   savepos TEMP
   math NAME_OFF = 12
   goto NAME_OFF
   get NAME string
   math OFFSET = 12
   goto OFFSET
   get DUMMY long #0x80000000
   get SIZE long
   savepos OFFSET
   log NAME OFFSET SIZE
   goto TEMP
next i


PS: Related script > http://aluigi.org/papers/bms/xpr.bms
  • Author
  • Localization

LolHacksRule, posted Thu Sep 30, 2021 5:49 am (66750)


Thank you so much for the script, I forgot to say I already tried the one from aluigi and it fails to work on both games. This script you provided however works perfectly on my samples.
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.