; WWMI BETA-8 INI

; Mod State -------------------------

[KeySwapGlove]
condition = $object_detected == 1
key = NO_ALT VK_RIGHT
type = cycle
$swapvar_glove = -1, 0

[KeySwapShoe]
condition = $object_detected == 1
key = NO_ALT NO_SHIFT VK_DOWN
type = cycle
$swapvar_shoe = -1, 0, 1

[KeySwapTattoo]
condition = $object_detected == 1
key = NO_ALT VK_LEFT
type = cycle
$swapvar_tattoo = -1, 0, 1, 2

[KeySwapDress]
condition = $object_detected == 1
key = ALT NO_SHIFT VK_DOWN
type = cycle
$swapvar_dress = -1, 0, 1, 2

[KeySwapInner]
condition = $object_detected == 1
key = ALT SHIFT VK_DOWN
type = cycle
$swapvar_inner = -1, 0, 1, 2

[Constants]
global $required_wwmi_version = 1.00
global $object_guid = 263181
global $mesh_vertex_count = 84672
global $shapekey_vertex_count = 70342
global $shapekey_vertex_offset_batch0 = 0
global $shapekey_vertex_count_batch0 = 54754
global $shapekey_vertex_offset_batch1 = 54754
global $shapekey_vertex_count_batch1 = 15588
global $mod_id = -1000
global $state_id = 0
global $mod_enabled = 0
global $object_detected = 0
global $merge_status_id = 0
global $merge_status_id_0 = 0
global $merge_status_id_1 = 0
global $merge_status_id_2 = 0
global $merge_status_id_3 = 0
global $merge_status_id_4 = 0
global $merge_status_id_5 = 0
global $merge_status_id_6 = 0
; Swap vars aka toggles defaults
global persist $swapvar_glove = -1
global persist $swapvar_shoe = -1
global persist $swapvar_tattoo = -1
global persist $swapvar_dress = -1
global persist $swapvar_inner = -1
; Per-object state vars
global $draw_component_0_001 = 1
global $draw_component_1_001 = 1
global $draw_component_2_001 = 1
global $draw_component_3_002 = 1
global $draw_component_3_dress1 = 1
global $draw_component_3_g_barehand = 1
global $draw_component_3_g_glove = 1
global $draw_component_3_legtattoo = 1
global $draw_component_3_necktattoo = 1
global $draw_component_3_s_barefoot = 1
global $draw_component_3_s_barefoot_tip = 1
global $draw_component_3_s_shoes = 1
global $draw_component_4_dress1 = 1
global $draw_component_4_hairacc = 1
global $draw_component_5_e = 1
global $draw_component_5_panties = 1
global $draw_component_5_bra = 1
global $draw_component_5_jacket = 1
global $draw_component_6_001 = 1

[Present]
if $object_detected
    if $mod_enabled
        post $object_detected = 0
        run = CommandListInitializeBlendRemaps
        run = CommandListProcessToggles
        run = CommandListUpdateMergedSkeleton
    else
        if $mod_id == -1000
            run = CommandListRegisterMod
        endif
    endif
endif

[CommandListRegisterMod]
$\WWMIv1\required_wwmi_version = $required_wwmi_version
$\WWMIv1\object_guid = $object_guid
Resource\WWMIv1\ModName = ref ResourceModName
Resource\WWMIv1\ModAuthor = ref ResourceModAuthor
Resource\WWMIv1\ModDesc = ref ResourceModDesc
Resource\WWMIv1\ModLink = ref ResourceModLink
Resource\WWMIv1\ModLogo = ref ResourceModLogo
run = CommandList\WWMIv1\RegisterMod
$mod_id = $\WWMIv1\mod_id
if $mod_id >= 0
    $mod_enabled = 1
endif

[CommandListProcessToggles]
; Set display of each object according to toggles logic
$draw_component_3_g_barehand = ($swapvar_glove == -1)
$draw_component_3_g_glove = ($swapvar_glove == 0)
$draw_component_3_s_barefoot = ($swapvar_shoe == -1)
$draw_component_3_s_barefoot_tip = ($swapvar_shoe == 0)
$draw_component_3_s_shoes = ($swapvar_shoe == 1)
$draw_component_3_necktattoo = ($swapvar_tattoo == 0) || ($swapvar_tattoo == 2)
$draw_component_3_legtattoo = ($swapvar_tattoo == 1) || ($swapvar_tattoo == 2)
$draw_component_3_dress1 = ($swapvar_dress == 0) || ($swapvar_dress == 2)
$draw_component_4_dress1 = ($swapvar_dress == 0) || ($swapvar_dress == 2)
$draw_component_5_jacket = ($swapvar_dress == 1) || ($swapvar_dress == 2)
$draw_component_5_panties = ($swapvar_inner == 0) || ($swapvar_inner == 2)
$draw_component_5_bra = ($swapvar_inner == 1) || ($swapvar_inner == 2)

[CommandListUpdateMergedSkeleton]
$merge_status_id_0 = 0
$merge_status_id_1 = 0
$merge_status_id_2 = 0
$merge_status_id_3 = 0
$merge_status_id_4 = 0
$merge_status_id_5 = 0
$merge_status_id_6 = 0
ResourceMergedSkeleton = copy ResourceMergedSkeletonRW
ResourceExtraMergedSkeleton = copy ResourceExtraMergedSkeletonRW
run = CommandListRemapMergedSkeleton

[ResourceMergedSkeletonRemap]
[ResourceExtraMergedSkeletonRemap]

[ResourceBlendBufferOverride]
[ResourceExtraMergedSkeletonOverride]
[ResourceMergedSkeletonOverride]

[ResourceRemappedBlendBufferRW]
[ResourceRemappedSkeletonRW]
[ResourceExtraRemappedSkeletonRW]

[ResourceRemappedBlendBufferComponent4]
[ResourceRemappedSkeletonComponent4]
[ResourceExtraRemappedSkeletonComponent4]

[ResourceRemappedBlendBufferComponent5]
[ResourceRemappedSkeletonComponent5]
[ResourceExtraRemappedSkeletonComponent5]

[CommandListInitializeBlendRemaps]
local $blend_remaps_initialized
if !$blend_remaps_initialized
    ResourceRemappedSkeletonRW = copy ResourceMergedSkeletonRW
    ResourceExtraRemappedSkeletonRW = copy ResourceExtraMergedSkeletonRW

    $\WWMIv1\custom_vertex_count = $mesh_vertex_count
    $\WWMIv1\weights_per_vertex_count = 8
    cs-t34 = ref ResourceBlendRemapReverseBuffer
    cs-t35 = ref ResourceBlendRemapVertexVGBuffer

    $\WWMIv1\blend_remap_id = 0
    ResourceRemappedBlendBufferRW = copy ResourceBlendBufferNoStride
    cs-u4 = ref ResourceRemappedBlendBufferRW
    run = CustomShader\WWMIv1\BlendRemapper
    ResourceRemappedBlendBufferComponent4 = copy ResourceRemappedBlendBufferRW
    ResourceRemappedBlendBufferComponent4 = copy_desc ResourceBlendBuffer

    $\WWMIv1\blend_remap_id = 1
    ResourceRemappedBlendBufferRW = copy ResourceBlendBufferNoStride
    cs-u4 = ref ResourceRemappedBlendBufferRW
    run = CustomShader\WWMIv1\BlendRemapper
    ResourceRemappedBlendBufferComponent5 = copy ResourceRemappedBlendBufferRW
    ResourceRemappedBlendBufferComponent5 = copy_desc ResourceBlendBuffer

    $blend_remaps_initialized = 1
endif

[CommandListRemapMergedSkeleton]
ResourceMergedSkeletonRemap = copy ResourceMergedSkeletonRW
ResourceExtraMergedSkeletonRemap = copy ResourceExtraMergedSkeletonRW

cs-t37 = ResourceBlendRemapForwardBuffer

$\WWMIv1\blend_remap_id = 0
$\WWMIv1\vg_count = 94
cs-t38 = ResourceMergedSkeletonRemap
cs-u5 = ResourceRemappedSkeletonRW
run = CustomShader\WWMIv1\SkeletonRemapper
ResourceRemappedSkeletonComponent4 = copy ResourceRemappedSkeletonRW
cs-t38 = ResourceExtraMergedSkeletonRemap
cs-u5 = ResourceExtraRemappedSkeletonRW
run = CustomShader\WWMIv1\SkeletonRemapper
ResourceExtraRemappedSkeletonComponent4 = copy ResourceExtraRemappedSkeletonRW

$\WWMIv1\blend_remap_id = 1
$\WWMIv1\vg_count = 68
cs-t38 = ResourceMergedSkeletonRemap
cs-u5 = ResourceRemappedSkeletonRW
run = CustomShader\WWMIv1\SkeletonRemapper
ResourceRemappedSkeletonComponent5 = copy ResourceRemappedSkeletonRW
cs-t38 = ResourceExtraMergedSkeletonRemap
cs-u5 = ResourceExtraRemappedSkeletonRW
run = CustomShader\WWMIv1\SkeletonRemapper
ResourceExtraRemappedSkeletonComponent5 = copy ResourceExtraRemappedSkeletonRW

; Resources: Mod Info -------------------------

[ResourceModName]
type = Buffer
data = "Unnamed Mod"

[ResourceModAuthor]
type = Buffer
data = "Unknown Author"

[ResourceModDesc]
; type = Buffer
; data = "Empty Mod Description"

[ResourceModLink]
; type = Buffer
; data = "Empty Mod Link"

[ResourceModLogo]
; filename = Textures/Logo.dds

; Shading: Draw Call Stacks Processing -------------------------

[TextureOverrideMarkBoneDataCB]
hash = f02baf77
match_priority = 0
filter_index = 3381.7777

[CommandListMergeSkeleton]
if $merge_status_id == 0
	if vs-cb4 == 3381.7777
		cs-cb8 = ref vs-cb4
		cs-u6 = ResourceMergedSkeletonRW
		$\WWMIv1\custom_mesh_scale = 1.00
		run = CustomShader\WWMIv1\SkeletonMerger
		$merge_status_id = 1
	endif
endif
if $merge_status_id == 1
	if vs-cb4 == 3381.7777 && vs-cb3 == 3381.7777
		cs-cb8 = ref vs-cb3
		cs-u6 = ResourceExtraMergedSkeletonRW
		$\WWMIv1\custom_mesh_scale = 1.00
		run = CustomShader\WWMIv1\SkeletonMerger
		$merge_status_id = 2
	endif
endif

[CommandListTriggerResourceOverrides]
CheckTextureOverride = ps-t0
CheckTextureOverride = ps-t1
CheckTextureOverride = ps-t2
CheckTextureOverride = ps-t3
CheckTextureOverride = ps-t4
CheckTextureOverride = ps-t5
CheckTextureOverride = ps-t6
CheckTextureOverride = ps-t7
CheckTextureOverride = ps-t8
CheckTextureOverride = vs-cb3
CheckTextureOverride = vs-cb4

[CommandListOverrideSharedResources]
ResourceBypassVB0 = ref vb0
ib = ResourceIndexBuffer
vb0 = ResourcePositionBuffer
vb1 = ResourceVectorBuffer
vb2 = ResourceTexcoordBuffer
vb3 = ResourceColorBuffer
if ResourceBlendBufferOverride === null
    vb4 = ResourceBlendBuffer
    if vs-cb4 == 3381.7777
        vs-cb4 = ref ResourceMergedSkeleton
		if vs-cb3 == 3381.7777
			vs-cb3 = ref ResourceExtraMergedSkeleton
		endif
	elif vs-cb3 == 3381.7777
		vs-cb3 = ref ResourceMergedSkeleton
    endif
else
    vb4 = ref ResourceBlendBufferOverride
    if vs-cb4 == 3381.7777
        vs-cb4 = ref ResourceMergedSkeletonOverride
		if vs-cb3 == 3381.7777
			vs-cb3 = ref ResourceExtraMergedSkeletonOverride
		endif
	elif vs-cb3 == 3381.7777
		vs-cb3 = ref ResourceMergedSkeletonOverride
    endif
endif

[CommandListCleanupSharedResources]
vb0 = ref ResourceBypassVB0
if ResourceBlendBufferOverride !== null
    ResourceBlendBufferOverride = null
    ResourceMergedSkeletonOverride = null
    ResourceExtraMergedSkeletonOverride = null
endif

[TextureOverrideComponent0]
hash = 15fb50a9
match_first_index = 0
match_index_count = 13842
$object_detected = 1
if $mod_enabled
    if $merge_status_id_0 != 2
        $\WWMIv1\vg_offset = 0
        $\WWMIv1\vg_count = 20
		$merge_status_id = $merge_status_id_0
		run = CommandListMergeSkeleton
		$merge_status_id_0 = $merge_status_id
	endif
    if ResourceMergedSkeleton !== null
        handling = skip
        run = CommandListTriggerResourceOverrides
        run = CommandListOverrideSharedResources
        ; Draw Component 0.001
        if $draw_component_0_001
			drawindexed = 13842, 0, 0
        endif
        run = CommandListCleanupSharedResources
    endif
endif

[TextureOverrideComponent1]
hash = 15fb50a9
match_first_index = 13842
match_index_count = 33159
$object_detected = 1
if $mod_enabled
    if $merge_status_id_1 != 2
        $\WWMIv1\vg_offset = 20
        $\WWMIv1\vg_count = 56
		$merge_status_id = $merge_status_id_1
		run = CommandListMergeSkeleton
		$merge_status_id_1 = $merge_status_id
	endif
    if ResourceMergedSkeleton !== null
        handling = skip
        run = CommandListTriggerResourceOverrides
        run = CommandListOverrideSharedResources
        ; Draw Component 1.001
        if $draw_component_1_001
			drawindexed = 33159, 13842, 0
        endif
        run = CommandListCleanupSharedResources
    endif
endif

[TextureOverrideComponent2]
hash = 15fb50a9
match_first_index = 47001
match_index_count = 14184
$object_detected = 1
if $mod_enabled
    if $merge_status_id_2 != 2
        $\WWMIv1\vg_offset = 76
        $\WWMIv1\vg_count = 21
		$merge_status_id = $merge_status_id_2
		run = CommandListMergeSkeleton
		$merge_status_id_2 = $merge_status_id
	endif
    if ResourceMergedSkeleton !== null
        handling = skip
        run = CommandListTriggerResourceOverrides
        run = CommandListOverrideSharedResources
        ; Draw Component 2.001
        if $draw_component_2_001
			drawindexed = 14184, 47001, 0
        endif
        run = CommandListCleanupSharedResources
    endif
endif

[TextureOverrideComponent3]
hash = 15fb50a9
match_first_index = 61185
match_index_count = 82884
$object_detected = 1
if $mod_enabled
    if $merge_status_id_3 != 2
        $\WWMIv1\vg_offset = 97
        $\WWMIv1\vg_count = 82
		$merge_status_id = $merge_status_id_3
		run = CommandListMergeSkeleton
		$merge_status_id_3 = $merge_status_id
	endif
    if ResourceMergedSkeleton !== null
        handling = skip
ps-t0 = ResourceTexture3
ps-t1 = ResourceTexture2
ps-t2 = ResourceTexture1
ps-t3 = ResourceTexture0
        run = CommandListTriggerResourceOverrides
        run = CommandListOverrideSharedResources
        ; Draw Component 3.002
        if $draw_component_3_002
			drawindexed = 56898, 61185, 0
        endif
        ; Draw Component 3.Dress1
        if $draw_component_3_dress1
			drawindexed = 7488, 118083, 0
        endif
        ; Draw Component 3.G_BareHand
        if $draw_component_3_g_barehand
			drawindexed = 20484, 125571, 0
        endif
        ; Draw Component 3.G_Glove
        if $draw_component_3_g_glove
			drawindexed = 30678, 146055, 0
        endif
        ; Draw Component 3.LegTattoo
        if $draw_component_3_legtattoo
			drawindexed = 141, 176733, 0
        endif
        ; Draw Component 3.NeckTattoo
        if $draw_component_3_necktattoo
			drawindexed = 1275, 176874, 0
        endif
        ; Draw Component 3.S_Barefoot
        if $draw_component_3_s_barefoot
			drawindexed = 14328, 178149, 0
        endif
        ; Draw Component 3.S_Barefoot.tip
        if $draw_component_3_s_barefoot_tip
			drawindexed = 14328, 192477, 0
        endif
        ; Draw Component 3.S_Shoes
        if $draw_component_3_s_shoes
			drawindexed = 12738, 206805, 0
        endif
        run = CommandListCleanupSharedResources
    endif
endif

[TextureOverrideComponent4]
hash = 15fb50a9
match_first_index = 144069
match_index_count = 82332
$object_detected = 1
if $mod_enabled
    if $merge_status_id_4 != 2
        $\WWMIv1\vg_offset = 179
        $\WWMIv1\vg_count = 94
		$merge_status_id = $merge_status_id_4
		run = CommandListMergeSkeleton
		$merge_status_id_4 = $merge_status_id
	endif
    if ResourceMergedSkeleton !== null
        handling = skip
        ResourceBlendBufferOverride = ref ResourceRemappedBlendBufferComponent4
        ResourceMergedSkeletonOverride = ref ResourceRemappedSkeletonComponent4
        ResourceExtraMergedSkeletonOverride = ref ResourceExtraRemappedSkeletonComponent4
        run = CommandListTriggerResourceOverrides
        run = CommandListOverrideSharedResources
        ; Draw Component 4.Dress1
        if $draw_component_4_dress1
			drawindexed = 59685, 219543, 0
        endif
        ; Draw Component 4.HairAcc
        if $draw_component_4_hairacc
			drawindexed = 19578, 279228, 0
        endif
        run = CommandListCleanupSharedResources
    endif
endif

[TextureOverrideComponent5]
hash = 15fb50a9
match_first_index = 226401
match_index_count = 34740
$object_detected = 1
if $mod_enabled
    if $merge_status_id_5 != 2
        $\WWMIv1\vg_offset = 273
        $\WWMIv1\vg_count = 57
		$merge_status_id = $merge_status_id_5
		run = CommandListMergeSkeleton
		$merge_status_id_5 = $merge_status_id
	endif
    if ResourceMergedSkeleton !== null
        handling = skip
        ResourceBlendBufferOverride = ref ResourceRemappedBlendBufferComponent5
        ResourceMergedSkeletonOverride = ref ResourceRemappedSkeletonComponent5
        ResourceExtraMergedSkeletonOverride = ref ResourceExtraRemappedSkeletonComponent5
        run = CommandListTriggerResourceOverrides
        run = CommandListOverrideSharedResources
        ; Draw Component 5.E
        if $draw_component_5_e
			drawindexed = 0, 298806, 0
        endif
        ; Draw Component 5.Panties
        if $draw_component_5_panties
			drawindexed = 2220, 298806, 0
        endif
        ; Draw Component 5.bra
        if $draw_component_5_bra
			drawindexed = 24492, 301026, 0
        endif
        ; Draw Component 5.jacket
        if $draw_component_5_jacket
			drawindexed = 34740, 325518, 0
        endif
        run = CommandListCleanupSharedResources
    endif
endif

[TextureOverrideComponent6]
hash = 15fb50a9
match_first_index = 261141
match_index_count = 2040
$object_detected = 1
if $mod_enabled
    if $merge_status_id_6 != 2
        $\WWMIv1\vg_offset = 330
        $\WWMIv1\vg_count = 1
		$merge_status_id = $merge_status_id_6
		run = CommandListMergeSkeleton
		$merge_status_id_6 = $merge_status_id
	endif
    if ResourceMergedSkeleton !== null
        handling = skip
        run = CommandListTriggerResourceOverrides
        run = CommandListOverrideSharedResources
        ; Draw Component 6.001
        if $draw_component_6_001
			drawindexed = 2040, 360258, 0
        endif
        run = CommandListCleanupSharedResources
    endif
endif

; Shading: Textures -------------------------

[ResourceTexture0]
filename = Textures/Components-3 t=348c9329.dds

[TextureOverrideTexture0]
hash = 348c9329
match_priority = 0
if $object_detected
    this = ResourceTexture0
endif

[ResourceTexture1]
filename = Textures/Components-3 t=621a6f4f.dds

[TextureOverrideTexture1]
hash = 621a6f4f
match_priority = 0
if $object_detected
    this = ResourceTexture1
endif

[ResourceTexture2]
filename = Textures/Components-3 t=62d877e3.dds

[TextureOverrideTexture2]
hash = 62d877e3
match_priority = 0
if $object_detected
    this = ResourceTexture2
endif

[ResourceTexture3]
filename = Textures/Components-3 t=7d8d1ae0.dds

[TextureOverrideTexture3]
hash = 7d8d1ae0
match_priority = 0
if $object_detected
    this = ResourceTexture3
endif

; Skinning: Shape Keys Override -------------------------

[TextureOverrideShapeKeyOffsets]
hash = 7fe8c94e
match_priority = 0
override_byte_stride = 24
override_vertex_count = $mesh_vertex_count

[TextureOverrideShapeKeyScale]
hash = 81378bbb
match_priority = 0
override_byte_stride = 4
override_vertex_count = $mesh_vertex_count

[CommandListSetupShapeKeysBatch]
$\WWMIv1\shapekey_checksum_batch0 = 7383
$\WWMIv1\shapekey_vertex_offset_original_batch0 = 0
$\WWMIv1\shapekey_vertex_offset_custom_batch0 = $shapekey_vertex_offset_batch0
$\WWMIv1\shapekey_checksum_batch1 = 5839
$\WWMIv1\shapekey_vertex_offset_original_batch1 = 59556
$\WWMIv1\shapekey_vertex_offset_custom_batch1 = $shapekey_vertex_offset_batch1
cs-t33 = ResourceShapeKeyOffsetBuffer
cs-u5 = ResourceCustomShapeKeyValuesRW
cs-u6 = ResourceShapeKeyCBRW
run = CustomShader\WWMIv1\ShapeKeyBatchOverrider

[CommandListLoadShapeKeysBatch]
$\WWMIv1\shapekey_dispatch_size_y_original_batch0 = 1862
$\WWMIv1\shapekey_vertex_count_batch0 = $shapekey_vertex_count_batch0
$\WWMIv1\shapekey_dispatch_size_y_original_batch1 = 487
$\WWMIv1\shapekey_vertex_count_batch1 = $shapekey_vertex_count_batch1
cs-t0 = ResourceShapeKeyVertexIdBuffer
cs-t1 = ResourceShapeKeyVertexOffsetBuffer
cs-u6 = ResourceShapeKeyCBRW
run = CommandList\WWMIv1\LoadShapeKeysBatch

[TextureOverrideShapeKeyLoaderCallback]
hash = 7fe8c94e
match_priority = 0
if $mod_enabled
    if cs == 3381.3333 && ResourceMergedSkeleton !== null
        handling = skip
        run = CommandListSetupShapeKeysBatch
        run = CommandListLoadShapeKeysBatch
    endif
endif

[CommandListMultiplyShapeKeys]
$\WWMIv1\custom_vertex_count = $mesh_vertex_count
run = CustomShader\WWMIv1\ShapeKeyMultiplier

[TextureOverrideShapeKeyMultiplierCallback]
hash = 7fe8c94e
match_priority = 0
if $mod_enabled
    if cs == 3381.4444 && ResourceMergedSkeleton !== null
        handling = skip
        run = CommandListMultiplyShapeKeys
    endif
endif

; Resources: Shape Keys Override -------------------------

[ResourceShapeKeyCBRW]
type = RWBuffer
format = R32G32B32A32_UINT
array = 66

[ResourceCustomShapeKeyValuesRW]
type = RWBuffer
format = R32G32B32A32_FLOAT
array = 64

; Resources: Skeleton Override -------------------------

[ResourceMergedSkeleton]

[ResourceMergedSkeletonRW]
type = RWBuffer
format = R32G32B32A32_FLOAT
array = 1536

[ResourceExtraMergedSkeleton]

[ResourceExtraMergedSkeletonRW]
type = RWBuffer
format = R32G32B32A32_FLOAT
array = 1536

; Resources: Buffers -------------------------

[ResourceBypassVB0]

[ResourceIndexBuffer]
type = Buffer
format = DXGI_FORMAT_R32_UINT
stride = 12
filename = Meshes/Index.buf

[ResourcePositionBuffer]
type = Buffer
format = DXGI_FORMAT_R32G32B32_FLOAT
stride = 12
filename = Meshes/Position.buf

[ResourceBlendBuffer]
type = Buffer
format = DXGI_FORMAT_R8_UINT
stride = 16
filename = Meshes/Blend.buf

[ResourceBlendBufferNoStride]
type = Buffer
format = DXGI_FORMAT_R8_UINT
filename = Meshes/Blend.buf

[ResourceVectorBuffer]
type = Buffer
format = DXGI_FORMAT_R8G8B8A8_SNORM
stride = 8
filename = Meshes/Vector.buf

[ResourceColorBuffer]
type = Buffer
format = DXGI_FORMAT_R8G8B8A8_UNORM
stride = 4
filename = Meshes/Color.buf

[ResourceTexCoordBuffer]
type = Buffer
format = DXGI_FORMAT_R16G16_FLOAT
stride = 16
filename = Meshes/TexCoord.buf

[ResourceBlendRemapVertexVGBuffer]
type = Buffer
format = DXGI_FORMAT_R16_UINT
filename = Meshes/BlendRemapVertexVG.buf

[ResourceBlendRemapForwardBuffer]
type = Buffer
format = DXGI_FORMAT_R16_UINT
filename = Meshes/BlendRemapForward.buf

[ResourceBlendRemapReverseBuffer]
type = Buffer
format = DXGI_FORMAT_R16_UINT
filename = Meshes/BlendRemapReverse.buf

[ResourceShapeKeyOffsetBuffer]
type = Buffer
format = DXGI_FORMAT_R32G32B32A32_UINT
stride = 16
filename = Meshes/ShapeKeyOffset.buf

[ResourceShapeKeyVertexIdBuffer]
type = Buffer
format = DXGI_FORMAT_R32_UINT
stride = 4
filename = Meshes/ShapeKeyVertexId.buf

[ResourceShapeKeyVertexOffsetBuffer]
type = Buffer
format = DXGI_FORMAT_R16_FLOAT
stride = 2
filename = Meshes/ShapeKeyVertexOffset.buf

; Autogenerated -------------------------

; This mod.ini was generated by WWMI Tools Blender addon v1.7.3 and requires WWMI v1.0.0+ to function

; XXMI Launcher GameBanana: https://gamebanana.com/tools/17252
; XXMI Launcher GitHub: https://github.com/SpectrumQT/XXMI-Launcher
; WWMI Package GitHub: https://github.com/SpectrumQT/WWMI-Package
; WWMI Tools GameBanana: https://gamebanana.com/tools/17289
; WWMI Tools GitHub: https://github.com/SpectrumQT/WWMI-Tools
; AGMG Modding Community Discord: https://discord.com/invite/agmg
; SHA256 CHECKSUM: aaaf870dc7d5ce6934589fd7692e93323e6b3f06534e4e9575d614f3746c5383
