The VG Resource

Full Version: Extracting .ANS file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I just downloaded Dynasty Warriors Gundam 3 but I haven't found a way to extract the .ANS file that the sounds are packed in, anyone have any experience with em? Thanks
Without samples, we can't help. Please upload them to google drive or external host and link us here. Thanks
(03-31-2020, 01:11 PM)Pingu! Wrote: [ -> ]Without samples, we can't help. Please upload them to google drive or external host and link us here. Thanks

Sry bout that, was just hesitant since it's a 1gb file (https://drive.google.com/open?id=1ZQu8DW...JSrthj_m3h)
Ok, here's couple tools you need before anything else:

Aluigi's QuickBMS:

http://aluigi.altervista.org/quickbms.htm

Foobar2000 + vgmstream component (Found under "Components"):

http://foobar2000.org/

Once you have these tools, we begin:

First, copy and paste this script into a text file:
Code:
# Dynasty Warriors Gundam 3 ANS
# Written by Pingu! For QuickBMS
# http://aluigi.altervista.org/quickbms.htm

endian big
get BASENAME basename
get NULL long
get ENTRIES long
endian small
for i = 0 < ENTRIES
    FindLoc OFFSET string "RIFF" ""
    goto OFFSET
    idstring "RIFF"
    get SIZE long
    math SIZE + 0x8
    set NAME string ""
    string NAME p "%s_%s.at3" BASENAME i
    log NAME OFFSET SIZE
next i

These ANS file hold ATRAC-3 WAV files, which are then playable once you run the scipt with QuickBMS. Happy playing Smile


EDIT: Probably will make the script more reliable (Although it snags all the AT3 files, it does not read straight from a table, but relies on the file signature TonguePPPP)
(03-31-2020, 10:47 PM)Pingu! Wrote: [ -> ]Ok, here's couple tools you need before anything else:

Aluigi's QuickBMS:

http://aluigi.altervista.org/quickbms.htm

Foobar2000 + vgmstream component (Found under "Components"):

http://foobar2000.org/

Once you have these tools, we begin:

First, copy and paste this script into a text file:
Code:
# Dynasty Warriors Gundam 3 ANS
# Written by Pingu! For QuickBMS
# http://aluigi.altervista.org/quickbms.htm

endian big
get BASENAME basename
get NULL long
get ENTRIES long
endian small
for i = 0 < ENTRIES
    FindLoc OFFSET string "RIFF" ""
    goto OFFSET
    idstring "RIFF"
    get SIZE long
    math SIZE + 0x8
    set NAME string ""
    string NAME p "%s_%s.at3" BASENAME i
    log NAME OFFSET SIZE
next i

These ANS file hold ATRAC-3 WAV files, which are then playable once you run the scipt with QuickBMS. Happy playing Smile


EDIT: Probably will make the script more reliable (Although it snags all the AT3 files, it does not read straight from a table, but relies on the file signature TonguePPPP)

You are my hero, and ur one of the few ppl who actually gives clear instructions I can follow, it worked like a charm tysm!!!!!
Gdi... sht, uhhh, I rly don't wanna sound entitled so by all means, u can ignore wut I'm about to ask ya. I was looking to get the music as well as the voice lines and now I'm just seeing those are held in the BNS where the models and textures are as well for god knows wut reason. So, if the same script u used just takes a small modification and u don't mind, I'd be forever grateful. But regardless, I rly appreciate ur help Smile
I'll just leave this here - https://drive.google.com/file/d/1r_QaoWb...pmV9N/view