Paganitzu Level Format
Jump to navigation
Jump to search
Paganitzu Level Format
Format type | Map/level |
---|---|
Map type | 2D tile-based |
Layer count | 1 |
Tile size (pixels) | ? |
Viewport (pixels) | ? |
Games |
This file format is used by Paganitzu for storing game levels.
File format
Much like the Paganitzu Graphics Format, the Paganitzu Level Format starts with a 7 byte long header. This header is followed by the actual level data, which is basically an array of 16-bit integers:
Offset | Type | Name | Description |
---|---|---|---|
0 | UINT16LE | unknown | ! Unknown |
2 | UINT16LE[192] | tiles | Array of room tiles |
Each level - or "Room" as the game calls it - consists of 192 tiles (16 tiles wide, 12 tiles high). It seems as if only the lower 8 bits of the tile value are ever set.
Note: The first Level Block (Room 0) is filled with 0 values. The game starts in Room 1.
Credits
This file format was reverse engineered by K1n9_Duk3. If you find this information helpful in a project you're working on, please give credit where credit is due. (A link back to this wiki would be nice too!)