; Varesa

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

[Constants]
global $active
global persist $swap = 0

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

[KeySwap]
condition = $active == 1
key = VK_DOWN
back = VK_up
type = cycle
$swap = 0,1,2,3,4

[Present]
post $active = 0

[TextureOverrideVaresaPosition]
hash = 9784dbe3
vb0 = ResourceVaresaPosition
$active = 1

[TextureOverrideVaresaBlend]
hash = ef26783e
vb1 = ResourceVaresaBlend
handling = skip
draw = 27897,0 

[TextureOverrideVaresaTexcoord]
hash = 0fa7f23f
vb1 = ResourceVaresaTexcoord

[TextureOverrideVaresaVertexLimitRaise]
hash = 8872531c
; override_vertex_count = 27897
; override_byte_stride = 84

[TextureOverrideVaresaIB]
hash = 488fceb4
handling = skip
drawindexed = auto

[TextureOverrideVaresaHead]
hash = 488fceb4
match_first_index = 0
ib = ResourceVaresaHeadIB
ps-t0 = ResourceVaresaHeadNormalMap
ps-t1 = ResourceVaresaHeadDiffuse
ps-t2 = ResourceVaresaHeadLightMap
run = CommandList\global\ORFix\ORFix

[TextureOverrideVaresaBody]
hash = 488fceb4
match_first_index = 40554
ib = ResourceVaresaBodyIB
if $swap == 0
ps-t0 = ResourceVaresaBodyNormalMap
ps-t1 = ResourceVaresaBodyDiffuse
ps-t2 = ResourceVaresaBodyLightMap
run = CommandList\global\ORFix\ORFix
else if $swap == 1
ps-t0 = ResourceVaresaBodyNormalMap
ps-t1 = ResourceVaresaBodyDiffuse2
ps-t2 = ResourceVaresaBodyLightMap
run = CommandList\global\ORFix\ORFix
else if $swap == 2
ps-t0 = ResourceVaresaBodyNormalMap
ps-t1 = ResourceVaresaBodyDiffuse3
ps-t2 = ResourceVaresaBodyLightMap
run = CommandList\global\ORFix\ORFix
else if $swap == 3
ps-t0 = ResourceVaresaBodyNormalMap
ps-t1 = ResourceVaresaBodyDiffuse4
ps-t2 = ResourceVaresaBodyLightMap
run = CommandList\global\ORFix\ORFix
else if $swap == 4
ps-t0 = ResourceVaresaBodyNormalMap
ps-t1 = ResourceVaresaBodyDiffuse5
ps-t2 = ResourceVaresaBodyLightMap
run = CommandList\global\ORFix\ORFix
endif

[TextureOverrideVaresaFaceHeadDiffuse]
hash = 9a534567
this = ResourceVaresaFaceHeadDiffuse


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

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

[ResourceVaresaPosition]
type = Buffer
stride = 40
filename = VaresaPosition.buf

[ResourceVaresaBlend]
type = Buffer
stride = 32
filename = VaresaBlend.buf

[ResourceVaresaTexcoord]
type = Buffer
stride = 12
filename = VaresaTexcoord.buf

[ResourceVaresaHeadIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = VaresaHead.ib

[ResourceVaresaBodyIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = VaresaBody.ib

[ResourceVaresaHeadNormalMap]
filename = VaresaHeadNormalMap.dds

[ResourceVaresaHeadDiffuse]
filename = VaresaHeadDiffuse.dds

[ResourceVaresaHeadLightMap]
filename = VaresaHeadLightMap.dds

[ResourceVaresaBodyNormalMap]
filename = VaresaBodyNormalMap.dds

[ResourceVaresaBodyDiffuse]
filename = VaresaBodyDiffuse.dds

[ResourceVaresaBodyDiffuse2]
filename = VaresaBodyDiffuse2.dds

[ResourceVaresaBodyDiffuse3]
filename = VaresaBodyDiffuse3.dds

[ResourceVaresaBodyDiffuse4]
filename = VaresaBodyDiffuse4.dds

[ResourceVaresaBodyDiffuse5]
filename = VaresaBodyDiffuse5.dds

[ResourceVaresaBodyLightMap]
filename = VaresaBodyLightMap.dds

[ResourceVaresaFaceHeadDiffuse]
filename = VaresaFaceHeadDiffuse.dds



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