From 3cdd84f1b98b4210b8a0422dc302a8f3a02bee65 Mon Sep 17 00:00:00 2001 From: LysiX Date: Tue, 7 Jan 2025 18:53:41 -0600 Subject: [PATCH] transparent highway --- .../custom_textures/highways/transparent.png | Bin 0 -> 176 bytes _ark/ps4/dx/overshell/dx_slider_states.dta | 20 +++++++++++++----- .../dx/overshell/dx_track_theme_states.dta | 14 ++++++++---- _ark/ps4/dx/ui/init_dev.dta | 5 ++--- 4 files changed, 27 insertions(+), 12 deletions(-) create mode 100644 _ark/ps4/dx/custom_textures/highways/transparent.png diff --git a/_ark/ps4/dx/custom_textures/highways/transparent.png b/_ark/ps4/dx/custom_textures/highways/transparent.png new file mode 100644 index 0000000000000000000000000000000000000000..7e3e9b39ae9e3fb11b023717efc850331902848a GIT binary patch literal 176 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K58CaNs)Vi3hp&(vykh>GZx^prwfgF}}M_)$< zhK>E)e-c@NeC7b35LY0*yvp_#km4-xh%9Dc;1&j9Muu5)B!Gfuo-U3d6}R3VWCR)B jr0{=zo`(aFg%2FqDb)zH+DE{83P_o!tDnm{r-UW|n-d`n literal 0 HcmV?d00001 diff --git a/_ark/ps4/dx/overshell/dx_slider_states.dta b/_ark/ps4/dx/overshell/dx_slider_states.dta index d7dae76..3825497 100644 --- a/_ark/ps4/dx/overshell/dx_slider_states.dta +++ b/_ark/ps4/dx/overshell/dx_slider_states.dta @@ -85,10 +85,14 @@ } {if_else {< $hwlength 0.74} {if {dx_file_exists "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} - {dx_file_rename "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4" "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4"} + {unless {dx_file_exists "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4"} + {dx_file_rename "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4" "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4"} + } } {if {dx_file_exists "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4"} - {dx_file_rename "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4" "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} + {unless {dx_file_exists "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} + {dx_file_rename "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4" "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} + } } } {$this setup_confirm_actions @@ -105,7 +109,9 @@ ("Reset" {set $hwlength 1} {if {dx_file_exists "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4"} - {dx_file_rename "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4" "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} + {unless {dx_file_exists "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} + {dx_file_rename "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4" "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} + } } {$this setup_confirm_actions {sprintf @@ -124,10 +130,14 @@ } {if_else {< $hwlength 0.74} {if {dx_file_exists "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} - {dx_file_rename "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4" "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4"} + {unless {dx_file_exists "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4"} + {dx_file_rename "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4" "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4"} + } } {if {dx_file_exists "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4"} - {dx_file_rename "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4" "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} + {unless {dx_file_exists "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} + {dx_file_rename "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4" "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} + } } } {$this setup_confirm_actions diff --git a/_ark/ps4/dx/overshell/dx_track_theme_states.dta b/_ark/ps4/dx/overshell/dx_track_theme_states.dta index 1dd8ac9..8aad637 100644 --- a/_ark/ps4/dx/overshell/dx_track_theme_states.dta +++ b/_ark/ps4/dx/overshell/dx_track_theme_states.dta @@ -113,6 +113,9 @@ {dx_file_delete "ps4/track/shared/track_pattern_center_util.bmp_ps4"} {dx_file_delete "ps4/track/shared/track_pattern_side_util.bmp_ps4"} {dx_file_delete "ps4/track/shared/gem_track_texture/gem_track_surface.bmp_ps4"} + {if {dx_file_exists "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} + {dx_file_delete "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4"} + } {unless {== $list_data "[Default]"} {if_else {== $list_data "yarg"} {do @@ -120,10 +123,13 @@ {dx_file_copy {sprint "ps4/dx/custom_textures/highways/" $list_data ".png_ps4"} "ps4/track/shared/track_pattern_side_util.bmp_ps4"} {dx_file_copy {sprint "ps4/dx/custom_textures/highways/special/" $list_data ".png_ps4"} "ps4/track/shared/gem_track_texture/gem_track_surface.bmp_ps4"} } - {do - {dx_file_copy "ps4/track/shared/track_pattern_center_util1.bmp_ps4" "ps4/track/shared/track_pattern_center_util.bmp_ps4"} - {dx_file_copy "ps4/track/shared/track_pattern_side_util1.bmp_ps4" "ps4/track/shared/track_pattern_side_util.bmp_ps4"} - {dx_file_copy {sprint "ps4/dx/custom_textures/highways/" $list_data ".png_ps4"} "ps4/track/shared/gem_track_texture/gem_track_surface.bmp_ps4"} + {if_else {== $list_data "transparent"} + {dx_write_null_file "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4"} + {do + {dx_file_copy "ps4/track/shared/track_pattern_center_util1.bmp_ps4" "ps4/track/shared/track_pattern_center_util.bmp_ps4"} + {dx_file_copy "ps4/track/shared/track_pattern_side_util1.bmp_ps4" "ps4/track/shared/track_pattern_side_util.bmp_ps4"} + {dx_file_copy {sprint "ps4/dx/custom_textures/highways/" $list_data ".png_ps4"} "ps4/track/shared/gem_track_texture/gem_track_surface.bmp_ps4"} + } } } } diff --git a/_ark/ps4/dx/ui/init_dev.dta b/_ark/ps4/dx/ui/init_dev.dta index e770469..01062f7 100644 --- a/_ark/ps4/dx/ui/init_dev.dta +++ b/_ark/ps4/dx/ui/init_dev.dta @@ -253,10 +253,9 @@ UPDATE_SETTINGS {dx_file_rename "/data/GoldHEN/RB4DX/ps4/ui/game/game.layout_ps4" "/data/GoldHEN/RB4DX/ps4/ui/game/game1.layout_ps4"} } {if {dx_file_exists "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4"} - {if {dx_file_exists "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} - {dx_file_delete "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} + {unless {dx_file_exists "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} + {dx_file_rename "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4" "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} } - {dx_file_rename "ps4/track/smasher/fretboard.fbx++mesh++fretboard_ps4" "ps4/track/smasher/fretboard1.fbx++mesh++fretboard_ps4"} } ;clear invalid files