Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Legends of Wrestling II (PS2) - ADB archive extraction?

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
Metalitia
n00b
Posts: 17
Joined: Tue Oct 02, 2007 6:25 pm
Has thanked: 1 time
Been thanked: 2 times

Legends of Wrestling II (PS2) - ADB archive extraction?

Post by Metalitia »

There are quite a few of these, and they contain all the sound for the game (the largest, at ~540 MB, contains the entrance music). All are labeled "sounds.adb" and are in subfolders of the "Audio" directory.

Opening one in Hex Workshop reveals that the sounds within are all VAG format.
Scanning these in CubeMedia results in the sounds within being read as "ADPCM RAW Compressed", and trying to listen to them sounds absolutely terrible.

Main Question: How do I extract the proper files from the ADB archives?
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Legends of Wrestling II (PS2) - ADB archive extraction?

Post by chrrox »

please read the rules you must post a sample to ask for help
Metalitia
n00b
Posts: 17
Joined: Tue Oct 02, 2007 6:25 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Legends of Wrestling II (PS2) - ADB archive extraction?

Post by Metalitia »

The contents of this post was deleted because of possible forum rules violation.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Legends of Wrestling II (PS2) - ADB archive extraction?

Post by aluigi »

that file is a sequence of VAG audio files (ps/ps2 audio).
I guess exists an index file somewhere there anyway no problem, the following quickbms script can do the extraction job of all the files contained in this adb archive:

Code: Select all

endian big
get MAXSIZE asize
set OFFSET long 0
for i = 0
    getdstring SIGN 3
    if SIGN == "VAG"
        getdstring DUMMY 9
        get SIZE long
        math SIZE += 48
    elif SIGN == "AAA"
        getdstring DUMMY 17
        get SIZE long
        math SIZE *= 2
        math SIZE += 40
    else
        print "unknown type of audio file %SIGN%"
        cleanexit
    endif
    set NAME long i
    string NAME += "."
    string NAME += SIGN
    log NAME OFFSET SIZE
    math OFFSET += SIZE
    if OFFSET >= MAXSIZE
        cleanexit
    endif
    goto OFFSET
next i
GameZelda
advanced
Posts: 61
Joined: Wed Nov 14, 2007 5:56 pm
Been thanked: 29 times

Re: Legends of Wrestling II (PS2) - ADB archive extraction?

Post by GameZelda »

The AAAp block probably contains 2 sounds, not just one.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Legends of Wrestling II (PS2) - ADB archive extraction?

Post by aluigi »

in any case AAA is one file so it's all correct.
the fact that it acts as a stereo VAG is related to the internal structure of the AAA file and not of the ADB archive.

I guess that hcs would like to add support for AAA to vgmstream :)
Metalitia
n00b
Posts: 17
Joined: Tue Oct 02, 2007 6:25 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Legends of Wrestling II (PS2) - ADB archive extraction?

Post by Metalitia »

aluigi wrote:that file is a sequence of VAG audio files (ps/ps2 audio).
I guess exists an index file somewhere there anyway no problem, the following quickbms script can do the extraction job of all the files contained in this adb archive:

Code: Select all

bunch of code
I'm rather new to the whole "running script" portion of game file navigation. Do I compile it in something? Insert it into some sort of "create script function" area of an existing one? :?: :?: :?:

Very helpful, though; and I intend on extracting the themes this way (hopefully correctly)...whatever this way actually is.

EDIT: Never mind, I just saw QuickBMS over there in the other area. So I just enter that code into it and then run the ADB archive through it?
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Legends of Wrestling II (PS2) - ADB archive extraction?

Post by aluigi »

it's simple:
- copy that code in a text file, for example adb.bms
- download quickbms: http://aluigi.org/papers.htm#quickbms
- double click on quickbms.exe
- select adb.bms
- select your adb file
- select the folder where you want to extract the files
- ...extraction in progress...
simple :)
Metalitia
n00b
Posts: 17
Joined: Tue Oct 02, 2007 6:25 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Legends of Wrestling II (PS2) - ADB archive extraction?

Post by Metalitia »

Success!

ENTRANCE/SOUNDS.ADB was successfully extracted from, and there are a bunch of AAA files and VAG files. The VAG files appear to be the Announcer Calls (the names you can pick from in the Create-A-Legend) and the AAA files are the musics, compressed ADPCM.
New topic on the resulting files here: viewtopic.php?f=17&t=3877
godzfire
beginner
Posts: 21
Joined: Mon Jun 02, 2014 3:21 am

Re: Legends of Wrestling II (PS2) - ADB archive extraction?

Post by godzfire »

Hello, sorry to bump an old topic, however I am actually trying to extract the exact same thing, the ADB archives. It does work, however the resulting AAA and VAG files don't play on vgastream or any other audio player I throw them at. I think I must have done something wrong.

I've uploaded the adb files HERE. Would someone be nice enough to take a look and see if they can get them extracted properly?

EDIT: Here's one of the AAA files it churned out that doesn't open: https://mega.co.nz/#!8kpVnC7Y!qAm0aOiVT ... LvTw3ilMe4
Post Reply