; Remielle

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

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

[Present]
post $active = 0
run = CommandListCreditInfo

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

[TextureOverrideRemielleBodyBlend]
hash = 18763b28
handling = skip
vb2 = ResourceRemielleBodyBlend
if DRAW_TYPE == 1
	vb0 = ResourceRemielleBodyPosition
	draw = 14107, 0

	$active = 1
endif

[TextureOverrideRemielleBodyTexcoord]
hash = 532c0264
vb1 = ResourceRemielleBodyTexcoord

[TextureOverrideRemielleBodyVertexLimitRaise]
hash = 2534c4d7
override_vertex_count = 14107
override_byte_stride = 40

[TextureOverrideRemielleLegBlend]
hash = 3d85b679
handling = skip
vb2 = ResourceRemielleLegBlend
if DRAW_TYPE == 1
	vb0 = ResourceRemielleLegPosition
	draw = 35855, 0

	$active = 1
endif

[TextureOverrideRemielleLegTexcoord]
hash = 3e8cd000
vb1 = ResourceRemielleLegTexcoord

[TextureOverrideRemielleLegVertexLimitRaise]
hash = 3bf3b3b0
override_vertex_count = 35855
override_byte_stride = 40

[TextureOverrideRemielleBodyIB]
hash = 47e276a9
handling = skip

[TextureOverrideRemielleBodyA]
hash = 47e276a9
match_first_index = 0
ib = ResourceRemielleBodyAIB
Resource\ZZMI\Diffuse = ref ResourceRemielleBodyADiffuse
Resource\ZZMI\NormalMap = ref ResourceRemielleBodyANormalMap
Resource\ZZMI\LightMap = ref ResourceRemielleBodyALightMap
Resource\ZZMI\MaterialMap = ref ResourceRemielleBodyAMaterialMap
run = CommandList\ZZMI\SetTextures
; base (11680)
drawindexed = 65298, 0, 0
; sleeve (2424)
drawindexed = 10500, 65298, 0

[TextureOverrideRemielleBodyB]
hash = 47e276a9
match_first_index = 57612
ib = ResourceRemielleBodyBIB
Resource\ZZMI\Diffuse = ref ResourceRemielleBodyBDiffuse
Resource\ZZMI\NormalMap = ref ResourceRemielleBodyBNormalMap
Resource\ZZMI\LightMap = ref ResourceRemielleBodyBLightMap
Resource\ZZMI\MaterialMap = ref ResourceRemielleBodyBMaterialMap
run = CommandList\ZZMI\SetTextures
; 1.001 (3)
drawindexed = 3, 0, 0

[TextureOverrideRemielleLegIB]
hash = 4f226937
handling = skip

[TextureOverrideRemielleLegA]
hash = 4f226937
match_first_index = 0
ib = ResourceRemielleLegAIB
Resource\ZZMI\Diffuse = ref ResourceRemielleLegADiffuse
Resource\ZZMI\NormalMap = ref ResourceRemielleLegANormalMap
Resource\ZZMI\LightMap = ref ResourceRemielleLegALightMap
Resource\ZZMI\MaterialMap = ref ResourceRemielleLegAMaterialMap
run = CommandList\ZZMI\SetTextures
; base  (3337)
drawindexed = 11610, 0, 0
; leg (26628)
drawindexed = 147996, 11610, 0
; sleeve  (5890)
drawindexed = 22446, 159606, 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 -------------------------

[ResourceRemielleBodyPosition]
type = Buffer
stride = 40
filename = RemielleBodyPosition.buf

[ResourceRemielleBodyBlend]
type = Buffer
stride = 32
filename = RemielleBodyBlend.buf

[ResourceRemielleBodyTexcoord]
type = Buffer
stride = 24
filename = RemielleBodyTexcoord.buf

[ResourceRemielleBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = RemielleBodyA.ib

[ResourceRemielleBodyBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = RemielleBodyB.ib

[ResourceRemielleLegPosition]
type = Buffer
stride = 40
filename = RemielleLegPosition.buf

[ResourceRemielleLegBlend]
type = Buffer
stride = 32
filename = RemielleLegBlend.buf

[ResourceRemielleLegTexcoord]
type = Buffer
stride = 24
filename = RemielleLegTexcoord.buf

[ResourceRemielleLegAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = RemielleLegA.ib

[ResourceRemielleBodyADiffuse]
filename = RemielleBodyADiffuse.dds

[ResourceRemielleBodyANormalMap]
filename = RemielleBodyANormalMap.jpg

[ResourceRemielleBodyALightMap]
filename = RemielleBodyALightMap.dds

[ResourceRemielleBodyAMaterialMap]
filename = RemielleBodyAMaterialMap.dds

[ResourceRemielleBodyBDiffuse]
filename = RemielleBodyBDiffuse.dds

[ResourceRemielleBodyBNormalMap]
filename = RemielleBodyBNormalMap.jpg

[ResourceRemielleBodyBLightMap]
filename = RemielleBodyBLightMap.dds

[ResourceRemielleBodyBMaterialMap]
filename = RemielleBodyBMaterialMap.dds

[ResourceRemielleLegADiffuse]
filename = RemielleLegADiffuse.dds

[ResourceRemielleLegANormalMap]
filename = RemielleLegANormalMap.jpg

[ResourceRemielleLegALightMap]
filename = RemielleLegALightMap.dds

[ResourceRemielleLegAMaterialMap]
filename = RemielleLegAMaterialMap.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
