Virtua Tennis 3 pc -- XPAC files (music)

Codecs, formats, encoding/decoding of game audio, video and music
pepodmc
Posts: 36
Joined: Wed Mar 11, 2015 6:40 am

Virtua Tennis 3 pc -- XPAC files (music)

Post by pepodmc »

Hi everyone, I need your help...


I need a script that can both extract and re-import custom files into this archive


LINK:


GOOGLE DRIVE: https://drive.google.com/open?id=1jq5P_ ... 74pH0YR2SF

MEGA: https://mega.nz/#!m950EYjJ!FTtYog2N6Gc1 ... U2OT3LwQok



I want to mod the music of this game with some "Prince of tennis" anime music, if someone can help me it would be great! :D
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Virtua Tennis 3 pc -- XPAC files (music)

Post by aluigi »

Code: Select all

idstring "CAPX"
get FILES long
get DUMMY long  # 0x10
get ALIGN long
for i = 0 < FILES
    get SOME_CRC long
    get OFFSET long
    get SIZE long
    get ID long
    log "" OFFSET SIZE
next i
pepodmc
Posts: 36
Joined: Wed Mar 11, 2015 6:40 am

Re: Virtua Tennis 3 pc -- XPAC files (music)

Post by pepodmc »

aluigi wrote:

Code: Select all

idstring "CAPX"
get FILES long
get DUMMY long  # 0x10
get ALIGN long
for i = 0 < FILES
    get SOME_CRC long
    get OFFSET long
    get SIZE long
    get ID long
    log "" OFFSET SIZE
next i



Thanks, I can open the files now, but the extension of the files is ".dat".


Link:

Google drive: https://drive.google.com/open?id=1ISEt1 ... wD3IbC171Y

Mega: https://mega.nz/#!n4x3yBSA!S9smiIv0Qk2c ... 7f2LAAx3iQ



Is there a way to open those files to see what's inside? I think that perhaps the files inside are "adx" (an easy format) because one of the folders says that, but they must be inside the ".dat" files, can you help me with that, please?
brendan19
Posts: 144
Joined: Fri Aug 08, 2014 11:25 am

Re: Virtua Tennis 3 pc -- XPAC files (music)

Post by brendan19 »

Just rename them from .dat to .adx and vgmstream will play them back just fine :)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Virtua Tennis 3 pc -- XPAC files (music)

Post by aluigi »

@brendan19
There are both "@UTF" and headerless files like the one uploaded by pepodmc, what of them should be renamed?
pepodmc
Posts: 36
Joined: Wed Mar 11, 2015 6:40 am

Re: Virtua Tennis 3 pc -- XPAC files (music)

Post by pepodmc »

brendan19 wrote:Just rename them from .dat to .adx and vgmstream will play them back just fine :)

aluigi wrote:There are both "@UTF" and headerless files like the one uploaded by pepodmc, what of them should be renamed?





YEAH, all files work when you change the extension to adx, thanks!!

EDIT: i change the music of the game with no more problems, thanks to both !!! :mrgreen: :mrgreen: