; Sigewinne

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

[Present]
post $active = 0
run = CommandListCreditInfo

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

[TextureOverrideSigewinnePosition]
hash = c883a144
vb0 = ResourceSigewinnePosition

[TextureOverrideSigewinneBlend]
hash = 1855ae41
vb1 = ResourceSigewinneBlend
handling = skip
draw = 41507,0 

[TextureOverrideSigewinneTexcoord]
hash = defddf41
vb1 = ResourceSigewinneTexcoord

[TextureOverrideSigewinneVertexLimitRaise]
hash = c32376aa

[TextureOverrideSigewinneIB]
hash = 072fe941
handling = skip
drawindexed = auto

[TextureOverrideSigewinneHead]
hash = 072fe941
match_first_index = 0
ib = ResourceSigewinneHeadIB
ps-t0 = ResourceSigewinneHeadNormalMap
ps-t1 = ResourceSigewinneHeadDiffuse
ps-t2 = ResourceSigewinneHeadLightMap
run = CommandList\global\ORFix\ORFix

[TextureOverrideSigewinneBody]
hash = 072fe941
match_first_index = 25077
ib = ResourceSigewinneBodyIB
ps-t0 = ResourceSigewinneBodyNormalMap
ps-t1 = ResourceSigewinneBodyDiffuse
ps-t2 = ResourceSigewinneBodyLightMap
run = CommandList\global\ORFix\ORFix

[TextureOverrideSigewinneFaceHeadDiffuse]
hash = 44ec805d
ps-t0 = ResourceSigewinneFaceHeadDiffuse


; 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 + 7.0
	$creditinfo = 1
endif

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

[ResourceSigewinnePosition]
type = Buffer
stride = 40
filename = SigewinnePosition.buf

[ResourceSigewinneBlend]
type = Buffer
stride = 32
filename = SigewinneBlend.buf

[ResourceSigewinneTexcoord]
type = Buffer
stride = 12
filename = SigewinneTexcoord.buf

[ResourceSigewinneHeadIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SigewinneHead.ib

[ResourceSigewinneBodyIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SigewinneBody.ib

[ResourceSigewinneHeadNormalMap]
filename = SigewinneHeadNormalMap.dds

[ResourceSigewinneHeadDiffuse]
filename = SigewinneHeadDiffuse.dds

[ResourceSigewinneHeadLightMap]
filename = SigewinneHeadLightMap.dds

[ResourceSigewinneBodyNormalMap]
filename = SigewinneBodyNormalMap.dds

[ResourceSigewinneBodyDiffuse]
filename = SigewinneBodyDiffuse.dds

[ResourceSigewinneBodyLightMap]
filename = SigewinneBodyLightMap.dds

[ResourceSigewinneFaceHeadDiffuse]
filename = SigewinneFaceHeadDiffuse.dds

[ResourceCreditInfo]
type = Buffer
data = "Made By Hazeker"

; .ini generated by XXMI (XX-Model-Importer)
; If you have any issues or find any bugs, please open a ticket at https://github.com/SilentNightSound/GI-Model-Importer/issues or contact SilentNightSound#7430 on discord