Skip to content

Commit

Permalink
Reapply "dx func cleanup" :)
Browse files Browse the repository at this point in the history
This reverts commit 43b4081.
  • Loading branch information
LlysiX committed Oct 11, 2024
1 parent 43b4081 commit 5ec6129
Show file tree
Hide file tree
Showing 9 changed files with 255 additions and 241 deletions.
16 changes: 16 additions & 0 deletions _ark/ps4/dx/funcs/dx_funcs.dta
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
; these are set in code, but i left the dta here to quickly see what these funcs do -LX
{func dx_file_mkdir ($dir)
{file_mkdir {sprint "data:/GoldHEN/RB4DX/" $dir}}
}
{func dx_file_delete ($file)
{file_delete {sprint "data:/GoldHEN/RB4DX/" $file}}
}
{func dx_file_exists ($file)
{file_exists {sprint "data:/GoldHEN/RB4DX/" $file}}
}
{func dx_file_rename ($from $to)
{file_rename {sprint "/data/GoldHEN/RB4DX/" $from} {sprint "/data/GoldHEN/RB4DX/" $to}}
}
{func dx_write_null_file ($file)
{write_file {sprint "data:/GoldHEN/RB4DX/" $file} {array ()}}
}
32 changes: 16 additions & 16 deletions _ark/ps4/dx/macros/dx_controller_macros.dta
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define WRITE_SLOT_DTA
(
{write_file {sprint "data:/GoldHEN/RB4DX/settings/controller/type/" $slot_changed "/" $slot_to ".dta"} $dx_write_nul}
{dx_write_null_file {sprint "settings/controller/type/" $slot_changed "/" $slot_to ".dta"}}
)

#define SET_SLOT_VAR
Expand All @@ -22,35 +22,35 @@
(
{switch $slot_changed
(gtr
{file_delete "data:/GoldHEN/RB4DX/settings/controller/type/gtr/drum.dta"}
{file_delete "data:/GoldHEN/RB4DX/settings/controller/type/gtr/vox.dta"}
{dx_file_delete "settings/controller/type/gtr/drum.dta"}
{dx_file_delete "settings/controller/type/gtr/vox.dta"}
)
(drum
{file_delete "data:/GoldHEN/RB4DX/settings/controller/type/drum/gtr.dta"}
{file_delete "data:/GoldHEN/RB4DX/settings/controller/type/drum/vox.dta"}
{dx_file_delete "settings/controller/type/drum/gtr.dta"}
{dx_file_delete "settings/controller/type/drum/vox.dta"}
)
(vox
{file_delete "data:/GoldHEN/RB4DX/settings/controller/type/vox/gtr.dta"}
{file_delete "data:/GoldHEN/RB4DX/settings/controller/type/vox/drum.dta"}
{dx_file_delete "settings/controller/type/vox/gtr.dta"}
{dx_file_delete "settings/controller/type/vox/drum.dta"}
)
}
)

#define CLEAR_INVALID_SLOT_DTAS
(
{file_delete "data:/GoldHEN/RB4DX/settings/controller/type/vox/vox.dta"}
{file_delete "data:/GoldHEN/RB4DX/settings/controller/type/drum/drum.dta"}
{file_delete "data:/GoldHEN/RB4DX/settings/controller/type/gtr/gtr.dta"}
{dx_file_delete "settings/controller/type/vox/vox.dta"}
{dx_file_delete "settings/controller/type/drum/drum.dta"}
{dx_file_delete "settings/controller/type/gtr/gtr.dta"}
)

#define DELETE_PAD_BINDING_DTAS
(
{file_delete "data:/GoldHEN/RB4DX/settings/controller/binding/pad/rbgtr.dta"}
{file_delete "data:/GoldHEN/RB4DX/settings/controller/binding/pad/rbdrum.dta"}
{file_delete "data:/GoldHEN/RB4DX/settings/controller/binding/pad/rb4gtr.dta"}
{file_delete "data:/GoldHEN/RB4DX/settings/controller/binding/pad/rb4drum.dta"}
{file_delete "data:/GoldHEN/RB4DX/settings/controller/binding/pad/ghgtr.dta"}
{file_delete "data:/GoldHEN/RB4DX/settings/controller/binding/pad/ghdrum.dta"}
{dx_file_delete "settings/controller/binding/pad/rbgtr.dta"}
{dx_file_delete "settings/controller/binding/pad/rbdrum.dta"}
{dx_file_delete "settings/controller/binding/pad/rb4gtr.dta"}
{dx_file_delete "settings/controller/binding/pad/rb4drum.dta"}
{dx_file_delete "settings/controller/binding/pad/ghgtr.dta"}
{dx_file_delete "settings/controller/binding/pad/ghdrum.dta"}
)

#define SET_PAD_BINDING_VAR
Expand Down
76 changes: 38 additions & 38 deletions _ark/ps4/dx/macros/dx_overshell_macros.dta
Original file line number Diff line number Diff line change
Expand Up @@ -2,58 +2,58 @@
(
{set $songtitletype
{cond
({&& {file_exists "data:/GoldHEN/RB4DX/ps4/ui/game/song_artist_overlay.entity_ps4"} {file_exists "data:/GoldHEN/RB4DX/ps4/ui/game/song_artist_overlaya.entity_ps4"} {file_exists "data:/GoldHEN/RB4DX/ps4/ui/game/song_artist_overlaytl.entity_ps4"}}
({&& {dx_file_exists "ps4/ui/game/song_artist_overlay.entity_ps4"} {dx_file_exists "ps4/ui/game/song_artist_overlaya.entity_ps4"} {dx_file_exists "ps4/ui/game/song_artist_overlaytl.entity_ps4"}}
default
)
({&& {file_exists "data:/GoldHEN/RB4DX/ps4/ui/game/song_artist_overlay.entity_ps4"} {file_exists "data:/GoldHEN/RB4DX/ps4/ui/game/song_artist_overlaya.entity_ps4"} {file_exists "data:/GoldHEN/RB4DX/ps4/ui/game/song_artist_overlay1.entity_ps4"}}
({&& {dx_file_exists "ps4/ui/game/song_artist_overlay.entity_ps4"} {dx_file_exists "ps4/ui/game/song_artist_overlaya.entity_ps4"} {dx_file_exists "ps4/ui/game/song_artist_overlay1.entity_ps4"}}
tl
)
({&& {file_exists "data:/GoldHEN/RB4DX/ps4/ui/game/song_artist_overlay.entity_ps4"} {file_exists "data:/GoldHEN/RB4DX/ps4/ui/game/song_artist_overlay1.entity_ps4"} {file_exists "data:/GoldHEN/RB4DX/ps4/ui/game/song_artist_overlaytl.entity_ps4"}}
({&& {dx_file_exists "ps4/ui/game/song_artist_overlay.entity_ps4"} {dx_file_exists "ps4/ui/game/song_artist_overlay1.entity_ps4"} {dx_file_exists "ps4/ui/game/song_artist_overlaytl.entity_ps4"}}
a
)
({&& {file_exists "data:/GoldHEN/RB4DX/ps4/ui/game/song_artist_overlaya.entity_ps4"} {file_exists "data:/GoldHEN/RB4DX/ps4/ui/game/song_artist_overlay1.entity_ps4"} {file_exists "data:/GoldHEN/RB4DX/ps4/ui/game/song_artist_overlaytl.entity_ps4"}}
({&& {dx_file_exists "ps4/ui/game/song_artist_overlaya.entity_ps4"} {dx_file_exists "ps4/ui/game/song_artist_overlay1.entity_ps4"} {dx_file_exists "ps4/ui/game/song_artist_overlaytl.entity_ps4"}}
none
)
}
}
)
#define MOVE_NOFLAMES_FILES_ON
(
{file_rename "/data/GoldHEN/RB4DX/ps4/track/smasher/gem_smasher_unlit1.entity_ps4" "/data/GoldHEN/RB4DX/ps4/track/smasher/gem_smasher_unlit.entity_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/smasher/fx_smasher_streaks1.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/smasher/fx_smasher_streaks.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/smasher/gem_smashed_util1.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/smasher/gem_smashed_util.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/smasher_beams1.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/smasher_beams.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/smasher_flash1.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/smasher_flash.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/smasher_shockwave1.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/smasher_shockwave.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/spark01_color1.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/spark01_color.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_orb1.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_orb.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_orb_dense1.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_orb_dense.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_shockwave1.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_shockwave.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_shockwave_forced_persp1.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_shockwave_forced_persp.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_smoke_plume1.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_smoke_plume.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_spark1.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_spark.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_spark_cluster1.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_spark_cluster.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_spark_dense1.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_spark_dense.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_spiral_flare1.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_spiral_flare.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/fx/flash_pot/particle_smoke1.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/fx/flash_pot/particle_smoke.bmp_ps4"}
{dx_file_rename "ps4/track/smasher/gem_smasher_unlit1.entity_ps4" "ps4/track/smasher/gem_smasher_unlit.entity_ps4"}
{dx_file_rename "ps4/track/smasher/fx_smasher_streaks1.bmp_ps4" "ps4/track/smasher/fx_smasher_streaks.bmp_ps4"}
{dx_file_rename "ps4/track/smasher/gem_smashed_util1.bmp_ps4" "ps4/track/smasher/gem_smashed_util.bmp_ps4"}
{dx_file_rename "ps4/track/shared/smasher_beams1.bmp_ps4" "ps4/track/shared/smasher_beams.bmp_ps4"}
{dx_file_rename "ps4/track/shared/smasher_flash1.bmp_ps4" "ps4/track/shared/smasher_flash.bmp_ps4"}
{dx_file_rename "ps4/track/shared/smasher_shockwave1.bmp_ps4" "ps4/track/shared/smasher_shockwave.bmp_ps4"}
{dx_file_rename "ps4/track/shared/spark01_color1.bmp_ps4" "ps4/track/shared/spark01_color.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_orb1.bmp_ps4" "ps4/track/shared/particles/textures/particle_orb.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_orb_dense1.bmp_ps4" "ps4/track/shared/particles/textures/particle_orb_dense.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_shockwave1.bmp_ps4" "ps4/track/shared/particles/textures/particle_shockwave.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_shockwave_forced_persp1.bmp_ps4" "ps4/track/shared/particles/textures/particle_shockwave_forced_persp.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_smoke_plume1.bmp_ps4" "ps4/track/shared/particles/textures/particle_smoke_plume.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_spark1.bmp_ps4" "ps4/track/shared/particles/textures/particle_spark.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_spark_cluster1.bmp_ps4" "ps4/track/shared/particles/textures/particle_spark_cluster.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_spark_dense1.bmp_ps4" "ps4/track/shared/particles/textures/particle_spark_dense.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_spiral_flare1.bmp_ps4" "ps4/track/shared/particles/textures/particle_spiral_flare.bmp_ps4"}
{dx_file_rename "ps4/track/shared/fx/flash_pot/particle_smoke1.bmp_ps4" "ps4/track/shared/fx/flash_pot/particle_smoke.bmp_ps4"}
)
#define MOVE_NOFLAMES_FILES_OFF
(
{file_rename "/data/GoldHEN/RB4DX/ps4/track/smasher/gem_smasher_unlit.entity_ps4" "/data/GoldHEN/RB4DX/ps4/track/smasher/gem_smasher_unlit1.entity_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/smasher/fx_smasher_streaks.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/smasher/fx_smasher_streaks1.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/smasher/gem_smashed_util.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/smasher/gem_smashed_util1.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/smasher_beams.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/smasher_beams1.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/smasher_flash.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/smasher_flash1.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/smasher_shockwave.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/smasher_shockwave1.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/spark01_color.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/spark01_color1.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_orb.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_orb1.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_orb_dense.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_orb_dense1.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_shockwave.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_shockwave1.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_shockwave_forced_persp.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_shockwave_forced_persp1.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_smoke_plume.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_smoke_plume1.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_spark.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_spark1.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_spark_cluster.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_spark_cluster1.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_spark_dense.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_spark_dense1.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_spiral_flare.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/particles/textures/particle_spiral_flare1.bmp_ps4"}
{file_rename "/data/GoldHEN/RB4DX/ps4/track/shared/fx/flash_pot/particle_smoke.bmp_ps4" "/data/GoldHEN/RB4DX/ps4/track/shared/fx/flash_pot/particle_smoke1.bmp_ps4"}
{dx_file_rename "ps4/track/smasher/gem_smasher_unlit.entity_ps4" "ps4/track/smasher/gem_smasher_unlit1.entity_ps4"}
{dx_file_rename "ps4/track/smasher/fx_smasher_streaks.bmp_ps4" "ps4/track/smasher/fx_smasher_streaks1.bmp_ps4"}
{dx_file_rename "ps4/track/smasher/gem_smashed_util.bmp_ps4" "ps4/track/smasher/gem_smashed_util1.bmp_ps4"}
{dx_file_rename "ps4/track/shared/smasher_beams.bmp_ps4" "ps4/track/shared/smasher_beams1.bmp_ps4"}
{dx_file_rename "ps4/track/shared/smasher_flash.bmp_ps4" "ps4/track/shared/smasher_flash1.bmp_ps4"}
{dx_file_rename "ps4/track/shared/smasher_shockwave.bmp_ps4" "ps4/track/shared/smasher_shockwave1.bmp_ps4"}
{dx_file_rename "ps4/track/shared/spark01_color.bmp_ps4" "ps4/track/shared/spark01_color1.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_orb.bmp_ps4" "ps4/track/shared/particles/textures/particle_orb1.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_orb_dense.bmp_ps4" "ps4/track/shared/particles/textures/particle_orb_dense1.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_shockwave.bmp_ps4" "ps4/track/shared/particles/textures/particle_shockwave1.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_shockwave_forced_persp.bmp_ps4" "ps4/track/shared/particles/textures/particle_shockwave_forced_persp1.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_smoke_plume.bmp_ps4" "ps4/track/shared/particles/textures/particle_smoke_plume1.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_spark.bmp_ps4" "ps4/track/shared/particles/textures/particle_spark1.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_spark_cluster.bmp_ps4" "ps4/track/shared/particles/textures/particle_spark_cluster1.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_spark_dense.bmp_ps4" "ps4/track/shared/particles/textures/particle_spark_dense1.bmp_ps4"}
{dx_file_rename "ps4/track/shared/particles/textures/particle_spiral_flare.bmp_ps4" "ps4/track/shared/particles/textures/particle_spiral_flare1.bmp_ps4"}
{dx_file_rename "ps4/track/shared/fx/flash_pot/particle_smoke.bmp_ps4" "ps4/track/shared/fx/flash_pot/particle_smoke1.bmp_ps4"}
)
12 changes: 6 additions & 6 deletions _ark/ps4/dx/overshell/dx_controller_states.dta
Original file line number Diff line number Diff line change
Expand Up @@ -140,22 +140,22 @@
{switch $list_data
("[Reset]")
("Rock Band 1-3 Guitar"
{write_file "data:/GoldHEN/RB4DX/settings/controller/binding/pad/rbgtr.dta" $dx_write_nul}
{dx_write_null_file "settings/controller/binding/pad/rbgtr.dta"}
)
("Rock Band 1-3 Drums"
{write_file "data:/GoldHEN/RB4DX/settings/controller/binding/pad/rbdrum.dta" $dx_write_nul}
{dx_write_null_file "settings/controller/binding/pad/rbdrum.dta"}
)
("Rock Band 4 Guitar"
{write_file "data:/GoldHEN/RB4DX/settings/controller/binding/pad/rb4gtr.dta" $dx_write_nul}
{dx_write_null_file "settings/controller/binding/pad/rb4gtr.dta"}
)
("Rock Band 4 Drums"
{write_file "data:/GoldHEN/RB4DX/settings/controller/binding/pad/rb4drum.dta" $dx_write_nul}
{dx_write_null_file "settings/controller/binding/pad/rb4drum.dta"}
)
("Guitar Hero Guitar"
{write_file "data:/GoldHEN/RB4DX/settings/controller/binding/pad/ghgtr.dta" $dx_write_nul}
{dx_write_null_file "settings/controller/binding/pad/ghgtr.dta"}
)
("Guitar Hero Drums"
{write_file "data:/GoldHEN/RB4DX/settings/controller/binding/pad/ghdrum.dta" $dx_write_nul}
{dx_write_null_file "settings/controller/binding/pad/ghdrum.dta"}
)
}
SET_PAD_BINDING_VAR
Expand Down
14 changes: 7 additions & 7 deletions _ark/ps4/dx/overshell/dx_state_overrides.dta
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
{$this select_difficulty kDifficultyEasy})
}
{$this trigger_select_effects}
{write_file "data:/GoldHEN/RB4DX/insong.dta" $dx_write_nul}
{dx_write_null_file "insong.dta"}
)
(list_focus
($obj_name $obj_id)
Expand Down Expand Up @@ -108,11 +108,11 @@
{local $list_data {($objId UIListCom) get_data_in_column token}}
{switch $list_data
(overshell_confirm_yes
{file_delete "data:/GoldHEN/RB4DX/insong.dta"}
{dx_file_delete "insong.dta"}
{$this quit_early}
)
(overshell_confirm_no
{write_file "data:/GoldHEN/RB4DX/insong.dta" $dx_write_nul}
{dx_write_null_file "insong.dta"}
{if_else {$this in_venue_meta_mode}
{$this show_state kState_VenueMetaMenu}
{$this show_in_song_menu}
Expand All @@ -122,7 +122,7 @@
{$this trigger_select_effects}
)
(on_cancel
{write_file "data:/GoldHEN/RB4DX/insong.dta" $dx_write_nul}
{dx_write_null_file "insong.dta"}
{if_else {$this in_venue_meta_mode}
{$this show_state kState_VenueMetaMenu}
{$this show_in_song_menu}
Expand All @@ -137,7 +137,7 @@
{cond
({$this is_quit_token {$component selected_sym}}
{do
{file_delete "data:/GoldHEN/RB4DX/insong.dta"}
{dx_file_delete "insong.dta"}
{$this attempt_quit}
}
)
Expand Down Expand Up @@ -169,7 +169,7 @@
)
({$this get_current_overshell_quit_token}
{do
{file_delete "data:/GoldHEN/RB4DX/insong.dta"}
{dx_file_delete "insong.dta"}
{$this attempt_quit}
}
)
Expand Down Expand Up @@ -246,7 +246,7 @@
)
({$this get_current_overshell_quit_token}
{do
{file_delete "data:/GoldHEN/RB4DX/insong.dta"}
{dx_file_delete "insong.dta"}
{$this attempt_quit}
}
)
Expand Down
Loading

0 comments on commit 5ec6129

Please sign in to comment.