Skip to content

Commit

Permalink
calibration mode optional addition
Browse files Browse the repository at this point in the history
  • Loading branch information
LlysiX committed Feb 25, 2024
1 parent 7098fd7 commit 36875bd
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
33 changes: 30 additions & 3 deletions _ark/ps4/dx/overshell/dx_states.dta
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,19 @@
{$this setup_confirm_actions "This option will take effect the next time you restart the game." (overshell_confirm_ok)}
)
(SELECT_MSG
{$this show_state kState_RB4DXMain}
{if_else {== $optionaladd calibrationmode}
{$this show_state kState_RB4DXOptionalAdditions}
{$this show_state kState_RB4DXMain}
}
{set $optionaladd FALSE}
{$this trigger_select_effects }
)
(on_cancel
{$this show_state kState_RB4DXMain}
{if_else {== $optionaladd calibrationmode}
{$this show_state kState_RB4DXOptionalAdditions}
{$this show_state kState_RB4DXMain}
}
{set $optionaladd FALSE}
{$this trigger_cancel_effects }
)
)
Expand Down Expand Up @@ -185,6 +193,7 @@
{if_else $songtitle "Song Title Always: ON" "Song Title Always: OFF"}
{if_else $noshine "No Shine: ON" "No Shine: OFF"}
{if_else $noflames "No Flames: ON" "No Flames: OFF"}
{if_else $calibrationmode "Calibration Mode: ON" "Calibration Mode: OFF"}
)
}
)
Expand Down Expand Up @@ -233,6 +242,16 @@
}
{$this trigger_select_effects}
)
(("Calibration Mode: ON" "Calibration Mode: OFF")
{if_else $calibrationmode
{do
{set $optionaladd calibrationmode}
{$this show_state kState_RB4DXOptionalAddWarn}
}
{$this show_state kState_RB4DXOptionalAddHowTo}
}
{$this trigger_select_effects}
)
}
)
(on_cancel
Expand Down Expand Up @@ -264,16 +283,24 @@
(noflames
DELETE_NOFLAMES_FILES
)
(calibrationmode
{file_delete "data:/GoldHEN/RB4DX/ps4/config/include/beatmatcher.dta_dta_ps4"}
)
}
{if_else {== $optionaladd calibrationmode}
{$this show_state kState_RB4DXDelayedEffectWarn}
{$this show_state kState_RB4DXOptionalAdditions}
}
{$this show_state kState_RB4DXOptionalAdditions}
)
(overshell_confirm_no
{set $optionaladd FALSE}
{$this show_state kState_RB4DXOptionalAdditions}
)
}
{$this trigger_select_effects}
)
(on_cancel
{set $optionaladd FALSE}
{$this show_state kState_RB4DXOptionalAdditions}
{$this trigger_cancel_effects }
)
Expand Down
1 change: 1 addition & 0 deletions _ark/ps4/dx/ui/dx_init.dta
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
{set $songtitle {file_exists "data:/GoldHEN/RB4DX/ps4/ui/game/song_artist_overlay.entity_ps4"}}
{set $noshine {file_exists "data:/GoldHEN/RB4DX/ps4/track/shared/fx_noise_b_util.bmp_ps4"}}
{set $noflames {file_exists "data:/GoldHEN/RB4DX/ps4/track/smasher/gem_smasher_unlit.entity_ps4"}}
{set $calibrationmode {file_exists "data:/GoldHEN/RB4DX/ps4/config/include/beatmatcher.dta_dta_ps4"}}
)
#define DELETE_NOFLAMES_FILES
(
Expand Down
Binary file not shown.

0 comments on commit 36875bd

Please sign in to comment.