; Merged Mod: .\shidun_001\shidun.ini, .\shidun_002\shidun.ini, .\shidun_003\shidun.ini, .\shidun_004\shidun.ini, .\shidun_005\shidun.ini, .\shidun_006\shidun.ini, .\shidun_007\shidun.ini, .\shidun_008\shidun.ini, .\shidun_009\shidun.ini, .\shidun_010\shidun.ini, .\shidun_011\shidun.ini, .\shidun_012\shidun.ini, .\shidun_013\shidun.ini, .\shidun_014\shidun.ini, .\shidun_015\shidun.ini, .\shidun_016\shidun.ini, .\shidun_017\shidun.ini, .\shidun_018\shidun.ini, .\shidun_019\shidun.ini, .\shidun_020\shidun.ini, .\shidun_021\shidun.ini, .\shidun_022\shidun.ini, .\shidun_023\shidun.ini, .\shidun_024\shidun.ini, .\shidun_025\shidun.ini, .\shidun_026\shidun.ini, .\shidun_027\shidun.ini, .\shidun_028\shidun.ini, .\shidun_029\shidun.ini, .\shidun_030\shidun.ini, .\shidun_031\shidun.ini, .\shidun_032\shidun.ini, .\shidun_033\shidun.ini, .\shidun_034\shidun.ini, .\shidun_035\shidun.ini, .\shidun_036\shidun.ini, .\shidun_037\shidun.ini, .\shidun_038\shidun.ini, .\shidun_039\shidun.ini, .\shidun_040\shidun.ini

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

[Constants]
global $fps = 50
global $frameStart= 0
global $frameEnd = 39
global $swapvar = 0
global $active = 0
global $creditinfo = 0

[Present]
$swapvar = (time * $fps % ($frameEnd - $frameStart + 1) + $frameStart) // 1

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

[TextureOverrideshidun]
hash = 10d554ef
run = CommandListshidun

[TextureOverrideshidunIB]
hash = 4291acd2
run = CommandListshidunIB


[TextureOverrideshidunA]
hash = 4291acd2
match_first_index = 0
run = CommandListshidunA



[TextureOverrideshidunADiffuse]
hash = c85ca2f4
run = CommandListshidunADiffuse

[TextureOverrideshidunANormalMap]
hash = 48f54057
run = CommandListshidunANormalMap

[TextureOverrideshidunALightMap]
hash = 08ffadb6
run = CommandListshidunALightMap

[TextureOverrideshidunADiffuse1]
hash = 863a83b0
run = CommandListshidunADiffuse

[TextureOverrideshidunANormalMap1]
hash = 0e0bb5d5
run = CommandListshidunANormalMap

[TextureOverrideshidunALightMap1]
hash = 6ee2a397
run = CommandListshidunALightMap

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

[CommandListshidun]
if $swapvar == 0
	vb0 = Resourceshidun.0
else if $swapvar == 1
	vb0 = Resourceshidun.1
else if $swapvar == 2
	vb0 = Resourceshidun.2
else if $swapvar == 3
	vb0 = Resourceshidun.3
else if $swapvar == 4
	vb0 = Resourceshidun.4
else if $swapvar == 5
	vb0 = Resourceshidun.5
else if $swapvar == 6
	vb0 = Resourceshidun.6
else if $swapvar == 7
	vb0 = Resourceshidun.7
else if $swapvar == 8
	vb0 = Resourceshidun.8
else if $swapvar == 9
	vb0 = Resourceshidun.9
else if $swapvar == 10
	vb0 = Resourceshidun.10
else if $swapvar == 11
	vb0 = Resourceshidun.11
else if $swapvar == 12
	vb0 = Resourceshidun.12
else if $swapvar == 13
	vb0 = Resourceshidun.13
else if $swapvar == 14
	vb0 = Resourceshidun.14
else if $swapvar == 15
	vb0 = Resourceshidun.15
else if $swapvar == 16
	vb0 = Resourceshidun.16
else if $swapvar == 17
	vb0 = Resourceshidun.17
else if $swapvar == 18
	vb0 = Resourceshidun.18
else if $swapvar == 19
	vb0 = Resourceshidun.19
else if $swapvar == 20
	vb0 = Resourceshidun.20
else if $swapvar == 21
	vb0 = Resourceshidun.21
else if $swapvar == 22
	vb0 = Resourceshidun.22
else if $swapvar == 23
	vb0 = Resourceshidun.23
else if $swapvar == 24
	vb0 = Resourceshidun.24
else if $swapvar == 25
	vb0 = Resourceshidun.25
else if $swapvar == 26
	vb0 = Resourceshidun.26
else if $swapvar == 27
	vb0 = Resourceshidun.27
else if $swapvar == 28
	vb0 = Resourceshidun.28
else if $swapvar == 29
	vb0 = Resourceshidun.29
else if $swapvar == 30
	vb0 = Resourceshidun.30
else if $swapvar == 31
	vb0 = Resourceshidun.31
else if $swapvar == 32
	vb0 = Resourceshidun.32
else if $swapvar == 33
	vb0 = Resourceshidun.33
else if $swapvar == 34
	vb0 = Resourceshidun.34
else if $swapvar == 35
	vb0 = Resourceshidun.35
else if $swapvar == 36
	vb0 = Resourceshidun.36
else if $swapvar == 37
	vb0 = Resourceshidun.37
else if $swapvar == 38
	vb0 = Resourceshidun.38
else if $swapvar == 39
	vb0 = Resourceshidun.39
endif

[CommandListshidunIB]
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
else if $swapvar == 20
	handling = skip
	drawindexed = auto
else if $swapvar == 21
	handling = skip
	drawindexed = auto
else if $swapvar == 22
	handling = skip
	drawindexed = auto
else if $swapvar == 23
	handling = skip
	drawindexed = auto
else if $swapvar == 24
	handling = skip
	drawindexed = auto
else if $swapvar == 25
	handling = skip
	drawindexed = auto
else if $swapvar == 26
	handling = skip
	drawindexed = auto
else if $swapvar == 27
	handling = skip
	drawindexed = auto
else if $swapvar == 28
	handling = skip
	drawindexed = auto
else if $swapvar == 29
	handling = skip
	drawindexed = auto
else if $swapvar == 30
	handling = skip
	drawindexed = auto
else if $swapvar == 31
	handling = skip
	drawindexed = auto
else if $swapvar == 32
	handling = skip
	drawindexed = auto
else if $swapvar == 33
	handling = skip
	drawindexed = auto
else if $swapvar == 34
	handling = skip
	drawindexed = auto
else if $swapvar == 35
	handling = skip
	drawindexed = auto
else if $swapvar == 36
	handling = skip
	drawindexed = auto
else if $swapvar == 37
	handling = skip
	drawindexed = auto
else if $swapvar == 38
	handling = skip
	drawindexed = auto
else if $swapvar == 39
	handling = skip
	drawindexed = auto
endif

[CommandListshidunA]
if $swapvar == 0
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.0
else if $swapvar == 1
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.1
else if $swapvar == 2
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.2
else if $swapvar == 3
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.3
else if $swapvar == 4
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.4
else if $swapvar == 5
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.5
else if $swapvar == 6
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.6
else if $swapvar == 7
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.7
else if $swapvar == 8
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.8
else if $swapvar == 9
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.9
else if $swapvar == 10
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.10
else if $swapvar == 11
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.11
else if $swapvar == 12
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.12
else if $swapvar == 13
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.13
else if $swapvar == 14
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.14
else if $swapvar == 15
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.15
else if $swapvar == 16
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.16
else if $swapvar == 17
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.17
else if $swapvar == 18
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.18
else if $swapvar == 19
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.19
else if $swapvar == 20
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.20
else if $swapvar == 21
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.21
else if $swapvar == 22
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.22
else if $swapvar == 23
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.23
else if $swapvar == 24
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.24
else if $swapvar == 25
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.25
else if $swapvar == 26
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.26
else if $swapvar == 27
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.27
else if $swapvar == 28
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.28
else if $swapvar == 29
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.29
else if $swapvar == 30
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.30
else if $swapvar == 31
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.31
else if $swapvar == 32
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.32
else if $swapvar == 33
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.33
else if $swapvar == 34
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.34
else if $swapvar == 35
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.35
else if $swapvar == 36
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.36
else if $swapvar == 37
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.37
else if $swapvar == 38
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.38
else if $swapvar == 39
	run = CommandListSkinTexture
	ib = ResourceshidunAIB.39
endif

[CommandListshidunADiffuse]
this = ResourceshidunADiffuse.0


[CommandListshidunANormalMap]
this = ResourceshidunANormalMap.0


[CommandListshidunALightMap]
this = ResourceshidunALightMap.0


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

[Resourceshidun.0]
type = Buffer
stride = 28
filename = .\shidun_001\shidun.buf

[ResourceshidunAIB.0]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_001\shidunA.ib

[ResourceshidunADiffuse.0]
filename = .\shidun_001\shidunADiffuse.dds

[ResourceshidunANormalMap.0]
filename = .\shidun_001\shidunANormalMap.dds

[ResourceshidunALightMap.0]
filename = .\shidun_001\shidunALightMap.dds

[Resourceshidun.1]
type = Buffer
stride = 28
filename = .\shidun_002\shidun.buf

[ResourceshidunAIB.1]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_002\shidunA.ib




[Resourceshidun.2]
type = Buffer
stride = 28
filename = .\shidun_003\shidun.buf

[ResourceshidunAIB.2]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_003\shidunA.ib




[Resourceshidun.3]
type = Buffer
stride = 28
filename = .\shidun_004\shidun.buf

[ResourceshidunAIB.3]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_004\shidunA.ib




[Resourceshidun.4]
type = Buffer
stride = 28
filename = .\shidun_005\shidun.buf

[ResourceshidunAIB.4]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_005\shidunA.ib




[Resourceshidun.5]
type = Buffer
stride = 28
filename = .\shidun_006\shidun.buf

[ResourceshidunAIB.5]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_006\shidunA.ib




[Resourceshidun.6]
type = Buffer
stride = 28
filename = .\shidun_007\shidun.buf

[ResourceshidunAIB.6]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_007\shidunA.ib




[Resourceshidun.7]
type = Buffer
stride = 28
filename = .\shidun_008\shidun.buf

[ResourceshidunAIB.7]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_008\shidunA.ib




[Resourceshidun.8]
type = Buffer
stride = 28
filename = .\shidun_009\shidun.buf

[ResourceshidunAIB.8]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_009\shidunA.ib




[Resourceshidun.9]
type = Buffer
stride = 28
filename = .\shidun_010\shidun.buf

[ResourceshidunAIB.9]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_010\shidunA.ib




[Resourceshidun.10]
type = Buffer
stride = 28
filename = .\shidun_011\shidun.buf

[ResourceshidunAIB.10]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_011\shidunA.ib




[Resourceshidun.11]
type = Buffer
stride = 28
filename = .\shidun_012\shidun.buf

[ResourceshidunAIB.11]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_012\shidunA.ib




[Resourceshidun.12]
type = Buffer
stride = 28
filename = .\shidun_013\shidun.buf

[ResourceshidunAIB.12]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_013\shidunA.ib




[Resourceshidun.13]
type = Buffer
stride = 28
filename = .\shidun_014\shidun.buf

[ResourceshidunAIB.13]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_014\shidunA.ib




[Resourceshidun.14]
type = Buffer
stride = 28
filename = .\shidun_015\shidun.buf

[ResourceshidunAIB.14]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_015\shidunA.ib




[Resourceshidun.15]
type = Buffer
stride = 28
filename = .\shidun_016\shidun.buf

[ResourceshidunAIB.15]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_016\shidunA.ib




[Resourceshidun.16]
type = Buffer
stride = 28
filename = .\shidun_017\shidun.buf

[ResourceshidunAIB.16]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_017\shidunA.ib




[Resourceshidun.17]
type = Buffer
stride = 28
filename = .\shidun_018\shidun.buf

[ResourceshidunAIB.17]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_018\shidunA.ib




[Resourceshidun.18]
type = Buffer
stride = 28
filename = .\shidun_019\shidun.buf

[ResourceshidunAIB.18]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_019\shidunA.ib




[Resourceshidun.19]
type = Buffer
stride = 28
filename = .\shidun_020\shidun.buf

[ResourceshidunAIB.19]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_020\shidunA.ib




[Resourceshidun.20]
type = Buffer
stride = 28
filename = .\shidun_021\shidun.buf

[ResourceshidunAIB.20]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_021\shidunA.ib




[Resourceshidun.21]
type = Buffer
stride = 28
filename = .\shidun_022\shidun.buf

[ResourceshidunAIB.21]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_022\shidunA.ib




[Resourceshidun.22]
type = Buffer
stride = 28
filename = .\shidun_023\shidun.buf

[ResourceshidunAIB.22]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_023\shidunA.ib




[Resourceshidun.23]
type = Buffer
stride = 28
filename = .\shidun_024\shidun.buf

[ResourceshidunAIB.23]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_024\shidunA.ib




[Resourceshidun.24]
type = Buffer
stride = 28
filename = .\shidun_025\shidun.buf

[ResourceshidunAIB.24]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_025\shidunA.ib




[Resourceshidun.25]
type = Buffer
stride = 28
filename = .\shidun_026\shidun.buf

[ResourceshidunAIB.25]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_026\shidunA.ib




[Resourceshidun.26]
type = Buffer
stride = 28
filename = .\shidun_027\shidun.buf

[ResourceshidunAIB.26]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_027\shidunA.ib




[Resourceshidun.27]
type = Buffer
stride = 28
filename = .\shidun_028\shidun.buf

[ResourceshidunAIB.27]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_028\shidunA.ib




[Resourceshidun.28]
type = Buffer
stride = 28
filename = .\shidun_029\shidun.buf

[ResourceshidunAIB.28]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_029\shidunA.ib




[Resourceshidun.29]
type = Buffer
stride = 28
filename = .\shidun_030\shidun.buf

[ResourceshidunAIB.29]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_030\shidunA.ib




[Resourceshidun.30]
type = Buffer
stride = 28
filename = .\shidun_031\shidun.buf

[ResourceshidunAIB.30]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_031\shidunA.ib




[Resourceshidun.31]
type = Buffer
stride = 28
filename = .\shidun_032\shidun.buf

[ResourceshidunAIB.31]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_032\shidunA.ib




[Resourceshidun.32]
type = Buffer
stride = 28
filename = .\shidun_033\shidun.buf

[ResourceshidunAIB.32]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_033\shidunA.ib




[Resourceshidun.33]
type = Buffer
stride = 28
filename = .\shidun_034\shidun.buf

[ResourceshidunAIB.33]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_034\shidunA.ib




[Resourceshidun.34]
type = Buffer
stride = 28
filename = .\shidun_035\shidun.buf

[ResourceshidunAIB.34]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_035\shidunA.ib




[Resourceshidun.35]
type = Buffer
stride = 28
filename = .\shidun_036\shidun.buf

[ResourceshidunAIB.35]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_036\shidunA.ib




[Resourceshidun.36]
type = Buffer
stride = 28
filename = .\shidun_037\shidun.buf

[ResourceshidunAIB.36]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_037\shidunA.ib




[Resourceshidun.37]
type = Buffer
stride = 28
filename = .\shidun_038\shidun.buf

[ResourceshidunAIB.37]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_038\shidunA.ib




[Resourceshidun.38]
type = Buffer
stride = 28
filename = .\shidun_039\shidun.buf

[ResourceshidunAIB.38]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_039\shidunA.ib




[Resourceshidun.39]
type = Buffer
stride = 28
filename = .\shidun_040\shidun.buf

[ResourceshidunAIB.39]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = .\shidun_040\shidunA.ib






; .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