; Sunbringer

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

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

[Present]
post $active = 0
run = CommandListCreditInfo

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

[TextureOverrideSunbringerBodyBlend]
hash = 66cad564
handling = skip
vb2 = ResourceSunbringerBodyBlend
if DRAW_TYPE == 1
	vb0 = ResourceSunbringerBodyPosition
	draw = 27000, 0

	$active = 1
endif

[TextureOverrideSunbringerBodyTexcoord]
hash = 7392036e
vb1 = ResourceSunbringerBodyTexcoord

[TextureOverrideSunbringerBodyVertexLimitRaise]
hash = a2d98916
override_vertex_count = 27000
override_byte_stride = 40

[TextureOverrideSunbringerLegBlend]
hash = a696bc0d
handling = skip
vb2 = ResourceSunbringerLegBlend
if DRAW_TYPE == 1
	vb0 = ResourceSunbringerLegPosition
	draw = 30026, 0

	$active = 1
endif

[TextureOverrideSunbringerLegTexcoord]
hash = 77a65b18
vb1 = ResourceSunbringerLegTexcoord

[TextureOverrideSunbringerLegVertexLimitRaise]
hash = fc402eda
override_vertex_count = 30026
override_byte_stride = 40

[TextureOverrideSunbringerBodyIB]
hash = e26b9d8d
handling = skip

[TextureOverrideSunbringerBodyB]
hash = e26b9d8d
match_first_index = 30777
ib = ResourceSunbringerBodyBIB
Resource\ZZMI\Diffuse = ref ResourceSunbringerBodyBDiffuse
Resource\ZZMI\NormalMap = ref ResourceSunbringerBodyBNormalMap
Resource\ZZMI\LightMap = ref ResourceSunbringerBodyBLightMap
Resource\ZZMI\MaterialMap = ref ResourceSunbringerBodyBMaterialMap
run = CommandList\ZZMI\SetTextures
; body (27000)
drawindexed = 149349, 0, 0

[TextureOverrideSunbringerLegIB]
hash = b50c262f
handling = skip

[TextureOverrideSunbringerLegA]
hash = b50c262f
match_first_index = 0
ib = ResourceSunbringerLegAIB
Resource\ZZMI\Diffuse = ref ResourceSunbringerLegADiffuse
Resource\ZZMI\NormalMap = ref ResourceSunbringerLegANormalMap
Resource\ZZMI\LightMap = ref ResourceSunbringerLegALightMap
Resource\ZZMI\MaterialMap = ref ResourceSunbringerLegAMaterialMap
run = CommandList\ZZMI\SetTextures
; base (526)
drawindexed = 1500, 0, 0
; leg.001 (28470)
drawindexed = 155979, 1500, 0

[TextureOverrideSunbringerLegB]
hash = b50c262f
match_first_index = 16185
ib = ResourceSunbringerLegBIB
Resource\ZZMI\Diffuse = ref ResourceSunbringerLegBDiffuse
Resource\ZZMI\NormalMap = ref ResourceSunbringerLegBNormalMap
Resource\ZZMI\LightMap = ref ResourceSunbringerLegBLightMap
Resource\ZZMI\MaterialMap = ref ResourceSunbringerLegBMaterialMap
run = CommandList\ZZMI\SetTextures
; base  (1030)
drawindexed = 3528, 0, 0


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

[CommandListCreditInfo]
if $creditinfo == 0 && $active > 0
	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 -------------------------

[ResourceSunbringerBodyPosition]
type = Buffer
stride = 40
filename = SunbringerBodyPosition.buf

[ResourceSunbringerBodyBlend]
type = Buffer
stride = 32
filename = SunbringerBodyBlend.buf

[ResourceSunbringerBodyTexcoord]
type = Buffer
stride = 24
filename = SunbringerBodyTexcoord.buf

[ResourceSunbringerBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SunbringerBodyA.ib

[ResourceSunbringerBodyBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SunbringerBodyB.ib

[ResourceSunbringerLegPosition]
type = Buffer
stride = 40
filename = SunbringerLegPosition.buf

[ResourceSunbringerLegBlend]
type = Buffer
stride = 32
filename = SunbringerLegBlend.buf

[ResourceSunbringerLegTexcoord]
type = Buffer
stride = 24
filename = SunbringerLegTexcoord.buf

[ResourceSunbringerLegAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SunbringerLegA.ib

[ResourceSunbringerLegBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SunbringerLegB.ib

[ResourceSunbringerBodyADiffuse]
filename = SunbringerBodyADiffuse.dds

[ResourceSunbringerBodyANormalMap]
filename = SunbringerBodyANormalMap.jpg

[ResourceSunbringerBodyALightMap]
filename = SunbringerBodyALightMap.dds

[ResourceSunbringerBodyAMaterialMap]
filename = SunbringerBodyAMaterialMap.dds

[ResourceSunbringerBodyBDiffuse]
filename = SunbringerBodyBDiffuse.dds

[ResourceSunbringerBodyBNormalMap]
filename = SunbringerBodyBNormalMap.jpg

[ResourceSunbringerBodyBLightMap]
filename = SunbringerBodyBLightMap.dds

[ResourceSunbringerBodyBMaterialMap]
filename = SunbringerBodyBMaterialMap.dds

[ResourceSunbringerLegADiffuse]
filename = SunbringerLegADiffuse.dds

[ResourceSunbringerLegANormalMap]
filename = SunbringerLegANormalMap.jpg

[ResourceSunbringerLegALightMap]
filename = SunbringerLegALightMap.dds

[ResourceSunbringerLegAMaterialMap]
filename = SunbringerLegAMaterialMap.dds

[ResourceSunbringerLegBDiffuse]
filename = SunbringerLegBDiffuse.dds

[ResourceSunbringerLegBNormalMap]
filename = SunbringerLegBNormalMap.jpg

[ResourceSunbringerLegBLightMap]
filename = SunbringerLegBLightMap.dds

[ResourceSunbringerLegBMaterialMap]
filename = SunbringerLegBMaterialMap.dds

[ResourceCreditInfo]
type = Buffer
data = "Created by monsoon.fanbox.cc"

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