VGFM Graphics Format

From ModdingWiki
Jump to: navigation, search
VGFM Graphics Format
VGFM Graphics Format.png
Format typeImage
Colour depth8-bit (VGA)
Minimum size (pixels)0×0
Maximum size (pixels)65535×65535
Plane count4
Transparent pixels?No
Hitmap pixels?No

The VGFM Graphics Format is used by Vinyl Goddess From Mars to store images used for various game elements, primarily the user-interface.


There is no signature, but reading the width and height, and multiplying this out, should match the size of the file, and also the length given in the header.

File format

Data type Name Description
UINT16LE length Length of data, in bytes (not including this field)
UINT16LE width Width of one plane, in pixels
UINT16LE height Height of the image, in pixels
UINT8[width * 4 * height] pixelData Pixel data

The width field must be multiplied by four to get the width of the image in pixels.

The pixel data is in VGFM Screen Format although the dimensions in the header are used rather than the format being fixed at 320×200.


This file format was reverse engineered by Malvineous. 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!)