Not logged in.
Login Register Emblem CTGP-Nitro
NCGR (File Format)
The NCLR format is a format for storing character data (Nitro Character Graphics for Runtime), and is the runtime version of NCG. It can store graphics in tiles, or as a bitmap. In the case of tiles, they are each 8x8, and are stored sequentially in these blocks. In the case of a bitmap, there is no such grouping.
The NCGR file uses the generic Nitro header. It can have one or two sections.
The CHAR section stores the main data of an NCGR file, though its exact meaning depends on some of the header fields. The fields are as follows:
In a character based file, the graphics are split into 8x8 characters. In a 4bpp graphic, each takes up 32 bytes. In an 8bpp graphic, they take up 64 bytes. Palette indices are stored from top to bottom, left to right, as if as an 8x8 bitmap. Then each character is stored in that same order, like a bitmap made of smaller bitmaps. Though in the case of a bitmap format file, it is only stored as a regular bitmap. These files can have the extension NCBR.
The CPOS section stores the position of characters in the file.
Last edit by Garhoogin on Thu Mar 25 22:15:53 CDT 2021