PopCap Games (Original Xbox, XBLA) XPR without extension
-
- Posts: 865
- Joined: Fri Apr 20, 2018 12:41 am
PopCap Games (Original Xbox, XBLA) XPR without extension
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.
-
- Posts: 1383
- Joined: Sat Aug 09, 2014 2:34 pm
Re: PopCap Games (Original Xbox, XBLA) XPR without extension
Code: Select all
# 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
-
- Posts: 865
- Joined: Fri Apr 20, 2018 12:41 am
Re: PopCap Games (Original Xbox, XBLA) XPR without extension
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.