Free Hero Mesh

Update of "Picture file format"
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.
Overview

Artifact ID: c7434a2e2d6c8ba54f8ad2549600afc956c90df4
Page Name:Picture file format
Date: 2018-08-18 05:59:01
Original User: zzo38
Parent: 8ba9026577d481ca8251f4b64a8dfda4453be1a7 (diff)
Next 675214e6a2e14eea6721b98c0a06c6ed8252c094
Content

This document describes the format of the .xclass files. This file is a Hamster archive; all numbers are small-endian (except lump sizes). The possible lumps are mentioned below.

Despite the page title, this file contains both pictures and sounds.

*.IMG

Replace the asterisk with the name of the picture (which is case-insensitive; this name is used in the .class file to identify the picture).

This lump has a header, as follows:

Encoding formats:

After the header, each picture is encoded (with no terminators or separators), in order. If the uncompressed format is used, it is just a list of pixels (one byte per pixel; indexed colour). If the compressed formats are used, then it is the sequence of commands as follows:

*.WAV

Replace the asterisk with the name of the sound. The data of this lump is a RIFF WAVE file.