Talk:PlayView: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(thx to TizzyT)
 
 
Line 1: Line 1:
=Playview structure overview=
=Playview structure overview=
This info needs to be moved to frontpage at some point
This info needs to be moved to frontpage at some point
 
<pre>
┌──────────────────────────────────────────────────────────────────────────────┐
┌─────────────────────────────────────────────────────────────────────────────────┐
│          Header                                                             
│          GVD Structure                                                         
├──────────────────────────────────────────────────────────────────────────────┤
├─────────────────────────────────────────────────────────────────────────────────┤
│"GVEW0100JPEG0100"                                                          
│"GVEW0100JPEG0100"                                                              
│Source Image Width (Hex)                                                    
│Source Image Width (Hex)                                                        
│Source Image Height (Hex)                                                    
│Source Image Height (Hex)                                                      
│"BLK_"                                                                      
│"BLK_"                                                                          
│Length of Database (Hex) (№ of entries*0x20) + 0x08                          
│Length of Database (Hex) (№ of entries*0x20) + 0x08                            
│Static Value                                                                
│Static Value                                                                    
│Apps/machine code 1?                                                        
│Apps/machine code 1?                                                            
│Apps/machine code 2?                                                        
│Apps/machine code 2?                                                            
│┌────────────────────────────────────────────────────────────────────────────┐│
│┌────────────────────────────────────────────────────────────────────────────┬┬┬┐│
││          Database                                                          ││
││          Database Entries                                                  │││││
│├────────────────────────────────────────────────────────────────────────────┤│
│├────────────────────────────────────────────────────────────────────────────┼┼┼┤│
││┌──────────────────────────────────────────────────────────────────────────┐││
││Horizontal position on grid from left to right (Hex)                       │││││
│││         Database Entry 1                                                │││
││Vertical position on grid from top to bottom (Hex)                         │││││
││├──────────────────────────────────────────────────────────────────────────┤││
││Layer level                                                                │││││
│││Horizontal position on grid from left to right (Hex)                     │││
││Length of the image (Hex)                                                   │││││
│││Vertical position on grid from top to bottom (Hex)                       │││
││Length padding of the image (Hex)                                           │││││
│││Layer level                                                               │││
││Not used?                                                                   │││││
│││Length of the image (Hex)                                                │││
││Width image (Hex)                                                           │││││
│││Length padding of the image (Hex)                                        │││
││Height image (Hex)                                                         │││││
│││Not used?                                                                 │││
│└────────────────────────────────────────────────────────────────────────────┴┴┴┘│
│││Width image (Hex)                                                        │││
│"BLK_"                                                                          
│││Height image (Hex)                                                        │││
│Length of all embedded images including pad (Hex)                              
││└──────────────────────────────────────────────────────────────────────────┘││
│Static Value                                                                    
││        .                                                                  ││
│┌────────────────────────────────────────────────────────────────────────────┬┬┬┐│
││        .                                                                  ││
││          Images                                                            │││││
││        .                                                                  ││
│├────────────────────────────────────────────────────────────────────────────┼┼┼┤│
││┌──────────────────────────────────────────────────────────────────────────┐││
││JPEG data (Starting from layer 0, left to right, top to bottom)            │││││
│││          Database Entry N                                                │││
││FF pad if grid image, 00 pad if next is data base viewer (16 byte alignment)│││││
││├──────────────────────────────────────────────────────────────────────────┤││
│└────────────────────────────────────────────────────────────────────────────┴┴┴┘│
│││Horizontal position on grid from left to right (Hex)                      │││
└─────────────────────────────────────────────────────────────────────────────────┘</pre>
│││Vertical position on grid from top to bottom (Hex)                        │││
│││Layer level                                                              │││
│││Length of the image (Hex)                                                 │││
│││Length padding of the image (Hex)                                         │││
│││Not used?                                                                 │││
│││Width image (Hex)                                                         │││
│││Height image (Hex)                                                       │││
││└──────────────────────────────────────────────────────────────────────────┘││
│└────────────────────────────────────────────────────────────────────────────┘│
│"BLK_"                                                                      
│Length of all embedded images including pad (Hex)                            
│Static Value                                                                 │
├──────────────────────────────────────────────────────────────────────────────┤
│          Grid Image Data                                                   
├──────────────────────────────────────────────────────────────────────────────┤
│┌────────────────────────────────────────────────────────────────────────────┐│
││          Image 1                                                          ││
│├────────────────────────────────────────────────────────────────────────────┤│
││JPEG data (Starting from layer 0, left to right, top to bottom)            ││
││FF pad if grid image, 00 pad if next is data base viewer (16 byte alignment)││
│└────────────────────────────────────────────────────────────────────────────┘│
│          .                                                                  │
│          .                                                                  │
│          .                                                                  │
│┌────────────────────────────────────────────────────────────────────────────┐│
││          Image N                                                          ││
│├────────────────────────────────────────────────────────────────────────────┤│
││JPEG data (Starting from layer 0, left to right, top to bottom)            ││
││FF pad if grid image, 00 pad if next is data base viewer (16 byte alignment)││
│└────────────────────────────────────────────────────────────────────────────┘│
└──────────────────────────────────────────────────────────────────────────────┘

Latest revision as of 11:31, 10 July 2017

Playview structure overview[edit source]

This info needs to be moved to frontpage at some point

┌─────────────────────────────────────────────────────────────────────────────────┐
│          GVD Structure                                                          │
├─────────────────────────────────────────────────────────────────────────────────┤
│"GVEW0100JPEG0100"                                                               │
│Source Image Width (Hex)                                                         │
│Source Image Height (Hex)                                                        │
│"BLK_"                                                                           │
│Length of Database (Hex) (№ of entries*0x20) + 0x08                              │
│Static Value                                                                     │
│Apps/machine code 1?                                                             │
│Apps/machine code 2?                                                             │
│┌────────────────────────────────────────────────────────────────────────────┬┬┬┐│
││          Database Entries                                                  │││││
│├────────────────────────────────────────────────────────────────────────────┼┼┼┤│
││Horizontal position on grid from left to right (Hex)                        │││││
││Vertical position on grid from top to bottom (Hex)                          │││││
││Layer level                                                                 │││││
││Length of the image (Hex)                                                   │││││
││Length padding of the image (Hex)                                           │││││
││Not used?                                                                   │││││
││Width image (Hex)                                                           │││││
││Height image (Hex)                                                          │││││
│└────────────────────────────────────────────────────────────────────────────┴┴┴┘│
│"BLK_"                                                                           │
│Length of all embedded images including pad (Hex)                                │
│Static Value                                                                     │
│┌────────────────────────────────────────────────────────────────────────────┬┬┬┐│
││          Images                                                            │││││
│├────────────────────────────────────────────────────────────────────────────┼┼┼┤│
││JPEG data (Starting from layer 0, left to right, top to bottom)             │││││
││FF pad if grid image, 00 pad if next is data base viewer (16 byte alignment)│││││
│└────────────────────────────────────────────────────────────────────────────┴┴┴┘│
└─────────────────────────────────────────────────────────────────────────────────┘