XFL - What are the. / Bin / *. Dat files?

The uncompressed Adobe Flash XFL format still retains a large amount of content. Does anyone know the specification of these binary * .dat files?

+5
source share
2 answers

* .Dat files store various media content. So far I can say that:

  • Images are stored in JPEG format without additional information. This means that simply renaming * .dat is enough to get the original image. Such files start with C # {FFD8}
  • Images are stored in some internal RAW format. Using reverse engineering, I can say that, for example, a bitmap with raw pixel data # {FFFFFFFF} (1x1) is saved as:
0305     ;raw bitmap identifier?
0400     ;length of decompressed row data
0100     ;width
0100     ;height
00000000 ;unknown
14000000 ;width in twips
00000000 ;unknown
14000000 ;height in twips
00       ;some flags - 01=image has transparency

variant 1.:
01       ;compressed data flag
0200     ;length of compressed chunk
7801     ;compressed chunk
0A00     ;length of compressed chunk
FBFFFFFF7F0009FA03FD ;compressed chunk
0000     ;end of compressed stream

variant 2.:
00       ;data are uncompressed
00000000
00000000 ;unknown data - always zero?
FFFFFFFF ;raw uncompressed ARGB data

: ARGB, , . ZLIB (www.zlib.net). Flash 1, ( , .

  • SOUNDS DAT RAW, WAV DOMSoundItem.
  • .

*.dat .

DAT! Flash - , , (9BB551621D3E2138FECA2F04469531D7.dat), Flash! , [_.-], , ( )

+8

, , , ( xml) .

0

All Articles