; Jahoda

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


[Constants]
global persist $Tattoo = 1
global persist $face = 1

[KeySwapTattoo]
key = ]
type = cycle
$Tattoo = 1,2

[KeySwapFace]
key = [
type = cycle
$Face = 1,2

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

[TextureOverrideJahodaPosition]
hash = 71ba92fa
vb0 = ResourceJahodaPosition

[TextureOverrideJahodaBlend]
hash = aa3263e5
handling = skip
vb1 = ResourceJahodaBlend
draw = 29074, 0

[TextureOverrideJahodaTexcoord]
hash = fcf8a9b7
vb1 = ResourceJahodaTexcoord

[TextureOverrideJahodaVertexLimitRaise]
hash = c1cfd2f8
override_vertex_count = 29074
override_byte_stride = 40

[TextureOverrideJahodaHairPosition]
hash = d5b59e2a
vb0 = ResourceJahodaHairPosition

[TextureOverrideJahodaHairBlend]
hash = fa0543c2
handling = skip
vb1 = ResourceJahodaHairBlend
draw = 2329, 0

[TextureOverrideJahodaHairTexcoord]
hash = 541ffdb3
vb1 = ResourceJahodaHairTexcoord

[TextureOverrideJahodaHairVertexLimitRaise]
hash = 5ab5f780
override_vertex_count = 2329
override_byte_stride = 40

[TextureOverrideJahodaEyePosition]
hash = 7db15cbb
vb0 = ResourceJahodaEyePosition

[TextureOverrideJahodaEyeBlend]
hash = b1cf8713
handling = skip
vb1 = ResourceJahodaEyeBlend
draw = 120, 0

[TextureOverrideJahodaEyeTexcoord]
hash = 79776c3d
vb1 = ResourceJahodaEyeTexcoord

[TextureOverrideJahodaEyeVertexLimitRaise]
hash = 61b441bd
override_vertex_count = 120
override_byte_stride = 40

[TextureOverrideJahodaIB]
hash = 901f0350
handling = skip

[TextureOverrideJahodaHead]
hash = 901f0350
match_first_index = 0
ib = ResourceJahodaHeadIB
ps-t0 = ResourceJahodaHeadNormalMap
ps-t1 = ResourceJahodaHeadDiffuse
ps-t2 = ResourceJahodaHeadLightMap
run = CommandList\global\ORFix\ORFix
; JahodaHead (9818)
drawindexed = 34137, 0, 0

[TextureOverrideJahodaBody]
hash = 901f0350
match_first_index = 35808
ib = ResourceJahodaBodyIB
ps-t0 = ResourceJahodaBodyNormalMap
ps-t1 = ResourceJahodaBodyDiffuse
ps-t2 = ResourceJahodaBodyLightMap
run = CommandList\global\ORFix\ORFix
; body (10736)
drawindexed = 36003, 0, 0
; mainbody (7960)
	ps-t0 = ResourceMainBodyNormalMap
if $Tattoo == 1
	ps-t1 = ResourceMainBodyDiffuse1
else if $Tattoo == 2
	ps-t1 = ResourceMainBodyDiffuse2
endif
	ps-t2 = ResourceMainBodyLightMap1
	run = CommandList\global\ORFix\ORFix
drawindexed = 43503, 36003, 0

[TextureOverrideJahodaDress]
hash = 901f0350
match_first_index = 86649
ib = ResourceJahodaDressIB
ps-t0 = ResourceJahodaDressDiffuse
; JahodaDress (152)
drawindexed = 588, 0, 0

[TextureOverrideJahodaExtra]
hash = 901f0350
match_first_index = 87237
ib = ResourceJahodaExtraIB
ps-t0 = ResourceJahodaExtraLightMap
ps-t1 = ResourceJahodaExtraDiffuse
; JahodaExtra (408)
drawindexed = 2070, 0, 0

[TextureOverrideJahodaHairIB]
hash = 722ea690
handling = skip

[TextureOverrideJahodaHairHead]
hash = 722ea690
match_first_index = 0
ib = ResourceJahodaHairHeadIB
ps-t0 = ResourceJahodaHairHeadNormalMap
ps-t1 = ResourceJahodaHairHeadDiffuse
ps-t2 = ResourceJahodaHairHeadLightMap
run = CommandList\global\ORFix\ORFix
; JahodaHairHead (2329)
drawindexed = 7524, 0, 0

[TextureOverrideJahodaEyeIB]
hash = 3aebadc3
handling = skip

[TextureOverrideJahodaEyeHead]
hash = 3aebadc3
match_first_index = 0
ib = ResourceJahodaEyeHeadIB
ps-t0 = ResourceJahodaEyeHeadLightMap
ps-t1 = ResourceJahodaEyeHeadDiffuse
; JahodaEyeHead (120)
drawindexed = 468, 0, 0

[TextureOverrideJahodaFaceHeadDiffuse]
hash = 15229b27
if $face == 1
this = ResourceJahodaFaceHeadDiffuse
else if $face == 2
this = ResourceJahodaFaceHeadDiffuse1
endif

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

[CommandListMainbody]
if $Tattoo == 1
	ps-t1 = ResourceMainBodyDiffuse1
else if $Tattoo == 2
	ps-t1 = ResourceMainBodyDiffuse2
endif

[CommandListFace]
if $Face == 1
this = ResourceJahodaFaceHeadDiffuse
else if $Face == 2
this = ResourceJahodaFaceHeadDiffuse1
endif

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

[ResourceJahodaPosition]
type = Buffer
stride = 40
filename = JahodaPosition.buf

[ResourceJahodaBlend]
type = Buffer
stride = 32
filename = JahodaBlend.buf

[ResourceJahodaTexcoord]
type = Buffer
stride = 28
filename = JahodaTexcoord.buf

[ResourceJahodaHeadIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = JahodaHead.ib

[ResourceJahodaBodyIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = JahodaBody.ib

[ResourceJahodaDressIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = JahodaDress.ib

[ResourceJahodaExtraIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = JahodaExtra.ib

[ResourceJahodaHairPosition]
type = Buffer
stride = 40
filename = JahodaHairPosition.buf

[ResourceJahodaHairBlend]
type = Buffer
stride = 32
filename = JahodaHairBlend.buf

[ResourceJahodaHairTexcoord]
type = Buffer
stride = 12
filename = JahodaHairTexcoord.buf

[ResourceJahodaHairHeadIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = JahodaHairHead.ib

[ResourceJahodaEyePosition]
type = Buffer
stride = 40
filename = JahodaEyePosition.buf

[ResourceJahodaEyeBlend]
type = Buffer
stride = 32
filename = JahodaEyeBlend.buf

[ResourceJahodaEyeTexcoord]
type = Buffer
stride = 12
filename = JahodaEyeTexcoord.buf

[ResourceJahodaEyeHeadIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = JahodaEyeHead.ib

[ResourceJahodaHeadNormalMap]
filename = JahodaHeadNormalMap.dds

[ResourceJahodaHeadDiffuse]
filename = JahodaHeadDiffuse.dds

[ResourceJahodaHeadLightMap]
filename = JahodaHeadLightMap.dds

[ResourceJahodaBodyNormalMap]
filename = JahodaBodyNormalMap.dds

[ResourceJahodaBodyDiffuse]
filename = JahodaBodyDiffuse.dds

[ResourceJahodaBodyLightMap]
filename = JahodaBodyLightMap.dds

[ResourceJahodaDressDiffuse]
filename = JahodaDressDiffuse.dds

[ResourceJahodaExtraLightMap]
filename = JahodaExtraLightMap.dds

[ResourceJahodaExtraDiffuse]
filename = JahodaExtraDiffuse.dds

[ResourceJahodaHairHeadNormalMap]
filename = JahodaHairHeadNormalMap.dds

[ResourceJahodaHairHeadDiffuse]
filename = JahodaHairHeadDiffuse.dds

[ResourceJahodaHairHeadLightMap]
filename = JahodaHairHeadLightMap.dds

[ResourceJahodaEyeHeadLightMap]
filename = JahodaEyeHeadLightMap.dds

[ResourceJahodaEyeHeadDiffuse]
filename = JahodaEyeHeadDiffuse.dds

[ResourceJahodaFaceHeadDiffuse]
filename = JahodaFaceHeadDiffuse.dds

[ResourceJahodaFaceHeadDiffuse1]
filename = JahodaFaceHeadDiffuse1.dds

[ResourceMainBodyNormalMap]
filename = MainBodyNormalMap.dds

[ResourceMainBodyDiffuse1]
filename = MainBodyDiffuse1.dds

[ResourceMainBodyDiffuse2]
filename = MainBodyDiffuse2.dds

[ResourceMainBodyLightMap1]
filename = MainBodyLightMap1.dds

; .ini generated by XXMI (XX-Model-Importer) v1.6.3
; If you have any issues or find any bugs, please open a ticket at https://github.com/leotorrez/XXMI-Tools/issues
