PVR Image: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (26 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
* ''' Format Type ''': Image <br> | * ''' Format Type ''': Image <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | ||
* ''' Signature ''': GBIX / PVRT <br> | * ''' Signature ''': GBIX / PVRT / PVR <br> | ||
| Line 11: | Line 11: | ||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | <div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | ||
<pre> | <pre> | ||
// PVR file format | |||
// Sega Variant | |||
// GBIX chunk (optional) | // GBIX chunk (optional) | ||
4 bytes (char) - chunk signature // "GBIX" | 4 bytes (char) - chunk signature // "GBIX" | ||
| Line 20: | Line 23: | ||
4 bytes (char) - chunk signature // "PVRT" | 4 bytes (char) - chunk signature // "PVRT" | ||
4 bytes (uint32) - chunk size | 4 bytes (uint32) - chunk size | ||
1 byte (uint8) - pixel format // | 1 byte (uint8) - pixel format // 0x00 = ARGB1555 | ||
1 byte (uint8) - data format // | // 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) - reserved | ||
2 bytes (uint16) - image width | 2 bytes (uint16) - image width | ||
| Line 32: | Line 56: | ||
=== Notes and Comments === | === Notes and Comments === | ||
* It's a custom PowerVR image format designed originally for the Sega Dreamcast, but it's also used in some PC, Arcade and Xbox Classic games. | * 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 === | === Games === | ||
List of games using this file format: | List of games using this file format: | ||
* Kodai Ouja Kyouryuu King - Mezame yo! Arata Naru Chikara / Dinosaur King (Arcade) | * 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 | ||
* Shenmue II | * Shenmue II | ||
| Line 47: | Line 73: | ||
=== Compatible Programs === | === Compatible Programs === | ||
* Adobe Photoshop + PVR plugin (pvrtex.8bi) | * Adobe Photoshop + [https://dl.consolecopyworld.com/dl.php?c=dc&f=pvrtexplugin!zip PVR plugin (pvrtex.8bi)] | ||
* GIMP + [https://github.com/sizious/gimp-pvr-plugin gimp-pvr-plugin] | |||
* [https://segaretro.org/PVR_Viewer PVRViewer] | * [https://segaretro.org/PVR_Viewer PVRViewer] | ||
* PVRTexTool (only standard files, "PVR" signature) | |||
* [https://github.com/sizious/pvrx2png pvrx2png] | * [https://github.com/sizious/pvrx2png pvrx2png] | ||
* [https://git.nold.in/nold/dreamcast-docs/raw/branch/master/POWERVR/EXES/PVR2BMP/pvr2bmp.exe pvr2bmp] | |||
* [https://github.com/nickworonekin/puyotools Puyo Tools (Texture > Viewer)] | * [https://github.com/nickworonekin/puyotools Puyo Tools (Texture > Viewer)] | ||
* [https://dl.consolecopyworld.com/?id=dc&file=susie345!lzh Susie] + [https://dl.consolecopyworld.com/?id=dc&file=ifpvr!lzh PVR plugin] | |||
* [https://www.codeandweb.com/texturepacker Texture Packer] | |||
=== See Also === | === See Also === | ||
| Line 57: | Line 88: | ||
* [https://fabiensanglard.net/Mykaruga/tools/segaPVRFormat.txt PVR file format (fabiensanglard.net)] | * [https://fabiensanglard.net/Mykaruga/tools/segaPVRFormat.txt PVR file format (fabiensanglard.net)] | ||
* [https://github.com/nickworonekin/puyotools/wiki/PVR-Texture PVR file format (Puyo Tools Github)] | * [https://github.com/nickworonekin/puyotools/wiki/PVR-Texture PVR file format (Puyo Tools Github)] | ||
* [https://github.com/bogglez/Ninja-Lib/blob/master/documentation/PVR_Format.txt PVR file format (Ninja-Lib)] | |||
=== Gallery === | === Gallery === | ||
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
- Adobe Photoshop + PVR plugin (pvrtex.8bi)
- GIMP + gimp-pvr-plugin
- PVRViewer
- PVRTexTool (only standard files, "PVR" signature)
- pvrx2png
- pvr2bmp
- Puyo Tools (Texture > Viewer)
- Susie + PVR plugin
- Texture Packer
See Also
- PVR file format (wulinshu.com)
- PVR file format (fabiensanglard.net)
- PVR file format (Puyo Tools Github)
- PVR file format (Ninja-Lib)
Gallery
-
PVRViewer
-
Puyo Tools (Texture Viewer)