; Sparxie

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

[Constants]
global $active

; Outfits
global persist $neck = 0
global persist $ears = 0
global persist $mask = 0
global persist $sleeves = 0
global persist $ofudatop = 1

global persist $top = 0
global persist $skirt = 0
global persist $obi = 0
global persist $obiribbon = 0
global persist $ofudabottom = 0

global persist $sandal = 0
global persist $socks = 0
global persist $legaccessories = 0

; Misc
global persist $color = 0
global persist $wombtattoo = 0

global persist $nails = 0
global persist $blush = 0
global persist $lips = 0

; Extra
global persist $sparkletattoo = 0

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.58
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
	$dt = time - $ts
	$ts = time
	if $menu
		run = CommandListOutfitMenu
	endif
endif

; 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
	$neck = 1 - $neck
elif $clickedSlot == 2
	$ears = 1 - $ears
elif $clickedSlot == 3
	$mask = 1 - $mask
elif $clickedSlot == 4
	$sleeves = 1 - $sleeves
elif $clickedSlot == 5
	$ofudatop = 1 - $ofudatop
	if $ofudatop == 0
		$top = 1
	endif
elif $clickedSlot == 6
	$top = 1 - $top
	if $top == 0
		$ofudatop = 1
	endif
elif $clickedSlot == 7
	$skirt = 1 - $skirt
elif $clickedSlot == 8
	$obi = 1 - $obi
	if $obi == 1
		if $obiribbon == 0
			$obiribbon = 1
		endif
	endif
elif $clickedSlot == 9
	$obiribbon = 1 - $obiribbon
	if $obiribbon == 0
		if $obi == 1
			$obi = 0
		endif
	endif
elif $clickedSlot == 10
	$ofudabottom = 1 - $ofudabottom
elif $clickedSlot == 11
	$sandal = 1 - $sandal
	if $sandal == 1
		if $socks == 0
			$socks = 1
		endif
	endif
elif $clickedSlot == 12
	$socks = 1 - $socks
	if $socks == 0
		if $sandal == 1
			$sandal = 0
		endif
	endif
elif $clickedSlot == 13
	$legaccessories = 1 - $legaccessories
elif $clickedSlot == 14
	$color = $color + 1
	if $color > 1
		$color = 0
	endif
elif $clickedSlot == 15
	$wombtattoo = 1 - $wombtattoo
elif $clickedSlot == 16
	$nails = 1 - $nails
elif $clickedSlot == 17
	$lips = 1 - $lips
elif $clickedSlot == 18
	$blush = 1 - $blush
elif $clickedSlot == 19
	$sparkletattoo = 1 - $sparkletattoo
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 $neck == 0
		run = CustomShaderElement
	else
		run = CustomShaderDisabledElement
	endif

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; ========================= SLOT 19 =========================
elif $slot == 19
	ps-t100 = ResourceMenuItem.19
	if $sparkletattoo == 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 = 600 / $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

$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
z87 = $z2
run = CommandListSlot

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

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

; Extra
w87 = w87 + $wo + 82 / $ww
z87 = $z0
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

[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

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

[CommandListBodyADiffuse]
if $color == 0
	this = ResourceBody.Red
elif $color == 1
	this = ResourceBody.Blue
endif

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

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

; [CommandListHairADiffuse]
; if $color == 0
; 	this = ResourceGlasses.Red
; elif $color == 1
; 	this = ResourceGlasses.Pink
; elif $color == 2
; 	this = ResourceGlasses.Blue
; elif $color == 3
; 	this = ResourceGlasses.Green
; elif $color == 4
; 	this = ResourceGlasses.Purple
; elif $color == 5
; 	this = ResourceGlasses.Blue
; endif

; [ResourceGlasses.Pink]
; filename = ..\textures\glasses\Pink.dds

; [ResourceGlasses.Green]
; filename = ..\textures\glasses\Green.dds

; [ResourceGlasses.Blue]
; filename = ..\textures\glasses\Blue.dds

; [ResourceGlasses.Purple]
; filename = ..\textures\glasses\Purple.dds

; [ResourceGlasses.Red]
; filename = ..\textures\glasses\Red.dds

[CommandListHeadADiffuse]
if $lips == 0 && $blush == 0
	this = ResourceMakeup.BlushLips
elif $lips == 1 && $blush == 0
	this = ResourceMakeup.Blush
elif $lips == 0 && $blush == 1
	this = ResourceMakeup.Lips
elif $lips == 1 && $blush == 1
	this = ResourceMakeup.Base
endif

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

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

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

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

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

[TextureOverrideSparxieBodyBlend]
hash = df489315
$active = 1
handling = skip
vb2 = ResourceSparxieBodyBlend
if DRAW_TYPE == 1
	vb0 = ResourceSparxieBodyPosition
	draw = 155763, 0
elif DRAW_TYPE == 8
	Resource\SRMI\PositionBuffer = ref ResourceSparxieBodyPositionCS
	Resource\SRMI\BlendBuffer = ref ResourceSparxieBodyBlendCS
	$\SRMI\vertex_count = 155763
endif

[TextureOverrideSparxieBodyTexcoord]
hash = a0dfb1ac
vb1 = ResourceSparxieBodyTexcoord

[TextureOverrideSparxieBodyDraw]
hash = 337f7de8
override_vertex_count = 155763
override_byte_stride = 40
uav_byte_stride = 4

[TextureOverrideSparxieHeadBlend]
hash = aea8999b
handling = skip
vb2 = ResourceSparxieHeadBlend
if DRAW_TYPE == 1
	vb0 = ResourceSparxieHeadPosition
	draw = 3732, 0
elif DRAW_TYPE == 8
	Resource\SRMI\PositionBuffer = ref ResourceSparxieHeadPositionCS
	Resource\SRMI\BlendBuffer = ref ResourceSparxieHeadBlendCS
	$\SRMI\vertex_count = 3732
endif

[TextureOverrideSparxieHeadTexcoord]
hash = cf4f901d
vb1 = ResourceSparxieHeadTexcoord

[TextureOverrideSparxieHeadDraw]
hash = 877c10a8
override_vertex_count = 3732
override_byte_stride = 40
uav_byte_stride = 4

[TextureOverrideSparxieHairBlend]
hash = f241b31a
handling = skip
vb2 = ResourceSparxieHairBlend
if DRAW_TYPE == 1
	vb0 = ResourceSparxieHairPosition
	draw = 9450, 0
elif DRAW_TYPE == 8
	Resource\SRMI\PositionBuffer = ref ResourceSparxieHairPositionCS
	Resource\SRMI\BlendBuffer = ref ResourceSparxieHairBlendCS
	$\SRMI\vertex_count = 9450
endif

[TextureOverrideSparxieHairTexcoord]
hash = 67ec715e
vb1 = ResourceSparxieHairTexcoord

[TextureOverrideSparxieHairDraw]
hash = b7124f06
override_vertex_count = 9450
override_byte_stride = 40
uav_byte_stride = 4

[TextureOverrideSparxieBodyIB]
hash = 4dcbf0c8
handling = skip

[TextureOverrideSparxieBodyB]
hash = 4dcbf0c8
match_first_index = 12495
ib = ResourceSparxieBodyBIB
; Head accessories (394)
drawindexed = 972, 0, 0
; Sparkle's tattoo (149)
if $sparkletattoo == 0
drawindexed = 630, 972, 0
endif
; Body
; Erect nipples (3014)
if $ofudatop == 1 && $top == 1
drawindexed = 16548, 1602, 0
endif
; Nipples (1318)
if $ofudatop == 0 || $top == 0
drawindexed = 7032, 18150, 0
endif
; Nude (11713)
drawindexed = 63453, 25182, 0
; Nude w/ womb tattoo (11663)
; drawindexed = 63453, 88635, 0
; Womb tattoo (164)
if $wombtattoo == 0
drawindexed = 708, 152088, 0
endif
; Arms
; Arms (8708)
drawindexed = 46152, 152796, 0
; Finger nails (558)
if $nails == 0
drawindexed = 2538, 198948, 0
endif
; Legs
; Legs (10351)
if $sandal == 1
drawindexed = 53340, 201486, 0
endif
; Legs w/ sandal & socks (5886)
if $sandal == 0
drawindexed = 30102, 254826, 0
endif
; Legs w/ sandal only (4498)
if $sandal == 0 && $socks == 1
drawindexed = 23238, 284928, 0
endif
; Miko head
; Ears (1006)
if $ears == 0 && $mask == 1
drawindexed = 3846, 308166, 0
endif
; Ears w/ mask (1006)
if $ears == 0 && $mask == 0
drawindexed = 3846, 312012, 0
endif
; Mask (887)
if $mask == 0
drawindexed = 3114, 315858, 0
endif
; Miko outfit
; Neck (10594)
if $neck == 0
drawindexed = 48276, 318972, 0
endif
; Obi (10781)
if $obi == 0
drawindexed = 53496, 367248, 0
endif
; Obi ribbon (3809)
if $obiribbon == 0
drawindexed = 20616, 420744, 0
endif
; Skirt (13327)
if $skirt == 0
drawindexed = 58920, 441360, 0
endif
; Sleeves (6854)
if $sleeves == 0
drawindexed = 34680, 500280, 0
endif
; Top (14215)
if $top == 0
drawindexed = 70248, 534960, 0
endif
; Miko legs
; Legs accessories (26679)
if $legaccessories == 0
drawindexed = 113208, 605208, 0
endif
; Sandal (1872)
if $sandal == 0
drawindexed = 6564, 718416, 0
endif
; Socks (2858)
if $socks == 0
drawindexed = 16104, 724980, 0
endif
; Ofuda
; Ofuda bottom (557)
if $ofudabottom == 0
drawindexed = 2820, 741084, 0
endif
; Ofuda top (2902)
if $ofudatop == 0
drawindexed = 12648, 743904, 0
endif

[TextureOverrideSparxieHeadIB]
hash = c64f1417
handling = skip

[TextureOverrideSparxieHeadA]
hash = c64f1417
match_first_index = 0
ib = ResourceSparxieHeadAIB
; HeadA (3664)
drawindexed = 12714, 0, 0

[TextureOverrideSparxieHeadB]
hash = c64f1417
match_first_index = 12714
ib = ResourceSparxieHeadBIB
; HeadB (68)
drawindexed = 180, 0, 0

[TextureOverrideSparxieHairIB]
hash = fa679826
handling = skip

[TextureOverrideSparxieHairA]
hash = fa679826
match_first_index = 0
ib = ResourceSparxieHairAIB
; HairA (9450)
drawindexed = 32964, 0, 0

[TextureOverrideSparxieBodyADiffuse]
hash = 13412fd3
run = CommandListBodyADiffuse

[TextureOverrideSparxieBodyALightMap]
hash = aff129e7
this = ResourceSparxieBodyALightMap

[TextureOverrideSparxieHeadADiffuse]
hash = 00e72a99
run = CommandListHeadADiffuse

[TextureOverrideSparxieHairADiffuse]
hash = c7ee2a72
this = ResourceSparxieHairADiffuse

[TextureOverrideSparxieHairALightMap]
hash = fb25ef49
this = ResourceSparxieHairALightMap


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


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

[ResourceSparxieBodyPosition]
type = Buffer
stride = 40
filename = SparxieBodyPosition.buf

[ResourceSparxieBodyBlend]
type = Buffer
stride = 32
filename = SparxieBodyBlend.buf

[ResourceSparxieBodyTexcoord]
type = Buffer
stride = 20
filename = SparxieBodyTexcoord.buf

[ResourceSparxieBodyPositionCS]
type = StructuredBuffer
stride = 40
filename = SparxieBodyPosition.buf

[ResourceSparxieBodyBlendCS]
type = StructuredBuffer
stride = 32
filename = SparxieBodyBlend.buf

[ResourceSparxieBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SparxieBodyA.ib

[ResourceSparxieBodyBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SparxieBodyB.ib

[ResourceSparxieBodyCIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SparxieBodyC.ib

[ResourceSparxieHeadPosition]
type = Buffer
stride = 40
filename = SparxieHeadPosition.buf

[ResourceSparxieHeadBlend]
type = Buffer
stride = 32
filename = SparxieHeadBlend.buf

[ResourceSparxieHeadTexcoord]
type = Buffer
stride = 8
filename = SparxieHeadTexcoord.buf

[ResourceSparxieHeadPositionCS]
type = StructuredBuffer
stride = 40
filename = SparxieHeadPosition.buf

[ResourceSparxieHeadBlendCS]
type = StructuredBuffer
stride = 32
filename = SparxieHeadBlend.buf

[ResourceSparxieHeadAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SparxieHeadA.ib

[ResourceSparxieHeadBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SparxieHeadB.ib

[ResourceSparxieHairPosition]
type = Buffer
stride = 40
filename = SparxieHairPosition.buf

[ResourceSparxieHairBlend]
type = Buffer
stride = 32
filename = SparxieHairBlend.buf

[ResourceSparxieHairTexcoord]
type = Buffer
stride = 12
filename = SparxieHairTexcoord.buf

[ResourceSparxieHairPositionCS]
type = StructuredBuffer
stride = 40
filename = SparxieHairPosition.buf

[ResourceSparxieHairBlendCS]
type = StructuredBuffer
stride = 32
filename = SparxieHairBlend.buf

[ResourceSparxieHairAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SparxieHairA.ib

[ResourceSparxieBodyADiffuse]
filename = SparxieBodyADiffuse.dds

[ResourceSparxieBodyALightMap]
filename = SparxieBodyALightMap.dds

[ResourceSparxieHeadADiffuse]
filename = SparxieHeadADiffuse.dds

[ResourceSparxieHairADiffuse]
filename = SparxieHairADiffuse.dds

[ResourceSparxieHairALightMap]
filename = SparxieHairALightMap.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
