[Constants] global persist $var1 = 0 global persist $var2 = 0 global persist $var3 = 0 global $active = 0 [Present] post $active = 0 [KeySwitchVar1] condition = $active Key = ctrl no_shift no_alt x type = cycle $var1 = 0,1 ; Bra : On/Off [KeySwitchVar2] condition = $active Key = ctrl no_shift no_alt z type = cycle $var2 = 0,1 ; Color(Red Only) : Org. -> Pink [KeySwitchVar3] condition = $active Key = ctrl no_shift no_alt c type = cycle $var3 = 0,1 ; Panty : On/Off ; Common - SS [TextureOverrideCommonBra01] hash = cc9002ff match_first_index = 2700 if $var1 > 0 && ($active || $shader_type == 5) handling = skip elif ($active || $shader_type == 5) handling = skip vb0 = ResourceCommonBraVB ib = ResourceCommonBraIB drawindexed = auto endif [TextureOverrideCommonBra02] hash = cc9002ff match_first_index = 10872 if $var1 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideCommonBra03] hash = cc9002ff match_first_index = 7056 if ($active || $shader_type == 5) handling = skip if $var1 == 0 vb0 = ResourceCommonBraBowsVB ib = ResourceCommonBraBowsIB drawindexed = auto endif if $var3 == 0 vb0 = ResourceCommonPantyBowsVB ib = ResourceCommonPantyBowsIB drawindexed = auto endif endif [TextureOverrideCommonPanty01] hash = cc9002ff match_first_index = 0 if $var3 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideCommonBra01_Purple] hash = 78942d14 match_first_index = 2700 if $var1 > 0 && ($active || $shader_type == 5) handling = skip elif ($active || $shader_type == 5) handling = skip vb0 = ResourceCommonBraVB ib = ResourceCommonBraIB drawindexed = auto endif [TextureOverrideCommonBra02_Purple] hash = 78942d14 match_first_index = 10872 if $var1 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideCommonBra03_Purple] hash = 78942d14 match_first_index = 7056 if ($active || $shader_type == 5) handling = skip if $var1 == 0 vb0 = ResourceCommonBraBowsVB ib = ResourceCommonBraBowsIB drawindexed = auto endif if $var3 == 0 vb0 = ResourceCommonPantyBowsVB ib = ResourceCommonPantyBowsIB drawindexed = auto endif endif [TextureOverrideCommonPanty01_Purple] hash = 78942d14 match_first_index = 0 if $var3 > 0 && ($active || $shader_type == 5) handling = skip endif ; Common - Body [TextureOverrideCommonBody_Red] hash = 6d58b611 match_first_index = 0 $active = 1 handling = skip if $var3 > 0 vb0 = ResourceCommonBodyA1VB ib = ResourceCommonBodyA1IB else vb0 = ResourceCommonBodyA0VB ib = ResourceCommonBodyA0IB endif drawindexed = auto [TextureOverrideCommonBody_Black] hash = b65b804c match_first_index = 0 $active = 1 handling = skip if $var3 > 0 vb0 = ResourceCommonBodyA1VB ib = ResourceCommonBodyA1IB else vb0 = ResourceCommonBodyA0VB ib = ResourceCommonBodyA0IB endif drawindexed = auto [TextureOverrideCommonBody_Blue] hash = daec1410 match_first_index = 0 $active = 1 handling = skip if $var3 > 0 vb0 = ResourceCommonBodyB1VB ib = ResourceCommonBodyB1IB else vb0 = ResourceCommonBodyB0VB ib = ResourceCommonBodyB0IB endif drawindexed = auto [TextureOverrideCommonBody_Purple] hash = 4de4f786 match_first_index = 0 $active = 1 handling = skip if $var3 > 0 vb0 = ResourceCommonBodyB1VB ib = ResourceCommonBodyB1IB else vb0 = ResourceCommonBodyB0VB ib = ResourceCommonBodyB0IB endif drawindexed = auto ; Marie [TextureOverrideMarieBra01_Red_Black] hash = 4c8130dc match_first_index = 0 if $var1 > 0 && ($active || $shader_type == 5) handling = skip elif ($active || $shader_type == 5) handling = skip vb0 = ResourceMarieBraVB ib = ResourceMarieBraIB drawindexed = auto endif [TextureOverrideMarieBra02_Red_Black] hash = 4c8130dc match_first_index = 6102 if $var1 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideMarieBra03_Red_Black] hash = 4c8130dc match_first_index = 4194 if $var1 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideMariePanty01_Red_Black] hash = 4c8130dc match_first_index = 6690 if $var3 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideMariePanty02_Red_Black] hash = 4c8130dc match_first_index = 10032 if $var3 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideMarieBra01_Purple] hash = 784364e7 match_first_index = 0 if $var1 > 0 && ($active || $shader_type == 5) handling = skip elif ($active || $shader_type == 5) handling = skip vb0 = ResourceMarieBraVB ib = ResourceMarieBraIB drawindexed = auto endif [TextureOverrideMarieBra02_Purple] hash = 784364e7 match_first_index = 6138 if $var1 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideMarieBra03_Purple] hash = 784364e7 match_first_index = 4230 if $var1 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideMariePanty01_Purple] hash = 784364e7 match_first_index = 6726 if $var3 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideMariePanty02_Purple] hash = 784364e7 match_first_index = 10068 if $var3 > 0 && ($active || $shader_type == 5) handling = skip endif ; Marie - Body [TextureOverrideMarieBody_Red_Black] hash = 5f186711 match_first_index = 0 $active = 1 handling = skip if $var3 > 0 vb0 = ResourceMarieBodyA1VB ib = ResourceMarieBodyA1IB else vb0 = ResourceMarieBodyA0VB ib = ResourceMarieBodyA0IB endif drawindexed = auto [TextureOverrideMarieBody_Purple] hash = fdbe2776 match_first_index = 0 $active = 1 handling = skip if $var3 > 0 vb0 = ResourceMarieBodyB1VB ib = ResourceMarieBodyB1IB else vb0 = ResourceMarieBodyB0VB ib = ResourceMarieBodyB0IB endif drawindexed = auto ; Honoka - SS [TextureOverrideHonokaBra01] hash = 97b98060 match_first_index = 0 if $var1 > 0 && ($active || $shader_type == 5) handling = skip elif ($active || $shader_type == 5) handling = skip vb0 = ResourceHonokaBraVB ib = ResourceHonokaBraIB drawindexed = auto endif [TextureOverrideHonokaBra02] hash = 97b98060 match_first_index = 11358 if $var1 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideHonokaBra03] hash = 97b98060 match_first_index = 9450 if $var1 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideHonokaPanty01] hash = 97b98060 match_first_index = 7542 if $var3 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideHonokaPanty02] hash = 97b98060 match_first_index = 4236 if $var3 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideHonokaBra01_Purple] hash = cd151f31 match_first_index = 0 if $var1 > 0 && ($active || $shader_type == 5) handling = skip elif ($active || $shader_type == 5) handling = skip vb0 = ResourceHonokaBraVB ib = ResourceHonokaBraIB drawindexed = auto endif [TextureOverrideHonokaBra02_Purple] hash = cd151f31 match_first_index = 11358 if $var1 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideHonokaBra03_Purple] hash = cd151f31 match_first_index = 9450 if $var1 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideHonokaPanty01_Purple] hash = cd151f31 match_first_index = 7542 if $var3 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideHonokaPanty02_Purple] hash = cd151f31 match_first_index = 4236 if $var3 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideHonokaBody_Red_Black] hash = f8223de4 match_first_index = 0 $active = 1 handling = skip if $var3 > 0 vb0 = ResourceHonokaBodyA1VB ib = ResourceHonokaBodyA1IB else vb0 = ResourceHonokaBodyA0VB ib = ResourceHonokaBodyA0IB endif drawindexed = auto [TextureOverrideHonokaBody_Purple] hash = b85d7d82 match_first_index = 0 $active = 1 handling = skip if $var3 > 0 vb0 = ResourceHonokaBodyB1VB ib = ResourceHonokaBodyB1IB else vb0 = ResourceHonokaBodyB0VB ib = ResourceHonokaBodyB0IB endif drawindexed = auto ; Red to Pink [TextureOverrideMarieHonokaRed] hash = 284f5b84 if $var2 > 0 && ($active || $shader_type == 5) this = ResourceTexturePink unless_null endif [TextureOverrideCommonRed] hash = 8a12db9d if $var2 > 0 && ($active || $shader_type == 5) this = ResourceTexturePink unless_null endif ; Resources [ResourceCommonBodyA0VB] type = Buffer stride = 80 filename = resources\common_body_A_0.vb [ResourceCommonBodyA0IB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\common_body_A_0.ib [ResourceCommonBodyA1VB] type = Buffer stride = 80 filename = resources\common_body_A_1.vb [ResourceCommonBodyA1IB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\common_body_A_1.ib [ResourceCommonBodyB0VB] type = Buffer stride = 80 filename = resources\common_body_B_0.vb [ResourceCommonBodyB0IB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\common_body_B_0.ib [ResourceCommonBodyB1VB] type = Buffer stride = 80 filename = resources\common_body_B_1.vb [ResourceCommonBodyB1IB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\common_body_B_1.ib [ResourceHonokaBodyA0VB] type = Buffer stride = 80 filename = resources\Honoka_body_A_0.vb [ResourceHonokaBodyA0IB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\Honoka_body_A_0.ib [ResourceHonokaBodyA1VB] type = Buffer stride = 80 filename = resources\Honoka_body_A_1.vb [ResourceHonokaBodyA1IB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\Honoka_body_A_1.ib [ResourceHonokaBodyB0VB] type = Buffer stride = 80 filename = resources\Honoka_body_B_0.vb [ResourceHonokaBodyB0IB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\Honoka_body_B_0.ib [ResourceHonokaBodyB1VB] type = Buffer stride = 80 filename = resources\Honoka_body_B_1.vb [ResourceHonokaBodyB1IB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\Honoka_body_B_1.ib [ResourceMarieBodyA0VB] type = Buffer stride = 80 filename = resources\Marie_body_A_0.vb [ResourceMarieBodyA0IB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\Marie_body_A_0.ib [ResourceMarieBodyA1VB] type = Buffer stride = 80 filename = resources\Marie_body_A_1.vb [ResourceMarieBodyA1IB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\Marie_body_A_1.ib [ResourceMarieBodyB0VB] type = Buffer stride = 80 filename = resources\Marie_body_B_0.vb [ResourceMarieBodyB0IB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\Marie_body_B_0.ib [ResourceMarieBodyB1VB] type = Buffer stride = 80 filename = resources\Marie_body_B_1.vb [ResourceMarieBodyB1IB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\Marie_body_B_1.ib [ResourceCommonBraVB] type = Buffer stride = 76 filename = resources\common_Bra.vb [ResourceCommonBraIB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\common_Bra.ib [ResourceCommonBraBowsVB] type = Buffer stride = 76 filename = resources\common_Bra_Bows.vb [ResourceCommonBraBowsIB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\common_Bra_Bows.ib [ResourceCommonPantyBowsVB] type = Buffer stride = 76 filename = resources\common_Panty_Bows.vb [ResourceCommonPantyBowsIB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\common_Panty_Bows.ib [ResourceHonokaBraVB] type = Buffer stride = 76 filename = resources\Honoka_Bra.vb [ResourceHonokaBraIB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\Honoka_Bra.ib [ResourceMarieBraVB] type = Buffer stride = 76 filename = resources\Marie_Bra.vb [ResourceMarieBraIB] type = Buffer format = DXGI_FORMAT_R16_UINT filename = resources\Marie_Bra.ib [ResourceTexturePink] filename = resources\texture\pink.dds [TextureOverrideMarieBra01_Black_DMM] hash = 75309a01 match_first_index = 0 if $var1 > 0 && ($active || $shader_type == 5) handling = skip elif ($active || $shader_type == 5) handling = skip vb0 = ResourceMarieBraVB ib = ResourceMarieBraIB drawindexed = auto endif [TextureOverrideMarieBra02_Black_DMM] hash = 75309a01 match_first_index = 6102 if $var1 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideMarieBra03_Black_DMM] hash = 75309a01 match_first_index = 4194 if $var1 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideMariePanty01_Black_DMM] hash = 75309a01 match_first_index = 6690 if $var3 > 0 && ($active || $shader_type == 5) handling = skip endif [TextureOverrideMariePanty02_Black_DMM] hash = 75309a01 match_first_index = 10032 if $var3 > 0 && ($active || $shader_type == 5) handling = skip endif