; Velina

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

[Constants]
global $active
global $first_run = 1

; Outfits
global persist $blindfold = 0
global persist $nosehook = 0
global persist $ringgag = 0
global persist $ballgag = 1
global persist $tape = 1

global persist $corset = 0
global persist $armbinder = 1
global persist $mittens = 1
global persist $gloves = 0
global persist $collar = 0

global persist $heels = 0
global persist $legbinder = 1

global persist $chastitybra = 1
global persist $chastitybelt = 1
global persist $nipplepiercings = 0
global persist $latex = 1

; Misc
global persist $hearteyes = 0
global persist $pupils = 1
global persist $nails = 0

global persist $pube = 0
global persist $wombtattoo = 0

global persist $blush = 0
global persist $sweat = 0
global persist $oiled = 0

; Extra
global persist $velinahaircover = 1
global persist $velinahairback = 0
global persist $velinaearrings = 0

; Flat
global persist $currFlat = 0.0
global $rangeFlat
post $rangeFlat = $currFlat

global $menu = 0
global $page = 0
global $hold
global $holdShape
global $drag

global $navigating
global $navSpeed
global $hovering
global $slot
global $hoveredSlot
global $clickedSlot
global $selectedSlot = 0
global $targetSelectedSlot = 0
global $navDirection = -1

global persist $mx = 0.05
global persist $my = 0.25

global $ww
global $wh
global $cpx
global $cpy

global $dt
global $ts

[KeyShowMenu1]
condition = $active == 1
key = h
type = cycle
$menu = 0,1

[KeyShowMenu2]
condition = $active == 1
key = /
type = cycle
$menu = 0,1

[KeyMenu.ResetPosition]
condition = $menu == 1
key = no_ctrl shift VK_RIGHT
run = CommandListResetMenuPos

[KeyHold]
condition = $menu == 1 && $hovering == 0
key = no_ctrl no_shift VK_LBUTTON
key = no_ctrl no_shift VK_RBUTTON
type = hold
$hold = 1

[KeyHoldShape]
condition = $menu == 1 && $hovering > 1
key = no_ctrl no_shift VK_LBUTTON
key = no_ctrl no_shift VK_RBUTTON
type = hold
run = CommandListHoldShape

[CommandListHoldShape]
$holdShape = $hovering
post $holdShape = 0

[KeyClickedSlot]
condition = $hovering == 1 && $menu == 1
key = no_ctrl no_shift VK_LBUTTON
key = no_ctrl no_shift VK_RBUTTON
run = CommandListClickedSlot

[Present]
post $active = 0
if $active
	if $first_run
		ResourceVelinaBodyTopPosition = copy ResourceVelinaBodyTopPosition.Base
		ResourceVelinaBodyBottomPosition = copy ResourceVelinaBodyBottomPosition.Base
		run = CustomShaderComputeShapes.Top
		run = CustomShaderComputeShapes.Bottom
		$first_run = 0
	endif
	run = CustomShaderComputeShapes.Top
	run = CustomShaderComputeShapes.Bottom
	$dt = time - $ts
	$ts = time
	if $menu
		run = CommandListOutfitMenu
	endif
endif

[CustomShaderComputeShapes.Top]
cs = ../toggles/Shapes.hlsl
cs-u5 = copy ResourceVelinaBodyTopPosition.Base

; Flat
x88 = $currFlat
cs-t50 = copy ResourceVelinaBodyTopPosition.Base
cs-t51 = copy ResourceVelinaBodyTopPosition.Flat
ResourceVelinaBodyTopPosition = ref cs-u5
Dispatch = 468296, 1, 1

cs-u5 = null
cs-t50 = null
cs-t51 = null

[CustomShaderComputeShapes.Bottom]
cs = ../toggles/Shapes.hlsl
cs-u5 = copy ResourceVelinaBodyBottomPosition.Base

; Flat
x88 = $currFlat
cs-t50 = copy ResourceVelinaBodyBottomPosition.Base
cs-t51 = copy ResourceVelinaBodyBottomPosition.Flat
ResourceVelinaBodyBottomPosition = ref cs-u5
Dispatch = 436038, 1, 1

cs-u5 = null
cs-t50 = null
cs-t51 = null

; Custom Menu ==========================================

[CommandListDimensions]
if window_width != 0
	$ww = window_width
	$wh = window_height
elif $ww != 0
	$ww = rt_width
	$wh = rt_height
else
	$ww = res_width
	$wh = res_height
endif

if cursor_x != 0 && cursor_y != 0
	$cpx = cursor_x
	$cpy = cursor_y
elif cursor_window_x != 0 && cursor_window_y != 0
	$cpx = cursor_window_x / $ww
	$cpy = cursor_window_y / $wh
else
	$cpx = cursor_screen_x / $ww
	$cpy = cursor_screen_y / $wh
endif

[CommandListClickedSlot]
$clickedSlot = $hoveredSlot

if $clickedSlot == 1
	$blindfold = 1 - $blindfold
elif $clickedSlot == 2
	$nosehook = 1 - $nosehook
elif $clickedSlot == 3
	$ringgag = 1 - $ringgag
	if $ringgag == 0
		$tape = 1
		$ballgag = 1
	endif
	if $ringgag == 1 && $ballgag == 1 && $tape == 1
		$hearteyes = 1
		$pupils = 1
	endif
elif $clickedSlot == 4
	$ballgag = 1 - $ballgag
	if $ballgag == 0
		$tape = 1
		$ringgag = 1
	endif
	if $ringgag == 1 && $ballgag == 1 && $tape == 1
		$hearteyes = 1
		$pupils = 1
	endif
elif $clickedSlot == 5
	$tape = 1 - $tape
	if $tape == 0
		$ballgag = 1
		$ringgag = 1
	endif
	if $ringgag == 1 && $ballgag == 1 && $tape == 1
		$hearteyes = 1
		$pupils = 1
	endif
elif $clickedSlot == 6
	$corset = 1 - $corset
	if $corset == 0
		$chastitybelt = 1
	endif
elif $clickedSlot == 7
	$armbinder = 1 - $armbinder
	if $armbinder == 0
		if $gloves == 0
			$gloves = 1
		endif
		if $mittens == 0
			$mittens = 1
		endif
	endif
	if $armbinder == 1
		if $gloves == 1
			$gloves = 0
		endif
	endif
elif $clickedSlot == 8
	$mittens = 1 - $mittens
	if $mittens == 0
		if $gloves == 0
			$gloves = 1
		endif
		if $armbinder == 0
			$armbinder = 1
		endif
	endif
	if $mittens == 1
		if $gloves == 1
			$gloves = 0
		endif
	endif
elif $clickedSlot == 9
	$gloves = 1 - $gloves
	if $gloves == 0
		if $armbinder == 0
			$armbinder = 1
		endif
		if $mittens == 0
			$mittens = 1
		endif
	endif
elif $clickedSlot == 10
	$collar = 1 - $collar
elif $clickedSlot == 11
	$heels = 1 - $heels
elif $clickedSlot == 12
	$legbinder = 1 - $legbinder
elif $clickedSlot == 13
	$chastitybra = 1 - $chastitybra
	if $chastitybra == 0
		$nipplepiercings = 1
	endif
elif $clickedSlot == 14
	$chastitybelt = 1 - $chastitybelt
	if $chastitybelt == 0
		$corset = 1
	endif
elif $clickedSlot == 15
	$nipplepiercings = 1 - $nipplepiercings
	if $nipplepiercings == 0
		$chastitybra = 1
	endif
elif $clickedSlot == 16
	$latex = 1 - $latex
elif $clickedSlot == 17
	$hearteyes = 1 - $hearteyes
	if $hearteyes == 0
		if $ballgag == 1 && $tape == 1
			$ringgag = 0
		endif
	endif
elif $clickedSlot == 18
	$pupils = 1 - $pupils
	if $pupils == 0
		if $ballgag == 1 && $tape == 1
			$ringgag = 0
		endif
	endif
elif $clickedSlot == 19
	$nails = 1 - $nails
elif $clickedSlot == 20
	$pube = 1 - $pube
elif $clickedSlot == 21
	$wombtattoo = 1 - $wombtattoo
elif $clickedSlot == 22
	$blush = 1 - $blush
elif $clickedSlot == 23
	$sweat = 1 - $sweat
elif $clickedSlot == 24
	$oiled = 1 - $oiled
elif $clickedSlot == 25
	$velinahaircover = 1 - $velinahaircover
elif $clickedSlot == 26
	$velinahairback = 1 - $velinahairback
elif $clickedSlot == 27
	$velinaearrings = 1 - $velinaearrings
endif

[CommandListSlotItemImage]
x87 = 52 / $ww 
y87 = 52 / $wh
z87 = z87 + 3 / $ww
w87 = w87 + 6 / $ww
; ========================= SLOT 1 =========================
if $slot == 1
	ps-t100 = ResourceMenuItem.1
	if $blindfold == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif

; ========================= SLOT 2 =========================
elif $slot == 2
	ps-t100 = ResourceMenuItem.2
	if $nosehook == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif

; ========================= SLOT 3 =========================
elif $slot == 3
	ps-t100 = ResourceMenuItem.3
	if $ringgag == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif

; ========================= SLOT 4 =========================
elif $slot == 4
	ps-t100 = ResourceMenuItem.4
	if $ballgag == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif

; ========================= SLOT 5 =========================
elif $slot == 5
	ps-t100 = ResourceMenuItem.5
	if $tape == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif

; ========================= SLOT 6 =========================
elif $slot == 6
	ps-t100 = ResourceMenuItem.6
	if $corset == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif

; ========================= SLOT 7 =========================
elif $slot == 7
	ps-t100 = ResourceMenuItem.7
	if $armbinder == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif

; ========================= SLOT 8 =========================
elif $slot == 8
	ps-t100 = ResourceMenuItem.8
	if $mittens == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif

; ========================= SLOT 9 =========================
elif $slot == 9
	ps-t100 = ResourceMenuItem.9
	if $gloves == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif

; ========================= SLOT 10 =========================
elif $slot == 10
	ps-t100 = ResourceMenuItem.10
	if $collar == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif

; ========================= SLOT 11 =========================
elif $slot == 11
	ps-t100 = ResourceMenuItem.11
	if $heels == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif
	
; ========================= SLOT 12 =========================
elif $slot == 12
	ps-t100 = ResourceMenuItem.12
	if $legbinder == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif
	
; ========================= SLOT 13 =========================
elif $slot == 13
	ps-t100 = ResourceMenuItem.13
	if $chastitybra == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif
	
; ========================= SLOT 14 =========================
elif $slot == 14
	ps-t100 = ResourceMenuItem.14
	if $chastitybelt == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif
	
; ========================= SLOT 15 =========================
elif $slot == 15
	ps-t100 = ResourceMenuItem.15
	if $nipplepiercings == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif
	
; ========================= SLOT 16 =========================
elif $slot == 16
	ps-t100 = ResourceMenuItem.16
	if $latex == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif
	
; ========================= SLOT 17 =========================
elif $slot == 17
	ps-t100 = ResourceMenuItem.17
	if $hearteyes == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif
	
; ========================= SLOT 18 =========================
elif $slot == 18
	ps-t100 = ResourceMenuItem.18
	if $pupils == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif

; ========================= SLOT 19 =========================
elif $slot == 19
	ps-t100 = ResourceMenuItem.19
	if $nails == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif
	
; ========================= SLOT 20 =========================
elif $slot == 20
	ps-t100 = ResourceMenuItem.20
	if $pube == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif

; ========================= SLOT 21 =========================
elif $slot == 21
	ps-t100 = ResourceMenuItem.21
	if $wombtattoo == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif

; ========================= SLOT 22 =========================
elif $slot == 22
	ps-t100 = ResourceMenuItem.22
	if $blush == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif

; ========================= SLOT 23 =========================
elif $slot == 23
	ps-t100 = ResourceMenuItem.23
	if $sweat == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif

; ========================= SLOT 24 =========================
elif $slot == 24
	ps-t100 = ResourceMenuItem.24
	if $oiled == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif
	
; ========================= SLOT 25 =========================
elif $slot == 25
	ps-t100 = ResourceMenuItem.25
	if $velinahaircover == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif
	
; ========================= SLOT 26 =========================
elif $slot == 26
	ps-t100 = ResourceMenuItem.26
	if $velinahairback == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif
		
; ========================= SLOT 27 =========================
elif $slot == 27
	ps-t100 = ResourceMenuItem.27
	if $velinaearrings == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif
endif

x87 = 58 / $ww 
y87 = 58 / $wh
z87 = z87 - 3 / $ww
w87 = w87 - 6 / $ww

[CommandListOutfitMenu]
run = CommandListDimensions
run = CommandListBackground

[CommandListBackground]
local $cox
local $coy
ps-t100 = ResourceMenuBG
y87 = 740 / $wh
x87 = 360 / $ww
if $hovering == 0
	if $drag == 0
		if $cpx > $mx + 0.0125 && $cpx < ($mx+x87-0.0035) && $cpy > $my && $cpy < ($my+y87-0.0035)
			if $hold
				$cox = $cpx - $mx
				$coy = $cpy - $my
				$drag = 1
			endif
		endif
	else
		if $hold
			$mx = $cpx - $cox
			$my = $cpy - $coy
		else
			$drag = 0
		endif
	endif
endif
z87 = $mx
w87 = $my
run = CustomShaderElement
run = CommandListDrawToggles

[CommandListDrawToggles]
local $z0 = z87 + 15 / $ww
local $z1 = $z0 + (8 + 60) / $ww
local $z2 = $z0 + (8 + 60 + 8 + 60) / $ww
local $z3 = $z0 + (8 + 60 + 8 + 60 + 8 + 60) / $ww
local $z4 = $z0 + (8 + 60 + 8 + 60 + 8 + 60 + 8 + 60) / $ww
local $wo = (8 + 60) / $wh

local $sliderPaddingLeft = 212 / $ww

$hovering = 0
$slot = 0
x87 = 64 / $ww 
y87 = 64 / $wh

; Outfit
w87 = w87 + $wo + 34 / $ww
z87 = $z0
run = CommandListSlot
z87 = $z1
run = CommandListSlot
z87 = $z2
run = CommandListSlot
z87 = $z3
run = CommandListSlot
z87 = $z4
run = CommandListSlot

w87 = w87 + $wo
z87 = $z0
run = CommandListSlot
z87 = $z1
run = CommandListSlot
z87 = $z2
run = CommandListSlot
z87 = $z3
run = CommandListSlot
z87 = $z4
run = CommandListSlot

w87 = w87 + $wo
z87 = $z0
run = CommandListSlot
z87 = $z1
run = CommandListSlot


w87 = w87 + $wo
z87 = $z0
run = CommandListSlot
z87 = $z1
run = CommandListSlot
z87 = $z3
run = CommandListSlot
z87 = $z4
run = CommandListSlot

; Misc
w87 = w87 + $wo + 82 / $ww
z87 = $z0
run = CommandListSlot
z87 = $z1
run = CommandListSlot
z87 = $z2
run = CommandListSlot
z87 = $z3
run = CommandListSlot
z87 = $z4
run = CommandListSlot

w87 = w87 + $wo
z87 = $z0
run = CommandListSlot

w87 = w87 + $wo + 3 / $ww
z87 = $z0
run = CommandListSlot
z87 = $z1
run = CommandListSlot

z87 = $z2
x87 = 52 / $ww 
y87 = 52 / $wh
ps-t100 = ResourceMenuItem.Flat
run = CustomShaderElement
w87 = w87 + 27 / $wh
z87 = $z0 + $sliderPaddingLeft
run = CommandListDrawSlider.Flat

; Extra
w87 = w87 + $wo + 58 / $ww
z87 = $z0
run = CommandListSlot
z87 = $z1
run = CommandListSlot
z87 = $z2
run = CommandListSlot

[CommandListSlot]
$slot = $slot + 1
run = CommandListSlotItemImage
if $cpx > z87 && $cpx < (z87+x87-0.0035) && $cpy > w87 && $cpy < (w87+y87-0.0035)
	ps-t100 = ResourceItemSlotHover.2
	$hovering = 1
	$hoveredSlot = $slot
	$selectedSlot = 0
else
	if $slot == $selectedSlot // 1
		$hoveredSlot = $slot
		ps-t100 = ResourceItemSlotHover.2
	else
		ps-t100 = ResourceItemSlot
	endif
endif
run = CustomShaderElement
if $clickedSlot == $slot
	ps-t100 = ResourceItemSlotHover.1
	run = CustomShaderElement
	$clickedSlot = 0
endif

; Flat
[CommandListDrawSlider.Flat]
ps-t100 = ResourceSlider
x87 = 95 / $ww
y87 = 6 / $wh
run = CustomShaderElement
ps-t100 = ResourceSliderAfter
x87 = $currFlat * x87
run = CustomShaderElement
x87 = 95 / $ww
run = CommandListCursor.Flat

[CommandListInterpolateSpeed.Flat]
local $td = 0.033
local $ds = ($rangeFlat - $currFlat) / $td
$currFlat = $currFlat + $ds * $dt

[CommandListCursor.Flat]
local $x = z87
local $y = w87
local $xo = z87 + x87
local $yo = w87 + y87
if $cpx > $x && $cpx < $xo && $holdShape == 0
    if $cpy > $y - 15 / $wh && $cpy < $yo + 15 / $wh
        $hovering = 2
        $selectedSlot = 0
    endif
endif
if $holdShape == 2
  $rangeFlat = (($cpx-$x)/($xo-$x))
  if $rangeFlat < 0
    $rangeFlat = 0
  elif $rangeFlat > 1
    $rangeFlat = 1
  endif
endif
z87 = (z87 + x87 * ($currFlat) - 14 / $ww)
run = CommandListInterpolateSpeed.Flat
if $hovering == 2 || $selectedSlot == 1 || $holdShape == 2
  ps-t100 = ResourceButtonHover
else
  ps-t100 = ResourceButton
endif
x87 = 32 / $ww
y87 = 32 / $wh
w87 = w87 - 13 / $wh
run = CustomShaderElement

[CommandListResetMenuPos]
$mx = 50 / $ww
$my = 0.5 - 360 / $wh

[CustomShaderElement]
vs = ..\toggles\draw_2d.hlsl
ps = ..\toggles\draw_2d.hlsl
run = BuiltInCommandListUnbindAllRenderTargets
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = triangle_strip
o0 = set_viewport bb
Draw = 4,0

[CustomShaderDisabledElement]
vs = ..\toggles\draw_2d_disabled.hlsl
ps = ..\toggles\draw_2d_disabled.hlsl
run = BuiltInCommandListUnbindAllRenderTargets
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = triangle_strip
o0 = set_viewport bb
Draw = 4,0

[ResourceMenuBG]
filename = ..\toggles\Menu.dds

[ResourceItemSlot]
filename = ..\toggles\Slot.dds

[ResourceItemSlotHover.1]
filename = ..\toggles\Slot_Hover.dds

[ResourceItemSlotHover.2]
filename = ..\toggles\Slot_Hover_2.dds

[ResourceMenuItem.1]
filename =..\toggles\item_1.dds

[ResourceMenuItem.2]
filename =..\toggles\item_2.dds

[ResourceMenuItem.3]
filename =..\toggles\item_3.dds

[ResourceMenuItem.4]
filename =..\toggles\item_4.dds

[ResourceMenuItem.5]
filename = ..\toggles\item_5.dds

[ResourceMenuItem.6]
filename =..\toggles\item_6.dds

[ResourceMenuItem.7]
filename =..\toggles\item_7.dds

[ResourceMenuItem.8]
filename =..\toggles\item_8.dds

[ResourceMenuItem.9]
filename =..\toggles\item_9.dds

[ResourceMenuItem.10]
filename =..\toggles\item_10.dds

[ResourceMenuItem.11]
filename =..\toggles\item_11.dds

[ResourceMenuItem.12]
filename =..\toggles\item_12.dds

[ResourceMenuItem.13]
filename =..\toggles\item_13.dds

[ResourceMenuItem.14]
filename =..\toggles\item_14.dds

[ResourceMenuItem.15]
filename =..\toggles\item_15.dds

[ResourceMenuItem.16]
filename =..\toggles\item_16.dds

[ResourceMenuItem.17]
filename =..\toggles\item_17.dds

[ResourceMenuItem.18]
filename =..\toggles\item_18.dds

[ResourceMenuItem.19]
filename =..\toggles\item_19.dds

[ResourceMenuItem.20]
filename =..\toggles\item_20.dds

[ResourceMenuItem.21]
filename =..\toggles\item_21.dds

[ResourceMenuItem.22]
filename =..\toggles\item_22.dds

[ResourceMenuItem.23]
filename =..\toggles\item_23.dds

[ResourceMenuItem.24]
filename =..\toggles\item_24.dds

[ResourceMenuItem.25]
filename =..\toggles\item_25.dds

[ResourceMenuItem.26]
filename =..\toggles\item_26.dds

[ResourceMenuItem.27]
filename =..\toggles\item_27.dds

[ResourceMenuItem.28]
filename =..\toggles\item_28.dds

[ResourceMenuItem.Flat]
filename =..\toggles\item_flat.dds

[ResourceSlider]
filename = ..\toggles\Slider.dds

[ResourceSliderAfter]
filename = ..\toggles\Slider_after.dds

[ResourceButton]
filename = ..\toggles\Button.dds

[ResourceButtonHover]
filename = ..\toggles\Button_Hover.dds

; Command List -------------------------

[CommandListBodyADiffuse]
if $latex == 0
	Resource\ZZMI\Diffuse = ref ResourceBody.Latex
elif $latex == 1
	Resource\ZZMI\Diffuse = ref ResourceBody.Skin
endif

[ResourceBody.Latex]
filename = ..\textures\body\Latex.dds

[ResourceBody.Skin]
filename = ..\textures\body\Skin.dds

[CommandListBodyALightMap]
if $latex == 0
	Resource\ZZMI\LightMap = ref ResourceLightmap.Latex
elif $oiled == 0
	Resource\ZZMI\LightMap = ref ResourceLightmap.Oiled
elif $oiled == 1
	Resource\ZZMI\LightMap = ref ResourceLightmap.Base
endif

[ResourceLightmap.Oiled]
filename = ..\textures\lightmap\Oiled.dds

[ResourceLightmap.Base]
filename = ..\textures\lightmap\Base.dds

[ResourceLightmap.Latex]
filename = ..\textures\lightmap\Latex.dds

[CommandListBodyAMaterialMap]
if $latex == 0
	Resource\ZZMI\MaterialMap = ref ResourceMaterialmap.Latex
elif $oiled == 0
	Resource\ZZMI\MaterialMap = ref ResourceMaterialmap.Oiled
elif $oiled == 1
	Resource\ZZMI\MaterialMap = ref ResourceMaterialmap.Base
endif

[ResourceMaterialmap.Oiled]
filename = ..\textures\materialmap\Oiled.dds

[ResourceMaterialmap.Base]
filename = ..\textures\materialmap\Base.dds

[ResourceMaterialmap.Latex]
filename = ..\textures\materialmap\Latex.dds

[CommandListHeadADiffuse]
if $sweat == 0 || $ballgag == 0 || $ringgag == 0 || $tape == 0 || $blindfold == 0
	if $blush == 0
		Resource\ZZMI\Diffuse = ref ResourceMakeup.BlushSweat
	elif $blush == 1
		Resource\ZZMI\Diffuse = ref ResourceMakeup.BaseSweat
	endif
elif $sweat == 1
	if $blush == 0
		Resource\ZZMI\Diffuse = ref ResourceMakeup.Blush
	elif $blush == 1
		Resource\ZZMI\Diffuse = ref ResourceMakeup.Base
	endif
endif

[ResourceMakeup.BlushSweat]
filename = ..\textures\head\BlushSweat.dds

[ResourceMakeup.BaseSweat]
filename = ..\textures\head\BaseSweat.dds

[ResourceMakeup.Blush]
filename = ..\textures\head\Blush.dds

[ResourceMakeup.Base]
filename = ..\textures\head\Base.dds

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

[TextureOverrideVelinaBodyTopBlend]
hash = 2c2ccd38
$active = 1
handling = skip
vb2 = ResourceVelinaBodyTopBlend
if DRAW_TYPE == 1
	vb0 = ResourceVelinaBodyTopPosition
	draw = 468296, 0
endif

[TextureOverrideVelinaBodyTopTexcoord]
hash = 1f1c042b
vb1 = ResourceVelinaBodyTopTexcoord

[TextureOverrideVelinaBodyTopVertexLimitRaise]
hash = 2f62f81f
override_vertex_count = 468296
override_byte_stride = 40

[TextureOverrideVelinaHairFrontBlend]
hash = a1c210e2
handling = skip
vb2 = ResourceVelinaHairFrontBlend
if DRAW_TYPE == 1
	vb0 = ResourceVelinaHairFrontPosition
	draw = 8874, 0
endif

[TextureOverrideVelinaHairFrontTexcoord]
hash = 9f40d9d1
vb1 = ResourceVelinaHairFrontTexcoord

[TextureOverrideVelinaHairFrontVertexLimitRaise]
hash = c60af8f1
override_vertex_count = 8874
override_byte_stride = 40

[TextureOverrideVelinaBodyBottomBlend]
hash = 231b06ea
handling = skip
vb2 = ResourceVelinaBodyBottomBlend
if DRAW_TYPE == 1
	vb0 = ResourceVelinaBodyBottomPosition
	draw = 436038, 0
endif

[TextureOverrideVelinaBodyBottomTexcoord]
hash = d4019bfa
vb1 = ResourceVelinaBodyBottomTexcoord

[TextureOverrideVelinaBodyBottomVertexLimitRaise]
hash = 10675a0f
override_vertex_count = 436038
override_byte_stride = 40

[TextureOverrideVelinaHairBackBlend]
hash = bd043a8e
handling = skip
vb2 = ResourceVelinaHairBackBlend
if DRAW_TYPE == 1
	vb0 = ResourceVelinaHairBackPosition
	draw = 3081, 0
endif

[TextureOverrideVelinaHairBackTexcoord]
hash = 4b702182
vb1 = ResourceVelinaHairBackTexcoord

[TextureOverrideVelinaHairBackVertexLimitRaise]
hash = a364c911
override_vertex_count = 3081
override_byte_stride = 40

[TextureOverrideVelinaBodyTopIB]
hash = 1300e048
handling = skip

[TextureOverrideVelinaBodyTopA]
hash = 1300e048
match_first_index = 0
ib = ResourceVelinaBodyTopAIB
run = CommandListBodyADiffuse
Resource\ZZMI\NormalMap = ref ResourceVelinaBodyANormalMap
run = CommandListBodyALightMap
run = CommandListBodyAMaterialMap
Resource\ZZMI\WengineFX = ref ResourceVelinaBodyAWengineFX
run = CommandList\ZZMI\SetTextures
; Nipples (2342)
if $chastitybra == 1
drawindexed = 13560, 0, 0
endif
; Nude upper (7674)
if $sweat == 1 && $armbinder == 1 && $mittens == 1
drawindexed = 42996, 13560, 0
endif
; Nude upper (wet) (7674)
if $sweat == 0 && $armbinder == 1 && $mittens == 1
drawindexed = 42996, 56556, 0
endif
; Nude upper w/ armbinder (19190)
if $sweat == 1 && ($armbinder == 0 || $mittens == 0)
drawindexed = 105720, 99552, 0
endif
; Nude upper w/ armbinder (wet) (19190)
if $sweat == 0 && ($armbinder == 0 || $mittens == 0)
drawindexed = 105720, 205272, 0
endif
; Arms
; Arms (9435)
if $gloves == 1 && $armbinder == 1 && $sweat == 1 && $armbinder == 1 && $mittens == 1
drawindexed = 50772, 310992, 0
endif
; Arms (wet) (9435)
if $gloves == 1 && $armbinder == 1 && $sweat == 0 && $armbinder == 1 && $mittens == 1
drawindexed = 50772, 361764, 0
endif
; Finger nails (254)
if $nails == 0 && $mittens == 1 && $armbinder == 1 && $gloves == 1
drawindexed = 768, 412536, 0
endif
; Arm seams
; Arm seams (2250)
if $gloves == 1 && $armbinder == 1 && $mittens == 1 && $sweat == 1
drawindexed = 11952, 413304, 0
endif
; Arm seams (wet) (2332)
if $gloves == 1 && $armbinder == 1 && $mittens == 1 && $sweat == 0
drawindexed = 11952, 425256, 0
endif
; Arm seams w/ gloves (2332)
if $gloves == 0 && $armbinder == 1 && $mittens == 1 && $sweat == 1
drawindexed = 11952, 437208, 0
endif
; Arm seams w/ gloves (wet) (2332)
if $gloves == 0 && $armbinder == 1 && $mittens == 1 && $sweat == 0
drawindexed = 11952, 449160, 0
endif
; Velina
; Velina ears (352)
drawindexed = 1686, 461112, 0
; Head parts
; Ball gag (2128)
if $ballgag == 0
drawindexed = 9120, 462798, 0
endif
; Blindfold (535)
if $blindfold == 0
drawindexed = 2652, 471918, 0
endif
; Mouth tape (2626)
if $tape == 0
drawindexed = 13677, 474570, 0
endif
; Nose hook (1382)
if $nosehook == 0
drawindexed = 4224, 488247, 0
endif
; Ring gag (1211)
if $ringgag == 0
drawindexed = 5124, 492471, 0
endif
; Strap base (10242)
if $ringgag == 0 || $ballgag == 0
drawindexed = 32892, 497595, 0
endif
; Torso upper parts
; Chastity bra (13644)
if $chastitybra == 0
drawindexed = 56802, 530487, 0
endif
; Collar (5095)
if $collar == 0
drawindexed = 24894, 587289, 0
endif
; Corset upper (101553)
if $corset == 0 && $armbinder == 1 && $mittens == 1
drawindexed = 464091, 612183, 0
endif
; Corset upper w/ armbinder (101566)
if $corset == 0 && ($armbinder == 0 || $mittens == 0)
drawindexed = 464091, 1076274, 0
endif
; Nipple Piercings (2562)
if $nipplepiercings == 0
drawindexed = 12648, 1540365, 0
endif
; Arm parts
; Armbinder (110233)
if $armbinder == 0
drawindexed = 538479, 1553013, 0
endif
; Gloves (19736)
if $gloves == 0
drawindexed = 101448, 2091492, 0
endif
; Gloves collar (10130)
if $gloves == 0
drawindexed = 49596, 2192940, 0
endif
; Mittens (577)
if $mittens == 0
drawindexed = 2352, 2242536, 0
endif

[TextureOverrideVelinaBodyTopB]
hash = 1300e048
match_first_index = 55575
ib = ResourceVelinaBodyTopBIB
run = CommandList\ZZMI\SetTextures
; BodyTopB (284)
; drawindexed = 720, 0, 0

[TextureOverrideVelinaHairFrontIB]
hash = 5eb66b57
handling = skip

[TextureOverrideVelinaHairFrontA]
hash = 5eb66b57
match_first_index = 0
ib = ResourceVelinaHairFrontAIB
run = CommandListBodyADiffuse
Resource\ZZMI\NormalMap = ref ResourceVelinaBodyANormalMap
run = CommandListBodyALightMap
run = CommandListBodyAMaterialMap
Resource\ZZMI\WengineFX = ref ResourceVelinaBodyAWengineFX
run = CommandList\ZZMI\SetTextures
; HairFrontA (6874)
drawindexed = 26148, 0, 0

[TextureOverrideVelinaHairFrontB]
hash = 5eb66b57
match_first_index = 26148
ib = ResourceVelinaHairFrontBIB
run = CommandListBodyADiffuse
Resource\ZZMI\NormalMap = ref ResourceVelinaBodyANormalMap
run = CommandListBodyALightMap
run = CommandListBodyAMaterialMap
Resource\ZZMI\WengineFX = ref ResourceVelinaBodyAWengineFX
run = CommandList\ZZMI\SetTextures
; HairFrontB (2000)
drawindexed = 6780, 0, 0

[TextureOverrideVelinaBodyBottomIB]
hash = 6b25e6d8
handling = skip

[TextureOverrideVelinaBodyBottomA]
hash = 6b25e6d8
match_first_index = 0
ib = ResourceVelinaBodyBottomAIB
run = CommandListBodyADiffuse
Resource\ZZMI\NormalMap = ref ResourceVelinaBodyANormalMap
run = CommandListBodyALightMap
run = CommandListBodyAMaterialMap
Resource\ZZMI\WengineFX = ref ResourceVelinaBodyAWengineFX
run = CommandList\ZZMI\SetTextures
; Nude lower (7235)
if $sweat == 1 && $legbinder == 1
drawindexed = 39192, 0, 0
endif
; Nude lower (wet) (7235)
if $sweat == 0 && $legbinder == 1
drawindexed = 39192, 39192, 0
endif
; Nude lower w/ legbinder (24995)
if $sweat == 1 && $legbinder == 0 && $heels == 1
drawindexed = 134712, 78384, 0
endif
; Nude lower w/ legbinder & heels (7874)
if $sweat == 1 && $legbinder == 0 && $heels == 0
drawindexed = 41685, 213096, 0
endif
; Nude lower w/ legbinder & heels (wet) (7874)
if $sweat == 0 && $legbinder == 0 && $heels == 0
drawindexed = 41685, 254781, 0
endif
; Nude lower w/ legbinder (wet) (24995)
if $sweat == 0 && $legbinder == 0 && $heels == 1
drawindexed = 134712, 296466, 0
endif
; Pubic hair
; Pubic hair (89)
if $pube == 0 && $legbinder == 1 &&  $sweat == 1
drawindexed = 372, 431178, 0
endif
; Pubic hair (wet) (89)
if $pube == 0 && $legbinder == 1 &&  $sweat == 0
drawindexed = 372, 431550, 0
endif
; Pubic hair w/ legbinder (89)
if $pube == 0 && $legbinder == 0 && $sweat == 1
drawindexed = 372, 431922, 0
endif
; Pubic hair w/ legbinder (wet) (89)
if $pube == 0 && $legbinder == 0 && $sweat == 0
drawindexed = 372, 432294, 0
endif
; Womb tattoo
; Womb tattoo (221)
if $wombtattoo == 0 && $legbinder == 1 &&  $sweat == 1
drawindexed = 1152, 432666, 0
endif
; Womb tattoo (wet) (221)
if $wombtattoo == 0 && $legbinder == 1 &&  $sweat == 0
drawindexed = 1152, 433818, 0
endif
; Womb tattoo w/ legbinder (221)
if $wombtattoo == 0 && $legbinder == 0 && $sweat == 1
drawindexed = 1152, 434970, 0
endif
; Womb tattoo w/ legbinder (wet) (221)
if $wombtattoo == 0 && $legbinder == 0 && $sweat == 0
drawindexed = 1152, 436122, 0
endif
; Leg seams
; Leg seams w/ socks (1060)
if $heels == 0 && $legbinder == 1 && $sweat == 1
drawindexed = 4992, 437274, 0
endif
; Leg seams w/ socks (wet) (1060)
if $heels == 0 && $legbinder == 1 && $sweat == 0
drawindexed = 4992, 442266, 0
endif
; Barefeet
; Feet (17757)
if $heels == 1 && $legbinder == 1 && $sweat == 1
drawindexed = 95523, 447258, 0
endif
; Feet (wet) (17757)
if $heels == 1 && $legbinder == 1 && $sweat == 0
drawindexed = 95523, 542781, 0
endif
; Torso lower parts
; Chastity belt (22044)
if $chastitybelt == 0 && $legbinder == 1
drawindexed = 64560, 638304, 0
endif
; Chastity belt w/ legbinder (22044)
if $chastitybelt == 0 && $legbinder == 0
drawindexed = 64560, 702864, 0
endif
; Corset lower (49779)
if $corset == 0 && $legbinder == 1
drawindexed = 205398, 767424, 0
endif
; Corset lower w/ legbinder (49784)
if $corset == 0 && $legbinder == 0
drawindexed = 205398, 972822, 0
endif
; Suspender parts
; Thigh belts suspender (30044)
if $corset == 0 && $heels == 0 && $legbinder == 1
drawindexed = 122448, 1178220, 0
endif
; Thigh belts suspender w/ legbinder (30044)
if $corset == 0 && $heels == 0 && $legbinder == 0
drawindexed = 122448, 1300668, 0
endif
; Leg parts
; Heels (33188)
if $heels == 0 && $legbinder == 1
drawindexed = 147858, 1423116, 0
endif
; Heels w/ legbinder (23173)
if $heels == 0 && $legbinder == 0
drawindexed = 98148, 1570974, 0
endif
; Legbinder (28457)
if $legbinder == 0 && $heels == 1
drawindexed = 110616, 1669122, 0
endif
; Legbinder w/ heels (28399)
if $legbinder == 0 && $heels == 0
drawindexed = 110616, 1779738, 0
endif

[TextureOverrideVelinaHairBackIB]
hash = 6c0b932e
handling = skip

[TextureOverrideVelinaHairBackA]
hash = 6c0b932e
match_first_index = 0
ib = ResourceVelinaHairBackAIB
run = CommandList\ZZMI\SetTextures
; Hair cover (332)
if $velinahaircover == 0
drawindexed = 1320, 0, 0
endif
; Hair ribbon (1479)
drawindexed = 4710, 1320, 0
; HairBackA (960)
if $velinahairback == 0
drawindexed = 3588, 6030, 0
endif
; Velina earrings (310)
if $velinaearrings == 0
drawindexed = 972, 9618, 0
endif

[TextureOverrideVelinaFanBig]
if $armbinder == 0 || $mittens == 0
hash = 8ac40392
handling = skip
match_priority=1
endif

[TextureOverrideVelinaFan]
if $armbinder == 0 || $mittens == 0
hash = 9fbf4911
handling = skip
match_priority=1
endif

; Head Overrides -------------------------

[TextureOverrideVelinaHeadBlend]
if $ballgag == 0 || $ringgag == 0 || $tape == 0
hash = 76fe8eed
handling = skip
	if DRAW_TYPE == 2 || DRAW_TYPE == 4
		vb1 = ResourceVelinaHeadTexcoord
		vb2 = ResourceVelinaHeadBlend
		checktextureoverride = ib
	elif DRAW_TYPE == 1
		vb0 = ResourceVelinaHeadPosition
		vb2 = ResourceVelinaHeadBlend
		Draw = 3784, 0
	endif
endif

[TextureOverrideVelinaHeadTexcoord]
if $ballgag == 0 || $ringgag == 0 || $tape == 0
hash = 69304ff6
vb1 = ResourceVelinaHeadTexcoord
endif

[TextureOverrideVelinaHeadVertexLimitRaise]
if $ballgag == 0 || $ringgag == 0 || $tape == 0
hash = bfa3b361
override_vertex_count = 3784
override_byte_stride = 40
endif

[TextureOverrideVelinaHeadA]
if $ballgag == 0 || $ringgag == 0 || $tape == 0
hash = 2414f4b9
match_first_index = 0
match_index_count = 7398
handling = skip
ib = ResourceVelinaHeadAIB
run = CommandListHeadADiffuse
run = CommandList\ZZMI\SetTextures
endif
; HeadA (1348)
drawindexed = 6666, 0, 0
; Tongue (996)
if $ringgag == 0
drawindexed = 5280, 6666, 0
endif

[TextureOverrideVelinaHeadB]
if $ballgag == 0 || $ringgag == 0 || $tape == 0
hash = 2414f4b9
match_first_index = 7398
match_index_count = 2490
handling = skip
ib = ResourceVelinaHeadBIB
run = CommandListHeadADiffuse
run = CommandList\ZZMI\SetTextures
endif
; HeadB (718)
if $ballgag == 0 || $ringgag == 0 || $tape == 0
drawindexed = 2706, 0, 0
endif

[TextureOverrideVelinaHeadC]
if $ballgag == 0 || $ringgag == 0 || $tape == 0
hash = 2414f4b9
match_first_index = 9888
match_index_count = 1182
handling = skip
ib = ResourceVelinaHeadCIB
run = CommandListHeadADiffuse
run = CommandList\ZZMI\SetTextures
endif
; HeadC (42)
if $ballgag == 0 || $ringgag == 0 || $tape == 0
drawindexed = 114, 0, 0
endif
; normal iris
; Iris (222)
if $ballgag == 0 || $ringgag == 0 || $tape == 0
	if $pupils == 1
	drawindexed = 852, 114, 0
	endif
	; Light (34)
	if $pupils == 1 && $hearteyes == 1
	drawindexed = 96, 966, 0
	endif
	; Pupils (42)
	if $pupils == 1 && $hearteyes == 1
	drawindexed = 120, 1062, 0
	endif
	; Pupils w/ heart eyes (42)
	if $pupils == 1 && $hearteyes == 0
	drawindexed = 120, 1182, 0
	endif
	; small iris
	; Iris (small) (222)
	if $pupils == 0
	drawindexed = 852, 1302, 0
	endif
	; Light (small) (34)
	if $pupils == 0 && $hearteyes == 1
	drawindexed = 96, 2154, 0
	endif
	; Pupils (small) (42)
	if $pupils == 0 && $hearteyes == 1
	drawindexed = 120, 2250, 0
	endif
	; Pupils w/ heart eyes (small) (42)
	if $pupils == 0 && $hearteyes == 0
	drawindexed = 120, 2370, 0
	endif
endif

[TextureOverrideVelinaEyebrowBlend]
if $ballgag == 0 || $ringgag == 0 || $tape == 0 || $blindfold == 0
hash = f18dd23f
handling = skip
vb2 = ResourceVelinaEyebrowBlend
	if DRAW_TYPE == 1
		vb0 = ResourceVelinaEyebrowPosition
		draw = 60, 0
	endif
endif

[TextureOverrideVelinaEyebrowTexcoord]
if $ballgag == 0 || $ringgag == 0 || $tape == 0 || $blindfold == 0
hash = 80e5ee4d
vb1 = ResourceVelinaEyebrowTexcoord
endif

[TextureOverrideVelinaEyebrowVertexLimitRaise]
if $ballgag == 0 || $ringgag == 0 || $tape == 0 || $blindfold == 0
hash = 2f828e6a
override_vertex_count = 60
override_byte_stride = 40
endif

[TextureOverrideVelinaEyebrowA]
if $ballgag == 0 || $ringgag == 0 || $tape == 0 || $blindfold == 0
hash = 1914d1e4
match_first_index = 0
match_index_count = 168
handling = skip
ib = ResourceVelinaEyebrowAIB
run = CommandListHeadADiffuse
run = CommandList\ZZMI\SetTextures
endif
; EyebrowA (60)
drawindexed = 168, 0, 0

[TextureOverrideVelinaHeadIB]
hash = 2414f4b9
run = CommandListSkinTexture
run = CommandListHeadADiffuse
run = CommandList\ZZMI\SetTextures
match_priority=2

[TextureOverrideVelinaEyebrowIB]
hash = 1914d1e4
run = CommandListSkinTexture
run = CommandListHeadADiffuse
run = CommandList\ZZMI\SetTextures
match_priority=2

; Head Resources -------------------------

[ResourceVelinaHeadPosition]
type = Buffer
stride = 40
filename = VelinaHeadPosition.buf

[ResourceVelinaHeadBlend]
type = Buffer
stride = 32
filename = VelinaHeadBlend.buf

[ResourceVelinaHeadTexcoord]
type = Buffer
stride = 48
filename = VelinaHeadTexcoord.buf

[ResourceVelinaHeadAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = VelinaHeadA.ib

[ResourceVelinaHeadBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = VelinaHeadB.ib

[ResourceVelinaHeadCIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = VelinaHeadC.ib

[ResourceVelinaEyebrowPosition]
type = Buffer
stride = 40
filename = VelinaEyebrowPosition.buf

[ResourceVelinaEyebrowBlend]
type = Buffer
stride = 4
filename = VelinaEyebrowBlend.buf

[ResourceVelinaEyebrowTexcoord]
type = Buffer
stride = 36
filename = VelinaEyebrowTexcoord.buf

[ResourceVelinaEyebrowAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = VelinaEyebrowA.ib

[ResourceVelinaHeadADiffuse]
filename = VelinaHeadADiffuse.dds

[ResourceVelinaHeadBDiffuse]
filename = VelinaHeadBDiffuse.dds

[ResourceVelinaHeadCDiffuse]
filename = VelinaHeadCDiffuse.dds

[ResourceVelinaEyebrowADiffuse]
filename = VelinaEyebrowADiffuse.dds

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


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

[ResourceVelinaBodyTopPosition]
type = Buffer
stride = 40
filename = VelinaBodyTopPosition.buf

[ResourceVelinaBodyTopPosition.Base]
type = Buffer
stride = 40
filename = VelinaBodyTopPosition.buf

[ResourceVelinaBodyTopPosition.Flat]
type = Buffer
stride = 40
filename = VelinaBodyTopPositionFlat.buf

[ResourceVelinaBodyTopBlend]
type = Buffer
stride = 32
filename = VelinaBodyTopBlend.buf

[ResourceVelinaBodyTopTexcoord]
type = Buffer
stride = 20
filename = VelinaBodyTopTexcoord.buf

[ResourceVelinaBodyTopAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = VelinaBodyTopA.ib

[ResourceVelinaBodyTopBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = VelinaBodyTopB.ib

[ResourceVelinaHairFrontPosition]
type = Buffer
stride = 40
filename = VelinaHairFrontPosition.buf

[ResourceVelinaHairFrontBlend]
type = Buffer
stride = 32
filename = VelinaHairFrontBlend.buf

[ResourceVelinaHairFrontTexcoord]
type = Buffer
stride = 20
filename = VelinaHairFrontTexcoord.buf

[ResourceVelinaHairFrontAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = VelinaHairFrontA.ib

[ResourceVelinaHairFrontBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = VelinaHairFrontB.ib

[ResourceVelinaBodyBottomPosition]
type = Buffer
stride = 40
filename = VelinaBodyBottomPosition.buf

[ResourceVelinaBodyBottomPosition.Base]
type = Buffer
stride = 40
filename = VelinaBodyBottomPosition.buf

[ResourceVelinaBodyBottomPosition.Flat]
type = Buffer
stride = 40
filename = VelinaBodyBottomPositionFlat.buf

[ResourceVelinaBodyBottomBlend]
type = Buffer
stride = 32
filename = VelinaBodyBottomBlend.buf

[ResourceVelinaBodyBottomTexcoord]
type = Buffer
stride = 20
filename = VelinaBodyBottomTexcoord.buf

[ResourceVelinaBodyBottomAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = VelinaBodyBottomA.ib

[ResourceVelinaHairBackPosition]
type = Buffer
stride = 40
filename = VelinaHairBackPosition.buf

[ResourceVelinaHairBackBlend]
type = Buffer
stride = 32
filename = VelinaHairBackBlend.buf

[ResourceVelinaHairBackTexcoord]
type = Buffer
stride = 20
filename = VelinaHairBackTexcoord.buf

[ResourceVelinaHairBackAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = VelinaHairBackA.ib

[ResourceVelinaBodyTopADiffuse]
filename = VelinaBodyTopADiffuse.dds

[ResourceVelinaBodyTopANormalMap]
filename = VelinaBodyTopANormalMap.dds

[ResourceVelinaBodyTopALightMap]
filename = VelinaBodyTopALightMap.dds

[ResourceVelinaBodyTopAMaterialMap]
filename = VelinaBodyTopAMaterialMap.dds

[ResourceVelinaBodyTopBDiffuse]
filename = VelinaBodyTopBDiffuse.dds

[ResourceVelinaBodyTopBNormalMap]
filename = VelinaBodyTopBNormalMap.dds

[ResourceVelinaBodyTopBLightMap]
filename = VelinaBodyTopBLightMap.dds

[ResourceVelinaBodyTopBMaterialMap]
filename = VelinaBodyTopBMaterialMap.dds

[ResourceVelinaHairFrontAWEngineFX]
filename = VelinaHairFrontAWEngineFX.dds

[ResourceVelinaHairFrontADiffuse]
filename = VelinaHairFrontADiffuse.dds

[ResourceVelinaHairFrontANormalMap]
filename = VelinaHairFrontANormalMap.dds

[ResourceVelinaHairFrontALightMap]
filename = VelinaHairFrontALightMap.dds

[ResourceVelinaHairFrontAMaterialMap]
filename = VelinaHairFrontAMaterialMap.dds

[ResourceVelinaHairFrontBWEngineFX]
filename = VelinaHairFrontBWEngineFX.dds

[ResourceVelinaHairFrontBDiffuse]
filename = VelinaHairFrontBDiffuse.dds

[ResourceVelinaHairFrontBNormalMap]
filename = VelinaHairFrontBNormalMap.dds

[ResourceVelinaHairFrontBLightMap]
filename = VelinaHairFrontBLightMap.dds

[ResourceVelinaHairFrontBMaterialMap]
filename = VelinaHairFrontBMaterialMap.dds

[ResourceVelinaBodyBottomAWEngineFX]
filename = VelinaBodyBottomAWEngineFX.dds

[ResourceVelinaBodyBottomADiffuse]
filename = VelinaBodyBottomADiffuse.dds

[ResourceVelinaBodyBottomANormalMap]
filename = VelinaBodyBottomANormalMap.dds

[ResourceVelinaBodyBottomALightMap]
filename = VelinaBodyBottomALightMap.dds

[ResourceVelinaBodyBottomAMaterialMap]
filename = VelinaBodyBottomAMaterialMap.dds

[ResourceVelinaHairBackAWEngineFX]
filename = VelinaHairBackAWEngineFX.dds

[ResourceVelinaHairBackAWEngineFX2]
filename = VelinaHairBackAWEngineFX2.dds

[ResourceVelinaHairBackADiffuse]
filename = VelinaHairBackADiffuse.dds

[ResourceVelinaHairBackANormalMap]
filename = VelinaHairBackANormalMap.dds

[ResourceVelinaHairBackALightMap]
filename = VelinaHairBackALightMap.dds

[ResourceVelinaHairBackAMaterialMap]
filename = VelinaHairBackAMaterialMap.dds

[ResourceVelinaBodyANormalMap]
filename = VelinaBodyANormalMap.dds

[ResourceVelinaBodyAWEngineFX]
filename = VelinaBodyAWEngineFX.dds

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