Skip to content

Commit

Permalink
transparent highway
Browse files Browse the repository at this point in the history
  • Loading branch information
LlysiX committed Jan 8, 2025
1 parent b4d0637 commit 3cdd84f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 12 deletions.
Binary file added _ark/ps4/dx/custom_textures/highways/transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 15 additions & 5 deletions _ark/ps4/dx/overshell/dx_slider_states.dta
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
14 changes: 10 additions & 4 deletions _ark/ps4/dx/overshell/dx_track_theme_states.dta
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,23 @@
{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
{dx_file_copy {sprint "ps4/dx/custom_textures/highways/" $list_data ".png_ps4"} "ps4/track/shared/track_pattern_center_util.bmp_ps4"}
{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"}
}
}
}
}
Expand Down
5 changes: 2 additions & 3 deletions _ark/ps4/dx/ui/init_dev.dta
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3cdd84f

Please sign in to comment.