Zone of the Enders (PS2) - .DAT

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Zone of the Enders (PS2) - .DAT

Post by AnonBaiter »

aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zone of the Enders (PS2) - .DAT

Post by aluigi »

AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Zone of the Enders (PS2) - .DAT

Post by AnonBaiter »

Thanks for the script, mate. Someday, I'll add this to the Kojima Productions .bms collection pack.
Missingno_force
Posts: 3
Joined: Mon Mar 30, 2015 8:32 am

Re: Zone of the Enders (PS2) - .DAT

Post by Missingno_force »

I wrote a tool for this and the .PAK files found inside the DAT archive some time ago, just in case someone is interested in these:
http://space.chimerica.de/code/dat-extract.c http://space.chimerica.de/code/pak-extract.c
In case someone finds a bug with these tools, tell me and ill try to fix them.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Zone of the Enders (PS2) - .DAT

Post by AnonBaiter »

aluigi, why is "stage" skipped during extraction?

Code: Select all

. 0000000000000002
. 0000000000000040 getdstr NAME       "stage" 16
    73 74 61 67 65 00 00 00 17 00 00 00 60 00 00 00   stage.......`...
. 0000000000000050 get     SUB_ENTRIES 0x0000000000000000 4
. 0000000000000054 get     OFFSET     0x0000000000000000 4
. 0000000000000058 get     FLAGS      0x0000000000000102 4
. 000000000000005c get     ZERO       0x0000000000000000 4


. 0000000000000040 getdstr NAME "stage" 16
73 74 61 67 65 00 00 00 17 00 00 00 60 00 00 00 stage.......`...

This color indicates the total number of folders which are stored within "stage" folder, while the other color indicates... something else.
What I`m saying is that for names with the FLAGS value set to 0x102, you might consider the size of the names like missigno-force did when writing his/her tool.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zone of the Enders (PS2) - .DAT

Post by aluigi »

Do you have other samples?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zone of the Enders (PS2) - .DAT

Post by aluigi »

Ok, forget my request. I prefer to leave everything as is.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Zone of the Enders (PS2) - .DAT

Post by AnonBaiter »

Uhhhhhh okay....