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.

MX vs ATV Supercross - *.database/*.package

Featured Replies

  • Author
  • Localization

AlphaTwentyThree, posted Tue Oct 14, 2014 9:20 pm (919)


Hi there!

Can anyone have a look at the files from this game? The .database is zlib-compressed at 0x24 but I can't make anything of the decompressed contents regarding offsets, names and sizes... :-\
Here are some samples: http://*USE_ANOTHER_FILEHOSTING*/e990a17 ... ss_X360.7z

Thanks for giving it a try! :)
  • Author
  • Localization

aluigi, posted Wed Oct 15, 2014 10:25 am (925)


Ok basically I must read database to extract package.
I have changed the name of the script and I have rewritten it:
http://aluigi.org/papers/bms/others/mx_atv.bms

The problem is that there is no simple way to get the filenames, probably it's necessary to decompile the bxml file completely to do that but it's not a simple operation.

You can see a script that tries to decompile the xbml files here but it's slow and doesn't seem to decompile it correctly at 100%.
  • Author
  • Localization

AlphaTwentyThree, posted Wed Oct 15, 2014 4:59 pm (933)


Thanks for your work - I'll take a look at the weekend, that's the earliest I can get to it.
  • Author
  • Localization

AlphaTwentyThree, posted Sat Oct 18, 2014 11:03 pm (1027)


Nice work Luigi. I don't think I'll look further into the format, I was only after the music. ;)
Just use this little script to rename the output files:
Code:
get NAME string
goto 0x40
get SIZE long
savepos OFFSET
log NAME OFFSET SIZE
  • Author
  • Localization

aluigi, posted Sun Oct 19, 2014 7:19 am (1037)


Is that valid for ALL the files of ALL the mxatv games?
If yes I can embed it directly in the extraction script, but I don't remember to have seen names in all the archives I tested.
  • Author
  • Localization

AlphaTwentyThree, posted Sun Oct 19, 2014 8:25 am (1046)


Sorry, I don't know. Somebody needs to check that.
  • Author
  • Localization

aluigi, posted Sat May 23, 2015 3:19 am (5367)


offzip -a
There are no filenames or other information so offzip is the perfect choice.
  • Author
  • Localization

AlphaTwentyThree, posted Tue Mar 08, 2016 7:16 pm (11848)


Can you take a look at the files I posted? Thanks!
  • Author
  • Localization

Game Ripper, posted Mon Jan 29, 2018 3:52 pm (32019)


Can this BMS be edited to support Music.dx9.package Music.dx9.database from PC version of "MX vs. ATV: Supercross - Encore edition"? I'll be very thankful if someone's able to do it because I don't want to use OffZip just yet.
Of course I can post samples (maybe it'll be the same archive makc_ar linked to, maybe not) or even screenshot of QuickBMS error window (I tried to use mx_atv.bms 0.3.1 on Music pack but it didn't work) if needed.
All the best!
  • Author
  • Localization

aluigi, posted Mon Jan 29, 2018 4:45 pm (32020)


ok try posting the samples
  • Author
  • Localization

Acewell, posted Tue Jan 30, 2018 5:02 pm (32046)


try this on vap files :D
Code:
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

get VAP_SIZE asize
get FOLDER basename
goto 0xc
do
   getdstring NAME 0x30
   get SKIP long
   get SIZE long
   savepos OFFSET
   string NAME p "%s\%s" FOLDER NAME
   log NAME OFFSET SIZE
   math OFFSET SIZE
   goto OFFSET
while OFFSET
  • Author
  • Localization

Game Ripper, posted Tue Jan 30, 2018 5:27 pm (32049)


I really appreciate your work Luigi, well done! BTW I'm going to test this new version on some previous installments in the series.
Best regards!
  • Author
  • Localization

makc_ar, posted Tue Jan 30, 2018 11:27 pm (32060)


Acewell wrote:
try this on vap files :D
Code:
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

get VAP_SIZE asize
goto 0xc
do
   getdstring NAME 0x30
   get SKIP long
   get SIZE long
   savepos OFFSET
   log NAME OFFSET SIZE
   math OFFSET SIZE
   goto OFFSET
while OFFSET

Thanks a lot! You can update this script for textures? Maybe paste header DDS | and cut to packing in.vap?
Unpacked them:
Code:
for /R %%a in (*.vap) do quickbms.exe -Y -o vap.bms "%%a" "%%~dpna"
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.