REKO Cardset

From Just Solve the File Format Problem
Revision as of 17:17, 9 July 2024 by Sembiance (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
File Format
Name REKO Cardset
Ontology
Extension(s) .reko, .rkp
REKO Cardset is a family of file formats containing images used for a deck of cards. It has been used by various software for playing card games.

Contents

Format details

There are three main REKO cardset formats, each of which has subtypes.

  • The original Amiga format, and its derivatives. May be subclassified into "Type I" (having 55 cards), "Type II" (59 cards), and "Type III" (68 cards). Some files use Amiga's special "HAM" graphics mode; others do not.
  • RKP 8/16: a pair of PC-centric formats. "RKP 8" is a 256-color paletted format. "RKP 16" is a 15-bit "high color" format.
  • RKP 24: A PC/Windows-centric format containing images in either JPEG or BMP format.

Identification

Amiga: Files start with ASCII "REKO".

RKP 8: Files start with ASCII "PCREKO", followed by bytes 0x44 0x20. Byte 0x08 (the bit depth) appears at offset 20.

RKP 16: Files start with ASCII "PCREKO", followed by bytes 0x00 0x00. Byte 0x10 appears at offset 20.

RKP 24: Files apparently start with ASCII "PCRKP", followed by byte 0x00. If the four bytes at offset 8 are all 0x00 (meaning the card size is variable), the cards use JPEG format. Otherwise, the cards use BMP format.

Specifications

  • sdiREKO-DT.lha → DataFormat.TXT - Amiga cardset structure, by Dirk Stöcker

Software

Sample files

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox