PVR Image: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(No difference)

Latest revision as of 00:05, 13 November 2022

Back to index | Edit this page

PVR

  • Format Type : Image
  • Endian Order : Little Endian
  • Signature : GBIX / PVRT / PVR


Format Specifications

// PVR file format
// Sega Variant

// GBIX chunk (optional)
4 bytes (char) - chunk signature // "GBIX"
4 bytes (uint32) - chunk size
x bytes - global indices


// PVRT chunk
4 bytes (char) - chunk signature // "PVRT"
4 bytes (uint32) - chunk size
1 byte (uint8) - pixel format  // 0x00 = ARGB1555
                               // 0x01 = RGB565
                               // 0x02 = ARGB4444
                               // 0x03 = YUV442
                               // 0x04 = Bump
                               // 0x05 = 4-BIT (twiddled)
                               // 0x06 = 8-BIT (twiddled)

1 byte (uint8) - data format  // 0x01 = SQUARE TWIDDLED
                              // 0x02 = SQUARE TWIDDLED & MIPMAP
                              // 0x03 = VQ
                              // 0x04 = VQ & MIPMAP
                              // 0X05 = 8-BIT CLUT TWIDDLED
                              // 0X06 = 4-BIT CLUT TWIDDLED
                              // 0x07 = 8-BIT DIRECT TWIDDLED
                              // 0X08 = 4-BIT DIRECT TWIDDLED
                              // 0x09 = RECTANGLE
                              // 0x0B = RECTANGULAR STRIDE
                              // 0x0D = RECTANGULAR TWIDDLED
                              // 0x10 = SMALL VQ
                              // 0x11 = SMALL VQ & MIPMAP
                              // 0x12 = SQUARE TWIDDLED & MIPMAP

2 bytes (uint16) - reserved
2 bytes (uint16) - image width
2 bytes (uint16) - image height
x bytes - palette (optional, only for VQ formats)
x bytes - image data

Notes and Comments

  • It's a PowerVR Image format. Standard variant starts with "PVR" signature.
  • Sega variant ("PVRT signature) is a custom PowerVR image format designed originally for the Sega Dreamcast, but it's also used in some PC, Arcade and Xbox Classic games.

Games

List of games using this file format:

  • Kodai Ouja Kyouryuu King - Mezame yo! Arata Naru Chikara / Dinosaur King (Arcade)
  • Love and Berry: Dress Up and Dance! (NDS) (*.PVR / *.FC) ("PVRT" signature)
  • Shenmue
  • Shenmue II
  • Sonic Adventure DX

QuickBMS Script

Not written yet.

Compatible Programs

See Also

Gallery