Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
-
aluigi
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi »
-
z4ruz
- Posts: 75
- Joined: Sun Jan 10, 2021 2:23 pm
Post
by z4ruz »
alternative
-
domingo
- Posts: 83
- Joined: Fri Aug 19, 2016 11:53 am
Post
by domingo »
Fantastic, many thanks to both of you!!!

-
domingo
- Posts: 83
- Joined: Fri Aug 19, 2016 11:53 am
Post
by domingo »
I have another format that I need to extract, this time they are rows with extension .BNK and header 5A5A5A5A
In these rows are the textures .TGA
MENU_FR.zip
Thanks

-
aluigi
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi »
You can use this script but I'm not sure if those 4 bytes at the beginning of each file must be kept or removed (as the script does):
Code: Select all
idstring "ZZZZ"
get DUMMY long
get FILES long
for i = 0 < FILES
get OFFSET long
get SIZE long
math OFFSET + 4
math SIZE - 4
log "" OFFSET SIZE
next i
-
domingo
- Posts: 83
- Joined: Fri Aug 19, 2016 11:53 am
Post
by domingo »
Thanks Aluigi, I will take into account those 4 bytes from the beginning of each row. I do not know if they are necessary
Moreover, it gives me the feeling that each row extracted from the .bnk is another package but this time with compression
-
domingo
- Posts: 83
- Joined: Fri Aug 19, 2016 11:53 am
Post
by domingo »
aluigi wrote:You can use this script but I'm not sure if those 4 bytes at the beginning of each file must be kept or removed (as the script does):
Code: Select all
idstring "ZZZZ"
get DUMMY long
get FILES long
for i = 0 < FILES
get OFFSET long
get SIZE long
math OFFSET + 4
math SIZE - 4
log "" OFFSET SIZE
next i
Hello Aluigi, I have got the source code of this ZZZZ file, maybe a tool or a script for decompression and compression of the file can be made
mkcomp.zip