; Mualani

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

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

[Present]
post $active = 0
run = CommandListCreditInfo

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

[TextureOverrideMualaniCharacterPosition]
hash = 03872d46
vb0 = ResourceMualaniCharacterPosition
$active = 1

[TextureOverrideMualaniCharacterBlend]
hash = bd92b322
vb1 = ResourceMualaniCharacterBlend
handling = skip
draw = 29439,0 

[TextureOverrideMualaniCharacterTexcoord]
hash = b59d9219
vb1 = ResourceMualaniCharacterTexcoord

[TextureOverrideMualaniCharacterVertexLimitRaise]
hash = 72a7765a

[TextureOverrideMualaniCharacterIB]
hash = c511e979
handling = skip
drawindexed = auto

[TextureOverrideMualaniCharacterHead]
hash = c511e979
match_first_index = 0
ib = ResourceMualaniCharacterHeadIB
ps-t0 = ResourceMualaniCharacterHeadNormalMap
ps-t1 = ResourceMualaniCharacterHeadDiffuse
ps-t2 = ResourceMualaniCharacterHeadLightMap
run = CommandList\global\ORFix\ORFix

[TextureOverrideMualaniCharacterBody]
hash = c511e979
match_first_index = 35445
ib = ResourceMualaniCharacterBodyIB
ps-t0 = ResourceMualaniCharacterBodyNormalMap
ps-t1 = ResourceMualaniCharacterBodyDiffuse
ps-t2 = ResourceMualaniCharacterBodyLightMap
run = CommandList\global\ORFix\ORFix

[TextureOverrideMualaniCharacterDress]
hash = c511e979
match_first_index = 81135
ib = ResourceMualaniCharacterDressIB
ps-t0 = ResourceMualaniCharacterDressNormalMap
ps-t1 = ResourceMualaniCharacterDressDiffuse
ps-t2 = ResourceMualaniCharacterDressLightMap
run = CommandList\global\ORFix\ORFix

[TextureOverrideMualaniNatlanFXHeadShadow]
hash = daaf4e70
this = ResourceMualaniNatlanFXHeadShadow
run = CommandList\global\ORFix\ORFix




[TextureOverrideMualaniFaceHeadDiffuse]
hash = 84d7374c
ps-t0 = ResourceMualaniFaceHeadDiffuse


; 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 -------------------------

[ResourceMualaniCharacterPosition]
type = Buffer
stride = 40
filename = MualaniCharacterPosition.buf

[ResourceMualaniCharacterBlend]
type = Buffer
stride = 32
filename = MualaniCharacterBlend.buf

[ResourceMualaniCharacterTexcoord]
type = Buffer
stride = 20
filename = MualaniCharacterTexcoord.buf

[ResourceMualaniCharacterHeadIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = MualaniCharacterHead.ib

[ResourceMualaniCharacterBodyIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = MualaniCharacterBody.ib

[ResourceMualaniCharacterDressIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = MualaniCharacterDress.ib

[ResourceMualaniCharacterHeadNormalMap]
filename = MualaniCharacterHeadNormalMap.dds

[ResourceMualaniCharacterHeadDiffuse]
filename = MualaniCharacterHeadDiffuse.dds

[ResourceMualaniCharacterHeadLightMap]
filename = MualaniCharacterHeadLightMap.dds

[ResourceMualaniCharacterBodyNormalMap]
filename = MualaniCharacterBodyNormalMap.dds

[ResourceMualaniCharacterBodyDiffuse]
filename = MualaniCharacterBodyDiffuse.dds

[ResourceMualaniCharacterBodyLightMap]
filename = MualaniCharacterBodyLightMap.dds

[ResourceMualaniCharacterDressNormalMap]
filename = MualaniCharacterDressNormalMap.dds

[ResourceMualaniCharacterDressDiffuse]
filename = MualaniCharacterDressDiffuse.dds

[ResourceMualaniCharacterDressLightMap]
filename = MualaniCharacterDressLightMap.dds

[ResourceMualaniNatlanFXHeadShadow]
filename = MualaniNatlanFXHeadShadow.dds

[ResourceMualaniFaceHeadDiffuse]
filename = MualaniFaceHeadDiffuse.dds

[ResourceCreditInfo]
type = Buffer
data = "Created by ming chen"

; .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