
[KeyMenu]
condition = $object_detected == 1
key = no_modifiers /
type = cycle
$menu = 0,1

[KeyMenu.ResetPosition]
condition = $menu == 1
key = no_modifiers .
run = CommandListResetMenuPos

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

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

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

[KeyMenu.Navigate.FORWARD]
condition = $menu == 1 && !$navigating 
key = no_ctrl no_shift no_alt VK_DOWN
type = hold
run = CommandListNavigateMenu.FORWARD

[KeyMenu.Navigate.BACKWARDS]
condition = $menu == 1 && !$navigating 
key = no_ctrl no_shift no_alt VK_UP
type = hold
run = CommandListNavigateMenu.BACKWARDS

[KeyMenu.Navigate.PRESS.LEFT]
condition = $menu == 1
key = no_ctrl no_shift no_alt VK_LEFT
type = hold
run = CommandListNavigateMenu.Press.LEFT

[KeyMenu.Navigate.PRESS.RIGHT]
condition = $menu == 1
key = no_ctrl no_shift no_alt VK_RIGHT
type = hold
run = CommandListNavigateMenu.Press.RIGHT

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

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

[ResourceModDesc]

[ResourceModLink]

[ResourceModLogo]

[Constants]
global $required_efmi_version = 1.23
global $object_guid = 239916
global $mesh_vertex_count = 300532
global $mod_id = -1000
global $mod_enabled = 0
global $object_detected = 0
global $lod_level = 0
global $HIdTDInMqT = 0

global persist $swapvar_toggle_0 = -1
global persist $swapvar_toggle_1 = 0
global persist $swapvar_toggle_2 = -1
global persist $swapvar_toggle_3 = -1
global persist $swapvar_toggle_4 = -1
global persist $swapvar_toggle_5 = 0
global persist $swapvar_toggle_6 = 0
global persist $swapvar_toggle_7 = -1
global persist $swapvar_toggle_8 = 0

global $draw_component_0_component_0_deffba8c_velo_sync = 1
global $draw_component_1_component_1_1f3a085f_velo_sync = 1
global $L3JjeYSx6I = 1
global $bj_enHDPAy = 1
global $qsh5FpXJnL = 1
global $CyDdllg2nt = 1
global $gHf6Z9x5AQ = 1
global $SpzqZHCGJh = 1
global $gwzwEINzBX = 1
global $u4UwAxyonc = 1
global $bNCHa_lmgf = 1
global $EefPqpWlfW = 1
global $DF_jIRJysg = 1
global $UVsjtd4NoS = 1
global $NnVnEsRQ8f = 1
global $Q01BRo5HV7 = 1
global $jbDKC5Da7F = 1
global $mFjF7suzQr = 1
global $sRmuGf_JKl = 1
global $SdOR4oeSMN = 1
global $tOZAY9uyDu = 1
global $sDlKtpD_EY = 1
global $draw_component_4_component_4_999d2fc0_velo_sync = 1
global $draw_component_5_component_5_9cdeb59a_velo_sync = 1
global $draw_component_6_component_6_e47140cd_velo_sync = 1
global $draw_component_7_component_7_a3fe5c47_velo_sync = 1
global $draw_component_9_004_velo_sync = 1
global $bxJ3XFomOD = 1
global $j9cqoU5I39 = 1
global $Zo8K80WePi = 1
global $ulF7C34NzZ = 1
global $Hug_LjdRzj = 1
global $WCbJoubEil = 1
global $fiXC4NtYps = 1
global $QP7RXhFIeP = 1
global $DSvxHhtEPa = 1
global $qvuvZmD2Cx = 1
global $RF13KAeXgc = 1
global $gCGUTTCjER = 1
global $o7MfENgk3Z = 1
global $tJJb_3RML8 = 1
global $lvJKfkOSua = 1
global $f00wev0NMi = 1
global $FlJxMa0DgA = 1
global $draw_component_10_component_10_9e31e918_velo_sync = 0
global $draw_component_12_cpu_posed_only_textures_modding_supported_velo_sync = 1

global $active0 = 0
global persist $menu = 0
global $menu_move = 1
global $menu_d = 0
global $mms = 0
global $drag = 0
global $hold = 0
global $hovering = 0
global $slot = 0
global $hoveredSlot = 0
global $clickedSlot = 0
global $selectedSlot = 0
global $targetSelectedSlot = 0
global $navigating = 0
global $navSpeed = 0
global $navDirection = 0
global $window_width = 1920
global $window_height = 1080
global persist $mx = 0.5
global persist $my = 0.100000001
global $ww = 0
global $wh = 0
global $cpx = 0
global $cpy = 0
global $dt = 0
global $ts = 0
global $holdShape = 0
global $ui_scale = 1
global $ui_px = 1
global $menu_draw = 0
global $menu_open_t = 0
global $menu_open_scale = 0
global $menu_open_ease = 0
global $slot_click_anim = 0
global $slot_click_slot = 0
global $slot_click_t = 0
global $slot_click_scale = 1
global $slot_click_phase = 0
global $slot_click_ease = 0
global $slot_draw_scale = 1
global $slot_hover_slot = 0
global $slot_hover_scale = 1
global $slot_hover_t = 0
global $slot_hover_active = 0
global $slot_hover_ease = 0
global $slot_hover_lock = 0
global $slot_hover_lock_slot = 0

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

if $menu == 0 && $menu_draw == 0
    $menu_open_t = 0
    $menu_open_scale = 0
    $menu_open_ease = 0
    $slot_click_anim = 0
    $slot_click_slot = 0
    $slot_click_t = 0
    $slot_click_scale = 1
    $slot_click_phase = 0
    $slot_click_ease = 0
    $slot_draw_scale = 1
    $slot_hover_slot = 0
    $slot_hover_scale = 1
    $slot_hover_t = 0
    $slot_hover_active = 0
    $slot_hover_ease = 0
    $slot_hover_lock = 0
    $slot_hover_lock_slot = 0
endif
if $object_detected && $mod_enabled
    $dt = time - $ts
    $ts = time
    if $menu == 1 && $menu_draw == 0
        $menu_draw = 1
        $menu_open_t = 0
        $menu_open_scale = 0
        $menu_open_ease = 0
        $ui_scale = 1
        $ui_px = 1
    endif
    if $menu_draw == 1
        run = CommandListOutfitMenu
    endif
endif

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

[CommandListProcessToggles]

$draw_component_1_component_1_1f3a085f_velo_sync = ($swapvar_toggle_8 == 0)
$gHf6Z9x5AQ = ($swapvar_toggle_0 == -1) && ($swapvar_toggle_7 == -1)
$mFjF7suzQr = ($swapvar_toggle_0 == -1) && ($swapvar_toggle_7 == -1)
$o7MfENgk3Z = ($swapvar_toggle_0 == -1) && ($swapvar_toggle_7 == -1)
$Q01BRo5HV7 = ($swapvar_toggle_7 == -1)
$RF13KAeXgc = ($swapvar_toggle_7 == -1)
$bj_enHDPAy = ($swapvar_toggle_0 == -1)
$WCbJoubEil = ($swapvar_toggle_0 == -1)
$tJJb_3RML8 = ($swapvar_toggle_7 == -1)
$qsh5FpXJnL = ($swapvar_toggle_0 == -1) && ($swapvar_toggle_7 == 0)
$UVsjtd4NoS = ($swapvar_toggle_0 == -1) && ($swapvar_toggle_7 == 0)
$QP7RXhFIeP = ($swapvar_toggle_0 == -1) && ($swapvar_toggle_7 == 0)
$fiXC4NtYps = ($swapvar_toggle_0 == -1) && ($swapvar_toggle_7 == 0)
$SpzqZHCGJh = ($swapvar_toggle_1 == 0)
$sDlKtpD_EY = ($swapvar_toggle_1 == 0)
$f00wev0NMi = ($swapvar_toggle_1 == 0)
$NnVnEsRQ8f = ($swapvar_toggle_7 != -1) && ($swapvar_toggle_2 == -1)
$DSvxHhtEPa = ($swapvar_toggle_7 != -1) && ($swapvar_toggle_2 == -1)
$DF_jIRJysg = ($swapvar_toggle_3 == -1)
$Hug_LjdRzj = ($swapvar_toggle_3 == -1)
$bNCHa_lmgf = ($swapvar_toggle_3 == -1) || ($swapvar_toggle_3 == 0)
$Zo8K80WePi = ($swapvar_toggle_3 == -1) || ($swapvar_toggle_3 == 0)
$sRmuGf_JKl = ($swapvar_toggle_3 == -1)
$EefPqpWlfW = ($swapvar_toggle_3 == 0)
$ulF7C34NzZ = ($swapvar_toggle_3 == 0)
$u4UwAxyonc = ($swapvar_toggle_3 == 1)
$j9cqoU5I39 = ($swapvar_toggle_3 == 1)
$draw_component_10_component_10_9e31e918_velo_sync = ($swapvar_toggle_4 == 0)
$FlJxMa0DgA = ($swapvar_toggle_5 == 0)
$qvuvZmD2Cx = ($swapvar_toggle_6 == 0) || ($swapvar_toggle_6 == 1)
$draw_component_9_004_velo_sync = ($swapvar_toggle_6 == 0) || ($swapvar_toggle_6 == 2)
$tOZAY9uyDu = ($swapvar_toggle_7 == -1) && ($swapvar_toggle_1 != 0)
$lvJKfkOSua = ($swapvar_toggle_7 == -1) && ($swapvar_toggle_1 != 0)
$CyDdllg2nt = ($swapvar_toggle_0 == 0) && ($swapvar_toggle_7 == -1)
$jbDKC5Da7F = ($swapvar_toggle_0 == 0) && ($swapvar_toggle_7 == -1)
$gCGUTTCjER = ($swapvar_toggle_0 == 0) && ($swapvar_toggle_7 == -1)
$L3JjeYSx6I = ($swapvar_toggle_0 == 0) && ($swapvar_toggle_7 == 0)
$gwzwEINzBX = ($swapvar_toggle_0 == 0) && ($swapvar_toggle_7 == 0)
$bxJ3XFomOD = ($swapvar_toggle_0 == 0) && ($swapvar_toggle_7 == 0)

[CommandList_Draw_Component0]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component0_IB
if $lod_level == 0
    vb0 = ref Resource_Component0_VB0
    vb3 = ref Resource_Component0_VB0
    vb1 = ref Resource_Component0_VB1
    vb2 = ref Resource_Component0_VB2
elif $lod_level == 1
    vb0 = ref Resource_Component0_VB0
    vb3 = ref Resource_Component0_VB0
    vb1 = ref Resource_Component0_VB1_LOD1
    vb2 = ref Resource_Component0_VB2_LOD1
endif

if $draw_component_0_component_0_deffba8c_velo_sync
    drawindexedinstanced = 75987, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component1]

run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component1_IB
if $lod_level == 0
    vb0 = ref Resource_Component1_VB0
    vb3 = ref Resource_Component1_VB0
    vb1 = ref Resource_Component1_VB1
    vb2 = ref Resource_Component1_VB2
elif $lod_level == 1
    vb0 = ref Resource_Component1_VB0
    vb3 = ref Resource_Component1_VB0
    vb1 = ref Resource_Component1_VB1_LOD1
    vb2 = ref Resource_Component1_VB2_LOD1
endif

if vs == 200 || vs == 201 || vs == 204 || vs == 205
    if vs == 205
        run = CustomShader_ExtractCB3_C1
    elif vs == 201 || vs == 204
        run = CustomShader_ExtractCB2_C1
    else
        run = CustomShader_ExtractCB1_C1
    endif
    if vs == 204 || vs == 205
        cs-t2 = ResourceID_CrossIB_C1_EFFECT
    else
        if $lod_level == 0
            cs-t2 = ResourceID_CrossIB_C1
        elif $lod_level == 1
            cs-t2 = ResourceID_CrossIB_C1_LOD1
        else
            cs-t2 = ResourceID_CrossIB_C1
        endif
    endif
    run = CustomShader_RecordBones_C1
    run = CustomShader_RedirectCB1_C1
    vs-t0 = ResourceFakeT0_SRV
    if vs == 205
        vs-cb3 = ResourceFakeCB1
    elif vs == 201 || vs == 204
        vs-cb2 = ResourceFakeCB1
    else
        vs-cb1 = ResourceFakeCB1
    endif
    vb3 = vb0
endif
if vs == 200 || vs == 201 || vs == 204 || vs == 205

    if $L3JjeYSx6I
        drawindexedinstanced = 4368, INSTANCE_COUNT, 6402, 0, FIRST_INSTANCE
    endif

    if $CyDdllg2nt
        drawindexedinstanced = 4368, INSTANCE_COUNT, 17940, 0, FIRST_INSTANCE
    endif

    if $gHf6Z9x5AQ
        drawindexedinstanced = 4368, INSTANCE_COUNT, 22308, 0, FIRST_INSTANCE
    endif

    if $qsh5FpXJnL
        drawindexedinstanced = 4368, INSTANCE_COUNT, 13572, 0, FIRST_INSTANCE
    endif

    if $bj_enHDPAy
        drawindexedinstanced = 2802, INSTANCE_COUNT, 10770, 0, FIRST_INSTANCE
    endif
endif
if vs == 200 || vs == 204 || vs == 205

    if $SpzqZHCGJh
        if vs != 200
            drawindexedinstanced = 6861, INSTANCE_COUNT, 26676, 0, FIRST_INSTANCE
        endif
    endif
endif

if $draw_component_1_component_1_1f3a085f_velo_sync
    drawindexedinstanced = 6402, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif
post vs-cb1 = null
post vs-cb2 = null
post vs-cb3 = null
post vs-t0 = null
post cs-t2 = null

[CommandList_Draw_Component2]

run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component2_IB
if $lod_level == 0
    vb0 = ref Resource_Component2_VB0
    vb3 = ref Resource_Component2_VB0
    vb1 = ref Resource_Component2_VB1
    vb2 = ref Resource_Component2_VB2
elif $lod_level == 1
    vb0 = ref Resource_Component2_VB0
    vb3 = ref Resource_Component2_VB0
    vb1 = ref Resource_Component2_VB1_LOD1
    vb2 = ref Resource_Component2_VB2_LOD1
endif
run = CommandListCKtCAci_qb

if vs == 200 || vs == 201 || vs == 204 || vs == 205
    if vs == 205
        run = CustomShader_ExtractCB3_C2
    elif vs == 201 || vs == 204
        run = CustomShader_ExtractCB2_C2
    else
        run = CustomShader_ExtractCB1_C2
    endif
    if vs == 204 || vs == 205
        cs-t2 = ResourceID_CrossIB_C2_EFFECT
    else
        if $lod_level == 0
            cs-t2 = ResourceID_CrossIB_C2
        elif $lod_level == 1
            cs-t2 = ResourceID_CrossIB_C2_LOD1
        else
            cs-t2 = ResourceID_CrossIB_C2
        endif
    endif
    run = CustomShader_RecordBones_C2
    run = CustomShader_RedirectCB1_C2
    vs-t0 = ResourceFakeT0_SRV
    if vs == 205
        vs-cb3 = ResourceFakeCB1
    elif vs == 201 || vs == 204
        vs-cb2 = ResourceFakeCB1
    else
        vs-cb1 = ResourceFakeCB1
    endif
    vb3 = vb0
endif
if vs == 200 || vs == 201 || vs == 204 || vs == 205

    if $bNCHa_lmgf
        drawindexedinstanced = 2628, INSTANCE_COUNT, 33906, 0, FIRST_INSTANCE
    endif

    if $Q01BRo5HV7
        drawindexedinstanced = 5532, INSTANCE_COUNT, 98952, 0, FIRST_INSTANCE
    endif

    if $NnVnEsRQ8f
        drawindexedinstanced = 8112, INSTANCE_COUNT, 90840, 0, FIRST_INSTANCE
    endif
endif
if vs == 200 || vs == 204 || vs == 205

    if $sRmuGf_JKl
        if vs != 200
            drawindexedinstanced = 5748, INSTANCE_COUNT, 131550, 0, FIRST_INSTANCE
        endif
    endif

    if $SdOR4oeSMN
        if vs != 200
            drawindexedinstanced = 9564, INSTANCE_COUNT, 137298, 0, FIRST_INSTANCE
        endif
    endif

    if $tOZAY9uyDu
        drawindexedinstanced = 1533, INSTANCE_COUNT, 146862, 0, FIRST_INSTANCE
    endif

    if $sDlKtpD_EY
        if vs != 200
            drawindexedinstanced = 32565, INSTANCE_COUNT, 148395, 0, FIRST_INSTANCE
        endif
    endif
endif

if $gwzwEINzBX
    drawindexedinstanced = 13542, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

if $u4UwAxyonc
    drawindexedinstanced = 20364, INSTANCE_COUNT, 13542, 0, FIRST_INSTANCE
endif

if $EefPqpWlfW
    drawindexedinstanced = 20382, INSTANCE_COUNT, 36534, 0, FIRST_INSTANCE
endif

if $DF_jIRJysg
    drawindexedinstanced = 20382, INSTANCE_COUNT, 56916, 0, FIRST_INSTANCE
endif

if $UVsjtd4NoS
    drawindexedinstanced = 13542, INSTANCE_COUNT, 77298, 0, FIRST_INSTANCE
endif

if $jbDKC5Da7F
    drawindexedinstanced = 13542, INSTANCE_COUNT, 104484, 0, FIRST_INSTANCE
endif

if $mFjF7suzQr
    drawindexedinstanced = 13524, INSTANCE_COUNT, 118026, 0, FIRST_INSTANCE
endif

if vs == 202 || vs == 203
    if $lod_level == 0
        cs-t2 = ResourceID_CrossIB_C9
    elif $lod_level == 1
        cs-t2 = ResourceID_CrossIB_C9_LOD1
    else
        cs-t2 = ResourceID_CrossIB_C9
    endif
    run = CustomShader_RedirectCB1_C2
    vs-t0 = ResourceFakeT0_SRV
    vs-cb2 = ResourceFakeCB1
    ib  = ref Resource_Component9_IB
    vb0 = ref Resource_Component9_VB0
    vb1 = ref Resource_Component9_VB1
    if $lod_level == 0
        vb2 = ref Resource_Component9_VB2
    elif $lod_level == 1
        vb2 = ref Resource_Component9_VB2_LOD1
    else
        vb2 = ref Resource_Component9_VB2
    endif
    vb3 = vb0

    if $bxJ3XFomOD
        drawindexedinstanced = 153414, INSTANCE_COUNT, 591, 0, FIRST_INSTANCE
    endif

    if $j9cqoU5I39
        drawindexedinstanced = 124668, INSTANCE_COUNT, 154005, 0, FIRST_INSTANCE
    endif

    if $ulF7C34NzZ
        drawindexedinstanced = 124650, INSTANCE_COUNT, 286257, 0, FIRST_INSTANCE
    endif

    if $Hug_LjdRzj
        drawindexedinstanced = 124650, INSTANCE_COUNT, 410907, 0, FIRST_INSTANCE
    endif

    if $QP7RXhFIeP
        drawindexedinstanced = 153414, INSTANCE_COUNT, 556011, 0, FIRST_INSTANCE
    endif

    if $gCGUTTCjER
        drawindexedinstanced = 153414, INSTANCE_COUNT, 787740, 0, FIRST_INSTANCE
    endif

    if $o7MfENgk3Z
        drawindexedinstanced = 153432, INSTANCE_COUNT, 941154, 0, FIRST_INSTANCE
    endif
endif

if vs == 202 || vs == 203
    if $lod_level == 0
        cs-t2 = ResourceID_CrossIB_C1
    elif $lod_level == 1
        cs-t2 = ResourceID_CrossIB_C1_LOD1
    else
        cs-t2 = ResourceID_CrossIB_C1
    endif
    run = CustomShader_RedirectCB1_C2
    vs-t0 = ResourceFakeT0_SRV
    vs-cb2 = ResourceFakeCB1
    ib  = ref Resource_Component1_IB
    vb0 = ref Resource_Component1_VB0
    vb1 = ref Resource_Component1_VB1
    if $lod_level == 0
        vb2 = ref Resource_Component1_VB2
    elif $lod_level == 1
        vb2 = ref Resource_Component1_VB2_LOD1
    else
        vb2 = ref Resource_Component1_VB2
    endif
    vb3 = vb0

    if $L3JjeYSx6I
        drawindexedinstanced = 4368, INSTANCE_COUNT, 6402, 0, FIRST_INSTANCE
    endif

    if $qsh5FpXJnL
        drawindexedinstanced = 4368, INSTANCE_COUNT, 13572, 0, FIRST_INSTANCE
    endif

    if $CyDdllg2nt
        drawindexedinstanced = 4368, INSTANCE_COUNT, 17940, 0, FIRST_INSTANCE
    endif

    if $gHf6Z9x5AQ
        drawindexedinstanced = 4368, INSTANCE_COUNT, 22308, 0, FIRST_INSTANCE
    endif
endif
run = CommandListb0uYNc7d4Q
post vs-cb1 = null
post vs-cb2 = null
post vs-cb3 = null
post vs-t0 = null
post cs-t2 = null

[CommandList_Draw_Component4]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component4_IB
if $lod_level == 0
    vb0 = ref Resource_Component4_VB0
    vb3 = ref Resource_Component4_VB0
    vb1 = ref Resource_Component4_VB1
    vb2 = ref Resource_Component4_VB2
elif $lod_level == 1
    vb0 = ref Resource_Component4_VB0
    vb3 = ref Resource_Component4_VB0
    vb1 = ref Resource_Component4_VB1_LOD1
    vb2 = ref Resource_Component4_VB2
endif

if $draw_component_4_component_4_999d2fc0_velo_sync
    drawindexedinstanced = 9576, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component5]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component5_IB
if $lod_level == 0
    vb0 = ref Resource_Component5_VB0
    vb3 = ref Resource_Component5_VB0
    vb1 = ref Resource_Component5_VB1
    vb2 = ref Resource_Component5_VB2
elif $lod_level == 1
    vb0 = ref Resource_Component5_VB0
    vb3 = ref Resource_Component5_VB0
    vb1 = ref Resource_Component5_VB1
    vb2 = ref Resource_Component5_VB2_LOD1
endif

if $draw_component_5_component_5_9cdeb59a_velo_sync
    drawindexedinstanced = 843, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component6]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component6_IB
if $lod_level == 0
    vb0 = ref Resource_Component6_VB0
    vb3 = ref Resource_Component6_VB0
    vb1 = ref Resource_Component6_VB1
    vb2 = ref Resource_Component6_VB2
elif $lod_level == 1
    vb0 = ref Resource_Component6_VB0
    vb3 = ref Resource_Component6_VB0
    vb1 = ref Resource_Component6_VB1
    vb2 = ref Resource_Component6_VB2
endif

if $draw_component_6_component_6_e47140cd_velo_sync
    drawindexedinstanced = 732, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component7]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component7_IB
if $lod_level == 0
    vb0 = ref Resource_Component7_VB0
    vb3 = ref Resource_Component7_VB0
    vb1 = ref Resource_Component7_VB1
    vb2 = ref Resource_Component7_VB2
elif $lod_level == 1
    vb0 = ref Resource_Component7_VB0
    vb3 = ref Resource_Component7_VB0
    vb1 = ref Resource_Component7_VB1
    vb2 = ref Resource_Component7_VB2
endif

if $draw_component_7_component_7_a3fe5c47_velo_sync
    drawindexedinstanced = 108, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component9]

run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component9_IB
if $lod_level == 0
    vb0 = ref Resource_Component9_VB0
    vb3 = ref Resource_Component9_VB0
    vb1 = ref Resource_Component9_VB1
    vb2 = ref Resource_Component9_VB2
elif $lod_level == 1
    vb0 = ref Resource_Component9_VB0
    vb3 = ref Resource_Component9_VB0
    vb1 = ref Resource_Component9_VB1_LOD1
    vb2 = ref Resource_Component9_VB2_LOD1
endif
run = CommandListfDnUPrrs6g

if vs == 200 || vs == 201 || vs == 204 || vs == 205
    if vs == 205
        run = CustomShader_ExtractCB3_C9
    elif vs == 201 || vs == 204
        run = CustomShader_ExtractCB2_C9
    else
        run = CustomShader_ExtractCB1_C9
    endif
    if vs == 204 || vs == 205
        cs-t2 = ResourceID_CrossIB_C9_EFFECT
    else
        if $lod_level == 0
            cs-t2 = ResourceID_CrossIB_C9
        elif $lod_level == 1
            cs-t2 = ResourceID_CrossIB_C9_LOD1
        else
            cs-t2 = ResourceID_CrossIB_C9
        endif
    endif
    run = CustomShader_RecordBones_C9
    run = CustomShader_RedirectCB1_C9
    vs-t0 = ResourceFakeT0_SRV
    if vs == 205
        vs-cb3 = ResourceFakeCB1
    elif vs == 201 || vs == 204
        vs-cb2 = ResourceFakeCB1
    else
        vs-cb1 = ResourceFakeCB1
    endif
    vb3 = vb0
endif
if vs == 200 || vs == 201 || vs == 204 || vs == 205

    if $bxJ3XFomOD
        drawindexedinstanced = 153414, INSTANCE_COUNT, 591, 0, FIRST_INSTANCE
    endif

    if $j9cqoU5I39
        drawindexedinstanced = 124668, INSTANCE_COUNT, 154005, 0, FIRST_INSTANCE
    endif

    if $ulF7C34NzZ
        drawindexedinstanced = 124650, INSTANCE_COUNT, 286257, 0, FIRST_INSTANCE
    endif

    if $Hug_LjdRzj
        drawindexedinstanced = 124650, INSTANCE_COUNT, 410907, 0, FIRST_INSTANCE
    endif

    if $gCGUTTCjER
        drawindexedinstanced = 153414, INSTANCE_COUNT, 787740, 0, FIRST_INSTANCE
    endif

    if $o7MfENgk3Z
        drawindexedinstanced = 153432, INSTANCE_COUNT, 941154, 0, FIRST_INSTANCE
    endif

    if $QP7RXhFIeP
        drawindexedinstanced = 153414, INSTANCE_COUNT, 556011, 0, FIRST_INSTANCE
    endif
endif
if vs == 200 || vs == 204 || vs == 205

    if $tJJb_3RML8
        drawindexedinstanced = 12492, INSTANCE_COUNT, 1094586, 0, FIRST_INSTANCE
    endif

    if $lvJKfkOSua
        drawindexedinstanced = 6417, INSTANCE_COUNT, 1107078, 0, FIRST_INSTANCE
    endif

    if $f00wev0NMi
        if vs != 200
            drawindexedinstanced = 99294, INSTANCE_COUNT, 1113495, 0, FIRST_INSTANCE
        endif
    endif
endif

run = CommandListA3n9m1ADMa
if $draw_component_9_004_velo_sync
    drawindexedinstanced = 591, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif
run = CommandListfDnUPrrs6g

if $Zo8K80WePi
    drawindexedinstanced = 7584, INSTANCE_COUNT, 278673, 0, FIRST_INSTANCE
endif

if $WCbJoubEil
    drawindexedinstanced = 4944, INSTANCE_COUNT, 535557, 0, FIRST_INSTANCE
endif

if $fiXC4NtYps
    drawindexedinstanced = 15510, INSTANCE_COUNT, 540501, 0, FIRST_INSTANCE
endif

if $DSvxHhtEPa
    drawindexedinstanced = 13443, INSTANCE_COUNT, 709425, 0, FIRST_INSTANCE
endif

if $qvuvZmD2Cx
    drawindexedinstanced = 12336, INSTANCE_COUNT, 722868, 0, FIRST_INSTANCE
endif

if $RF13KAeXgc
    drawindexedinstanced = 52536, INSTANCE_COUNT, 735204, 0, FIRST_INSTANCE
endif

if $FlJxMa0DgA
    drawindexedinstanced = 44592, INSTANCE_COUNT, 1212789, 0, FIRST_INSTANCE
endif

if vs == 202 || vs == 203
    if $lod_level == 0
        cs-t2 = ResourceID_CrossIB_C2
    elif $lod_level == 1
        cs-t2 = ResourceID_CrossIB_C2_LOD1
    else
        cs-t2 = ResourceID_CrossIB_C2
    endif
    run = CustomShader_RedirectCB1_C9
    vs-t0 = ResourceFakeT0_SRV
    vs-cb2 = ResourceFakeCB1
    ib  = ref Resource_Component2_IB
    vb0 = ref Resource_Component2_VB0
    vb1 = ref Resource_Component2_VB1
    if $lod_level == 0
        vb2 = ref Resource_Component2_VB2
    elif $lod_level == 1
        vb2 = ref Resource_Component2_VB2_LOD1
    else
        vb2 = ref Resource_Component2_VB2
    endif
    vb3 = vb0

    if $bNCHa_lmgf
        drawindexedinstanced = 2628, INSTANCE_COUNT, 33906, 0, FIRST_INSTANCE
    endif

    if $NnVnEsRQ8f
        drawindexedinstanced = 8112, INSTANCE_COUNT, 90840, 0, FIRST_INSTANCE
    endif

    if $Q01BRo5HV7
        drawindexedinstanced = 5532, INSTANCE_COUNT, 98952, 0, FIRST_INSTANCE
    endif

    if $sRmuGf_JKl
        if vs != 200
            drawindexedinstanced = 5748, INSTANCE_COUNT, 131550, 0, FIRST_INSTANCE
        endif
    endif
endif

if vs == 202 || vs == 203
    if $lod_level == 0
        cs-t2 = ResourceID_CrossIB_C1
    elif $lod_level == 1
        cs-t2 = ResourceID_CrossIB_C1_LOD1
    else
        cs-t2 = ResourceID_CrossIB_C1
    endif
    run = CustomShader_RedirectCB1_C9
    vs-t0 = ResourceFakeT0_SRV
    vs-cb2 = ResourceFakeCB1
    ib  = ref Resource_Component1_IB
    vb0 = ref Resource_Component1_VB0
    vb1 = ref Resource_Component1_VB1
    if $lod_level == 0
        vb2 = ref Resource_Component1_VB2
    elif $lod_level == 1
        vb2 = ref Resource_Component1_VB2_LOD1
    else
        vb2 = ref Resource_Component1_VB2
    endif
    vb3 = vb0

    if $bj_enHDPAy
        drawindexedinstanced = 2802, INSTANCE_COUNT, 10770, 0, FIRST_INSTANCE
    endif
endif
run = CommandListA3n9m1ADMa
post vs-cb1 = null
post vs-cb2 = null
post vs-cb3 = null
post vs-t0 = null
post cs-t2 = null

[CommandList_Draw_Component10]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component10_IB
if $lod_level == 0
    vb0 = ref Resource_Component10_VB0
    vb3 = ref Resource_Component10_VB0
    vb1 = ref Resource_Component10_VB1
    vb2 = ref Resource_Component10_VB2
elif $lod_level == 1
    vb0 = ref Resource_Component10_VB0
    vb3 = ref Resource_Component10_VB0
    vb1 = ref Resource_Component10_VB1_LOD1
    vb2 = ref Resource_Component10_VB2_LOD1
endif

if $draw_component_10_component_10_9e31e918_velo_sync
    drawindexedinstanced = 9543, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component12]
run = CommandList\EFMIv1\OverrideTextures

if $draw_component_12_cpu_posed_only_textures_modding_supported_velo_sync
    draw = from_caller
endif

[TextureOverride_Component0]
hash = deffba8c
match_index_count = 75987
$object_detected = 1
$lod_level = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component0
endif

[TextureOverride_Component1]
hash = 1f3a085f
match_index_count = 59172
$object_detected = 1
$lod_level = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component1
endif

[TextureOverride_Component2]
hash = 8acb2466
match_index_count = 4002
$object_detected = 1
$lod_level = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component2
endif

[TextureOverride_Component3]
hash = 879c5214
match_index_count = 168
$object_detected = 1
$lod_level = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip

endif

[TextureOverride_Component4]
hash = 999d2fc0
match_index_count = 9576
$object_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component4
endif

[TextureOverride_Component5]
hash = 9cdeb59a
match_index_count = 843
$object_detected = 1
$lod_level = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component5
endif

[TextureOverride_Component6]
hash = e47140cd
match_index_count = 732
$object_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component6
endif

[TextureOverride_Component7]
hash = a3fe5c47
match_index_count = 108
$object_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component7
endif

[TextureOverride_Component8]
hash = a64ca91e
match_index_count = 5961
$object_detected = 1
$lod_level = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component8
endif

[TextureOverride_Component9]
hash = 38faea2c
match_index_count = 71907
$object_detected = 1
$lod_level = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component9
endif

[TextureOverride_Component10]
hash = 9e31e918
match_index_count = 9546
$object_detected = 1
$lod_level = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component10
endif

[TextureOverride_Component11]
hash = be725414
match_index_count = 216
$object_detected = 1
$lod_level = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip

endif

[TextureOverride_Component12]
hash = 945c08a9
match_index_count = 1698
$object_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component12
endif

[TextureOverride_Component0_LOD1]
hash = 25a34b5f
match_index_count = 37089
$object_detected = 1
$lod_level = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component0
endif

[TextureOverride_Component1_LOD1]
hash = a39c4a56
match_index_count = 28062
$object_detected = 1
$lod_level = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component1
endif

[TextureOverride_Component2_LOD1]
hash = 5166db22
match_index_count = 2784
$object_detected = 1
$lod_level = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component2
endif

[TextureOverride_Component3_LOD1]
hash = 11251b26
match_index_count = 132
$object_detected = 1
$lod_level = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip

endif

[TextureOverride_Component5_LOD1]
hash = 1ca5cad1
match_index_count = 696
$object_detected = 1
$lod_level = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component5
endif

[TextureOverride_Component8_LOD1]
hash = 5ad69c82
match_index_count = 2448
$object_detected = 1
$lod_level = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component8
endif

[TextureOverride_Component9_LOD1]
hash = c7199bd7
match_index_count = 32601
$object_detected = 1
$lod_level = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component9
endif

[TextureOverride_Component10_LOD1]
hash = bd2d9e25
match_index_count = 4017
$object_detected = 1
$lod_level = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component10
endif

[TextureOverride_Component11_LOD1]
hash = 1cd22370
match_index_count = 60
$object_detected = 1
$lod_level = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip

endif

[Resource_Component0_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component0_IB.buf

[Resource_Component0_VB0]
type = Buffer
stride = 16
filename = Meshes/Component0_VB0.buf

[Resource_Component0_VB1]
type = Buffer
stride = 12
filename = Meshes/Component0_VB1.buf

[Resource_Component0_VB2]
type = Buffer
stride = 12
filename = Meshes/Component0_VB2.buf

[Resource_Component0_VB1_LOD1]
type = Buffer
stride = 8
filename = Meshes/Component0_VB1_LOD1.buf

[Resource_Component0_VB2_LOD1]
type = Buffer
stride = 12
filename = Meshes/Component0_VB2_LOD1.buf

[Resource_Component1_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component1_IB.buf

[Resource_Component1_VB0]
type = Buffer
stride = 16
filename = Meshes/Component1_VB0.buf

[Resource_Component1_VB1]
type = Buffer
stride = 20
filename = Meshes/Component1_VB1.buf

[Resource_Component1_VB2]
type = Buffer
stride = 12
filename = Meshes/Component1_VB2.buf

[Resource_Component1_VB1_LOD1]
type = Buffer
stride = 16
filename = Meshes/Component1_VB1_LOD1.buf

[Resource_Component1_VB2_LOD1]
type = Buffer
stride = 12
filename = Meshes/Component1_VB2_LOD1.buf

[Resource_Component2_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component2_IB.buf

[Resource_Component2_VB0]
type = Buffer
stride = 16
filename = Meshes/Component2_VB0.buf

[Resource_Component2_VB1]
type = Buffer
stride = 12
filename = Meshes/Component2_VB1.buf

[Resource_Component2_VB2]
type = Buffer
stride = 12
filename = Meshes/Component2_VB2.buf

[Resource_Component2_VB1_LOD1]
type = Buffer
stride = 8
filename = Meshes/Component2_VB1_LOD1.buf

[Resource_Component2_VB2_LOD1]
type = Buffer
stride = 12
filename = Meshes/Component2_VB2_LOD1.buf

[Resource_Component4_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component4_IB.buf

[Resource_Component4_VB0]
type = Buffer
stride = 16
filename = Meshes/Component4_VB0.buf

[Resource_Component4_VB1]
type = Buffer
stride = 12
filename = Meshes/Component4_VB1.buf

[Resource_Component4_VB2]
type = Buffer
stride = 12
filename = Meshes/Component4_VB2.buf

[Resource_Component4_VB1_LOD1]
type = Buffer
stride = 8
filename = Meshes/Component4_VB1_LOD1.buf

[Resource_Component5_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component5_IB.buf

[Resource_Component5_VB0]
type = Buffer
stride = 16
filename = Meshes/Component5_VB0.buf

[Resource_Component5_VB1]
type = Buffer
stride = 8
filename = Meshes/Component5_VB1.buf

[Resource_Component5_VB2]
type = Buffer
stride = 12
filename = Meshes/Component5_VB2.buf

[Resource_Component5_VB2_LOD1]
type = Buffer
stride = 12
filename = Meshes/Component5_VB2_LOD1.buf

[Resource_Component6_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component6_IB.buf

[Resource_Component6_VB0]
type = Buffer
stride = 16
filename = Meshes/Component6_VB0.buf

[Resource_Component6_VB1]
type = Buffer
stride = 8
filename = Meshes/Component6_VB1.buf

[Resource_Component6_VB2]
type = Buffer
stride = 4
filename = Meshes/Component6_VB2.buf

[Resource_Component7_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component7_IB.buf

[Resource_Component7_VB0]
type = Buffer
stride = 16
filename = Meshes/Component7_VB0.buf

[Resource_Component7_VB1]
type = Buffer
stride = 8
filename = Meshes/Component7_VB1.buf

[Resource_Component7_VB2]
type = Buffer
stride = 12
filename = Meshes/Component7_VB2.buf

[Resource_Component9_IB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
stride = 12
filename = Meshes/Component9_IB.buf

[Resource_Component9_VB0]
type = Buffer
stride = 16
filename = Meshes/Component9_VB0.buf

[Resource_Component9_VB1]
type = Buffer
stride = 20
filename = Meshes/Component9_VB1.buf

[Resource_Component9_VB2]
type = Buffer
stride = 12
filename = Meshes/Component9_VB2.buf

[Resource_Component9_VB1_LOD1]
type = Buffer
stride = 16
filename = Meshes/Component9_VB1_LOD1.buf

[Resource_Component9_VB2_LOD1]
type = Buffer
stride = 12
filename = Meshes/Component9_VB2_LOD1.buf

[Resource_Component10_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component10_IB.buf

[Resource_Component10_VB0]
type = Buffer
stride = 16
filename = Meshes/Component10_VB0.buf

[Resource_Component10_VB1]
type = Buffer
stride = 12
filename = Meshes/Component10_VB1.buf

[Resource_Component10_VB2]
type = Buffer
stride = 12
filename = Meshes/Component10_VB2.buf

[Resource_Component10_VB1_LOD1]
type = Buffer
stride = 8
filename = Meshes/Component10_VB1_LOD1.buf

[Resource_Component10_VB2_LOD1]
type = Buffer
stride = 12
filename = Meshes/Component10_VB2_LOD1.buf

[ResourceFXMap]
filename = dds/tf.dds

[Resource_body_DiffuseMap]
filename = dds/body.dds

[Resource_body_NormalMap]
filename = dds/N.dds

[Resource_body_LightMap]
filename = dds/L.dds

[ResourceGphy4PpBSf]
[ResourcefgYF95w5r0]
[ResourceU6nYRGEAPc]
[ResourceNNrfwded7p]
[ResourceQWSywUbN2H]
[ResourceZfAEXauwc7]
[ResourceT7sQ2jrZUU]
[Resourceu2ZnLZoDH5]
[ResourcejOYPzmzJZT]
[ResourceD0VzDTR3q7]
[ResourceM9bLolF0bh]
[Resourceb_IXXrGSmA]
[ResourceiQyq33CcN1]

[CommandListQPCXxzwnGd]
$HIdTDInMqT = x246
ResourceiQyq33CcN1 = reference ps-t117
x246 = $object_guid
ps-t117 = ResourceFXMap

[CommandListN_bCtcD5bG]
ps-t117 = reference ResourceiQyq33CcN1
x246 = $HIdTDInMqT

[CommandListCKtCAci_qb]
run = CommandListQPCXxzwnGd
if vs == 201
    ResourceGphy4PpBSf = reference ps-t0
    ResourcefgYF95w5r0 = reference ps-t1
    ps-t0 = Resource_body_DiffuseMap
    ps-t1 = Resource_body_NormalMap
elif vs == 202
    ResourceQWSywUbN2H = reference ps-t14
    ResourceZfAEXauwc7 = reference ps-t15
    ps-t14 = Resource_body_DiffuseMap
    ps-t15 = Resource_body_NormalMap
elif vs == 203
    ResourceNNrfwded7p = reference ps-t13
    ps-t13 = Resource_body_DiffuseMap
endif

[CommandListb0uYNc7d4Q]
if vs == 201
    ps-t0 = reference ResourceGphy4PpBSf
    ps-t1 = reference ResourcefgYF95w5r0
elif vs == 202
    ps-t14 = reference ResourceQWSywUbN2H
    ps-t15 = reference ResourceZfAEXauwc7
elif vs == 203
    ps-t13 = reference ResourceNNrfwded7p
endif
run = CommandListN_bCtcD5bG

[CommandListfDnUPrrs6g]
run = CommandListQPCXxzwnGd
if vs == 201
    ResourceGphy4PpBSf = reference ps-t0
    ResourcefgYF95w5r0 = reference ps-t1
    ps-t0 = Resource_body_DiffuseMap
    ps-t1 = Resource_body_NormalMap
elif vs == 202
    ResourceT7sQ2jrZUU = reference ps-t16
    Resourceu2ZnLZoDH5 = reference ps-t17
    ResourcejOYPzmzJZT = reference ps-t18
    ps-t16 = Resource_body_DiffuseMap
    ps-t17 = Resource_body_LightMap
    ps-t18 = Resource_body_NormalMap
elif vs == 203
    ResourceU6nYRGEAPc = reference ps-t12
    ps-t12 = Resource_body_DiffuseMap
endif

[CommandListA3n9m1ADMa]
if vs == 201
    ps-t0 = reference ResourceGphy4PpBSf
    ps-t1 = reference ResourcefgYF95w5r0
elif vs == 202
    ps-t16 = reference ResourceT7sQ2jrZUU
    ps-t17 = reference Resourceu2ZnLZoDH5
    ps-t18 = reference ResourcejOYPzmzJZT
elif vs == 203
    ps-t12 = reference ResourceU6nYRGEAPc
endif
run = CommandListN_bCtcD5bG

[CommandListoFx5IBYab3]
run = CommandListQPCXxzwnGd
if vs == 200
    ResourceGphy4PpBSf = reference ps-t0
    ps-t0 = Resource_body_DiffuseMap
elif vs == 202
    ResourceD0VzDTR3q7 = reference ps-t20
    ResourceM9bLolF0bh = reference ps-t21
    Resourceb_IXXrGSmA = reference ps-t22
    ps-t20 = Resource_body_DiffuseMap
    ps-t21 = Resource_body_LightMap
    ps-t22 = Resource_body_NormalMap
endif

[CommandListGw2n3dYYRM]
if vs == 200
    ps-t0 = reference ResourceGphy4PpBSf
elif vs == 202
    ps-t20 = reference ResourceD0VzDTR3q7
    ps-t21 = reference ResourceM9bLolF0bh
    ps-t22 = reference Resourceb_IXXrGSmA
endif
run = CommandListN_bCtcD5bG
[CommandListHoldShape]
$holdShape = $hovering
post $holdShape = 0

[CommandListDimensions]
if window_width != 0 && window_height != 0
    $ww = window_width
    $wh = window_height
elif rt_width != 0 && rt_height != 0
    $ww = rt_width
    $wh = rt_height
elif res_width != 0 && res_height != 0
    $ww = res_width
    $wh = res_height
else
    $ww = $window_width
    $wh = $window_height
endif
$ui_scale = $wh / 1440
if $ui_scale < 0.72
    $ui_scale = 0.72
elif $ui_scale > 1
    $ui_scale = 1
endif
$ui_px = $menu_open_scale * $ui_scale
if cursor_x > 0 && cursor_y > 0 && cursor_x < 1 && cursor_y < 1
    $cpx = cursor_x
    $cpy = cursor_y
elif cursor_window_x > 0 && cursor_window_y > 0 && cursor_window_x < 1 && cursor_window_y < 1
    $cpx = cursor_window_x / $ww
    $cpy = cursor_window_y / $wh
else
    $cpx = cursor_screen_x / $ww
    $cpy = cursor_screen_y / $wh
endif

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

[CommandListMoveMenu]
$mms = $mms + (0.00025 * ($mms < 0.01))
if $menu_d == 1
    $my = $my - $mms
elif $menu_d == 2
    $my = $my + $mms
elif $menu_d == 3
    $mx = $mx - $mms
elif $menu_d == 4
    $mx = $mx + $mms
endif
if $mx < 0
    $mx = 0
elif $mx + 500 * $ui_px / $ww > 1
    $mx = 1 - 500 * $ui_px / $ww
endif
if $my < 0
    $my = 0
elif $my + 500 * $ui_px / $wh > 1
    $my = 1 - 500 * $ui_px / $wh
endif

[CommandListMoveMenu.UP]
$menu_d = 1
post $menu_d = 0
post $mms = 0

[CommandListMoveMenu.DOWN]
$menu_d = 2
post $menu_d = 0
post $mms = 0

[CommandListMoveMenu.LEFT]
$menu_d = 3
post $menu_d = 0
post $mms = 0

[CommandListMoveMenu.RIGHT]
$menu_d = 4
post $menu_d = 0
post $mms = 0

[CommandListOutfitMenu]
local $bak_x87 = x87
local $bak_y87 = y87
local $bak_z87 = z87
local $bak_w87 = w87
local $bak_y88 = y88
run = CommandListDimensions
if $menu == 1
    if $menu_open_t < 0.3
        $menu_open_t = $menu_open_t + $dt
        if $menu_open_t > 0.3
            $menu_open_t = 0.3
        endif
    endif
else
    if $menu_open_t > 0
        $menu_open_t = $menu_open_t - $dt
        if $menu_open_t < 0
            $menu_open_t = 0
        endif
    endif
endif
$menu_open_ease = $menu_open_t / 0.3
if $menu == 1
    if $menu_open_t < 0.22
        $menu_open_ease = $menu_open_t / 0.22
        $menu_open_ease = 1 - (1 - $menu_open_ease) * (1 - $menu_open_ease) * (1 - $menu_open_ease) * (1 - $menu_open_ease)
        $menu_open_scale = 1.05 * $menu_open_ease
    else
        $menu_open_ease = ($menu_open_t - 0.22) / 0.08
        $menu_open_ease = 1 - (1 - $menu_open_ease) * (1 - $menu_open_ease) * (1 - $menu_open_ease)
        $menu_open_scale = 1.05 - 0.05 * $menu_open_ease
    endif
else
    $menu_open_ease = 1 - (1 - $menu_open_ease) * (1 - $menu_open_ease) * (1 - $menu_open_ease)
    $menu_open_scale = $menu_open_ease
endif
$ui_px = $menu_open_scale * $ui_scale
if $menu == 0 && $menu_open_t == 0
    $menu_draw = 0
    $hovering = 0
    $drag = 0
    $hold = 0
endif
run = CommandListBackground
post x87 = $bak_x87
post y87 = $bak_y87
post z87 = $bak_z87
post w87 = $bak_w87
post y88 = $bak_y88
if $navigating == 1
    run = CommandListNavigateMenu
elif $navigating == 2
    run = CommandListNavigateMenu.MoveSliderCursor
endif
if $menu_d > 0
    run = CommandListMoveMenu
endif

[CommandListBackground]
local $cox
local $coy
local $menu_anchor_x = $mx + 550 * $ui_scale / $ww
local $menu_anchor_y = $my + 550 * $ui_scale / $wh
ps-t100 = ResourceMenuBG
y87 = 1100 * $ui_px / $wh
x87 = 1100 * $ui_px / $ww
if $menu == 1 && $hovering == 0
    if $drag == 0
        if $cpx > $mx && $cpx < ($mx + x87*0.3) && $cpy > $my && $cpy < ($my + y87)
            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 = $menu_anchor_x - 550 * $ui_px / $ww
w87 = $menu_anchor_y - 550 * $ui_px / $wh
run = CustomShaderElement
run = CommandListDrawToggles

[CommandListDrawToggles]
local $base_x = z87
local $base_y = w87
local $col_spacing = 130
local $row_spacing = 140
local $start_x = 560
local $start_y = 380
$hovering = 0
$slot = 0
if $slot_hover_active == 1
    $slot_hover_t = $slot_hover_t + $dt
    if $slot_hover_t > 0.75
        $slot_hover_t = 0.75
    endif
    $slot_hover_ease = $slot_hover_t / 0.75
    $slot_hover_ease = 1 - (1 - $slot_hover_ease) * (1 - $slot_hover_ease) * (1 - $slot_hover_ease) * (1 - $slot_hover_ease) * (1 - $slot_hover_ease) * (1 - $slot_hover_ease) * (1 - $slot_hover_ease) * (1 - $slot_hover_ease)
    $slot_hover_scale = 1 + 0.12 * $slot_hover_ease
else
    $slot_hover_t = 0
    if $slot_hover_scale > 1
        $slot_hover_ease = $slot_hover_scale - 1
        $slot_hover_scale = $slot_hover_scale - $dt * (0.12 + $slot_hover_ease * 5)
        if $slot_hover_scale < 1
            $slot_hover_scale = 1
        endif
    else
        $slot_hover_slot = 0
    endif
endif
$slot_hover_active = 0
if $slot_click_anim == 1
    $slot_click_t = $slot_click_t + $dt
    if $slot_click_t < 0.12
        $slot_click_phase = $slot_click_t / 0.12
        $slot_click_scale = 1 - 0.12 * $slot_click_phase
    elif $slot_click_t < 0.24
        $slot_click_phase = ($slot_click_t - 0.12) / 0.12
        $slot_click_scale = 0.88 + 0.20 * $slot_click_phase
    elif $slot_click_t < 0.42
        $slot_click_phase = ($slot_click_t - 0.24) / 0.18
        $slot_click_ease = 1 - (1 - $slot_click_phase) * (1 - $slot_click_phase) * (1 - $slot_click_phase)
        $slot_click_scale = 1.08 - 0.08 * $slot_click_ease
    else
        $slot_click_anim = 0
        $slot_click_t = 0
        $slot_click_scale = 1
        $slot_hover_lock = 1
        $slot_hover_lock_slot = $slot_click_slot
        $slot_hover_slot = 0
        $slot_hover_t = 0
        $slot_hover_scale = 1
        $slot_hover_active = 0
    endif
endif

$slot = 1
z87 = $base_x + $start_x * $ui_px / $ww
w87 = $base_y + $start_y * $ui_px / $wh
run = CommandListSlot

$slot = 2
z87 = $base_x + ($start_x + $col_spacing) * $ui_px / $ww
w87 = $base_y + $start_y * $ui_px / $wh
run = CommandListSlot

$slot = 3
z87 = $base_x + ($start_x + $col_spacing * 2) * $ui_px / $ww
w87 = $base_y + $start_y * $ui_px / $wh
run = CommandListSlot

$slot = 4
z87 = $base_x + $start_x * $ui_px / $ww
w87 = $base_y + ($start_y + $row_spacing) * $ui_px / $wh
run = CommandListSlot

$slot = 5
z87 = $base_x + ($start_x + $col_spacing) * $ui_px / $ww
w87 = $base_y + ($start_y + $row_spacing) * $ui_px / $wh
run = CommandListSlot

$slot = 6
z87 = $base_x + ($start_x + $col_spacing * 2) * $ui_px / $ww
w87 = $base_y + ($start_y + $row_spacing) * $ui_px / $wh
run = CommandListSlot

$slot = 7
z87 = $base_x + $start_x * $ui_px / $ww
w87 = $base_y + ($start_y + $row_spacing * 2) * $ui_px / $wh
run = CommandListSlot

$slot = 8
z87 = $base_x + ($start_x + $col_spacing) * $ui_px / $ww
w87 = $base_y + ($start_y + $row_spacing * 2) * $ui_px / $wh
run = CommandListSlot

$slot = 9
z87 = $base_x + ($start_x + $col_spacing * 2) * $ui_px / $ww
w87 = $base_y + ($start_y + $row_spacing * 2) * $ui_px / $wh
run = CommandListSlot

[CommandListSlot]
x87 = 130 * $ui_px / $ww
y87 = 130 * $ui_px / $wh
$slot_draw_scale = 1
if $menu == 1 && $cpx > z87 && $cpx < (z87+x87-0.0035) && $cpy > w87 && $cpy < (w87+y87-0.0035)
    ps-t100 = ResourceItemSlotHover.1
    run = CustomShaderElement
    $hovering = 1
    $hoveredSlot = $slot
    $selectedSlot = 0
    if $slot_hover_lock == 1 && $slot_hover_lock_slot == $slot
        $slot_draw_scale = 1
    else
        if $slot_hover_lock == 1
            $slot_hover_lock = 0
        endif
        if $slot_hover_slot != $slot
            $slot_hover_t = 0
            $slot_hover_scale = 1
        endif
        $slot_hover_slot = $slot
        $slot_hover_active = 1
        $slot_draw_scale = $slot_hover_scale
    endif
else
    if $slot == $selectedSlot
        $hoveredSlot = $slot
        ps-t100 = ResourceItemSlotHover.1
        run = CustomShaderElement
        if $slot_hover_lock == 1 && $slot_hover_lock_slot == $slot
            $slot_draw_scale = 1
        else
            if $slot_hover_lock == 1
                $slot_hover_lock = 0
            endif
            if $slot_hover_slot != $slot
                $slot_hover_t = 0
                $slot_hover_scale = 1
            endif
            $slot_hover_slot = $slot
            $slot_hover_active = 1
            $slot_draw_scale = $slot_hover_scale
        endif
    else
        ps-t100 = ResourceItemSlot
        run = CustomShaderElement
        if $slot_hover_lock == 1 && $slot_hover_lock_slot == $slot
            $slot_hover_lock = 0
        endif
        if $slot_hover_slot == $slot
            $slot_draw_scale = $slot_hover_scale
        endif
    endif
endif
run = CommandListSlotItemImage

[CommandListSlotItemImage]
x87 = 130 * $ui_px / $ww
y87 = 130 * $ui_px / $wh
local $icon_x = z87
local $icon_y = w87
local $icon_w = x87
local $icon_h = y87
if $slot_click_anim == 1 && $slot_click_slot == $slot
    x87 = $icon_w * $slot_click_scale
    y87 = $icon_h * $slot_click_scale
    z87 = $icon_x + ($icon_w - x87) / 2
    w87 = $icon_y + ($icon_h - y87) / 2
elif $slot_draw_scale != 1
    x87 = $icon_w * $slot_draw_scale
    y87 = $icon_h * $slot_draw_scale
    z87 = $icon_x + ($icon_w - x87) / 2
    w87 = $icon_y + ($icon_h - y87) / 2
endif
if $slot == 1
    ps-t100 = ResourceMenuItem.2
elif $slot == 2
    ps-t100 = ResourceMenuItem.3
elif $slot == 3
    ps-t100 = ResourceMenuItem.4
elif $slot == 4
    ps-t100 = ResourceMenuItem.7
elif $slot == 5
    ps-t100 = ResourceMenuItem.6
elif $slot == 6
    ps-t100 = ResourceMenuItem.5
elif $slot == 7
    ps-t100 = ResourceMenuItem.1
elif $slot == 8
    ps-t100 = ResourceMenuItem.9
elif $slot == 9
    ps-t100 = ResourceMenuItem.8
endif
run = CustomShaderElement
z87 = $icon_x
w87 = $icon_y
x87 = $icon_w
y87 = $icon_h

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

[CommandListClickedSlot]
$clickedSlot = $hoveredSlot
if $clickedSlot >= 1 && $clickedSlot <= 9
    $slot_click_anim = 1
    $slot_click_slot = $clickedSlot
    $slot_click_t = 0
    $slot_click_scale = 1
    $slot_hover_lock = 1
    $slot_hover_lock_slot = $clickedSlot
    $slot_hover_slot = 0
    $slot_hover_t = 0
    $slot_hover_scale = 1
    $slot_hover_active = 0
endif
if $clickedSlot == 1
    $clickedSlot = 2
elif $clickedSlot == 2
    $clickedSlot = 3
elif $clickedSlot == 3
    $clickedSlot = 4
elif $clickedSlot == 4
    $clickedSlot = 7
elif $clickedSlot == 5
    $clickedSlot = 6
elif $clickedSlot == 6
    $clickedSlot = 5
elif $clickedSlot == 7
    $clickedSlot = 1
elif $clickedSlot == 8
    $clickedSlot = 9
elif $clickedSlot == 9
    $clickedSlot = 8
endif
if $clickedSlot == 1
    if $swapvar_toggle_0 == -1
        $swapvar_toggle_0 = 0
    elif $swapvar_toggle_0 == 0
        $swapvar_toggle_0 = -1
    else
        $swapvar_toggle_0 = -1
    endif
elif $clickedSlot == 2
    if $swapvar_toggle_1 == -1
        $swapvar_toggle_1 = 0
    elif $swapvar_toggle_1 == 0
        $swapvar_toggle_1 = -1
    else
        $swapvar_toggle_1 = -1
    endif
elif $clickedSlot == 3
    if $swapvar_toggle_3 == -1
        $swapvar_toggle_3 = 0
    elif $swapvar_toggle_3 == 0
        $swapvar_toggle_3 = 1
    elif $swapvar_toggle_3 == 1
        $swapvar_toggle_3 = -1
    else
        $swapvar_toggle_3 = -1
    endif
elif $clickedSlot == 4
    if $swapvar_toggle_4 == -1
        $swapvar_toggle_4 = 0
    elif $swapvar_toggle_4 == 0
        $swapvar_toggle_4 = -1
    else
        $swapvar_toggle_4 = -1
    endif
elif $clickedSlot == 5
    if $swapvar_toggle_5 == -1
        $swapvar_toggle_5 = 0
    elif $swapvar_toggle_5 == 0
        $swapvar_toggle_5 = -1
    else
        $swapvar_toggle_5 = -1
    endif
elif $clickedSlot == 6
    if $swapvar_toggle_6 == -1
        $swapvar_toggle_6 = 0
    elif $swapvar_toggle_6 == 0
        $swapvar_toggle_6 = 1
    elif $swapvar_toggle_6 == 1
        $swapvar_toggle_6 = 2
    elif $swapvar_toggle_6 == 2
        $swapvar_toggle_6 = -1
    else
        $swapvar_toggle_6 = -1
    endif
elif $clickedSlot == 7
    if $swapvar_toggle_7 == -1
        $swapvar_toggle_7 = 0
    elif $swapvar_toggle_7 == 0
        $swapvar_toggle_7 = -1
    else
        $swapvar_toggle_7 = -1
    endif
elif $clickedSlot == 8
    if $swapvar_toggle_8 == 0
        $swapvar_toggle_8 = 1
    else
        $swapvar_toggle_8 = 0
    endif
elif $clickedSlot == 9 && $swapvar_toggle_7 != -1
    if $swapvar_toggle_2 == -1
        $swapvar_toggle_2 = 0
    else
        $swapvar_toggle_2 = -1
    endif
endif
[CommandListNavigateMenu]
if $selectedSlot < 1
    $selectedSlot = 9
    $targetSelectedSlot = 9
elif $selectedSlot > 9
    $selectedSlot = 1
    $targetSelectedSlot = 1
endif
$hoveredSlot = $selectedSlot

[CommandListNavigateMenu.MoveSliderCursor]
$navSpeed = $navSpeed + (0.02 * $dt * ($navSpeed < 0.02))

[CommandListNavigateMenu.FORWARD]
$navDirection = 1
$navigating = 1
$selectedSlot = $selectedSlot + 1
run = CommandListNavigateMenu
post $navDirection = 0
post $navigating = 0
post $navSpeed = 0
post $selectedSlot = $selectedSlot // 1
post $targetSelectedSlot = $selectedSlot

[CommandListNavigateMenu.BACKWARDS]
$navDirection = -1
$navigating = 1
$selectedSlot = $selectedSlot - 1
run = CommandListNavigateMenu
post $navDirection = 0
post $navigating = 0
post $navSpeed = 0
post $selectedSlot = $selectedSlot // 1
post $targetSelectedSlot = $selectedSlot

[CommandListNavigateMenu.Press.LEFT]
run = CommandListClickedSlot

[CommandListNavigateMenu.Press.RIGHT]
run = CommandListClickedSlot

[ResourceMenuBG]
filename = .\res\Menu.png

[ResourceItemSlot]
filename = .\res\Slot.png

[ResourceItemSlotHover.1]
filename = .\res\SlotHover.dds

[ResourceMenuItem.1]
filename = .\res\1.dds
[ResourceMenuItem.2]
filename = .\res\2.dds
[ResourceMenuItem.3]
filename = .\res\3.dds
[ResourceMenuItem.4]
filename = .\res\4.dds
[ResourceMenuItem.5]
filename = .\res\5.dds
[ResourceMenuItem.6]
filename = .\res\6.dds
[ResourceMenuItem.7]
filename = .\res\7.dds
[ResourceMenuItem.8]
filename = .\res\8.dds
[ResourceMenuItem.9]
filename = .\res\9.dds

[CommandList_Draw_Component8]
run = CommandList\EFMIv1\OverrideTextures
run = CommandListoFx5IBYab3

if vs == 200
    run = CustomShader_ExtractCB1_C8
    if $lod_level == 0
        cs-t2 = ResourceID_CrossIB_C8
    elif $lod_level == 1
        cs-t2 = ResourceID_CrossIB_C8_LOD1
    else
        cs-t2 = ResourceID_CrossIB_C8
    endif
    run = CustomShader_RecordBones_C8
endif
if vs == 202
    if $lod_level == 0
        cs-t2 = ResourceID_CrossIB_C9
    elif $lod_level == 1
        cs-t2 = ResourceID_CrossIB_C9_LOD1
    else
        cs-t2 = ResourceID_CrossIB_C9
    endif
    run = CustomShader_RedirectCB1_C8
    vs-t0 = ResourceFakeT0_SRV
    vs-cb2 = ResourceFakeCB1
    ib  = ref Resource_Component9_IB
    vb0 = ref Resource_Component9_VB0
    vb1 = ref Resource_Component9_VB1
    if $lod_level == 0
        vb2 = ref Resource_Component9_VB2
    elif $lod_level == 1
        vb2 = ref Resource_Component9_VB2_LOD1
    else
        vb2 = ref Resource_Component9_VB2
    endif
    vb3 = vb0
    if $tJJb_3RML8
        drawindexedinstanced = 12492, INSTANCE_COUNT, 1094586, 0, FIRST_INSTANCE
    endif
    if $lvJKfkOSua
        drawindexedinstanced = 6417, INSTANCE_COUNT, 1107078, 0, FIRST_INSTANCE
    endif
    if $f00wev0NMi
        if vs != 200
            drawindexedinstanced = 99294, INSTANCE_COUNT, 1113495, 0, FIRST_INSTANCE
        endif
    endif
endif
if vs == 202
    if $lod_level == 0
        cs-t2 = ResourceID_CrossIB_C2
    elif $lod_level == 1
        cs-t2 = ResourceID_CrossIB_C2_LOD1
    else
        cs-t2 = ResourceID_CrossIB_C2
    endif
    run = CustomShader_RedirectCB1_C8
    vs-t0 = ResourceFakeT0_SRV
    vs-cb2 = ResourceFakeCB1
    ib  = ref Resource_Component2_IB
    vb0 = ref Resource_Component2_VB0
    vb1 = ref Resource_Component2_VB1
    if $lod_level == 0
        vb2 = ref Resource_Component2_VB2
    elif $lod_level == 1
        vb2 = ref Resource_Component2_VB2_LOD1
    else
        vb2 = ref Resource_Component2_VB2
    endif
    vb3 = vb0
    if $sRmuGf_JKl
        if vs != 200
            drawindexedinstanced = 5748, INSTANCE_COUNT, 131550, 0, FIRST_INSTANCE
        endif
    endif
    if $SdOR4oeSMN
        if vs != 200
            drawindexedinstanced = 9564, INSTANCE_COUNT, 137298, 0, FIRST_INSTANCE
        endif
    endif
    if $tOZAY9uyDu
        drawindexedinstanced = 1533, INSTANCE_COUNT, 146862, 0, FIRST_INSTANCE
    endif
    if $sDlKtpD_EY
        if vs != 200
            drawindexedinstanced = 32565, INSTANCE_COUNT, 148395, 0, FIRST_INSTANCE
        endif
    endif
endif
if vs == 202
    if $lod_level == 0
        cs-t2 = ResourceID_CrossIB_C1
    elif $lod_level == 1
        cs-t2 = ResourceID_CrossIB_C1_LOD1
    else
        cs-t2 = ResourceID_CrossIB_C1
    endif
    run = CustomShader_RedirectCB1_C8
    vs-t0 = ResourceFakeT0_SRV
    vs-cb2 = ResourceFakeCB1
    ib  = ref Resource_Component1_IB
    vb0 = ref Resource_Component1_VB0
    vb1 = ref Resource_Component1_VB1
    if $lod_level == 0
        vb2 = ref Resource_Component1_VB2
    elif $lod_level == 1
        vb2 = ref Resource_Component1_VB2_LOD1
    else
        vb2 = ref Resource_Component1_VB2
    endif
    vb3 = vb0
    if $SpzqZHCGJh
        if vs != 200
            drawindexedinstanced = 6861, INSTANCE_COUNT, 26676, 0, FIRST_INSTANCE
        endif
    endif
endif
run = CommandListGw2n3dYYRM
post vs-cb1 = null
post vs-cb2 = null
post vs-cb3 = null
post vs-t0 = null
post cs-t2 = null


[ResourceFakeCB1_UAV]
type = RWStructuredBuffer
stride = 16
array = 4096

[ResourceFakeCB1]
type = Buffer
stride = 16
format = R32G32B32A32_UINT
array = 4096

[ResourceFakeT0_UAV]
type = RWStructuredBuffer
stride = 16
array = 200000

[ResourceFakeT0_SRV]
type = StructuredBuffer
stride = 16
array = 200000

[ResourceID_CrossIB_C1]
type = Buffer
format = R32_FLOAT
data = 0.0

[ResourceID_CrossIB_C1_LOD1]
type = Buffer
format = R32_FLOAT
data = 1000.0

[ResourceID_CrossIB_C2]
type = Buffer
format = R32_FLOAT
data = 2000.0

[ResourceID_CrossIB_C2_LOD1]
type = Buffer
format = R32_FLOAT
data = 3000.0

[ResourceID_CrossIB_C8]
type = Buffer
format = R32_FLOAT
data = 4000.0

[ResourceID_CrossIB_C8_LOD1]
type = Buffer
format = R32_FLOAT
data = 5000.0

[ResourceID_CrossIB_C9]
type = Buffer
format = R32_FLOAT
data = 6000.0

[ResourceID_CrossIB_C9_LOD1]
type = Buffer
format = R32_FLOAT
data = 7000.0

[ResourceID_CrossIB_C1_EFFECT]
type = Buffer
format = R32_FLOAT
data = 8000.0

[ResourceID_CrossIB_C2_EFFECT]
type = Buffer
format = R32_FLOAT
data = 9000.0

[ResourceID_CrossIB_C9_EFFECT]
type = Buffer
format = R32_FLOAT
data = 10000.0

[ResourceDumpedCB1_C1_UAV]
type = RWStructuredBuffer
stride = 16
array = 4096

[ResourceDumpedCB1_C1_SRV]
type = Buffer
stride = 16
array = 4096

[ResourceDumpedCB1_C2_UAV]
type = RWStructuredBuffer
stride = 16
array = 4096

[ResourceDumpedCB1_C2_SRV]
type = Buffer
stride = 16
array = 4096

[ResourceDumpedCB1_C8_UAV]
type = RWStructuredBuffer
stride = 16
array = 4096

[ResourceDumpedCB1_C8_SRV]
type = Buffer
stride = 16
array = 4096

[ResourceDumpedCB1_C9_UAV]
type = RWStructuredBuffer
stride = 16
array = 4096

[ResourceDumpedCB1_C9_SRV]
type = Buffer
stride = 16
array = 4096

[CustomShader_ExtractCB1_C1]
vs = hlsl/extract_cb1_vs.hlsl
ps = hlsl/extract_cb1_ps.hlsl
ps-u7 = ResourceDumpedCB1_C1_UAV
depth_enable = false
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = point_list
draw = 4096, 0
ps-u7 = null
ResourceDumpedCB1_C1_SRV = copy ResourceDumpedCB1_C1_UAV

[CustomShader_ExtractCB2_C1]
vs = hlsl/extract_cb2_vs.hlsl
ps = hlsl/extract_cb1_ps.hlsl
ps-u7 = ResourceDumpedCB1_C1_UAV
depth_enable = false
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = point_list
draw = 4096, 0
ps-u7 = null
ResourceDumpedCB1_C1_SRV = copy ResourceDumpedCB1_C1_UAV

[CustomShader_ExtractCB3_C1]
vs = hlsl/extract_cb3_vs.hlsl
ps = hlsl/extract_cb1_ps.hlsl
ps-u7 = ResourceDumpedCB1_C1_UAV
depth_enable = false
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = point_list
draw = 4096, 0
ps-u7 = null
ResourceDumpedCB1_C1_SRV = copy ResourceDumpedCB1_C1_UAV

[CustomShader_RecordBones_C1]
cs = hlsl/record_bones_cs.hlsl
cs-t0 = vs-t0
cs-t1 = ResourceDumpedCB1_C1_SRV
cs-u1 = ResourceFakeT0_UAV
dispatch = 12, 1, 1
cs-u1 = null
cs-t0 = null
cs-t1 = null
ResourceFakeT0_SRV = copy ResourceFakeT0_UAV

[CustomShader_RedirectCB1_C1]
cs = hlsl/redirect_cb1_cs.hlsl
cs-t0 = ResourceDumpedCB1_C1_SRV
cs-u0 = ResourceFakeCB1_UAV
dispatch = 4, 1, 1
cs-u0 = null
cs-t0 = null
ResourceFakeCB1 = copy ResourceFakeCB1_UAV

[CustomShader_ExtractCB1_C2]
vs = hlsl/extract_cb1_vs.hlsl
ps = hlsl/extract_cb1_ps.hlsl
ps-u7 = ResourceDumpedCB1_C2_UAV
depth_enable = false
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = point_list
draw = 4096, 0
ps-u7 = null
ResourceDumpedCB1_C2_SRV = copy ResourceDumpedCB1_C2_UAV

[CustomShader_ExtractCB2_C2]
vs = hlsl/extract_cb2_vs.hlsl
ps = hlsl/extract_cb1_ps.hlsl
ps-u7 = ResourceDumpedCB1_C2_UAV
depth_enable = false
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = point_list
draw = 4096, 0
ps-u7 = null
ResourceDumpedCB1_C2_SRV = copy ResourceDumpedCB1_C2_UAV

[CustomShader_ExtractCB3_C2]
vs = hlsl/extract_cb3_vs.hlsl
ps = hlsl/extract_cb1_ps.hlsl
ps-u7 = ResourceDumpedCB1_C2_UAV
depth_enable = false
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = point_list
draw = 4096, 0
ps-u7 = null
ResourceDumpedCB1_C2_SRV = copy ResourceDumpedCB1_C2_UAV

[CustomShader_RecordBones_C2]
cs = hlsl/record_bones_cs.hlsl
cs-t0 = vs-t0
cs-t1 = ResourceDumpedCB1_C2_SRV
cs-u1 = ResourceFakeT0_UAV
dispatch = 12, 1, 1
cs-u1 = null
cs-t0 = null
cs-t1 = null
ResourceFakeT0_SRV = copy ResourceFakeT0_UAV

[CustomShader_RedirectCB1_C2]
cs = hlsl/redirect_cb1_cs.hlsl
cs-t0 = ResourceDumpedCB1_C2_SRV
cs-u0 = ResourceFakeCB1_UAV
dispatch = 4, 1, 1
cs-u0 = null
cs-t0 = null
ResourceFakeCB1 = copy ResourceFakeCB1_UAV

[CustomShader_ExtractCB1_C8]
vs = hlsl/extract_cb1_vs.hlsl
ps = hlsl/extract_cb1_ps.hlsl
ps-u7 = ResourceDumpedCB1_C8_UAV
depth_enable = false
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = point_list
draw = 4096, 0
ps-u7 = null
ResourceDumpedCB1_C8_SRV = copy ResourceDumpedCB1_C8_UAV

[CustomShader_ExtractCB2_C8]
vs = hlsl/extract_cb2_vs.hlsl
ps = hlsl/extract_cb1_ps.hlsl
ps-u7 = ResourceDumpedCB1_C8_UAV
depth_enable = false
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = point_list
draw = 4096, 0
ps-u7 = null
ResourceDumpedCB1_C8_SRV = copy ResourceDumpedCB1_C8_UAV

[CustomShader_ExtractCB3_C8]
vs = hlsl/extract_cb3_vs.hlsl
ps = hlsl/extract_cb1_ps.hlsl
ps-u7 = ResourceDumpedCB1_C8_UAV
depth_enable = false
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = point_list
draw = 4096, 0
ps-u7 = null
ResourceDumpedCB1_C8_SRV = copy ResourceDumpedCB1_C8_UAV

[CustomShader_RecordBones_C8]
cs = hlsl/record_bones_cs.hlsl
cs-t0 = vs-t0
cs-t1 = ResourceDumpedCB1_C8_SRV
cs-u1 = ResourceFakeT0_UAV
dispatch = 12, 1, 1
cs-u1 = null
cs-t0 = null
cs-t1 = null
ResourceFakeT0_SRV = copy ResourceFakeT0_UAV

[CustomShader_RedirectCB1_C8]
cs = hlsl/redirect_cb1_cs.hlsl
cs-t0 = ResourceDumpedCB1_C8_SRV
cs-u0 = ResourceFakeCB1_UAV
dispatch = 4, 1, 1
cs-u0 = null
cs-t0 = null
ResourceFakeCB1 = copy ResourceFakeCB1_UAV

[CustomShader_ExtractCB1_C9]
vs = hlsl/extract_cb1_vs.hlsl
ps = hlsl/extract_cb1_ps.hlsl
ps-u7 = ResourceDumpedCB1_C9_UAV
depth_enable = false
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = point_list
draw = 4096, 0
ps-u7 = null
ResourceDumpedCB1_C9_SRV = copy ResourceDumpedCB1_C9_UAV

[CustomShader_ExtractCB2_C9]
vs = hlsl/extract_cb2_vs.hlsl
ps = hlsl/extract_cb1_ps.hlsl
ps-u7 = ResourceDumpedCB1_C9_UAV
depth_enable = false
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = point_list
draw = 4096, 0
ps-u7 = null
ResourceDumpedCB1_C9_SRV = copy ResourceDumpedCB1_C9_UAV

[CustomShader_ExtractCB3_C9]
vs = hlsl/extract_cb3_vs.hlsl
ps = hlsl/extract_cb1_ps.hlsl
ps-u7 = ResourceDumpedCB1_C9_UAV
depth_enable = false
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = point_list
draw = 4096, 0
ps-u7 = null
ResourceDumpedCB1_C9_SRV = copy ResourceDumpedCB1_C9_UAV

[CustomShader_RecordBones_C9]
cs = hlsl/record_bones_cs.hlsl
cs-t0 = vs-t0
cs-t1 = ResourceDumpedCB1_C9_SRV
cs-u1 = ResourceFakeT0_UAV
dispatch = 12, 1, 1
cs-u1 = null
cs-t0 = null
cs-t1 = null
ResourceFakeT0_SRV = copy ResourceFakeT0_UAV

[CustomShader_RedirectCB1_C9]
cs = hlsl/redirect_cb1_cs.hlsl
cs-t0 = ResourceDumpedCB1_C9_SRV
cs-u0 = ResourceFakeCB1_UAV
dispatch = 4, 1, 1
cs-u0 = null
cs-t0 = null
ResourceFakeCB1 = copy ResourceFakeCB1_UAV

; This mod.ini was automatically generated by EFMI Tools Blender addon v0.4.3 and requires EFMI v1.2.3+ to function

; EFMI Tools GitHub: https://github.com/SpectrumQT/EFMI-Tools
; EFMI Package GitHub: https://github.com/SpectrumQT/EFMI-Package
; XXMI Launcher GitHub: https://github.com/SpectrumQT/XXMI-Launcher
; EFMI Mods Website: https://gamebanana.com/games/21842
; EFMI GameBanana: https://gamebanana.com/tools/21846
; EFMI Tools GameBanana: https://gamebanana.com/tools/21847
; AGMF Modding Community Discord: https://discord.com/invite/agmf


