Skip to content

Commit

Permalink
remove autoplay plugin, disables saving in main
Browse files Browse the repository at this point in the history
  • Loading branch information
LlysiX committed Mar 6, 2025
1 parent 977322a commit 16fbea0
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 67 deletions.
32 changes: 9 additions & 23 deletions _ark/ps4/dx/overshell/dx_states.dta
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
#define RB4DXGP_DATA
(
{if_else {$this in_song}
{if_else {|| $calibrationmode $precisionmode}
{if_else {|| {! {file_exists "saving.ini"}} $calibrationmode $precisionmode}
{$this setup_confirm_actions a
(
"Enter Calibration Numbers"
Expand All @@ -122,15 +122,15 @@
{$this setup_confirm_actions a
(
"Enter Calibration Numbers"
{if_else $autoplayexists {if_else $autoplayenabled "Autoplay: ON" "Autoplay: OFF"} "Autoplay: DISABLED"}
{if_else $autoplayenabled "Autoplay: ON" "Autoplay: OFF"}
{if_else $instafail "Insta Fail: ON" "Insta Fail: OFF"}
{if_else $toughcrowd "Tough Crowd: ON" "Tough Crowd: OFF"}
{if_else $nood "Overdrive Gain: OFF" "Overdrive Gain: ON"}
{if_else $practiceod "OD in Practice: ON" "OD in Practice: OFF"}
{if_else $syncspeeds "Sync Difficulty Speeds: ON" "Sync Difficulty Speeds: OFF"}
{if_else $calibrationmode "Calibration Mode: ON" "Calibration Mode: OFF"}
{if_else $precisionmode "Precision Mode: ON" "Precision Mode: OFF"}
{if_else $autoplayexists {if_else $drunkmode "Drunk Mode: ON" "Drunk Mode: OFF"} "Drunk Mode: DISABLED"}
{if_else $drunkmode "Drunk Mode: ON" "Drunk Mode: OFF"}
)
}
}
Expand All @@ -148,20 +148,14 @@
{$this show_state kState_RB4DXCalibrationSelector}
{$this trigger_select_effects}
)
("Autoplay: DISABLED"
{$this show_state kState_RB4DXAutoplayHowTo}
{$this trigger_select_effects}
)
(("Autoplay: OFF" "Autoplay: ON")
{set $autoplayenabled {! $autoplayenabled}}
{set $cheat_option autoplay}
{if_else $autoplayenabled
{do
{dx_write_null_file "autoplay.ini"}
{$this show_state kState_RB4DXAutoplayOn}
{$this show_state kState_RB4DXSavingDisabled}
}
{do
{dx_file_delete "autoplay.ini"}
{$this show_state kState_RB4DXAutoplayOff}
{$this show_state kState_RB4DXSavingWarn}
}
}
{$this trigger_select_effects}
Expand Down Expand Up @@ -282,22 +276,14 @@
}
{$this trigger_select_effects}
)
("Drunk Mode: DISABLED"
{$this show_state kState_RB4DXDrunkModeHowTo}
{$this trigger_select_effects}
)
(("Drunk Mode: ON" "Drunk Mode: OFF")
{set $drunkmode {! $drunkmode}}
{set $cheat_option drunkmode}
{if_else $drunkmode
{do
{set_elem {find $syscfg beatmatcher watcher slop} 1 750}
{dx_write_null_file "drunkmode.ini"}
RB4DXGP_DATA
{$this show_state kState_RB4DXSavingDisabled}
}
{do
{set_elem {find $syscfg beatmatcher watcher slop} 1 100}
{dx_file_delete "drunkmode.ini"}
{$this show_state kState_RB4DXAutoplayOff}
{$this show_state kState_RB4DXSavingWarn}
}
}
{$this trigger_select_effects}
Expand Down
87 changes: 45 additions & 42 deletions _ark/ps4/dx/overshell/dx_warn_states.dta
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
{$this setup_confirm_actions "You will need to restart the game to continue playing. Do you want to continue?" (overshell_confirm_yes overshell_confirm_no)}
)
(SELECT_MSG
{local $list_data {($objId UIListCom) get_data_in_column token}
}
{local $list_data {($objId UIListCom) get_data_in_column token}}
{switch $list_data
(overshell_confirm_yes
{$ui remove_scene "ui/main_menu/main_menu.scene"}
Expand Down Expand Up @@ -125,8 +124,7 @@
{$this setup_confirm_actions "Track Angles are EXPERIMENTAL, and may not work in multiplayer. Do you want to continue?" (overshell_confirm_yes overshell_confirm_no)}
)
(SELECT_MSG
{local $list_data {($objId UIListCom) get_data_in_column token}
}
{local $list_data {($objId UIListCom) get_data_in_column token}}
{switch $list_data
(overshell_confirm_yes
{switch $trackangletype
Expand Down Expand Up @@ -169,8 +167,7 @@
{$this setup_confirm_actions "Would you like to reset gem colors to default or edit your colors?" ("Reset" "Edit")}
)
(SELECT_MSG
{local $list_data {($objId UIListCom) get_data_in_column token}
}
{local $list_data {($objId UIListCom) get_data_in_column token}}
{switch $list_data
("Reset"
{dx_file_delete "settings/theme/gem/colors/enabled.dta"}
Expand All @@ -188,42 +185,28 @@
)
)

(kState_RB4DXAutoplayHowTo
(kState_RB4DXSavingWarn
(view confirm_action)
(enter
{$this setup_confirm_actions "You are missing the \qRB4DX-Autoplay.prx\q plugin file. Autoplay will not work until you download and enable this plugin.
(DISABLES SAVING)" (overshell_confirm_ok)}
)
(SELECT_MSG
{$this show_state kState_RB4DXGPSettings}
{$this trigger_select_effects}
)
(on_cancel
{$this show_state kState_RB4DXGPSettings}
{$this trigger_cancel_effects}
)
)
(kState_RB4DXAutoplayOn
(view confirm_action)
(enter
{$this setup_confirm_actions "If autoplay is not functioning, make sure you have the \qRB4DX-Autoplay.prx\q plugin enabled in \q/data/GoldHEN/plugins.ini\q.
(DISABLES SAVING)" (overshell_confirm_ok)}
)
(SELECT_MSG
{$this show_state kState_RB4DXGPSettings}
{$this trigger_select_effects}
)
(on_cancel
{$this show_state kState_RB4DXGPSettings}
{$this trigger_cancel_effects}
)
)
(kState_RB4DXAutoplayOff
(view confirm_action)
(enter
{$this setup_confirm_actions "You will need to disable and delete the \qRB4DX-Autoplay.prx\q plugin to re-enable saving." (overshell_confirm_ok)}
{$this setup_confirm_actions "This setting will disable saving until you restart the game. Do you want to continue?" (overshell_confirm_yes overshell_confirm_no)}
)
(SELECT_MSG
{local $list_data {($objId UIListCom) get_data_in_column token}}
{if {== $list_data overshell_confirm_yes}
{switch $cheat_option
(autoplay
{set $autoplayenabled TRUE}
{dx_write_null_file "autoplay.ini"}
{dx_file_delete "saving.ini"}
)
(drunkmode
{set $drunkmode TRUE}
{set_elem {find $syscfg beatmatcher watcher slop} 1 750}
{dx_write_null_file "drunkmode.ini"}
{dx_file_delete "saving.ini"}
)
}
}
{$this show_state kState_RB4DXGPSettings}
{$this trigger_select_effects}
)
Expand All @@ -232,18 +215,38 @@
{$this trigger_cancel_effects}
)
)

(kState_RB4DXDrunkModeHowTo
(kState_RB4DXSavingDisabled
(view confirm_action)
(enter
{$this setup_confirm_actions "You are missing the \qRB4DX-Autoplay.prx\q plugin file. Drunk Mode will not work until you download and enable this plugin.
(DISABLES SAVING)" (overshell_confirm_ok)}
{$this setup_confirm_actions "You will need to restart the game to re-enable saving." (overshell_confirm_ok)}
)
(SELECT_MSG
{switch $cheat_option
(autoplay
{set $autoplayenabled FALSE}
{dx_file_delete "autoplay.ini"}
)
(drunkmode
{set $drunkmode FALSE}
{set_elem {find $syscfg beatmatcher watcher slop} 1 100}
{dx_file_delete "drunkmode.ini"}
)
}
{$this show_state kState_RB4DXGPSettings}
{$this trigger_select_effects}
)
(on_cancel
{switch $cheat_option
(autoplay
{set $autoplayenabled FALSE}
{dx_file_delete "autoplay.ini"}
)
(drunkmode
{set $drunkmode FALSE}
{set_elem {find $syscfg beatmatcher watcher slop} 1 100}
{dx_file_delete "drunkmode.ini"}
)
}
{$this show_state kState_RB4DXGPSettings}
{$this trigger_cancel_effects}
)
Expand Down
1 change: 0 additions & 1 deletion _ark/ps4/dx/ui/dx_init.dta
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
{set $calibrationmode FALSE}
{set $track_curve 1}
{set $hwlength 1}
{set $autoplayexists {file_exists "data:/GoldHEN/plugins/RB4DX-Autoplay.prx"}}
{set $notifycolored {file_exists "notifycolored.ini"}}

;gp settings
Expand Down
3 changes: 2 additions & 1 deletion _ark/ps4/dx/ui/init_dev.dta
Original file line number Diff line number Diff line change
Expand Up @@ -289,4 +289,5 @@ UPDATE_SETTINGS
}
{if {file_exists "drunkmode.ini"}
{dx_file_delete "drunkmode.ini"}
}
}
{dx_write_null_file "saving.ini"}
Binary file removed _build/GoldHEN/plugins/RB4DX-Autoplay.prx
Binary file not shown.
Binary file modified _build/GoldHEN/plugins/RB4DX-Plugin.prx
Binary file not shown.

0 comments on commit 16fbea0

Please sign in to comment.