; EFMI ALPHA-5 INI

; Key Bindings -------------------------

[KeySwapMasc]
condition = $object_detected == 1
key = CTRL 5
type = cycle
$swapvar_masc = -1, 0

[KeySwapCloak]
condition = $object_detected == 1
key = CTRL 6
type = cycle
$swapvar_cloak = -1, 0, 1, 2

[KeySwapVest]
condition = $object_detected == 1
key = CTRL 7
type = cycle
$swapvar_vest = -1, 0

[KeySwapSweaterA]
condition = $object_detected == 1
key = CTRL 8
type = cycle
$swapvar_sweater_a = -1, 0, 1, 2

[KeySwapSweaterB]
condition = $object_detected == 1
key = CTRL 9
type = cycle
$swapvar_sweater_b = -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10

[KeySwapStockings]
condition = $object_detected == 1
key = CTRL 0
type = cycle
$swapvar_stockings = -1, 0

[KeySwapAcs1]
condition = $object_detected == 1
key = CTRL _
type = cycle
$swapvar_acs_1 = -1, 0, 1, 2, 3

[KeySwapAcs2]
condition = $object_detected == 1
key = CTRL =
type = cycle
$swapvar_acs_2 = -1, 0

[KeySwapAcs3]
condition = $object_detected == 1
key = CTRL \
type = cycle
$swapvar_acs_3 = -1, 0, 1, 2

[KeySwapBody]
condition = $active == 1
key = CTRL P
type = cycle
$body5 = 0,1,2

[KeySwapFace]
condition = $active == 1
key = CTRL O
type = cycle
$face5 = 0,1,2

; Mod Info -------------------------

[ResourceModName]
type = Buffer
data = "Endmin"

[ResourceModAuthor]
type = Buffer
data = "Baird"

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

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

[ResourceModLogo]
; filename = Textures/Logo.dds

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

[Constants]
global $required_efmi_version = 1.10
global $object_guid = 185751
global $mesh_vertex_count = 470
global $mod_id = -1000
global $mod_enabled = 0
global $object_detected = 0
global $lod_detected = 0
; Swap vars aka state values for toggles (marked as `persist` to keep state saved in `d3dx_user.ini`)
global persist $swapvar_masc = 0
global persist $swapvar_cloak = 0
global persist $swapvar_vest = 0
global persist $swapvar_sweater_a = 0
global persist $swapvar_sweater_b = 0
global persist $swapvar_stockings = 0
global persist $swapvar_acs_1 = 0
global persist $swapvar_acs_2 = 0
global persist $swapvar_acs_3 = 0
global persist $body5 = 0
global persist $face5 = 0
; Per-object state vars (dynamically controlled by CommandListProcessToggles)
global $draw_component_0_c78283e1 = 1
global $draw_component_1_1061306c = 1
global $draw_mask_1component_2_ba3f54e3 = 1
global $draw_acs_1_component_3_9b5f1414 = 1
global $draw_acs_2_component_3_9b5f1414_002 = 1
global $draw_acs_3_component_3_9b5f1414_005 = 1
global $draw_acs_4_component_3_9b5f1414_001 = 1
global $draw_component_4_a0f67a46 = 1
global $draw_component_5_484f1dc9 = 1
global $draw_mask_2component_6_c7fb8d3e = 1
global $draw_component_7_de4df2c4 = 1
global $draw_component_8_7e44a343 = 1
global $draw_0body_a_component_9_e34d63f8 = 1
global $draw_0body_b_component_9_e34d63f8_001 = 1
global $draw_0cloak_component_9_e34d63f8_001 = 1
global $draw_0cloak_component_9_e34d63f8_002 = 1
global $draw_0shoes_component_9_e34d63f8_002 = 1
global $draw_0sweater_component_9_e34d63f8_001 = 1
global $draw_1cloak_a_component_9_e34d63f8_001 = 1
global $draw_1cloak_b_component_9_e34d63f8_001 = 1
global $draw_1cloak_c_component_9_e34d63f8_001 = 1
global $draw_2vest_component_9_e34d63f8_003 = 1
global $draw_4sweater_a_component_9_e34d63f8_006 = 1
global $draw_4sweater_b_component_9_e34d63f8_008 = 1
global $draw_4sweater_c_component_9_e34d63f8_009 = 1
global $draw_4sweater_component_9_e34d63f8_004 = 1
global $draw_4sweater_component_9_e34d63f8_005 = 1
global $draw_ass_component_9_e34d63f8_003 = 1
global $draw_clit_component_9_e34d63f8_002 = 1
global $draw_endfild_1_component_9_e34d63f8_001 = 1
global $draw_endfild_2_component_9_e34d63f8_001 = 1
global $draw_nipple_a_component_9_e34d63f8_001 = 1
global $draw_nipple_b_component_9_e34d63f8_002 = 1
global $draw_component_10_953431a6 = 1
global $draw_component_10_953431a6_001 = 1
global $draw_component_10_953431a6_002 = 1

[Present]
if $object_detected
    if $mod_enabled
        post $object_detected = 0
        run = CommandListProcessToggles
    else
        if $mod_id == -1000
            run = CommandListRegisterMod
        endif
    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]
; Set display of each object according to toggles logic
$draw_mask_1component_2_ba3f54e3 = ($swapvar_masc == 0)
$draw_mask_2component_6_c7fb8d3e = ($swapvar_masc == 0)
$draw_1cloak_a_component_9_e34d63f8_001 = ($swapvar_cloak == 0)
$draw_component_10_953431a6_002 = ($swapvar_cloak == 0) || ($swapvar_cloak == 1) || ($swapvar_cloak == 2)
$draw_1cloak_b_component_9_e34d63f8_001 = ($swapvar_cloak == 1)
$draw_0cloak_component_9_e34d63f8_003 = ($swapvar_cloak == 2)
$draw_2vest_component_9_e34d63f8_003 = ($swapvar_vest == 0)
$draw_component_10_953431a6_001 = ($swapvar_vest == 0)
$draw_4sweater_component_9_e34d63f8_004 = ($swapvar_sweater_a == 0) || ($swapvar_sweater_a == 1) || ($swapvar_sweater_a == 2)
$draw_4sweater_component_9_e34d63f8_005 = ($swapvar_sweater_a == 0) || ($swapvar_sweater_a == 1) || ($swapvar_sweater_a == 2)
$draw_endfild_1_component_9_e34d63f8_001 = ($swapvar_sweater_a == 1)
$draw_endfild_2_component_9_e34d63f8_001 = ($swapvar_sweater_a == 2)
$draw_4sweater_a_component_9_e34d63f8_006 = ($swapvar_sweater_b == 0) || ($swapvar_sweater_b == 1) || ($swapvar_sweater_b == 6) || ($swapvar_sweater_b == 9)
$draw_4sweater_c_component_9_e34d63f8_009 = ($swapvar_sweater_b == 1) || ($swapvar_sweater_b == 3) || ($swapvar_sweater_b == 4) || ($swapvar_sweater_b == 7) || ($swapvar_sweater_b == 10)
$draw_4sweater_b_component_9_e34d63f8_008 = ($swapvar_sweater_b == 2) || ($swapvar_sweater_b == 3)
$draw_nipple_a_component_9_e34d63f8_001 = ($swapvar_sweater_b == 5) || ($swapvar_sweater_b == 6) || ($swapvar_sweater_b == 7)
$draw_nipple_b_component_9_e34d63f8_002 = ($swapvar_sweater_b == 8) || ($swapvar_sweater_b == 9) || ($swapvar_sweater_b == 10)
$draw_0body_a_component_9_e34d63f8 = ($swapvar_stockings == -1)
$draw_0body_b_component_9_e34d63f8_001 = ($swapvar_stockings == 0)
$draw_acs_1_component_3_9b5f1414 = ($swapvar_acs_1 == 0)
$draw_acs_2_component_3_9b5f1414_002 = ($swapvar_acs_1 == 1)
$draw_acs_3_component_3_9b5f1414_005 = ($swapvar_acs_1 == 2)
$draw_acs_4_component_3_9b5f1414_001 = ($swapvar_acs_1 == 3)
$draw_component_10_953431a6 = ($swapvar_acs_2 == 0)
$draw_clit_component_9_e34d63f8_002 = ($swapvar_acs_3 == 0) || ($swapvar_acs_3 == 2)
$draw_ass_component_9_e34d63f8_003 = ($swapvar_acs_3 == 1) || ($swapvar_acs_3 == 2)

; Shading: Custom Mesh Draw CommandLists -------------------------

[CommandList_Draw_Component0]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component0_IB
vb0 = ref Resource_Component0_VB0
vb1 = ref Resource_Component0_VB1
vb2 = ref Resource_Component0_VB2
; Draw Component 0 c78283e1
if $draw_component_0_c78283e1
    drawindexedinstanced = 27615, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component1]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component1_IB
vb0 = ref Resource_Component1_VB0
vb1 = ref Resource_Component1_VB1
if $lod_detected == 0
    vb2 = ref Resource_Component1_VB2
else
    vb2 = ref Resource_Component1_VB2_LOD
endif
        if $face5 == 0
		Resource\RabbitFX\Diffuse = ref Resource_Texture7
		elif $face5 == 1
		Resource\RabbitFX\Diffuse = ref Resource_Texture7_2
		elif $face5 == 2
		Resource\RabbitFX\Diffuse = ref Resource_Texture7_3
endif
    run = CommandList\RabbitFX\SetTextures
	
; Draw Component 1 1061306c
if $draw_component_1_1061306c
    drawindexedinstanced = 9000, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component2]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component2_IB
vb0 = ref Resource_Component2_VB0
vb1 = ref Resource_Component2_VB1
vb2 = ref Resource_Component2_VB2
endif
    Resource\RabbitFX\Diffuse = ref Resource_Texture13
    Resource\RabbitFX\Lightmap = ref Resource_Texture12
    Resource\RabbitFX\Normalmap = ref Resource_Texture14
    run = CommandList\RabbitFX\SetTextures

; Draw Mask 1Component 2 ba3f54e3
if $draw_mask_1component_2_ba3f54e3
    drawindexedinstanced = 4524, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component3]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component3_IB
vb0 = ref Resource_Component3_VB0
vb1 = ref Resource_Component3_VB1
if $lod_detected == 0
    vb2 = ref Resource_Component3_VB2
else
    vb2 = ref Resource_Component3_VB2_LOD
endif

    Resource\RabbitFX\Diffuse = ref Resource_Texture18
    Resource\RabbitFX\Lightmap = ref Resource_Texture15
    Resource\RabbitFX\Normalmap = ref Resource_Texture16
    run = CommandList\RabbitFX\SetTextures

; Draw Acs 1 Component 3 9b5f1414
if $draw_acs_1_component_3_9b5f1414
    drawindexedinstanced = 20577, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif
; Draw Acs 2 Component 3 9b5f1414.002
if $draw_acs_2_component_3_9b5f1414_002
    drawindexedinstanced = 20577, INSTANCE_COUNT, 20577, 0, FIRST_INSTANCE
endif
; Draw Acs 3 Component 3 9b5f1414.005
if $draw_acs_3_component_3_9b5f1414_005
    drawindexedinstanced = 18999, INSTANCE_COUNT, 41154, 0, FIRST_INSTANCE
endif
; Draw Acs 4 Component 3 9b5f1414.001
if $draw_acs_4_component_3_9b5f1414_001
    drawindexedinstanced = 18999, INSTANCE_COUNT, 60153, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component4]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component4_IB
vb0 = ref Resource_Component4_VB0
vb1 = ref Resource_Component4_VB1
vb2 = ref Resource_Component4_VB2
; Draw Component 4 a0f67a46
if $draw_component_4_a0f67a46
    drawindexedinstanced = 1638, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component5]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component5_IB
vb0 = ref Resource_Component5_VB0
vb1 = ref Resource_Component5_VB1
vb2 = ref Resource_Component5_VB2
; Draw Component 5 484f1dc9
if $draw_component_5_484f1dc9
    drawindexedinstanced = 16086, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component6]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component6_IB
vb0 = ref Resource_Component6_VB0
vb1 = ref Resource_Component6_VB1
vb2 = ref Resource_Component6_VB2
; Draw Mask 2Component 6 c7fb8d3e
if $draw_mask_2component_6_c7fb8d3e
    drawindexedinstanced = 117, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component7]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component7_IB
vb0 = ref Resource_Component7_VB0
vb1 = ref Resource_Component7_VB1
vb2 = ref Resource_Component7_VB2
; Draw Component 7 de4df2c4
if $draw_component_7_de4df2c4
    drawindexedinstanced = 1386, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component8]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component8_IB
vb0 = ref Resource_Component8_VB0
vb1 = ref Resource_Component8_VB1
vb2 = ref Resource_Component8_VB2
; Draw Component 8 7e44a343
if $draw_component_8_7e44a343
    drawindexedinstanced = 90, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component9]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component9_IB
vb0 = ref Resource_Component9_VB0
vb1 = ref Resource_Component9_VB1
if $lod_detected == 0
    vb2 = ref Resource_Component9_VB2
else
    vb2 = ref Resource_Component9_VB2_LOD
endif
        if $body5 == 0
		Resource\RabbitFX\Diffuse = ref Resource_Texture11
		elif $body5 == 1
		Resource\RabbitFX\Diffuse = ref Resource_Texture11_2
		elif $body5 == 2
		Resource\RabbitFX\Diffuse = ref Resource_Texture11_3
endif
    Resource\RabbitFX\Lightmap = ref Resource_Texture9
    Resource\RabbitFX\Normalmap = ref Resource_Texture10
    run = CommandList\RabbitFX\SetTextures

; Draw 0Body A Component 9 e34d63f8
if $draw_0body_a_component_9_e34d63f8
    drawindexedinstanced = 181680, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif
; Draw 0Body B Component 9 e34d63f8.001
if $draw_0body_b_component_9_e34d63f8_001
    drawindexedinstanced = 183240, INSTANCE_COUNT, 181680, 0, FIRST_INSTANCE
endif
; Draw 0Cloak Component 9 e34d63f8.001
if $draw_0cloak_component_9_e34d63f8_001
    drawindexedinstanced = 2907, INSTANCE_COUNT, 364920, 0, FIRST_INSTANCE
endif
; Draw 0Cloak Component 9 e34d63f8.002
if $draw_0cloak_component_9_e34d63f8_002
    drawindexedinstanced = 8370, INSTANCE_COUNT, 367827, 0, FIRST_INSTANCE
endif
; Draw 0Shoes Component 9 e34d63f8.002
if $draw_0shoes_component_9_e34d63f8_002
    drawindexedinstanced = 9564, INSTANCE_COUNT, 376197, 0, FIRST_INSTANCE
endif
; Draw 0Sweater Component 9 e34d63f8.001
if $draw_0sweater_component_9_e34d63f8_001
    drawindexedinstanced = 3285, INSTANCE_COUNT, 385761, 0, FIRST_INSTANCE
endif
; Draw 1Cloak A Component 9 e34d63f8.001
if $draw_1cloak_a_component_9_e34d63f8_001
    drawindexedinstanced = 59790, INSTANCE_COUNT, 389046, 0, FIRST_INSTANCE
endif
; Draw 1Cloak B Component 9 e34d63f8.001
if $draw_1cloak_b_component_9_e34d63f8_001
    drawindexedinstanced = 47580, INSTANCE_COUNT, 448836, 0, FIRST_INSTANCE
endif
; Draw 1Cloak C Component 9 e34d63f8.001
if $draw_1cloak_c_component_9_e34d63f8_001
    drawindexedinstanced = 41505, INSTANCE_COUNT, 496416, 0, FIRST_INSTANCE
endif
; Draw 2Vest Component 9 e34d63f8.003
if $draw_2vest_component_9_e34d63f8_003
    drawindexedinstanced = 9399, INSTANCE_COUNT, 537921, 0, FIRST_INSTANCE
endif
; Draw 4Sweater A Component 9 e34d63f8.006
if $draw_4sweater_a_component_9_e34d63f8_006
    drawindexedinstanced = 2094, INSTANCE_COUNT, 547320, 0, FIRST_INSTANCE
endif
; Draw 4Sweater B Component 9 e34d63f8.008
if $draw_4sweater_b_component_9_e34d63f8_008
    drawindexedinstanced = 2526, INSTANCE_COUNT, 549414, 0, FIRST_INSTANCE
endif
; Draw 4Sweater C Component 9 e34d63f8.009
if $draw_4sweater_c_component_9_e34d63f8_009
    drawindexedinstanced = 2994, INSTANCE_COUNT, 551940, 0, FIRST_INSTANCE
endif
; Draw 4Sweater Component 9 e34d63f8.004
if $draw_4sweater_component_9_e34d63f8_004
    drawindexedinstanced = 4305, INSTANCE_COUNT, 554934, 0, FIRST_INSTANCE
endif
; Draw 4Sweater Component 9 e34d63f8.005
if $draw_4sweater_component_9_e34d63f8_005
    drawindexedinstanced = 9588, INSTANCE_COUNT, 559239, 0, FIRST_INSTANCE
endif
; Draw Ass  Component 9 e34d63f8.003
if $draw_ass_component_9_e34d63f8_003
    drawindexedinstanced = 126, INSTANCE_COUNT, 568827, 0, FIRST_INSTANCE
endif
; Draw Clit Component 9 e34d63f8.002
if $draw_clit_component_9_e34d63f8_002
    drawindexedinstanced = 1578, INSTANCE_COUNT, 568953, 0, FIRST_INSTANCE
endif
; Draw ENDFILD 1 Component 9 e34d63f8.001
if $draw_endfild_1_component_9_e34d63f8_001
    drawindexedinstanced = 48, INSTANCE_COUNT, 570531, 0, FIRST_INSTANCE
endif
; Draw ENDFILD 2 Component 9 e34d63f8.001
if $draw_endfild_2_component_9_e34d63f8_001
    drawindexedinstanced = 48, INSTANCE_COUNT, 570579, 0, FIRST_INSTANCE
endif
; Draw Nipple A Component 9 e34d63f8.001
if $draw_nipple_a_component_9_e34d63f8_001
    drawindexedinstanced = 3156, INSTANCE_COUNT, 570627, 0, FIRST_INSTANCE
endif
; Draw Nipple B Component 9 e34d63f8.002
if $draw_nipple_b_component_9_e34d63f8_002
    drawindexedinstanced = 3876, INSTANCE_COUNT, 573783, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component10]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component10_IB
vb0 = ref Resource_Component10_VB0
vb1 = ref Resource_Component10_VB1
if $lod_detected == 0
    vb2 = ref Resource_Component10_VB2
else
    vb2 = ref Resource_Component10_VB2_LOD
endif
; Draw Component 10 953431a6
if $draw_component_10_953431a6
    drawindexedinstanced = 1932, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif
; Draw Component 10 953431a6.001
if $draw_component_10_953431a6_001
    drawindexedinstanced = 288, INSTANCE_COUNT, 1932, 0, FIRST_INSTANCE
endif
; Draw Component 10 953431a6.002
if $draw_component_10_953431a6_002
    drawindexedinstanced = 66, INSTANCE_COUNT, 2220, 0, FIRST_INSTANCE
endif

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

[TextureOverride_Component0]
hash = c78283e1
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component0
endif

[TextureOverride_Component1]
hash = 1061306c
$object_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component1
endif

[TextureOverride_Component2]
hash = ba3f54e3
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component2
endif

[TextureOverride_Component3]
hash = 9b5f1414
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component3
endif

[TextureOverride_Component4]
hash = a0f67a46
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component4
endif

[TextureOverride_Component5]
hash = 484f1dc9
$object_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component5
endif

[TextureOverride_Component6]
hash = c7fb8d3e
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component6
endif

[TextureOverride_Component7]
hash = de4df2c4
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component7
endif

[TextureOverride_Component8]
hash = 7e44a343
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component8
endif

[TextureOverride_Component9]
hash = e34d63f8
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component9
endif

[TextureOverride_Component10]
hash = 953431a6
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component10
endif

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

[TextureOverride_Component0_LOD0]
hash = 481b2ac9
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component0
endif

[TextureOverride_Component2_LOD0]
hash = 04c8dfc2
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component2
endif

[TextureOverride_Component3_LOD0]
hash = 55595ecb
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component3
endif

[TextureOverride_Component4_LOD0]
hash = 1dae91af
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component4
endif

[TextureOverride_Component6_LOD0]
hash = f6aa513f
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component6
endif

[TextureOverride_Component7_LOD0]
hash = 204892e9
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component7
endif

[TextureOverride_Component8_LOD0]
hash = 90ddb626
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component8
endif

[TextureOverride_Component9_LOD0]
hash = 47b3e8ee
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component9
endif

[TextureOverride_Component10_LOD0]
hash = 79e1a048
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component10
endif

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

[Resource_Texture0]
filename = Textures/Components-0 t=151c9982.dds

[TextureOverride_Texture0]
hash = 151c9982
match_priority = 0
if $object_detected
    this = Resource_Texture0
endif

[Resource_Texture1]
filename = Textures/Components-0 t=1e132f2a.dds

[TextureOverride_Texture1]
hash = 1e132f2a
match_priority = 0
if $object_detected
    this = Resource_Texture1
endif

[Resource_Texture2]
filename = Textures/Components-0 t=4b997e43.dds

[TextureOverride_Texture2]
hash = 4b997e43
match_priority = 0
if $object_detected
    this = Resource_Texture2
endif

[Resource_Texture3]
filename = Textures/Components-0 t=4c845145.dds

[TextureOverride_Texture3]
hash = 4c845145
match_priority = 0
if $object_detected
    this = Resource_Texture3
endif

[Resource_Texture4]
filename = Textures/Components-0 t=7567043b.dds

[TextureOverride_Texture4]
hash = 7567043b
match_priority = 0
if $object_detected
    this = Resource_Texture4
endif

[Resource_Texture5]
filename = Textures/Components-1 t=290f53c8.dds

[TextureOverride_Texture5]
hash = 290f53c8
match_priority = 0
if $object_detected
    this = Resource_Texture5
endif

[Resource_Texture6]
filename = Textures/Components-1 t=9750205d.dds

[TextureOverride_Texture6]
hash = 9750205d
match_priority = 0
if $object_detected
    this = Resource_Texture6
endif

[Resource_Texture7]
filename = Textures/Components-1-4 t=864bdfd3.dds

[Resource_Texture7_2]
filename = Textures/Components-1-4 t=864bdfd3 2.dds

[Resource_Texture7_3]
filename = Textures/Components-1-4 t=864bdfd3 3.dds

[TextureOverride_Texture7]
$active = 1
hash = 864bdfd3
if $face5 == 0
this = Resource_Texture7
elif $face5 == 1
this = Resource_Texture7_2
elif $face5 == 2
this = Resource_Texture7_3
endif

[Resource_Texture8]
filename = Textures/Components-10-2-3-9 t=7d330dbd.dds

[TextureOverride_Texture8]
hash = 7d330dbd
match_priority = 0
if $object_detected
    this = Resource_Texture8
endif

[Resource_Texture9]
filename = Textures/Components-10-9 t=9d38d199.dds

[TextureOverride_Texture9]
hash = 9d38d199
match_priority = 0
if $object_detected
    this = Resource_Texture9
endif

[Resource_Texture10]
filename = Textures/Components-10-9 t=b2b16f01.dds

[TextureOverride_Texture10]
hash = b2b16f01
match_priority = 0
if $object_detected
    this = Resource_Texture10
endif

[Resource_Texture11]
filename = Textures/Components-10-9 t=c624cf92.dds

[Resource_Texture11_2]
filename = Textures/Components-10-9 t=c624cf92 2.dds

[Resource_Texture11_3]
filename = Textures/Components-10-9 t=c624cf92 3.dds

[TextureOverride_Texture11]
$active = 1
hash = c624cf92
if $body5 == 0
this = Resource_Texture11
elif $body5 == 1
this = Resource_Texture11_2
elif $body5 == 2
this = Resource_Texture11_3
endif

[Resource_Texture12]
filename = Textures/Components-2 t=82dbb607.dds

[TextureOverride_Texture12]
hash = 82dbb607
match_priority = 0
if $object_detected
    this = Resource_Texture12
endif

[Resource_Texture13]
filename = Textures/Components-2 t=853b1227.dds

[TextureOverride_Texture13]
hash = 853b1227
match_priority = 0
if $object_detected
    this = Resource_Texture13
endif

[Resource_Texture14]
filename = Textures/Components-2 t=ea407455.dds

[TextureOverride_Texture14]
hash = ea407455
match_priority = 0
if $object_detected
    this = Resource_Texture14
endif

[Resource_Texture15]
filename = Textures/Components-3 t=2f3d0ce5.dds

[TextureOverride_Texture15]
hash = 2f3d0ce5
match_priority = 0
if $object_detected
    this = Resource_Texture15
endif

[Resource_Texture16]
filename = Textures/Components-3 t=53a960dd.dds

[TextureOverride_Texture16]
hash = 53a960dd
match_priority = 0
if $object_detected
    this = Resource_Texture16
endif

[Resource_Texture17]
filename = Textures/Components-3 t=d3dd5595.dds

[TextureOverride_Texture17]
hash = d3dd5595
match_priority = 0
if $object_detected
    this = Resource_Texture17
endif

[Resource_Texture18]
filename = Textures/Components-3 t=d9b56f8f.dds

[TextureOverride_Texture18]
hash = d9b56f8f
match_priority = 0
if $object_detected
    this = Resource_Texture18
endif

[Resource_Texture19]
filename = Textures/Components-5 t=283d6675.dds

[TextureOverride_Texture19]
hash = 283d6675
match_priority = 0
if $object_detected
    this = Resource_Texture19
endif

[Resource_Texture20]
filename = Textures/Components-5 t=6874611e.dds

[TextureOverride_Texture20]
hash = 6874611e
match_priority = 0
if $object_detected
    this = Resource_Texture20
endif

[Resource_Texture21]
filename = Textures/Components-7 t=cd262dbd.dds

[TextureOverride_Texture21]
hash = cd262dbd
match_priority = 0
if $object_detected
    this = Resource_Texture21
endif

[TextureOverride22]
hash = c624cf92
Resource\RabbitFX\GlowMap = ref ResourceGlowMap
$\RabbitFX\brightness = 100
run = CommandList\RabbitFX\run

[ResourceGlowMap]
filename = Textures/GlowMap.dds
endif

[TextureOverride23]
hash = 853b1227
Resource\RabbitFX\GlowMap = ref ResourceGlowMap2
$\RabbitFX\brightness = 100
run = CommandList\RabbitFX\run

[ResourceGlowMap2]
filename = Textures/GlowMap 2.dds
endif

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

[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_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 = 12
filename = Meshes/Component1_VB1.buf

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

[Resource_Component1_VB2_LOD]
type = Buffer
stride = 12
filename = Meshes/Component1_VB2_LOD.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 = 4
filename = Meshes/Component2_VB2.buf

[Resource_Component3_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component3_IB.buf

[Resource_Component3_VB0]
type = Buffer
stride = 16
filename = Meshes/Component3_VB0.buf

[Resource_Component3_VB1]
type = Buffer
stride = 12
filename = Meshes/Component3_VB1.buf

[Resource_Component3_VB2]
type = Buffer
stride = 12
filename = Meshes/Component3_VB2.buf

[Resource_Component3_VB2_LOD]
type = Buffer
stride = 12
filename = Meshes/Component3_VB2_LOD.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 = 8
filename = Meshes/Component4_VB1.buf

[Resource_Component4_VB2]
type = Buffer
stride = 12
filename = Meshes/Component4_VB2.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 = 12
filename = Meshes/Component5_VB1.buf

[Resource_Component5_VB2]
type = Buffer
stride = 12
filename = Meshes/Component5_VB2.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 = 12
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 = 4
filename = Meshes/Component7_VB2.buf

[Resource_Component8_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component8_IB.buf

[Resource_Component8_VB0]
type = Buffer
stride = 16
filename = Meshes/Component8_VB0.buf

[Resource_Component8_VB1]
type = Buffer
stride = 8
filename = Meshes/Component8_VB1.buf

[Resource_Component8_VB2]
type = Buffer
stride = 12
filename = Meshes/Component8_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 = 12
filename = Meshes/Component9_VB1.buf

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

[Resource_Component9_VB2_LOD]
type = Buffer
stride = 12
filename = Meshes/Component9_VB2_LOD.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_VB2_LOD]
type = Buffer
stride = 12
filename = Meshes/Component10_VB2_LOD.buf

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

; This mod.ini was automatically generated by EFMI Tools Blender addon v0.3.6 and requires EFMI v1.1.0+ 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
; SHA256 CHECKSUM: de2768f0232d3d7ed62e56024009c7ed79767c806c3d8c6a7a8e406d468dd1fb
