Fandom

Carnivores Wiki

CRT

212pages on
this wiki
Add New Page
Talk0 Share

CRT is a simple uncompressed bitmap image file format used in Carnivores: Dinosaur Hunter and Carnivores: Ice Age; files may also use the extensions CRTLM or CRTHD.

Format Edit

// header (5 bytes)

short    - Image width in pixels
short    - Image height in pixels
byte(1)  - Bit depth of each pixel

byte(x)  - Pixel data

Pixel bit depth is always either 24 or 32; 24-bit pixels use RGB888 while 32-bit pixels use RGBA8888.

Because of the very simple format, it's trivial to calculate filesize in bytes to confirm a file is valid: width * height * (depth / 8) + 5. For example, a 1024x1024 32-bit image should have a filesize of 4,194,309 bytes.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.