Skip to content

Commit

Permalink
solo box textures
Browse files Browse the repository at this point in the history
  • Loading branch information
LlysiX committed Jan 11, 2024
1 parent 52f74c9 commit 12ff56d
Show file tree
Hide file tree
Showing 59 changed files with 108 additions and 23 deletions.
54 changes: 32 additions & 22 deletions _ark/dx/track/dx_track_macros.dta
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
{if {== $rails "rb2"} {set $rails "none"} {set $railscustomtexture FALSE}}
{if {== $flames "rb2"} {set $flames "none"} {set $flamescustomtexture FALSE}}
{if {== $scoretex "rb2"} {set $scoretex "none"} {set $scorecustomtexture FALSE}}
{if {== $solobox "rb2"} {set $solobox "none"} {set $soloboxcustomtexture FALSE}}
{if {== $stars "rb2"} {set $stars "none"} {set $starscustomtexture FALSE}}
{if {== $font "rb2"} {set $font "none"} {set $fontcustomtexture FALSE}}
{if {== $bretex "rb2"} {set $bretex "none"} {set $brecustomtexture FALSE}}
Expand All @@ -25,28 +26,31 @@
{if {== $voxod "rb2"} {set $voxod "none"} {set $voxodcustomtexture FALSE}}
{if {== $voxhw "rb2"} {set $voxhw "none"} {set $voxhwcustomtexture FALSE}}
}
{do
{if {== $gem "rb2dx"} {set $gem "none"} {set $gemcustomtexture FALSE}}
{if {== $smasher "rb2dx"} {set $smasher "none"} {set $smashercustomtexture FALSE}}
{if {== $lanestex "rb2"} {set $lanestex "none"} {set $lanescustomtexture FALSE}}
{if {== $streakgtr "rb4"} {set $streakgtr "none"} {set $streakcustomtexture FALSE}}
{if {== $streakbass "rb4"} {set $streakbass "none"} {set $streakcustomtexture FALSE}}
{if {== $streakdrum "rb4"} {set $streakdrum "none"} {set $streakcustomtexture FALSE}}
{if {== $spotlightgtr "rb4"} {set $spotlightgtr "none"} {set $spotlightgtrcustomtexture FALSE}}
{if {== $spotlightbass "rb4"} {set $spotlightbass "none"} {set $spotlightbasscustomtexture FALSE}}
{if {== $spotlightdrum "rb4"} {set $spotlightdrum "none"} {set $spotlightdrumscustomtexture FALSE}}
{if {== $multiring "rb2dx"} {set $multiring "none"} {set $multiringcustomtexture FALSE}}
{if {== $odbar "rb2dx"} {set $odbar "none"} {set $odbarcustomtexture FALSE}}
{if {== $rails "rb2"} {set $rails "none"} {set $railscustomtexture FALSE}}
{if {== $flames "rb2dx"} {set $flames "none"} {set $flamescustomtexture FALSE}}
{if {== $scoretex "rb4"} {set $scoretex "none"} {set $scorecustomtexture FALSE}}
{if {== $stars "rb4"} {set $stars "none"} {set $starscustomtexture FALSE}}
{if {== $font "rb2"} {set $font "none"} {set $fontcustomtexture FALSE}}
{if {== $bretex "rb2"} {set $bretex "none"} {set $brecustomtexture FALSE}}
{if {== $voxarrow "rb2dx"} {set $voxarrow "none"} {set $voxarrowcustomtexture FALSE}}
{if {== $voxnotes "rb2dx"} {set $voxnotes "none"} {set $voxnotescustomtexture FALSE}}
{if {== $voxod "rb2"} {set $voxod "none"} {set $voxodcustomtexture FALSE}}
{if {== $voxhw "rb2"} {set $voxhw "none"} {set $voxhwcustomtexture FALSE}}
{unless $iamingamenow
{do
{if {== $gem "rb2dx"} {set $gem "none"} {set $gemcustomtexture FALSE}}
{if {== $smasher "rb2dx"} {set $smasher "none"} {set $smashercustomtexture FALSE}}
{if {== $lanestex "rb2"} {set $lanestex "none"} {set $lanescustomtexture FALSE}}
{if {== $streakgtr "rb4"} {set $streakgtr "none"} {set $streakcustomtexture FALSE}}
{if {== $streakbass "rb4"} {set $streakbass "none"} {set $streakcustomtexture FALSE}}
{if {== $streakdrum "rb4"} {set $streakdrum "none"} {set $streakcustomtexture FALSE}}
{if {== $spotlightgtr "rb4"} {set $spotlightgtr "none"} {set $spotlightgtrcustomtexture FALSE}}
{if {== $spotlightbass "rb4"} {set $spotlightbass "none"} {set $spotlightbasscustomtexture FALSE}}
{if {== $spotlightdrum "rb4"} {set $spotlightdrum "none"} {set $spotlightdrumscustomtexture FALSE}}
{if {== $multiring "rb2dx"} {set $multiring "none"} {set $multiringcustomtexture FALSE}}
{if {== $odbar "rb2dx"} {set $odbar "none"} {set $odbarcustomtexture FALSE}}
{if {== $rails "rb2"} {set $rails "none"} {set $railscustomtexture FALSE}}
{if {== $flames "rb2dx"} {set $flames "none"} {set $flamescustomtexture FALSE}}
{if {== $scoretex "rb4"} {set $scoretex "none"} {set $scorecustomtexture FALSE}}
{if {== $solobox "rb2"} {set $solobox "none"} {set $soloboxcustomtexture FALSE}}
{if {== $stars "rb4"} {set $stars "none"} {set $starscustomtexture FALSE}}
{if {== $font "rb2"} {set $font "none"} {set $fontcustomtexture FALSE}}
{if {== $bretex "rb2"} {set $bretex "none"} {set $brecustomtexture FALSE}}
{if {== $voxarrow "rb2dx"} {set $voxarrow "none"} {set $voxarrowcustomtexture FALSE}}
{if {== $voxnotes "rb2dx"} {set $voxnotes "none"} {set $voxnotescustomtexture FALSE}}
{if {== $voxod "rb2"} {set $voxod "none"} {set $voxodcustomtexture FALSE}}
{if {== $voxhw "rb2"} {set $voxhw "none"} {set $voxhwcustomtexture FALSE}}
}
}
}
}
Expand Down Expand Up @@ -255,6 +259,10 @@
{{$this find indv_player_meter.png} set_bitmap {sprint "track/score/indv_player_meter_" $scoretex ".png"}}
}

{if $soloboxcustomtexture
{{$this find vox_slider_bkgrnd.tex} set_bitmap {sprint "track/solo_box/" $solobox ".png"}}
}

{if $starscustomtexture
{{$this find star_sheet.tex} set_bitmap {sprint "track/stars/star_power_" $stars ".png"}}
{{$this find score_meter_wipe.tex} set_bitmap {sprint "track/stars/score_meter_wipe_" $stars ".png"}}
Expand Down Expand Up @@ -469,6 +477,8 @@

{unless {== $scoretex none} {set $scorecustomtexture TRUE}}

{unless {== $solobox none} {set $soloboxcustomtexture TRUE}}

{unless {== $stars none} {set $starscustomtexture TRUE}}

{unless {== $font none} {set $fontcustomtexture TRUE}}
Expand Down
3 changes: 3 additions & 0 deletions _ark/dx/ui/dx_init.dta
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
;score texture
{set $scoretex "rb4"}

;solo box texture
{set $solobox "rb2"}

;stars texture
{set $stars "rb4"}

Expand Down
16 changes: 16 additions & 0 deletions _ark/dx/ui/dx_overshell_macros.dta
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
{set $voxod rb2}
{set $scorecustomtexture TRUE}
{set $scoretex rb2}
{set $soloboxcustomtexture TRUE}
{set $solobox rb2}
{set $starscustomtexture TRUE}
{set $stars rb2}
{set $fontcustomtexture TRUE}
Expand Down Expand Up @@ -71,6 +73,8 @@
{set $voxod rb2}
{set $scorecustomtexture TRUE}
{set $scoretex rb4}
{set $soloboxcustomtexture TRUE}
{set $solobox rb2}
{set $starscustomtexture TRUE}
{set $stars rb4}
{set $fontcustomtexture TRUE}
Expand Down Expand Up @@ -124,6 +128,8 @@
{set $voxod rb1}
{set $scorecustomtexture TRUE}
{set $scoretex rb1}
{set $soloboxcustomtexture TRUE}
{set $solobox _1_none}
{set $starscustomtexture TRUE}
{set $stars rb1}
{set $fontcustomtexture TRUE}
Expand Down Expand Up @@ -176,6 +182,8 @@
{set $voxod rb3}
{set $scorecustomtexture TRUE}
{set $scoretex rb3}
{set $soloboxcustomtexture TRUE}
{set $solobox rb2}
{set $starscustomtexture TRUE}
{set $stars rb3}
{set $fontcustomtexture TRUE}
Expand Down Expand Up @@ -228,6 +236,8 @@
{set $voxod rb2}
{set $scorecustomtexture TRUE}
{set $scoretex rb4}
{set $soloboxcustomtexture TRUE}
{set $solobox rb4}
{set $starscustomtexture TRUE}
{set $stars rb4}
{set $fontcustomtexture TRUE}
Expand Down Expand Up @@ -280,6 +290,8 @@
{set $voxod rb2}
{set $scorecustomtexture TRUE}
{set $scoretex fnfestival}
{set $soloboxcustomtexture TRUE}
{set $solobox rb2}
{set $starscustomtexture TRUE}
{set $stars fnfestival}
{set $fontcustomtexture TRUE}
Expand Down Expand Up @@ -333,6 +345,8 @@
{set $voxod lrb}
{set $scorecustomtexture TRUE}
{set $scoretex rb2}
{set $soloboxcustomtexture TRUE}
{set $solobox lrb}
{set $starscustomtexture TRUE}
{set $stars lrb}
{set $fontcustomtexture TRUE}
Expand Down Expand Up @@ -385,6 +399,8 @@
{set $voxod lrb}
{set $scorecustomtexture TRUE}
{set $scoretex rb4}
{set $soloboxcustomtexture TRUE}
{set $solobox tbrb}
{set $starscustomtexture TRUE}
{set $stars rb4}
{set $fontcustomtexture TRUE}
Expand Down
Binary file added _ark/track/solo_box/gen/_1_none.png_ps2
Binary file not shown.
Binary file added _ark/track/solo_box/gen/_1_none.png_ps3
Binary file not shown.
Binary file added _ark/track/solo_box/gen/_1_none.png_xbox
Binary file not shown.
Binary file added _ark/track/solo_box/gen/circular.png_ps2
Binary file not shown.
Binary file added _ark/track/solo_box/gen/circular.png_ps3
Binary file not shown.
Binary file added _ark/track/solo_box/gen/circular.png_xbox
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh.png_ps2
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh.png_ps3
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh.png_xbox
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh2.png_ps2
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh2.png_ps3
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh2.png_xbox
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh2_gold.png_ps2
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh2_gold.png_ps3
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh2_gold.png_xbox
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh2dx.png_ps2
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh2dx.png_ps3
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh2dx.png_xbox
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh2dx_ce.png_ps2
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh2dx_ce.png_ps3
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh2dx_ce.png_xbox
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh3.png_ps2
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh3.png_ps3
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh3.png_xbox
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh80s.png_ps2
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh80s.png_ps3
Binary file not shown.
Binary file added _ark/track/solo_box/gen/gh80s.png_xbox
Binary file not shown.
Binary file added _ark/track/solo_box/gen/lrb.png_ps2
Binary file not shown.
Binary file added _ark/track/solo_box/gen/lrb.png_ps3
Binary file not shown.
Binary file added _ark/track/solo_box/gen/lrb.png_xbox
Binary file not shown.
Binary file added _ark/track/solo_box/gen/rb2.png_ps2
Binary file not shown.
Binary file added _ark/track/solo_box/gen/rb2.png_ps3
Binary file not shown.
Binary file added _ark/track/solo_box/gen/rb2.png_xbox
Binary file not shown.
Binary file added _ark/track/solo_box/gen/rb4.png_ps2
Binary file not shown.
Binary file added _ark/track/solo_box/gen/rb4.png_ps3
Binary file not shown.
Binary file added _ark/track/solo_box/gen/rb4.png_xbox
Binary file not shown.
Binary file added _ark/track/solo_box/gen/tbrb.png_ps2
Binary file not shown.
Binary file added _ark/track/solo_box/gen/tbrb.png_ps3
Binary file not shown.
Binary file added _ark/track/solo_box/gen/tbrb.png_xbox
Binary file not shown.
13 changes: 13 additions & 0 deletions _ark/track/solo_box/solo_box.dta
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"rb2"
"rb4"
"lrb"
"tbrb"
"_1_none"
"circular"
"gh"
"gh2"
"gh2dx"
"gh2dx_ce"
"gh2_gold"
"gh3"
"gh80s"
1 change: 1 addition & 0 deletions _ark/ui/eng/locale_updates.dta
Original file line number Diff line number Diff line change
Expand Up @@ -1103,6 +1103,7 @@
(os_warn_behavior "Low Health Behavior")
(os_font "Font")
(os_score "Score")
(os_solobox "Solo Box")
(os_stars "Stars")
(os_bre "Big Rock Ending")
(os_voxtrk "Vocal Track...")
Expand Down
18 changes: 17 additions & 1 deletion _ark/ui/overshell_textures.dta
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#endif
(focus sel_section.lst)
(enter
{sel_section.lst set_data (#ifndef HX_EE os_hw #endif os_strk os_spotlight #ifdef HX_EE os_hw_behavior #endif os_gems os_smashers os_flames os_sus #ifndef HX_EE os_lanes os_font #endif os_score os_stars os_bre os_rails os_odbar os_multi_ring os_voxtrk)}
{sel_section.lst set_data (#ifndef HX_EE os_hw #endif os_strk os_spotlight #ifdef HX_EE os_hw_behavior #endif os_gems os_smashers os_flames os_sus #ifndef HX_EE os_lanes os_font #endif os_score os_solobox os_stars os_bre os_rails os_odbar os_multi_ring os_voxtrk)}
{title.lbl set_localized {localize os_tex1}}
{full_selection.mesh set_showing FALSE})
(exit)
Expand Down Expand Up @@ -40,6 +40,10 @@
{set $dx_tracked_texture_loader score}
{os_change_screen overshell_texload}
)
(os_solobox
{set $dx_tracked_texture_loader solobox}
{os_change_screen overshell_texload}
)
(os_stars
{set $dx_tracked_texture_loader stars}
{os_change_screen overshell_texload}
Expand Down Expand Up @@ -276,6 +280,11 @@
{title.lbl set_localized {localize os_score}}
{anchor_corner02.tex set_bitmap {sprint "track/score/indv_player_meter_" $scoretex ".png"}}
)
(solobox
{sel_section.lst set_data (#include ../track/solo_box/solo_box.dta)}
{title.lbl set_localized {localize os_solobox}}
{anchor_corner02.tex set_bitmap {sprint "track/solo_box/" $solobox ".png"}}
)
(stars
{sel_section.lst set_data (#include ../track/stars/stars.dta)}
{title.lbl set_localized {localize os_stars}}
Expand Down Expand Up @@ -424,6 +433,10 @@
{set $scorecustomtexture TRUE}
{set $scoretex {$component selected_sym}}
)
(solobox
{set $soloboxcustomtexture TRUE}
{set $solobox {$component selected_sym}}
)
(stars
{set $starscustomtexture TRUE}
{set $stars {$component selected_sym}}
Expand Down Expand Up @@ -558,6 +571,9 @@
(score
{anchor_corner02.tex set_bitmap {sprint "track/score/indv_player_meter_" {$component selected_sym} ".png"}}
)
(solobox
{anchor_corner02.tex set_bitmap {sprint "track/solo_box/" {$component selected_sym} ".png"}}
)
(stars
{anchor_corner02.tex set_bitmap {sprint "track/stars/star_power_" {$component selected_sym} ".png"}}
)
Expand Down
Binary file added custom_textures/solo_box/_1_none.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added custom_textures/solo_box/circular.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added custom_textures/solo_box/gh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added custom_textures/solo_box/gh2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added custom_textures/solo_box/gh2_gold.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added custom_textures/solo_box/gh2dx.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added custom_textures/solo_box/gh2dx_ce.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added custom_textures/solo_box/gh3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added custom_textures/solo_box/gh80s.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added custom_textures/solo_box/lrb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added custom_textures/solo_box/rb2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added custom_textures/solo_box/rb4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added custom_textures/solo_box/tbrb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions windows_bats/process_textures_solo_box.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
del /f "%~dp0..\_ark\track\solo_box\solo_box.dta"
mkdir "%~dp0..\_tmp"
cd "%~dp0..\custom_textures\solo_box"
forfiles /s /m *.* /C "cmd /e:on /v:on /c set \"Phile=@file\" & if @ISDIR==FALSE ren @file !Phile: =_!"
forfiles /s /m *.* /C "cmd /e:on /v:on /c set \"Phile=@file\" & if @ISDIR==FALSE ren @file !Phile:-=_!"
for /f "Tokens=*" %%f in ('dir /l/b/a-d/s') do (move /y "%%f" "%%f")
for %%i in (*.bmp) do @echo "%%~ni">> solo_box.dta
for %%i in (*.png) do @echo "%%~ni">> solo_box.dta
for %%i in (*.jpg) do @echo "%%~ni">> solo_box.dta
move "%~dp0..\custom_textures\solo_box\solo_box.dta" "%~dp0..\_ark\track\solo_box\solo_box.dta"
"%~dp0..\dependencies/sed.exe" -i -e "s/solo_box_//g" "%~dp0..\_ark\track\solo_box\solo_box.dta"
"%~dp0..\dependencies/sed.exe" -i -e "s/warning_//g" "%~dp0..\_ark\track\solo_box\solo_box.dta"
"%~dp0..\dependencies/sed.exe" -i -e "s/beat_marker_//g" "%~dp0..\_ark\track\solo_box\solo_box.dta"
FOR /F "tokens=*" %%G IN ('dir /b *.jpg') DO "%~dp0..\dependencies/magick/magick.exe" convert "%~dp0..\custom_textures\solo_box/%%G" "%~dp0..\custom_textures\solo_box\%%~nG.png"
FOR /F "tokens=*" %%G IN ('dir /b *.bmp') DO "%~dp0..\dependencies/magick/magick.exe" convert "%~dp0..\custom_textures\solo_box/%%G" "%~dp0..\custom_textures\solo_box\%%~nG.png"
FOR /F "tokens=*" %%G IN ('dir /b *.png') DO "%~dp0..\dependencies/windows/superfreq.exe" png2tex "%~dp0..\custom_textures\solo_box/%%G" "%~dp0..\_ark\track\solo_box\gen\%%~nG.png_xbox" --platform x360 --miloVersion 25
del sed* /a /s
cd "%~dp0..\_ark/track/solo_box/gen"
FOR /F "tokens=*" %%G IN ('dir /b *.png_xbox') DO python "%~dp0..\dependencies/swap_rb_art_bytes.py" "%~dp0..\_ark/track/solo_box/gen/%%G" "%~dp0..\_ark/track/solo_box/gen/%%~nG.png_ps3"
cd "%~dp0..\custom_textures\solo_box"
FOR /F "tokens=*" %%G IN ('dir /b *.png') DO "%~dp0..\dependencies/windows/superfreq.exe" png2tex "%~dp0..\custom_textures\solo_box/%%G" "%~dp0..\_tmp\%%~nG.bmp_ps2"
cd "%~dp0..\_tmp"
FOR /F "tokens=*" %%G IN ('dir /b *.bmp_ps2') DO "%~dp0..\dependencies/windows/superfreq.exe" tex2png "%~dp0..\_tmp/%%G" "%~dp0..\_tmp\%%~nG.png"
FOR /F "tokens=*" %%G IN ('dir /b *.png') DO "%~dp0..\dependencies/windows/superfreq.exe" png2tex "%~dp0..\_tmp/%%G" "%~dp0..\_ark\track\solo_box\gen\%%~nG.png_ps2"
cd "%~dp0..\"
rmdir "%~dp0..\_tmp" /s /q

0 comments on commit 12ff56d

Please sign in to comment.