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

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

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

Post by makc_ar »

How about adding support for other files after unpacking? Example .vap сontainers (textures without header): https://mega.nz/#!oLIgzS6I!pdNObwjhyGH9 ... Qo6jtRjjE0
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

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

Post by Acewell »

try this on vap files :D

Code: Select all

# 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 < VAP_SIZE
Game Ripper
Posts: 123
Joined: Sat Sep 02, 2017 12:56 pm

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

Post by Game Ripper »

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!
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

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

Post by makc_ar »

Acewell wrote:try this on vap files :D

Code: Select all

# 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 < VAP_SIZE

Thanks a lot! You can update this script for textures? Maybe paste header DDS | and cut to packing in.vap?
Unpacked them:

Code: Select all

for /R %%a in (*.vap) do quickbms.exe -Y -o vap.bms "%%a" "%%~dpna"
Game Ripper
Posts: 123
Joined: Sat Sep 02, 2017 12:56 pm

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

Post by Game Ripper »

Hi Luigi, I just wanted to report that even older ver. of this BMS works perfectly fine on Music.database/package files from MX vs. ATV Alive (X360) & MX vs ATV: Reflex (PC). I may check if the script also works on other platforms in a week or two.
Later!
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

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

Post by Acewell »

makc_ar wrote:Thanks a lot! You can update this script for textures?

maybe later i will add the header stuff to the bms script, but for now here is Noesis python script to open the "tga" textures :D
tex_MXvsATVSuperXEncore_PC_tga.zip

supports dxt1, dxt5, rgba32 main mip only
Last edited by Acewell on Tue Feb 06, 2018 7:10 pm, edited 1 time in total.
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

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

Post by makc_ar »

Acewell wrote:maybe later i will add the header stuff to the bms script, but for now here is Noesis python script to open the "tga" textures :D
supports dxt1, dxt5, rgba32 main mip only

Thanks Acewell!