Krakout DAT

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AntonZab
Posts: 461
Joined: Thu Oct 01, 2015 5:03 pm

Krakout DAT

Post by AntonZab »

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

Re: Krakout DAT

Post by aluigi »

Mah, the offsets don't match in my opinion.
It's a list of sequential files with a relative offset matching the sum of the sizes of the previous files but it doesn't match the real size of the files in the archive.
Example, the first XM is reported to have a size of 0x88714 bytes while in reality it's 0x8879c.

Example script:

Code: Select all

idstring "Res\0"
get DUMMY1 long
get DUMMY2 long
get DUMMY3 long
get DUMMY4 long
get DUMMY5 long
get DUMMY6 short
get FOLDERS short
get FILES long
get DUMMY8 long
for i = 0 < FOLDERS
    get BASE_OFF long
    get DUMMY long
    putarray 0 i BASE_OFF
next i
math FOLDER = 0
for i = 0 < FILES
    get SIZE long
    get OFFSET long
    get DUMMY long
    get DUMMY long
    get NAME string
    if OFFSET == 0
        getarray BASE_OFF 0 FOLDER
        math FOLDER + 1
    endif
    math OFFSET + BASE_OFF
    math OFFSET + 8
    log NAME OFFSET SIZE
next i
AntonZab
Posts: 461
Joined: Thu Oct 01, 2015 5:03 pm

Re: Krakout DAT

Post by AntonZab »

Tracker music is my favorite music. No way to listen to them?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Krakout DAT

Post by aluigi »

Code: Select all

log dump.xm 0xc77 0x8879c
AntonZab
Posts: 461
Joined: Thu Oct 01, 2015 5:03 pm

Re: Krakout DAT

Post by AntonZab »

I did. But All players say that it is the wrong format. Maybe some of the files are encrypted at the end?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Krakout DAT

Post by aluigi »

I have noticed the same problem (yeah I was curious to listen it, old-school xm fan).
OpenMT can open it but there are no samples loaded so it's mute.
I guess it's a slightly modified XM file.
AntonZab
Posts: 461
Joined: Thu Oct 01, 2015 5:03 pm

Re: Krakout DAT

Post by AntonZab »

There still is s3m music. They also do not play all. Ah. okay. I have a lot of them anyway ;)