PIC Format (SeXoniX)

From ModdingWiki
Jump to navigation Jump to search
PIC Format (SeXoniX)
PIC Format (SeXoniX).png
Format typeTileset
Max tile count
Tile names?No
Minimum tile size (pixels)320×200
Maximum tile size (pixels)320×200
Plane count1
Plane arrangementLinear
Transparent pixels?No
Hitmap pixels?No
Supports sub-tilesets?No
Compressed tiles?No
Hidden data?No

This format is used in the adult game SeXoniX, a Xonix clone which reveals x-rated photos in the uncovered area. It was developed in 1994 by the DaisyField Software Development Group.

The single file in this format, SEXONIX.PIC, contains a range of 8-bit 320x200 images with included colour palette. All data in the file is encrypted with a simple XOR cipher.

File format

The file format is really simple, and has no header. It is a repeating range of headerless 8-bit 320×200 image, prefixed by a 256-colour 6-bit VGA palette. Each block will be 768 bytes of palette followed by 64000 bytes of image data, meaning the total size of the file is always a multiple of 64768 bytes.


To prevent the images from being easily viewed without playing the game, the data of both the image and the palette is encrypted using a simple XOR operation with value 0x55, or "01010101" in binary.

Because of this operation, the palette data in the file will always be in the 0x40-0x7F range, which, after the XOR, will give values in the 00-3F range, ready to be interpreted as 6-bit VGA colour palette. This, together with the file size pattern, gives a pretty decent way to detect the file type.

For writing files of this format, the same XOR operation should be performed on the data.


The following tools are able to work with files in this format.

Name PlatformView images in this format? Convert/export to another file/format? Import from another file/format? Access hidden data? Edit metadata? Notes
Engie File Converter WindowsYesYesYesN/AN/A
SeXoniX DEMO image converter WindowsNoYesNoN/AN/A


The format was initially researched by Nyerguds, with a little help from CTPAX-X Team.