This is the specifications for the image file which is handled by the Game Extractor plugin Viewer_P3D_NHLChampionship2000.

Endian Order:Little Endian
Compression:none
Encryption:None


This format is used by the following Games:
NHL Championship 2000 *.p3d


This is the format specification information:
 
// TYPE 1
// Several blocks nested inside each other

// HEADER
  2 - Unknown (-252)
  4 - File Length
  
// UNKNOWN BLOCK
  2 - Code (12320)
  4 - Block Length (including these 6 bytes)
  1 - Name Length
  X - Name
  4 - null
  
  // INNER BLOCK 1
    2 - Code (12321)
    4 - Block Length (including these 6 bytes) (9)
    3 - Unknown (-1)

  // INNER BLOCK 2
    2 - Code (12322)
    4 - Block Length (including these 6 bytes) (15)
    1 - Unknown Length (8)
    8 - Unknown (bytes 127,239,127,239,127,239,127,239)
    
  // INNER BLOCK 3
    2 - Code (12324)
    4 - Block Length (including these 6 bytes) (14)
    4 - Unknown (7)
    4 - Unknown (8)

// DESCRIPTION BLOCK
  2 - Code (28672)
  4 - Block Length (including these 6 bytes)
  
  2 - Number of Strings (3)
  // for each String
    1 - String Length
    X - String

// IMAGE BLOCK  
  2 - Code (12353)
  4 - Block Length (including these 6 bytes)
  1 - Name Length
  X - Name
  4 - Unknown (640)
  4 - Unknown (480)
  1 - Name Length
  X - Name
  
  // IMAGE DETAILS BLOCK
    2 - Code (12304)
    4 - Block Length (including these 6 bytes)
    1 - Name Length
    X - Name
    4 - null
    2 - Image Width
    2 - Image Height
    2 - Bit Depth? (8)
    
    // COLOR PALETTE BLOCK
      2 - Code (12305)
      4 - Block Length (including these 6 bytes) (774)
    
      // for each color (256)
        3 - Color (RGB)
    
    // IMAGE DATA
      2 - Code (12306)
      4 - Block Length (including these 6 bytes)
  
      // for each pixel
        1 - Palette Index
        
        
        
        
// TYPE 2
// A more compact format (vs TYPE 1)

// HEADER
  2 - Unknown (-256)
  4 - File Length
  
// COMPACT DETAILS BLOCK
  2 - Code (12313)
  4 - Block Length (including these 6 bytes)
  1 - String Length
  X - String
  4 - null
  2 - Image Width
  2 - Image Height
  2 - Bit Depth? (8)
    
  // COLOR PALETTE BLOCK
    2 - Code (12305)
    4 - Block Length (including these 6 bytes) (774)
    
    // for each color (256)
      3 - Color (RGB)
    
  // IMAGE DATA
    2 - Code (12306)
    4 - Block Length (including these 6 bytes)
  
    // for each pixel
      1 - Palette Index


Game Extractor is able to read files of this type, as well as files from thousands of other games. To give it a try, download Game Extractor (Basic Version) for free, and see what it can do.

For further information on this format, refer to the source code on our GitHub repository.