; Merged Mod: .\DehyaMod_sling_open_larger_chest_ass_with_mole\Dehya.ini, .\DehyaMod_big_hip_ass\Dehya.ini, .\DehyaMod_bigger_chest_lowerbody\Dehya.ini

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

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

[KeySwap]
condition = $active == 1
key = vk_right
back = vk_left
type = cycle
$swapvar = 0,1,2
$creditinfo = 0

[Present]
post $active = 0

; Shader ------------------------------

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

[TextureOverrideDehyaPosition]
hash = 9aeecbcb
run = CommandListDehyaPosition
$active = 1

[TextureOverrideDehyaBlend]
hash = 31ea99dd
run = CommandListDehyaBlend

[TextureOverrideDehyaTexcoord]
hash = 3feafd9a
run = CommandListDehyaTexcoord

[TextureOverrideDehyaVertexLimitRaise]
hash = 1f2a9e86

[TextureOverrideDehyaIB]
hash = 63e3e58e
run = CommandListDehyaIB

[TextureOverrideDehyaHead]
hash = 63e3e58e
match_first_index = 0
run = CommandListDehyaHead
run = CommandList\global\ORFix\ORFix

[TextureOverrideDehyaBody]
hash = 63e3e58e
match_first_index = 25566
run = CommandListDehyaBody
run = CommandList\global\ORFix\ORFix

[TextureOverride41FixVertexLimitRaise0]
hash = 96cfb1a1

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

[CommandListDehyaPosition]
if $swapvar == 0
	vb0 = ResourceDehyaPosition.0
else if $swapvar == 1
	vb0 = ResourceDehyaPosition.1
else if $swapvar == 2
	vb0 = ResourceDehyaPosition.2
endif

[CommandListDehyaBlend]
if $swapvar == 0
	vb1 = ResourceDehyaBlend.0
	handling = skip
	draw = 48136,0
else if $swapvar == 1
	vb1 = ResourceDehyaBlend.1
	handling = skip
	draw = 48136,0
else if $swapvar == 2
	vb1 = ResourceDehyaBlend.2
	handling = skip
	draw = 48136,0
endif

[CommandListDehyaTexcoord]
if $swapvar == 0
	vb1 = ResourceDehyaTexcoord.0
else if $swapvar == 1
	vb1 = ResourceDehyaTexcoord.1
else if $swapvar == 2
	vb1 = ResourceDehyaTexcoord.2
endif

[CommandListDehyaIB]
if $swapvar == 0
	handling = skip
	drawindexed = auto
else if $swapvar == 1
	handling = skip
	drawindexed = auto
else if $swapvar == 2
	handling = skip
	drawindexed = auto
endif

[CommandListDehyaHead]
if $swapvar == 0
	ib = ResourceDehyaHeadIB.0
	ps-t0 = ResourceDehyaHeadDiffuse.0
	ps-t1 = ResourceDehyaHeadLightMap.0
	ps-t2 = ResourceDehyaHeadShadow.0
else if $swapvar == 1
	ib = ResourceDehyaHeadIB.1
	ps-t0 = ResourceDehyaHeadDiffuse.1
	ps-t1 = ResourceDehyaHeadLightMap.1
	ps-t2 = ResourceDehyaHeadShadow.1
else if $swapvar == 2
	ib = ResourceDehyaHeadIB.2
	ps-t0 = ResourceDehyaHeadDiffuse.2
	ps-t1 = ResourceDehyaHeadLightMap.2
	ps-t2 = ResourceDehyaHeadShadow.2
endif

[CommandListDehyaBody]
if $swapvar == 0
	ib = ResourceDehyaBodyIB.0
	ps-t0 = ResourceDehyaBodyDiffuse.0
	ps-t1 = ResourceDehyaBodyLightMap.0
	ps-t2 = ResourceDehyaBodyShadow.0
else if $swapvar == 1
	ib = ResourceDehyaBodyIB.1
	ps-t0 = ResourceDehyaBodyDiffuse.1
	ps-t1 = ResourceDehyaBodyLightMap.1
	ps-t2 = ResourceDehyaBodyShadow.1
else if $swapvar == 2
	ib = ResourceDehyaBodyIB.2
	ps-t0 = ResourceDehyaBodyDiffuse.2
	ps-t1 = ResourceDehyaBodyLightMap.2
	ps-t2 = ResourceDehyaBodyShadow.2
endif

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

[ResourceDehyaPosition.0]
type = Buffer
stride = 40
filename = .\DehyaMod_sling_open_larger_chest_ass_with_mole\DehyaPosition.buf

[ResourceDehyaBlend.0]
type = Buffer
stride = 32
filename = .\DehyaMod_sling_open_larger_chest_ass_with_mole\DehyaBlend.buf

[ResourceDehyaTexcoord.0]
type = Buffer
stride = 12
filename = .\DehyaMod_sling_open_larger_chest_ass_with_mole\DehyaTexcoord.buf

[ResourceDehyaHeadIB.0]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\DehyaMod_sling_open_larger_chest_ass_with_mole\DehyaHead.ib

[ResourceDehyaBodyIB.0]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\DehyaMod_sling_open_larger_chest_ass_with_mole\DehyaBody.ib

[ResourceDehyaHeadDiffuse.0]
filename = .\DehyaMod_sling_open_larger_chest_ass_with_mole\DehyaHeadDiffuse.dds

[ResourceDehyaHeadLightMap.0]
filename = .\DehyaMod_sling_open_larger_chest_ass_with_mole\DehyaHeadLightMap.dds

[ResourceDehyaHeadShadow.0]
filename = .\DehyaMod_sling_open_larger_chest_ass_with_mole\DehyaHeadShadow.dds

[ResourceDehyaBodyDiffuse.0]
filename = .\DehyaMod_sling_open_larger_chest_ass_with_mole\DehyaBodyDiffuse.dds

[ResourceDehyaBodyLightMap.0]
filename = .\DehyaMod_sling_open_larger_chest_ass_with_mole\DehyaBodyLightMap.dds

[ResourceDehyaBodyShadow.0]
filename = .\DehyaMod_sling_open_larger_chest_ass_with_mole\DehyaBodyShadow.dds

[ResourceDehyaPosition.1]
type = Buffer
stride = 40
filename = .\DehyaMod_big_hip_ass\DehyaPosition.buf

[ResourceDehyaBlend.1]
type = Buffer
stride = 32
filename = .\DehyaMod_big_hip_ass\DehyaBlend.buf

[ResourceDehyaTexcoord.1]
type = Buffer
stride = 12
filename = .\DehyaMod_big_hip_ass\DehyaTexcoord.buf

[ResourceDehyaHeadIB.1]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\DehyaMod_big_hip_ass\DehyaHead.ib

[ResourceDehyaBodyIB.1]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\DehyaMod_big_hip_ass\DehyaBody.ib

[ResourceDehyaHeadDiffuse.1]
filename = .\DehyaMod_big_hip_ass\DehyaHeadDiffuse.dds

[ResourceDehyaHeadLightMap.1]
filename = .\DehyaMod_big_hip_ass\DehyaHeadLightMap.dds

[ResourceDehyaHeadShadow.1]
filename = .\DehyaMod_big_hip_ass\DehyaHeadShadow.dds

[ResourceDehyaBodyDiffuse.1]
filename = .\DehyaMod_big_hip_ass\DehyaBodyDiffuse.dds

[ResourceDehyaBodyLightMap.1]
filename = .\DehyaMod_big_hip_ass\DehyaBodyLightMap.dds

[ResourceDehyaBodyShadow.1]
filename = .\DehyaMod_big_hip_ass\DehyaBodyShadow.dds

[ResourceDehyaPosition.2]
type = Buffer
stride = 40
filename = .\DehyaMod_bigger_chest_lowerbody\DehyaPosition.buf

[ResourceDehyaBlend.2]
type = Buffer
stride = 32
filename = .\DehyaMod_bigger_chest_lowerbody\DehyaBlend.buf

[ResourceDehyaTexcoord.2]
type = Buffer
stride = 12
filename = .\DehyaMod_bigger_chest_lowerbody\DehyaTexcoord.buf

[ResourceDehyaHeadIB.2]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\DehyaMod_bigger_chest_lowerbody\DehyaHead.ib

[ResourceDehyaBodyIB.2]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\DehyaMod_bigger_chest_lowerbody\DehyaBody.ib

[ResourceDehyaHeadDiffuse.2]
filename = .\DehyaMod_bigger_chest_lowerbody\DehyaHeadDiffuse.dds

[ResourceDehyaHeadLightMap.2]
filename = .\DehyaMod_bigger_chest_lowerbody\DehyaHeadLightMap.dds

[ResourceDehyaHeadShadow.2]
filename = .\DehyaMod_bigger_chest_lowerbody\DehyaHeadShadow.dds

[ResourceDehyaBodyDiffuse.2]
filename = .\DehyaMod_bigger_chest_lowerbody\DehyaBodyDiffuse.dds

[ResourceDehyaBodyLightMap.2]
filename = .\DehyaMod_bigger_chest_lowerbody\DehyaBodyLightMap.dds

[ResourceDehyaBodyShadow.2]
filename = .\DehyaMod_bigger_chest_lowerbody\DehyaBodyShadow.dds



; .ini generated by GIMI (Genshin-Impact-Model-Importer) mod merger script
; 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