TXTR (Tropical Freeze): Difference between revisions

Jump to navigation Jump to search
>Aruki
No edit summary
>Aruki
Line 13: Line 13:
{| class="wikitable"
{| class="wikitable"
! Offset
! Offset
! Type
! style="width:110px;"|Type
! Count
! style="width:100px;"|Count
! Name
! style="width:170px;"|Name
! Notes
! Notes
|-
|-
Line 76: Line 76:
| ''Mipmap Count''
| ''Mipmap Count''
| '''Mipmap Sizes'''
| '''Mipmap Sizes'''
|  
| The size of the base level mipmap is calculated with padding and alignment taken into account. The size of subsequent mipmaps is calculated as Width*Height*Depth*BPP/8. This does '''not''' take padding and alignment into account so it cannot be used to accurately locate and read mipmap data in the file. The offset and size needs to be calculated from the other parameters in the header. The game calculates this data by calling GX2CalcSurfaceSizeAndAlignment.
|-
|-
| {{none}}
| {{none}}
Anonymous user

Navigation menu