; Merged Mod: .\qbf0111Mod\qb.ini, .\qbf0112Mod\qb.ini, .\qbf0113Mod\qb.ini, .\qbf0114Mod\qb.ini, .\qbf0115Mod\qb.ini, .\qbf0116Mod\qb.ini, .\qbf0117Mod\qb.ini, .\qbf0118Mod\qb.ini, .\qbf0119Mod\qb.ini, .\qbf0120Mod\qb.ini, .\qbf0121Mod\qb.ini, .\qbf0122Mod\qb.ini, .\qbf0123Mod\qb.ini, .\qbf0124Mod\qb.ini, .\qbf0125Mod\qb.ini, .\qbf0126Mod\qb.ini, .\qbf0127Mod\qb.ini, .\qbf0128Mod\qb.ini, .\qbf0129Mod\qb.ini, .\qbf0130Mod\qb.ini

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

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

[KeySwap]
condition = $active == 1
key =  
type = cycle
$swapvar = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19
$creditinfo = 0

[Present]
post $active = 0

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

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

[TextureOverrideqbHead]
hash = 9da727de
run = CommandListqbHead

[TextureOverrideqbHeadIB]
hash = 79f4f059
run = CommandListqbHeadIB

[TextureOverrideqbHeadA]
hash = 79f4f059
match_first_index = 0
run = CommandListqbHeadA

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

[CommandListqbHead]
if $swapvar == 0
	vb0 = ResourceqbHead.0
else if $swapvar == 1
	vb0 = ResourceqbHead.1
else if $swapvar == 2
	vb0 = ResourceqbHead.2
else if $swapvar == 3
	vb0 = ResourceqbHead.3
else if $swapvar == 4
	vb0 = ResourceqbHead.4
else if $swapvar == 5
	vb0 = ResourceqbHead.5
else if $swapvar == 6
	vb0 = ResourceqbHead.6
else if $swapvar == 7
	vb0 = ResourceqbHead.7
else if $swapvar == 8
	vb0 = ResourceqbHead.8
else if $swapvar == 9
	vb0 = ResourceqbHead.9
else if $swapvar == 10
	vb0 = ResourceqbHead.10
else if $swapvar == 11
	vb0 = ResourceqbHead.11
else if $swapvar == 12
	vb0 = ResourceqbHead.12
else if $swapvar == 13
	vb0 = ResourceqbHead.13
else if $swapvar == 14
	vb0 = ResourceqbHead.14
else if $swapvar == 15
	vb0 = ResourceqbHead.15
else if $swapvar == 16
	vb0 = ResourceqbHead.16
else if $swapvar == 17
	vb0 = ResourceqbHead.17
else if $swapvar == 18
	vb0 = ResourceqbHead.18
else if $swapvar == 19
	vb0 = ResourceqbHead.19
endif

[CommandListqbHeadIB]
if $swapvar == 0
	handling = skip
	drawindexed = auto
else if $swapvar == 1
	handling = skip
	drawindexed = auto
else if $swapvar == 2
	handling = skip
	drawindexed = auto
else if $swapvar == 3
	handling = skip
	drawindexed = auto
else if $swapvar == 4
	handling = skip
	drawindexed = auto
else if $swapvar == 5
	handling = skip
	drawindexed = auto
else if $swapvar == 6
	handling = skip
	drawindexed = auto
else if $swapvar == 7
	handling = skip
	drawindexed = auto
else if $swapvar == 8
	handling = skip
	drawindexed = auto
else if $swapvar == 9
	handling = skip
	drawindexed = auto
else if $swapvar == 10
	handling = skip
	drawindexed = auto
else if $swapvar == 11
	handling = skip
	drawindexed = auto
else if $swapvar == 12
	handling = skip
	drawindexed = auto
else if $swapvar == 13
	handling = skip
	drawindexed = auto
else if $swapvar == 14
	handling = skip
	drawindexed = auto
else if $swapvar == 15
	handling = skip
	drawindexed = auto
else if $swapvar == 16
	handling = skip
	drawindexed = auto
else if $swapvar == 17
	handling = skip
	drawindexed = auto
else if $swapvar == 18
	handling = skip
	drawindexed = auto
else if $swapvar == 19
	handling = skip
	drawindexed = auto
endif

[CommandListqbHeadA]
if $swapvar == 0
	ib = ResourceqbHeadAIB.0
	ps-t0 = ResourceqbHeadADiffuse.0
	ps-t1 = ResourceqbHeadAShadow.0
	ps-t2 = ResourceqbHeadALightMap.0
else if $swapvar == 1
	ib = ResourceqbHeadAIB.1
	ps-t0 = ResourceqbHeadADiffuse.1
	ps-t1 = ResourceqbHeadAShadow.1
	ps-t2 = ResourceqbHeadALightMap.1
else if $swapvar == 2
	ib = ResourceqbHeadAIB.2
	ps-t0 = ResourceqbHeadADiffuse.2
	ps-t1 = ResourceqbHeadAShadow.2
	ps-t2 = ResourceqbHeadALightMap.2
else if $swapvar == 3
	ib = ResourceqbHeadAIB.3
	ps-t0 = ResourceqbHeadADiffuse.3
	ps-t1 = ResourceqbHeadAShadow.3
	ps-t2 = ResourceqbHeadALightMap.3
else if $swapvar == 4
	ib = ResourceqbHeadAIB.4
	ps-t0 = ResourceqbHeadADiffuse.4
	ps-t1 = ResourceqbHeadAShadow.4
	ps-t2 = ResourceqbHeadALightMap.4
else if $swapvar == 5
	ib = ResourceqbHeadAIB.5
	ps-t0 = ResourceqbHeadADiffuse.5
	ps-t1 = ResourceqbHeadAShadow.5
	ps-t2 = ResourceqbHeadALightMap.5
else if $swapvar == 6
	ib = ResourceqbHeadAIB.6
	ps-t0 = ResourceqbHeadADiffuse.6
	ps-t1 = ResourceqbHeadAShadow.6
	ps-t2 = ResourceqbHeadALightMap.6
else if $swapvar == 7
	ib = ResourceqbHeadAIB.7
	ps-t0 = ResourceqbHeadADiffuse.7
	ps-t1 = ResourceqbHeadAShadow.7
	ps-t2 = ResourceqbHeadALightMap.7
else if $swapvar == 8
	ib = ResourceqbHeadAIB.8
	ps-t0 = ResourceqbHeadADiffuse.8
	ps-t1 = ResourceqbHeadAShadow.8
	ps-t2 = ResourceqbHeadALightMap.8
else if $swapvar == 9
	ib = ResourceqbHeadAIB.9
	ps-t0 = ResourceqbHeadADiffuse.9
	ps-t1 = ResourceqbHeadAShadow.9
	ps-t2 = ResourceqbHeadALightMap.9
else if $swapvar == 10
	ib = ResourceqbHeadAIB.10
	ps-t0 = ResourceqbHeadADiffuse.10
	ps-t1 = ResourceqbHeadAShadow.10
	ps-t2 = ResourceqbHeadALightMap.10
else if $swapvar == 11
	ib = ResourceqbHeadAIB.11
	ps-t0 = ResourceqbHeadADiffuse.11
	ps-t1 = ResourceqbHeadAShadow.11
	ps-t2 = ResourceqbHeadALightMap.11
else if $swapvar == 12
	ib = ResourceqbHeadAIB.12
	ps-t0 = ResourceqbHeadADiffuse.12
	ps-t1 = ResourceqbHeadAShadow.12
	ps-t2 = ResourceqbHeadALightMap.12
else if $swapvar == 13
	ib = ResourceqbHeadAIB.13
	ps-t0 = ResourceqbHeadADiffuse.13
	ps-t1 = ResourceqbHeadAShadow.13
	ps-t2 = ResourceqbHeadALightMap.13
else if $swapvar == 14
	ib = ResourceqbHeadAIB.14
	ps-t0 = ResourceqbHeadADiffuse.14
	ps-t1 = ResourceqbHeadAShadow.14
	ps-t2 = ResourceqbHeadALightMap.14
else if $swapvar == 15
	ib = ResourceqbHeadAIB.15
	ps-t0 = ResourceqbHeadADiffuse.15
	ps-t1 = ResourceqbHeadAShadow.15
	ps-t2 = ResourceqbHeadALightMap.15
else if $swapvar == 16
	ib = ResourceqbHeadAIB.16
	ps-t0 = ResourceqbHeadADiffuse.16
	ps-t1 = ResourceqbHeadAShadow.16
	ps-t2 = ResourceqbHeadALightMap.16
else if $swapvar == 17
	ib = ResourceqbHeadAIB.17
	ps-t0 = ResourceqbHeadADiffuse.17
	ps-t1 = ResourceqbHeadAShadow.17
	ps-t2 = ResourceqbHeadALightMap.17
else if $swapvar == 18
	ib = ResourceqbHeadAIB.18
	ps-t0 = ResourceqbHeadADiffuse.18
	ps-t1 = ResourceqbHeadAShadow.18
	ps-t2 = ResourceqbHeadALightMap.18
else if $swapvar == 19
	ib = ResourceqbHeadAIB.19
	ps-t0 = ResourceqbHeadADiffuse.19
	ps-t1 = ResourceqbHeadAShadow.19
	ps-t2 = ResourceqbHeadALightMap.19
endif

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

[ResourceqbHead.0]
type = Buffer
stride = 24
filename = .\qbf0111Mod\qbHead.buf

[ResourceqbHeadAIB.0]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0111Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.0]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.0]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.0]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.1]
type = Buffer
stride = 24
filename = .\qbf0112Mod\qbHead.buf

[ResourceqbHeadAIB.1]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0112Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.1]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.1]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.1]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.2]
type = Buffer
stride = 24
filename = .\qbf0113Mod\qbHead.buf

[ResourceqbHeadAIB.2]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0113Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.2]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.2]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.2]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.3]
type = Buffer
stride = 24
filename = .\qbf0114Mod\qbHead.buf

[ResourceqbHeadAIB.3]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0114Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.3]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.3]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.3]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.4]
type = Buffer
stride = 24
filename = .\qbf0115Mod\qbHead.buf

[ResourceqbHeadAIB.4]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0115Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.4]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.4]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.4]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.5]
type = Buffer
stride = 24
filename = .\qbf0116Mod\qbHead.buf

[ResourceqbHeadAIB.5]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0116Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.5]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.5]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.5]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.6]
type = Buffer
stride = 24
filename = .\qbf0117Mod\qbHead.buf

[ResourceqbHeadAIB.6]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0117Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.6]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.6]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.6]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.7]
type = Buffer
stride = 24
filename = .\qbf0118Mod\qbHead.buf

[ResourceqbHeadAIB.7]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0118Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.7]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.7]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.7]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.8]
type = Buffer
stride = 24
filename = .\qbf0119Mod\qbHead.buf

[ResourceqbHeadAIB.8]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0119Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.8]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.8]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.8]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.9]
type = Buffer
stride = 24
filename = .\qbf0120Mod\qbHead.buf

[ResourceqbHeadAIB.9]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0120Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.9]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.9]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.9]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.10]
type = Buffer
stride = 24
filename = .\qbf0121Mod\qbHead.buf

[ResourceqbHeadAIB.10]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0121Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.10]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.10]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.10]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.11]
type = Buffer
stride = 24
filename = .\qbf0122Mod\qbHead.buf

[ResourceqbHeadAIB.11]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0122Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.11]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.11]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.11]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.12]
type = Buffer
stride = 24
filename = .\qbf0123Mod\qbHead.buf

[ResourceqbHeadAIB.12]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0123Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.12]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.12]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.12]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.13]
type = Buffer
stride = 24
filename = .\qbf0124Mod\qbHead.buf

[ResourceqbHeadAIB.13]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0124Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.13]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.13]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.13]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.14]
type = Buffer
stride = 24
filename = .\qbf0125Mod\qbHead.buf

[ResourceqbHeadAIB.14]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0125Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.14]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.14]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.14]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.15]
type = Buffer
stride = 24
filename = .\qbf0126Mod\qbHead.buf

[ResourceqbHeadAIB.15]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0126Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.15]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.15]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.15]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.16]
type = Buffer
stride = 24
filename = .\qbf0127Mod\qbHead.buf

[ResourceqbHeadAIB.16]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0127Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.16]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.16]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.16]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.17]
type = Buffer
stride = 24
filename = .\qbf0128Mod\qbHead.buf

[ResourceqbHeadAIB.17]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0128Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.17]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.17]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.17]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.18]
type = Buffer
stride = 24
filename = .\qbf0129Mod\qbHead.buf

[ResourceqbHeadAIB.18]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0129Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.18]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.18]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.18]
filename = .\qbf0111Mod\qbHeadALightMap.dds

[ResourceqbHead.19]
type = Buffer
stride = 24
filename = .\qbf0130Mod\qbHead.buf

[ResourceqbHeadAIB.19]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\qbf0130Mod\qbHeadA.ib

[ResourceqbHeadADiffuse.19]
filename = .\qbf0111Mod\qbHeadADiffuse.dds

[ResourceqbHeadAShadow.19]
filename = .\qbf0111Mod\qbHeadAShadow.dds

[ResourceqbHeadALightMap.19]
filename = .\qbf0111Mod\qbHeadALightMap.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