03-31-2020, 12:44 AM
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
(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
# 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
(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
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 PPPP)