Yakuza 1 .DAT files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
SamuraiOndo
Posts: 33
Joined: Fri May 14, 2021 11:33 pm

Yakuza 1 .DAT files

Post by SamuraiOndo »

Hello! I was just wondering if someone could help me find the compression type for these files. There is already a QuickBMS script for them (aluigi.org/bms/yakuza_hd.bms) , but it has no mention of compression type in it. Any help would be greatly appreciated, thank you!

yes.7z
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Yakuza 1 .DAT files

Post by aluigi »

The files are not compressed indeed.
But probably you refer to the AVL files extracted from the DAT archive, they have an "AVLZ" magic and are compressed with LZSS, feel free to decompress them with this script:

Code: Select all

comtype lzss0
idstring "AVLZ"
get SIZE long
get ZSIZE long
savepos OFFSET
math ZSIZE - OFFSET
get NAME basename
clog NAME OFFSET ZSIZE SIZE
SamuraiOndo
Posts: 33
Joined: Fri May 14, 2021 11:33 pm

Re: Yakuza 1 .DAT files

Post by SamuraiOndo »

aluigi wrote:The files are not compressed indeed.
But probably you refer to the AVL files extracted from the DAT archive, they have an "AVLZ" magic and are compressed with LZSS, feel free to decompress them with this script:

Code: Select all

comtype lzss0
idstring "AVLZ"
get SIZE long
get ZSIZE long
savepos OFFSET
math ZSIZE - OFFSET
get NAME basename
clog NAME OFFSET ZSIZE SIZE

Yeah i had figured it out a few days after I posted this and forgot to update
thank you so much however!
Samdou
Posts: 16
Joined: Mon Jul 19, 2021 12:48 am

Re: Yakuza 1 .DAT files

Post by Samdou »

Is this for the original Yakuza 1 on PS2, or the remaster?