I'm trying to extract bitmaps from an old Macromedia Director protected .dxr file. I was able to find some information about the file structure from here (it turns out to be a XFIR container, the little endian variant of RIFX), which allowed me to find the specific chunk (called BITD chunk) in which the bitmap is stored, there is also an ALFA chunck which stores (I guess the transpareny of each bitmap pixel). The bitmap is supposed to be losslessly compressed with RLE and to only store raw color data (no size, bit depth, pallette,...)
I have generated a few simple bitmaps with the ancient macromedia and this is what I found out:
- 43 columns, 20 rows rectangle. Color 0xcc6666:
The string "d6ff d6cc d666 d666" is repeated 20 times.
- Square of size 20. Color 0xcc6666:
The string "edff edcc ed66 ed66" is repeated 20 times.
- A similar pattern arises with a square of size 9 and different colors.
- A row of 5 0x00ffff color pixels followed by another 5 0x000000 color pixels.
The string "ff00 ffff" is repated 5 times followed by the string "ff00 0000" repeated 5 times.
- A row of 10 0x000000 pixels:
The string "0000 0000" is repeated 9 times, followed by "ff00 0000" one last times.
- A row of 11 0x669999 pixels:
The string "f800 01ff fff6 66f6 99f6 9900" is displayed just once.
For here on, I'm unable to recognize any pattern. Any of you recognize this particular format as a part of an standard one that can be opened with some usual program? Any general advise or hint?