; Lauma

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

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

[KeyColor]
condition = $active == 1
key = y
type = cycle
$color = 0,1,2
$creditinfo = 0

[KeyReset]
condition = $active == 1
key = h
type = cycle
$swap = 0,1,2
$creditinfo = 0

[Present]
post $active = 0
run = CommandListCreditInfo

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

[TextureOverrideLaumaBodyPosition]
hash = 89e96109
vb0 = ResourceLaumaBodyPosition
$active = 1

[TextureOverrideLaumaBodyBlend]
hash = 8226cf84
handling = skip
vb1 = ResourceLaumaBodyBlend
draw = 34635, 0

[TextureOverrideLaumaBodyTexcoord]
hash = d8e6d8e4
vb1 = ResourceLaumaBodyTexcoord

[TextureOverrideLaumaBodyVertexLimitRaise]
hash = cecefbb2
override_vertex_count = 34635
override_byte_stride = 40

[TextureOverrideLaumaBangPosition]
hash = f25edf24
vb0 = ResourceLaumaBangPosition
$active = 1

[TextureOverrideLaumaBangBlend]
hash = 158785a8
handling = skip
vb1 = ResourceLaumaBangBlend
draw = 2420, 0

[TextureOverrideLaumaBangTexcoord]
hash = 1e0aafe0
vb1 = ResourceLaumaBangTexcoord

[TextureOverrideLaumaBangVertexLimitRaise]
hash = e26e1db3
override_vertex_count = 2420
override_byte_stride = 40

[TextureOverrideLaumaEyePosition]
hash = 7e27b643
vb0 = ResourceLaumaEyePosition
$active = 1

[TextureOverrideLaumaEyeBlend]
hash = 6442cc7e
handling = skip
vb1 = ResourceLaumaEyeBlend
draw = 266, 0

[TextureOverrideLaumaEyeTexcoord]
hash = 6eb0f6d7
vb1 = ResourceLaumaEyeTexcoord

[TextureOverrideLaumaEyeVertexLimitRaise]
hash = 0a7a76aa
override_vertex_count = 266
override_byte_stride = 40

[TextureOverrideLaumaBodyIB]
hash = ce158bd6
handling = skip

[TextureOverrideLaumaBodyA]
hash = ce158bd6
match_first_index = 0
ib = ResourceLaumaBodyAIB
ps-t0 = ResourceLaumaBodyANormalMap
ps-t1 = ResourceLaumaBodyADiffuse
ps-t2 = ResourceLaumaBodyALightMap
run = CommandList\global\ORFix\ORFix
; Lauma Hair Back (4117)
drawindexed = 16680, 0, 0

[TextureOverrideLaumaBodyB]
hash = ce158bd6
match_first_index = 19074
ib = ResourceLaumaBodyBIB
ps-t0 = ResourceLaumaBodyBDiffuse
ps-t1 = ResourceLaumaBodyBLightMap
run = CommandList\global\ORFix\NNFix
; Lauma.Antlers.HairDeco (1801)
drawindexed = 6612, 0, 0
; Lauma.Earrings (428)
drawindexed = 1260, 6612, 0
; Neck B
; Lauma NeckEars (579)
drawindexed = 2574, 7872, 0
; Arms B
; Lauma ArmBands.L (375)
drawindexed = 1302, 10446, 0
; Lauma ArmBands.R (375)
drawindexed = 1302, 11748, 0
; Lauma ArmBands.R.Flowers (201)
drawindexed = 558, 13050, 0
; Lauma ArmCuffs.L (127)
drawindexed = 474, 13608, 0
; Lauma ArmCuffs.L.Flower (67)
drawindexed = 186, 14082, 0
; Lauma ArmCuffs.L.Wristband (76)
drawindexed = 192, 14268, 0
; Lauma ArmCuffs.R.Wristband (336)
drawindexed = 864, 14460, 0
; Lauma Arms (2465)
drawindexed = 10245, 15324, 0
; Hands B
; Lauma Hand.R Decorations (511)
drawindexed = 1242, 25569, 0
; Lauma Hand.R Decorations.Rings (204)
drawindexed = 576, 26811, 0
; Lauma Hand.R Wristband (279)
drawindexed = 738, 27387, 0
; Lauma Ring.L (36)
drawindexed = 144, 28125, 0
; Chest B
; Lauma Chest.TitsOut (3622)
drawindexed = 20208, 28269, 0

; Lauma Choker (238)
drawindexed = 618, 48477, 0


if $swap == 0
; Lauma Choker.Necklace.001 (45)
drawindexed = 84, 49095, 0
endif

; Pelvis B
; Lauma Pelvis.PussyOut (7607)
drawindexed = 40458, 49179, 0
; LegsFeet B
; Lauma Legs (2945)
drawindexed = 13806, 89637, 0
; Lauma Sandals (856)
drawindexed = 2502, 103443, 0
; Lauma Strap Sandals (2394)
drawindexed = 7026, 105945, 0

[TextureOverrideLaumaBodyC]
hash = ce158bd6
match_first_index = 75702
ib = ResourceLaumaBodyCIB
ps-t0 = ResourceLaumaBodyCNormalMap
ps-t1 = ResourceLaumaBodyCDiffuse
ps-t2 = ResourceLaumaBodyCLightMap
run = CommandList\global\ORFix\ORFix

; Lauma Band Cuff Joining Strip.R (60)
drawindexed = 222, 16650, 0
; Hands C
; Lauma ArmCuffs.L.Leaves (96)
drawindexed = 279, 16872, 0
; Lauma Hand.R Decorations.Straps (52)
drawindexed = 144, 17151, 0


ps-t0 = ResourceLaumaBodyCNormalMap
if $color == 0
ps-t1 = ResourceLaumaBodyBDiffuseG
elif $color == 1
ps-t1 = ResourceLaumaBodyBDiffuse
endif
ps-t2 = ResourceLaumaBodyBLightMap
run = CommandList\global\ORFix\ORFix

if $swap == 0
; Golden BIkini Bottom (1008)
drawindexed = 2442, 0, 0
; Golden Strap Bikini Top (997)
drawindexed = 3408, 2442, 0
elif $swap == 1
; MicroBikini Top.001 (872)
drawindexed = 2646, 5850, 0
; Microbikini Bottom.001 (508)
drawindexed = 2286, 8496, 0
elif $swap == 2
; SB Sling Bikini.001 (1358)
drawindexed = 5868, 10782, 0
endif
; Arms C


[TextureOverrideLaumaBangIB]
hash = 5a1345c9
handling = skip

[TextureOverrideLaumaBangA]
hash = 5a1345c9
match_first_index = 0
ib = ResourceLaumaBangAIB
ps-t0 = ResourceLaumaBangANormalMap
ps-t1 = ResourceLaumaBangADiffuse
ps-t2 = ResourceLaumaBangALightMap
run = CommandList\global\ORFix\ORFix
; Lauma Hair Front (2420)
drawindexed = 8862, 0, 0

[TextureOverrideLaumaEyeIB]
hash = c3e809a5
handling = skip

[TextureOverrideLaumaEyeA]
hash = c3e809a5
match_first_index = 0
ib = ResourceLaumaEyeAIB
ps-t0 = ResourceLaumaEyeADiffuse
ps-t1 = ResourceLaumaEyeALightMap
run = CommandList\global\ORFix\NNFix
; Eyes (266)
drawindexed = 768, 0, 0

[TextureOverrideLaumaHorns]
hash = 7306ff89
ps-t0 = ResourceLaumaHornsDiffuse
ps-t1 = ResourceLaumaHornsLightmap
run = CommandList\global\ORFix\NNFix
; CommandList -----------------------

[CommandListCreditInfo]
if $creditinfo == 0 && $active > 0
	pre Resource\ShaderFixes\help.ini\Notification = ResourceCreditInfo
	pre run = CustomShader\ShaderFixes\help.ini\FormatText
	pre $\ShaderFixes\help.ini\notification_timeout = time + 5.0
	$creditinfo = 1
endif

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

[ResourceLaumaBodyPosition]
type = Buffer
stride = 40
filename = LaumaBodyPosition.buf

[ResourceLaumaBodyBlend]
type = Buffer
stride = 32
filename = LaumaBodyBlend.buf

[ResourceLaumaBodyTexcoord]
type = Buffer
stride = 20
filename = LaumaBodyTexcoord.buf

[ResourceLaumaBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = LaumaBodyA.ib

[ResourceLaumaBodyBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = LaumaBodyB.ib

[ResourceLaumaBodyCIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = LaumaBodyC.ib

[ResourceLaumaBangPosition]
type = Buffer
stride = 40
filename = LaumaBangPosition.buf

[ResourceLaumaBangBlend]
type = Buffer
stride = 32
filename = LaumaBangBlend.buf

[ResourceLaumaBangTexcoord]
type = Buffer
stride = 12
filename = LaumaBangTexcoord.buf

[ResourceLaumaBangAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = LaumaBangA.ib

[ResourceLaumaEyePosition]
type = Buffer
stride = 40
filename = LaumaEyePosition.buf

[ResourceLaumaEyeBlend]
type = Buffer
stride = 32
filename = LaumaEyeBlend.buf

[ResourceLaumaEyeTexcoord]
type = Buffer
stride = 12
filename = LaumaEyeTexcoord.buf

[ResourceLaumaEyeAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = LaumaEyeA.ib

[ResourceLaumaBodyANormalMap]
filename = LaumaBodyANormalMap.dds

[ResourceLaumaBodyADiffuse]
filename = LaumaBodyADiffuse.dds

[ResourceLaumaBodyALightMap]
filename = LaumaBodyALightMap.dds

[ResourceLaumaBodyBDiffuse]
filename = LaumaBodyBDiffuse.dds

[ResourceLaumaBodyBDiffuseG]
filename = LaumaBodyBDiffuseG.dds

[ResourceLaumaBodyBLightMap]
filename = LaumaBodyBLightMap.dds

[ResourceLaumaBodyCNormalMap]
filename = LaumaBodyCNormalMap.dds

[ResourceLaumaHornsDiffuse]
filename = LaumaHornsADiffuse.dds

[ResourceLaumaHornsLightmap]
filename = LaumaHornsALightmap.dds

[ResourceLaumaBodyCDiffuse]
filename = LaumaBodyCDiffuse.dds

[ResourceLaumaBodyCLightMap]
filename = LaumaBodyCLightMap.dds

[ResourceLaumaBangANormalMap]
filename = LaumaBangANormalMap.dds

[ResourceLaumaBangADiffuse]
filename = LaumaBangADiffuse.dds

[ResourceLaumaBangALightMap]
filename = LaumaBangALightMap.dds

[ResourceLaumaEyeADiffuse]
filename = LaumaEyeADiffuse.dds

[ResourceLaumaEyeALightMap]
filename = LaumaEyeALightMap.dds

[ResourceCreditInfo]
type = Buffer
data = "Created by www.patreon.com/lewd_lad || lewdlad.fanbox.cc"

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



;NEW AND UNUSED

