; Nekomata

; Constants -------------------------

[Constants]
global $active = 0
global $creditinfo = 0

[Present]
post $active = 0
run = CommandListCreditInfo

; Overrides -------------------------

[TextureOverrideNekomataBodyPosition]
hash = eaad1408
handling = skip
vb0 = ResourceNekomataBodyPosition
vb2 = ResourceNekomataBodyBlend
draw = 24554,0
$active = 1

[TextureOverrideNekomataBodyTexcoord]
hash = f589a51f
vb1 = ResourceNekomataBodyTexcoord

[TextureOverrideNekomataBodyVertexLimitRaise]
hash = 0c01e6a5
; override_vertex_count = 24554
; override_byte_stride = 96

[TextureOverrideNekomataBodyIB]
hash = 26a487ff
handling = skip
drawindexed = auto

[TextureOverrideNekomataBodyA]
hash = 26a487ff
match_first_index = 0
run = CommandListSkinTexture
ib = ResourceNekomataBodyAIB

[TextureOverrideNekomataBodyADiffuse]
hash = 207b8e63
this = ResourceNekomataBodyADiffuse

[TextureOverrideNekomataBodyADiffuse1k]
hash = 60687646
this = ResourceNekomataBodyADiffuse

[TextureOverrideNekomataBodyANormalMap]
hash = ecaef71c
this = ResourceNekomataBodyANormalMap

[TextureOverrideNekomataBodyANormalMap1k]
hash = c1933b38
this = ResourceNekomataBodyANormalMap

[TextureOverrideNekomataBodyALightMap]
hash = fc53fc6f
this = ResourceNekomataBodyALightMap

[TextureOverrideNekomataBodyALightMap1k]
hash = 4f3f7df0
this = ResourceNekomataBodyALightMap

[TextureOverrideNekomataBodyAMaterialMap]
hash = b3286755
this = ResourceNekomataBodyAMaterialMap

[TextureOverrideNekomataBodyAMaterialMap1k]
hash = a5529690
this = ResourceNekomataBodyAMaterialMap

; CommandList -----------------------

[CommandListCreditInfo]
if $creditinfo == 0 && $active == 1
    pre Resource\ShaderFixes\help.ini\Notification = ResourceCreditInfo
    pre run = CustomShader\ShaderFixes\help.ini\FormatText
    pre $\ShaderFixes\help.ini\notification_timeout = time + 5.0
    $creditinfo = 1
endif

; Resources -------------------------

[ResourceNekomataBodyPosition]
type = Buffer
stride = 40
filename = NekomataBodyPosition.buf

[ResourceNekomataBodyBlend]
type = Buffer
stride = 32
filename = NekomataBodyBlend.buf

[ResourceNekomataBodyTexcoord]
type = Buffer
stride = 24
filename = NekomataBodyTexcoord.buf

[ResourceNekomataBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = NekomataBodyA.ib

[ResourceNekomataBodyADiffuse]
filename = NekomataBodyADiffuse.dds

[ResourceNekomataBodyANormalMap]
filename = NekomataBodyANormalMap.dds

[ResourceNekomataBodyALightMap]
filename = NekomataBodyALightMap.dds

[ResourceNekomataBodyAMaterialMap]
filename = NekomataBodyAMaterialMap.dds

[ResourceCreditInfo]
type = Buffer
data = "Created by KiraMasik"

; .ini generated by XXMI (XX-Model-Importer)
; If you have any issues or find any bugs, please open a ticket at https://github.com/leotorrez/XXMI-Tools/issues