; Merged Mod: .\NicoleMod.00\Nicole.ini, .\NicoleMod.01\Nicole.ini, .\NicoleMod.02\Nicole.ini

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

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

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

[Present]
post $active = 0

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

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

[TextureOverrideNicoleHairPosition]
hash = 199853eb
run = CommandListNicoleHairPosition
$active = 1

[TextureOverrideNicoleHairTexcoord]
hash = 06e4fd79
run = CommandListNicoleHairTexcoord

[TextureOverrideNicoleHairVertexLimitRaise]
hash = f6344432

[TextureOverrideNicoleBodyPosition]
hash = 89df5a07
run = CommandListNicoleBodyPosition
$active = 1

[TextureOverrideNicoleBodyTexcoord]
hash = 91c1b779
run = CommandListNicoleBodyTexcoord

[TextureOverrideNicoleBodyVertexLimitRaise]
hash = 8cc1262b

[TextureOverrideNicoleBangbooPosition]
hash = 176bf3d7
run = CommandListNicoleBangbooPosition
$active = 1

[TextureOverrideNicoleBangbooTexcoord]
hash = 077c3500
run = CommandListNicoleBangbooTexcoord

[TextureOverrideNicoleBangbooVertexLimitRaise]
hash = bb7fffe9

[TextureOverrideNicoleHairIB]
hash = 6847bbbd
run = CommandListNicoleHairIB

[TextureOverrideNicoleHairA]
hash = 6847bbbd
match_first_index = 0
run = CommandListSkinTexture
run = CommandListNicoleHairA

[TextureOverrideNicoleHairADiffuse]
hash = 6d3868f9
run = CommandListNicoleHairADiffuse

[TextureOverrideNicole.HairA.Diffuse.1024]
hash = 7a45adcd
run = CommandListNicoleHairADiffuse

[TextureOverrideNicoleHairANormalMap]
hash = bffb4a66
run = CommandListNicoleHairANormalMap

[TextureOverrideNicole.HairA.NormalMap.1024]
hash = b8db0209
run = CommandListNicoleHairANormalMap

[TextureOverrideNicoleHairALightMap]
hash = 1dfd9e16
run = CommandListNicoleHairALightMap

[TextureOverrideNicole.HairA.LightMap.1024]
hash = 9adc04ed
run = CommandListNicoleHairALightMap

[TextureOverrideNicoleHairAMaterialMap]
hash = 239d5744
run = CommandListNicoleHairAMaterialMap

[TextureOverrideNicoleBodyIB]
hash = 5a4c1ef3
run = CommandListNicoleBodyIB

[TextureOverrideNicoleBodyA]
hash = 5a4c1ef3
match_first_index = 0
run = CommandListSkinTexture
run = CommandListNicoleBodyA

[TextureOverrideNicoleBodyB]
hash = 5a4c1ef3
match_first_index = 46683
run = CommandListSkinTexture
run = CommandListNicoleBodyB

[TextureOverrideNicoleBodyADiffuse]
hash = f86ffe2c
run = CommandListNicoleBodyADiffuse

[TextureOverrideNicole.BodyA.Diffuse.1024]
hash = 9ee9b402
run = CommandListNicoleBodyADiffuse

[TextureOverrideNicoleBodyALightMap]
hash = 80855e0f
run = CommandListNicoleBodyALightMap

[TextureOverrideNicole.BodyA.LightMap.1024]
hash = 2b5aa784
run = CommandListNicoleBodyALightMap

[TextureOverrideNicoleBodyAMaterialMap]
hash = 95cabef3
run = CommandListNicoleBodyAMaterialMap

[TextureOverrideNicole.BodyA.MaterialMap.1024]
hash = bb33129d
run = CommandListNicoleBodyAMaterialMap

[TextureOverrideNicoleBodyANormalMap]
hash = 8cf23419
run = CommandListNicoleBodyANormalMap

[TextureOverrideNicole.BodyA.NormalMap.1024]
hash = 580df52d
run = CommandListNicoleBodyANormalMap

[TextureOverrideNicoleBangbooIB]
hash = 40e64ae2
run = CommandListNicoleBangbooIB

[TextureOverrideNicoleBangbooA]
hash = 40e64ae2
match_first_index = 0
run = CommandListSkinTexture
run = CommandListNicoleBangbooA

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

[CommandListNicoleHairPosition]
if $swapvar == 0
	handling = skip
	vb0 = ResourceNicoleHairPosition.0
	vb2 = ResourceNicoleHairBlend.0
	draw = 4658,0
else if $swapvar == 1
	handling = skip
	vb0 = ResourceNicoleHairPosition.1
	vb2 = ResourceNicoleHairBlend.1
	draw = 4658,0
else if $swapvar == 2
	handling = skip
	vb0 = ResourceNicoleHairPosition.2
	vb2 = ResourceNicoleHairBlend.2
	draw = 4658,0
endif

[CommandListNicoleHairTexcoord]
if $swapvar == 0
	vb1 = ResourceNicoleHairTexcoord.0
else if $swapvar == 1
	vb1 = ResourceNicoleHairTexcoord.1
else if $swapvar == 2
	vb1 = ResourceNicoleHairTexcoord.2
endif

[CommandListNicoleBodyPosition]
if $swapvar == 0
	handling = skip
	vb0 = ResourceNicoleBodyPosition.0
	vb2 = ResourceNicoleBodyBlend.0
	draw = 16220,0
else if $swapvar == 1
	handling = skip
	vb0 = ResourceNicoleBodyPosition.1
	vb2 = ResourceNicoleBodyBlend.1
	draw = 15677,0
else if $swapvar == 2
	handling = skip
	vb0 = ResourceNicoleBodyPosition.2
	vb2 = ResourceNicoleBodyBlend.2
	draw = 12180,0
endif

[CommandListNicoleBodyTexcoord]
if $swapvar == 0
	vb1 = ResourceNicoleBodyTexcoord.0
else if $swapvar == 1
	vb1 = ResourceNicoleBodyTexcoord.1
else if $swapvar == 2
	vb1 = ResourceNicoleBodyTexcoord.2
endif

[CommandListNicoleBangbooPosition]
if $swapvar == 0
	handling = skip
	vb0 = ResourceNicoleBangbooPosition.0
	vb2 = ResourceNicoleBangbooBlend.0
	draw = 632,0
else if $swapvar == 1
	handling = skip
	vb0 = ResourceNicoleBangbooPosition.1
	vb2 = ResourceNicoleBangbooBlend.1
	draw = 632,0
else if $swapvar == 2
	handling = skip
	vb0 = ResourceNicoleBangbooPosition.2
	vb2 = ResourceNicoleBangbooBlend.2
	draw = 632,0
endif

[CommandListNicoleBangbooTexcoord]
if $swapvar == 0
	vb1 = ResourceNicoleBangbooTexcoord.0
else if $swapvar == 1
	vb1 = ResourceNicoleBangbooTexcoord.1
else if $swapvar == 2
	vb1 = ResourceNicoleBangbooTexcoord.2
endif

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

[CommandListNicoleHairA]
if $swapvar == 0
	run = CommandListSkinTexture
	ib = ResourceNicoleHairAIB.0
else if $swapvar == 1
	run = CommandListSkinTexture
	ib = ResourceNicoleHairAIB.1
else if $swapvar == 2
	run = CommandListSkinTexture
	ib = ResourceNicoleHairAIB.2
endif

[CommandListNicoleHairADiffuse]
if $swapvar == 0
	this = ResourceNicoleHairADiffuse.0
else if $swapvar == 1
	this = ResourceNicoleHairADiffuse.0
else if $swapvar == 2
	this = ResourceNicoleHairADiffuse.0
endif

[CommandListNicoleHairANormalMap]
if $swapvar == 0
	this = ResourceNicoleHairANormalMap.0
else if $swapvar == 1
	this = ResourceNicoleHairANormalMap.0
else if $swapvar == 2
	this = ResourceNicoleHairANormalMap.0
endif

[CommandListNicoleHairALightMap]
if $swapvar == 0
	this = ResourceNicoleHairALightMap.0
else if $swapvar == 1
	this = ResourceNicoleHairALightMap.0
else if $swapvar == 2
	this = ResourceNicoleHairALightMap.0
endif

[CommandListNicoleHairAMaterialMap]
if $swapvar == 0
	this = ResourceNicoleHairAMaterialMap.0
else if $swapvar == 1
	this = ResourceNicoleHairAMaterialMap.0
else if $swapvar == 2
	this = ResourceNicoleHairAMaterialMap.0
endif

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

[CommandListNicoleBodyA]
if $swapvar == 0
	run = CommandListSkinTexture
	ib = ResourceNicoleBodyAIB.0
else if $swapvar == 1
	run = CommandListSkinTexture
	ib = ResourceNicoleBodyAIB.1
else if $swapvar == 2
	run = CommandListSkinTexture
	ib = ResourceNicoleBodyAIB.2
endif

[CommandListNicoleBodyADiffuse]
if $swapvar == 0
	this = ResourceNicoleBodyADiffuse.0
else if $swapvar == 1
	this = ResourceNicoleBodyADiffuse.0
else if $swapvar == 2
	this = ResourceNicoleBodyADiffuse.0
endif

[CommandListNicoleBodyALightMap]
if $swapvar == 0
	this = ResourceNicoleBodyALightMap.0
else if $swapvar == 1
	this = ResourceNicoleBodyALightMap.0
else if $swapvar == 2
	this = ResourceNicoleBodyALightMap.0
endif

[CommandListNicoleBodyAMaterialMap]
if $swapvar == 0
	this = ResourceNicoleBodyAMaterialMap.0
else if $swapvar == 1
	this = ResourceNicoleBodyAMaterialMap.0
else if $swapvar == 2
	this = ResourceNicoleBodyAMaterialMap.0
endif

[CommandListNicoleBodyANormalMap]
if $swapvar == 0
	this = ResourceNicoleBodyANormalMap.0
else if $swapvar == 1
	this = ResourceNicoleBodyANormalMap.0
else if $swapvar == 2
	this = ResourceNicoleBodyANormalMap.0
endif

[CommandListNicoleBodyB]
if $swapvar == 0
	run = CommandListSkinTexture
	ib = ResourceNicoleBodyBIB.0
else if $swapvar == 1
	run = CommandListSkinTexture
	ib = ResourceNicoleBodyBIB.1
else if $swapvar == 2
	run = CommandListSkinTexture
	ib = ResourceNicoleBodyBIB.2
endif

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

[CommandListNicoleBangbooA]
if $swapvar == 0
	run = CommandListSkinTexture
	ib = ResourceNicoleBangbooAIB.0
else if $swapvar == 1
	run = CommandListSkinTexture
	ib = ResourceNicoleBangbooAIB.1
else if $swapvar == 2
	run = CommandListSkinTexture
	ib = ResourceNicoleBangbooAIB.2
endif

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

[ResourceNicoleHairPosition.0]
type = Buffer
stride = 40
filename = .\NicoleMod.00\NicoleHairPosition.buf

[ResourceNicoleHairBlend.0]
type = Buffer
stride = 32
filename = .\NicoleMod.00\NicoleHairBlend.buf

[ResourceNicoleHairTexcoord.0]
type = Buffer
stride = 20
filename = .\NicoleMod.00\NicoleHairTexcoord.buf

[ResourceNicoleBodyPosition.0]
type = Buffer
stride = 40
filename = .\NicoleMod.00\NicoleBodyPosition.buf

[ResourceNicoleBodyBlend.0]
type = Buffer
stride = 32
filename = .\NicoleMod.00\NicoleBodyBlend.buf

[ResourceNicoleBodyTexcoord.0]
type = Buffer
stride = 20
filename = .\NicoleMod.00\NicoleBodyTexcoord.buf

[ResourceNicoleBangbooPosition.0]
type = Buffer
stride = 40
filename = .\NicoleMod.00\NicoleBangbooPosition.buf

[ResourceNicoleBangbooBlend.0]
type = Buffer
stride = 32
filename = .\NicoleMod.00\NicoleBangbooBlend.buf

[ResourceNicoleBangbooTexcoord.0]
type = Buffer
stride = 20
filename = .\NicoleMod.00\NicoleBangbooTexcoord.buf

[ResourceNicoleHairAIB.0]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\NicoleMod.00\NicoleHairA.ib

[ResourceNicoleBodyAIB.0]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\NicoleMod.00\NicoleBodyA.ib

[ResourceNicoleBodyBIB.0]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\NicoleMod.00\NicoleBodyB.ib

[ResourceNicoleBangbooAIB.0]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\NicoleMod.00\NicoleBangbooA.ib

[ResourceNicoleHairADiffuse.0]
filename = .\NicoleMod.00\NicoleHairADiffuse.dds

[ResourceNicoleHairANormalMap.0]
filename = .\NicoleMod.00\NicoleHairANormalMap.dds

[ResourceNicoleHairALightMap.0]
filename = .\NicoleMod.00\NicoleHairALightMap.dds

[ResourceNicoleHairAMaterialMap.0]
filename = .\NicoleMod.00\NicoleHairAMaterialMap.dds

[ResourceNicoleBodyADiffuse.0]
filename = .\NicoleMod.00\NicoleBodyADiffuse.dds

[ResourceNicoleBodyALightMap.0]
filename = .\NicoleMod.00\NicoleBodyALightMap.dds

[ResourceNicoleBodyAMaterialMap.0]
filename = .\NicoleMod.00\NicoleBodyAMaterialMap.dds

[ResourceNicoleBodyANormalMap.0]
filename = .\NicoleMod.00\NicoleBodyANormalMap.dds

[ResourceNicoleHairPosition.1]
type = Buffer
stride = 40
filename = .\NicoleMod.01\NicoleHairPosition.buf

[ResourceNicoleHairBlend.1]
type = Buffer
stride = 32
filename = .\NicoleMod.01\NicoleHairBlend.buf

[ResourceNicoleHairTexcoord.1]
type = Buffer
stride = 20
filename = .\NicoleMod.01\NicoleHairTexcoord.buf

[ResourceNicoleBodyPosition.1]
type = Buffer
stride = 40
filename = .\NicoleMod.01\NicoleBodyPosition.buf

[ResourceNicoleBodyBlend.1]
type = Buffer
stride = 32
filename = .\NicoleMod.01\NicoleBodyBlend.buf

[ResourceNicoleBodyTexcoord.1]
type = Buffer
stride = 20
filename = .\NicoleMod.01\NicoleBodyTexcoord.buf

[ResourceNicoleBangbooPosition.1]
type = Buffer
stride = 40
filename = .\NicoleMod.01\NicoleBangbooPosition.buf

[ResourceNicoleBangbooBlend.1]
type = Buffer
stride = 32
filename = .\NicoleMod.01\NicoleBangbooBlend.buf

[ResourceNicoleBangbooTexcoord.1]
type = Buffer
stride = 20
filename = .\NicoleMod.01\NicoleBangbooTexcoord.buf

[ResourceNicoleHairAIB.1]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\NicoleMod.01\NicoleHairA.ib

[ResourceNicoleBodyAIB.1]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\NicoleMod.01\NicoleBodyA.ib

[ResourceNicoleBodyBIB.1]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\NicoleMod.01\NicoleBodyB.ib

[ResourceNicoleBangbooAIB.1]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\NicoleMod.01\NicoleBangbooA.ib

[ResourceNicoleHairADiffuse.1]
filename = .\NicoleMod.01\NicoleHairADiffuse.dds

[ResourceNicoleHairANormalMap.1]
filename = .\NicoleMod.01\NicoleHairANormalMap.dds

[ResourceNicoleHairALightMap.1]
filename = .\NicoleMod.01\NicoleHairALightMap.dds

[ResourceNicoleHairAMaterialMap.1]
filename = .\NicoleMod.01\NicoleHairAMaterialMap.dds

[ResourceNicoleBodyADiffuse.1]
filename = .\NicoleMod.01\NicoleBodyADiffuse.dds

[ResourceNicoleBodyALightMap.1]
filename = .\NicoleMod.01\NicoleBodyALightMap.dds

[ResourceNicoleBodyAMaterialMap.1]
filename = .\NicoleMod.01\NicoleBodyAMaterialMap.dds

[ResourceNicoleBodyANormalMap.1]
filename = .\NicoleMod.01\NicoleBodyANormalMap.dds

[ResourceNicoleHairPosition.2]
type = Buffer
stride = 40
filename = .\NicoleMod.02\NicoleHairPosition.buf

[ResourceNicoleHairBlend.2]
type = Buffer
stride = 32
filename = .\NicoleMod.02\NicoleHairBlend.buf

[ResourceNicoleHairTexcoord.2]
type = Buffer
stride = 20
filename = .\NicoleMod.02\NicoleHairTexcoord.buf

[ResourceNicoleBodyPosition.2]
type = Buffer
stride = 40
filename = .\NicoleMod.02\NicoleBodyPosition.buf

[ResourceNicoleBodyBlend.2]
type = Buffer
stride = 32
filename = .\NicoleMod.02\NicoleBodyBlend.buf

[ResourceNicoleBodyTexcoord.2]
type = Buffer
stride = 20
filename = .\NicoleMod.02\NicoleBodyTexcoord.buf

[ResourceNicoleBangbooPosition.2]
type = Buffer
stride = 40
filename = .\NicoleMod.02\NicoleBangbooPosition.buf

[ResourceNicoleBangbooBlend.2]
type = Buffer
stride = 32
filename = .\NicoleMod.02\NicoleBangbooBlend.buf

[ResourceNicoleBangbooTexcoord.2]
type = Buffer
stride = 20
filename = .\NicoleMod.02\NicoleBangbooTexcoord.buf

[ResourceNicoleHairAIB.2]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\NicoleMod.02\NicoleHairA.ib

[ResourceNicoleBodyAIB.2]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\NicoleMod.02\NicoleBodyA.ib

[ResourceNicoleBodyBIB.2]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\NicoleMod.02\NicoleBodyB.ib

[ResourceNicoleBangbooAIB.2]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\NicoleMod.02\NicoleBangbooA.ib

[ResourceNicoleHairADiffuse.2]
filename = .\NicoleMod.02\NicoleHairADiffuse.dds

[ResourceNicoleHairANormalMap.2]
filename = .\NicoleMod.02\NicoleHairANormalMap.dds

[ResourceNicoleHairALightMap.2]
filename = .\NicoleMod.02\NicoleHairALightMap.dds

[ResourceNicoleHairAMaterialMap.2]
filename = .\NicoleMod.02\NicoleHairAMaterialMap.dds

[ResourceNicoleBodyADiffuse.2]
filename = .\NicoleMod.02\NicoleBodyADiffuse.dds

[ResourceNicoleBodyALightMap.2]
filename = .\NicoleMod.02\NicoleBodyALightMap.dds

[ResourceNicoleBodyAMaterialMap.2]
filename = .\NicoleMod.02\NicoleBodyAMaterialMap.dds

[ResourceNicoleBodyANormalMap.2]
filename = .\NicoleMod.02\NicoleBodyANormalMap.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