; Merged Mod: .\1\Config.ini, .\2\Config.ini

; constants ---------------------------

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

[KeySwap]
condition = $active == 1
key = j
back = k
type = cycle
$swapvar = 0,1
$creditinfo = 0

[Present]
post $active = 0

; shader ------------------------------

; overrides ---------------------------

[TextureOverride981c1a1eIB]
hash = 981c1a1e
run = CommandList981c1a1eIB

[TextureOverrided8003df3IB]
hash = d8003df3
run = CommandListd8003df3IB

[TextureOverride981c1a1eHead]
hash = 981c1a1e
match_first_index = 0
run = CommandList981c1a1eHead

[TextureOverrided8003df3Head]
hash = d8003df3
match_first_index = 0
run = CommandListd8003df3Head

[TextureOverride981c1a1ePosition]
hash = 8ecb10b3
run = CommandList981c1a1ePosition
$active = 1

[TextureOverride981c1a1eTexcoord]
hash = 303fb1b6
run = CommandList981c1a1eTexcoord

[TextureOverride981c1a1eBlend]
hash = 9a4227c8
run = CommandList981c1a1eBlend

[TextureOverride981c1a1e_VertexLimitRaise]
hash = 6201dd9e

[TextureOverrided8003df3Position]
hash = e71bbd08
run = CommandListd8003df3Position
$active = 1

[TextureOverrided8003df3Texcoord]
hash = fb94d66c
run = CommandListd8003df3Texcoord

[TextureOverrided8003df3Blend]
hash = bc586fd9
run = CommandListd8003df3Blend

[TextureOverrided8003df3_VertexLimitRaise]
hash = 8336ded4

; commands -------------------------

[CommandList981c1a1eIB]
if $swapvar == 0
	handling = skip
else if $swapvar == 1
	handling = skip
endif

[CommandListd8003df3IB]
if $swapvar == 0
	handling = skip
else if $swapvar == 1
	handling = skip
endif

[CommandList981c1a1eHead]
if $swapvar == 0
	checktextureoverride = ps-t6
	ib = Resource981c1a1eIndex.0
	ps-t3 = Resource_981c1a1e-09a2bbd1-1-DiffuseMap.0
	ps-t4 = Resource_981c1a1e-ebac056e-1-NormalMap.0
	ps-t5 = Resource_981c1a1e-fd289380-1-LightMap.0
	ps-t6 = Resource_981c1a1e-450770fd-1-HighLightMap.0
	drawindexed = 11007,0,0
else if $swapvar == 1
	checktextureoverride = ps-t6
	ib = Resource981c1a1eIndex.1
	ps-t3 = Resource_981c1a1e-09a2bbd1-1-DiffuseMap.1
	ps-t4 = Resource_981c1a1e-ebac056e-1-NormalMap.1
	ps-t5 = Resource_981c1a1e-fd289380-1-LightMap.1
	ps-t6 = Resource_981c1a1e-450770fd-1-HighLightMap.1
	drawindexed = 11007,0,0
endif

[CommandListd8003df3Head]
if $swapvar == 0
	checktextureoverride = ps-t6
	ib = Resourced8003df3Index.0
	ps-t3 = Resource_d8003df3-012e84e9-1-DiffuseMap.0
	ps-t4 = Resource_d8003df3-ebac056e-1-NormalMap.0
	ps-t5 = Resource_d8003df3-a6ea6d83-1-LightMap.0
	ps-t6 = Resource_d8003df3-d5462e37-1-HighLightMap.0
	drawindexed = 19086,0,0
else if $swapvar == 1
	checktextureoverride = ps-t6
	ib = Resourced8003df3Index.1
	ps-t3 = Resource_d8003df3-012e84e9-1-DiffuseMap.1
	ps-t4 = Resource_d8003df3-ebac056e-1-NormalMap.1
	ps-t5 = Resource_d8003df3-a6ea6d83-1-LightMap.1
	ps-t6 = Resource_d8003df3-d5462e37-1-HighLightMap.1
	drawindexed = 13542,0,0
endif

[CommandList981c1a1ePosition]
if $swapvar == 0
	vb2 = Resource981c1a1eBlend.0
	vb0 = Resource981c1a1ePosition.0
	handling = skip
	draw = 2800, 0
else if $swapvar == 1
	vb2 = Resource981c1a1eBlend.1
	vb0 = Resource981c1a1ePosition.1
	handling = skip
	draw = 2800, 0
endif

[CommandList981c1a1eTexcoord]
if $swapvar == 0
	vb1 = Resource981c1a1eTexcoord.0
else if $swapvar == 1
	vb1 = Resource981c1a1eTexcoord.1
endif

[CommandList981c1a1eBlend]
if $swapvar == 0
else if $swapvar == 1
endif

[CommandListd8003df3Position]
if $swapvar == 0
	vb2 = Resourced8003df3Blend.0
	vb0 = Resourced8003df3Position.0
	handling = skip
	draw = 4762, 0
else if $swapvar == 1
	vb2 = Resourced8003df3Blend.1
	vb0 = Resourced8003df3Position.1
	handling = skip
	draw = 3013, 0
endif

[CommandListd8003df3Texcoord]
if $swapvar == 0
	vb1 = Resourced8003df3Texcoord.0
else if $swapvar == 1
	vb1 = Resourced8003df3Texcoord.1
endif

[CommandListd8003df3Blend]
if $swapvar == 0
else if $swapvar == 1
endif

; resources ---------------------------

[Resource981c1a1eIndex.0]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\1\Buffer/981c1a1eIndex.buf

[Resourced8003df3Index.0]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\1\Buffer/d8003df3Index.buf

[Resource981c1a1ePosition.0]
type = Buffer
stride = 40
filename = .\1\Buffer/981c1a1ePosition.buf

[Resource981c1a1eTexcoord.0]
type = Buffer
stride = 24
filename = .\1\Buffer/981c1a1eTexcoord.buf

[Resource981c1a1eBlend.0]
type = Buffer
stride = 32
filename = .\1\Buffer/981c1a1eBlend.buf

[Resourced8003df3Position.0]
type = Buffer
stride = 40
filename = .\1\Buffer/d8003df3Position.buf

[Resourced8003df3Texcoord.0]
type = Buffer
stride = 20
filename = .\1\Buffer/d8003df3Texcoord.buf

[Resourced8003df3Blend.0]
type = Buffer
stride = 32
filename = .\1\Buffer/d8003df3Blend.buf

[Resource_981c1a1e-09a2bbd1-1-DiffuseMap.0]
filename = .\1\Texture/981c1a1e-09a2bbd1-1-DiffuseMap.dds

[Resource_981c1a1e-ebac056e-1-NormalMap.0]
filename = .\1\Texture/981c1a1e-ebac056e-1-NormalMap.dds

[Resource_981c1a1e-fd289380-1-LightMap.0]
filename = .\1\Texture/981c1a1e-fd289380-1-LightMap.dds

[Resource_981c1a1e-450770fd-1-HighLightMap.0]
filename = .\1\Texture/981c1a1e-450770fd-1-HighLightMap.dds

[Resource_d8003df3-012e84e9-1-DiffuseMap.0]
filename = .\1\Texture/d8003df3-012e84e9-1-DiffuseMap.dds

[Resource_d8003df3-ebac056e-1-NormalMap.0]
filename = .\1\Texture/d8003df3-ebac056e-1-NormalMap.dds

[Resource_d8003df3-d5462e37-1-HighLightMap.0]
filename = .\1\Texture/d8003df3-d5462e37-1-HighLightMap.dds

[Resource_d8003df3-a6ea6d83-1-LightMap.0]
filename = .\1\Texture/d8003df3-a6ea6d83-1-LightMap.dds

[Resource981c1a1eIndex.1]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\1\Buffer/981c1a1eIndex.buf

[Resourced8003df3Index.1]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\2\Buffer/d8003df3Index.buf

[Resource981c1a1ePosition.1]
type = Buffer
stride = 40
filename = .\1\Buffer/981c1a1ePosition.buf

[Resource981c1a1eTexcoord.1]
type = Buffer
stride = 24
filename = .\1\Buffer/981c1a1eTexcoord.buf

[Resource981c1a1eBlend.1]
type = Buffer
stride = 32
filename = .\1\Buffer/981c1a1eBlend.buf

[Resourced8003df3Position.1]
type = Buffer
stride = 40
filename = .\2\Buffer/d8003df3Position.buf

[Resourced8003df3Texcoord.1]
type = Buffer
stride = 20
filename = .\2\Buffer/d8003df3Texcoord.buf

[Resourced8003df3Blend.1]
type = Buffer
stride = 32
filename = .\2\Buffer/d8003df3Blend.buf

[Resource_981c1a1e-09a2bbd1-1-DiffuseMap.1]
filename = .\1\Texture/981c1a1e-09a2bbd1-1-DiffuseMap.dds

[Resource_981c1a1e-ebac056e-1-NormalMap.1]
filename = .\1\Texture/981c1a1e-ebac056e-1-NormalMap.dds

[Resource_981c1a1e-fd289380-1-LightMap.1]
filename = .\1\Texture/981c1a1e-fd289380-1-LightMap.dds

[Resource_981c1a1e-450770fd-1-HighLightMap.1]
filename = .\1\Texture/981c1a1e-450770fd-1-HighLightMap.dds

[Resource_d8003df3-012e84e9-1-DiffuseMap.1]
filename = .\2\Texture/d8003df3-012e84e9-1-DiffuseMap.dds

[Resource_d8003df3-ebac056e-1-NormalMap.1]
filename = .\2\Texture/d8003df3-ebac056e-1-NormalMap.dds

[Resource_d8003df3-d5462e37-1-HighLightMap.1]
filename = .\2\Texture/d8003df3-d5462e37-1-HighLightMap.dds

[Resource_d8003df3-a6ea6d83-1-LightMap.1]
filename = .\2\Texture/d8003df3-a6ea6d83-1-LightMap.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