Skip to content

Commit

Permalink
the cleanening
Browse files Browse the repository at this point in the history
  • Loading branch information
lunalawl committed Dec 21, 2023
1 parent 8e06e08 commit 0f60a6e
Show file tree
Hide file tree
Showing 29 changed files with 610 additions and 1,662 deletions.
2 changes: 1 addition & 1 deletion _ark/config/proj9.dta
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
#endif
(objects
#include objects.dta)
(locale ../ui/locale/eng/locale.dta)
(locale ../ui/locale/locale.dta)
#ifdef HX_PS3
(venues VENUES)
(song_select
Expand Down
66 changes: 66 additions & 0 deletions _ark/dx/dta_defaults.dta
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
;show custom settings loaded message ingame
{set $loadcustomsettings TRUE}

;sets default track speed. 1.15 is 115%, 1.30 is 130% and so on.
{set $trackspeed 1.0}

;sets default song speed 1.15 is 115%, 1.30 is 130% and so on.
{set $speedmod 1.0}

;set default venue fps.
{set $emulatefps 24}

{set $slot1_color 0} ;0 = green, preset colors to GRYBO
{set $slot2_color 1} ;1 = red
{set $slot3_color 2} ;2 = yellow
{set $slot4_color 3} ;3 = blue
{set $slot5_color 4} ;4 = orange

;gem texture
{set $gem "rb2dx"}

;smasher texture
{set $smasher "rb2dx"}

;streak texture
{set $streak "rb4"}

;overdrive texture (guitar)
{set $spotlightgtr "rb4"}

;overdrive texture (bass)
{set $spotlightbass "rb4"}

;overdrive texture (drums)
{set $spotlightdrum "rb4"}

;multiplier ring texture
{set $multiring "rb2dx"}

;overdrive bar texture
{set $odbar "rb2dx"}

;rails texture
{set $rails "none"}

;flames texture
{set $flames "rb2dx"}

;score texture
{set $scoretex "rb4"}

;vocal arrow texture
{set $voxarrow "rb2dx"}

;vocal notes texture
{set $voxnotes "rb2dx"}

;vocal overdrive texture
{set $voxod "none"}

;vocal highway texture
{set $voxhw "none"}

;track angle presets that closely match the source games
;available options: "rb2", "rb3", "rb4", "rr" "none"
{set $anglepreset "rb2"}
100 changes: 100 additions & 0 deletions _ark/dx/dta_reader.dta
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
#define INIT_DTA_READER
(
{foreach $entry {read_file #ifdef HX_XBOX "GAME:/dx.dta" #endif #ifdef HX_PS3 "GD:/dev_hdd0/game/BLUS30147/USRDIR/dx.dta" #endif}
{if {== {elem $entry 0} {basename track_speed}}
{set $trackspeed
{elem {find $entry track_speed} 1}
}
}
{if {== {elem $entry 0} {basename song_speed}}
{set $speedmod
{elem {find $entry song_speed} 1}
}
}
{if {== {elem $entry 0} {basename emulate_fps}}
{set $emulatefps
{elem {find $entry emulate_fps} 1}
}
}
{if {== {elem $entry 0} {basename mod_nofail}}
{set $mod_nofail
{elem {find $entry mod_nofail} 1}
}
}
{if {== {elem $entry 0} {basename mod_doublespeed}}
{set $mod_doublespeed
{elem {find $entry mod_doublespeed} 1}
}
}
{if {== {elem $entry 0} {basename mod_nohud}}
{set $mod_nohud
{elem {find $entry mod_nohud} 1}
}
}
{if {== {elem $entry 0} {basename mod_newvenuesonly}}
{set $mod_newvenuesonly
{elem {find $entry mod_newvenuesonly} 1}
}
}
{if {== {elem $entry 0} {basename mod_awesome}}
{set $mod_awesome
{elem {find $entry mod_awesome} 1}
}
}
{if {== {elem $entry 0} {basename mod_blackvenue}}
{set $mod_blackvenue
{elem {find $entry mod_blackvenue} 1}
}
}
{if {== {elem $entry 0} {basename mod_songtitle}}
{set $mod_songtitle
{elem {find $entry mod_songtitle} 1}
}
}
{if {== {elem $entry 0} {basename mod_songtitlestats}}
{set $mod_songtitlestats
{elem {find $entry mod_songtitlestats} 1}
}
}
{if {== {elem $entry 0} {basename mod_staticfills}}
{set $mod_staticfills
{elem {find $entry mod_staticfills} 1}
}
}
{if {== {elem $entry 0} {basename mod_mididrum}}
{set $mod_mididrum
{elem {find $entry mod_mididrum} 1}
}
}
{if {== {elem $entry 0} {basename mod_padguitar}}
{set $mod_padguitar
{elem {find $entry mod_padguitar} 1}
}
}
{if {== {elem $entry 0} {basename mod_paddrum}}
{set $mod_paddrum
{elem {find $entry mod_paddrum} 1}
}
}
{if {== {elem $entry 0} {basename mod_noquickrestart}}
{set $mod_noquickrestart
{elem {find $entry mod_noquickrestart} 1}
}
}
{if {== {elem $entry 0} {basename mod_vocalgender}}
{set $mod_vocalgender
{elem {find $entry mod_vocalgender} 1}
}
}
{if {== {elem $entry 0} {basename mod_noflames}}
{set $mod_noflames
{elem {find $entry mod_noflames} 1}
}
}
{if {== {elem $entry 0} {basename mod_flashbang}}
{set $mod_flashbang
{elem {find $entry mod_flashbang} 1}
}
}
}
)
69 changes: 69 additions & 0 deletions _ark/dx/dta_writer.dta
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
#define INIT_DTA_WRITER
(
{write_file #ifdef HX_XBOX "GAME:/dx.dta" #endif #ifdef HX_PS3 "GD:/dev_hdd0/game/BLUS30147/USRDIR/dx.dta" #endif
{array
(
(track_speed
(track_speed $trackspeed)
)
(song_speed
(song_speed $speedmod)
)
(emulate_fps
(emulate_fps $emulatefps)
)
(mod_nofail
(mod_nofail {if_else $mod_nofail TRUE FALSE})
)
(mod_doublespeed
(mod_doublespeed {if_else $mod_doublespeed TRUE FALSE})
)
(mod_nohud
(mod_nohud {if_else $mod_nohud TRUE FALSE})
)
(mod_newvenuesonly
(mod_newvenuesonly {if_else $mod_newvenuesonly TRUE FALSE})
)
(mod_awesome
(mod_awesome {if_else $mod_awesome TRUE FALSE})
)
(mod_blackvenue
(mod_blackvenue {if_else $mod_blackvenue TRUE FALSE})
)
(mod_songtitle
(mod_songtitle {if_else $mod_songtitle TRUE FALSE})
)
(mod_songtitlestats
(mod_songtitlestats {if_else $mod_songtitlestats TRUE FALSE})
)
(mod_staticfills
(mod_staticfills {if_else $mod_staticfills TRUE FALSE})
)
(mod_mididrum
(mod_mididrum {if_else $mod_mididrum TRUE FALSE})
)
(mod_padguitar
(mod_padguitar {if_else $mod_padguitar TRUE FALSE})
)
(mod_paddrum
(mod_paddrum {if_else $mod_paddrum TRUE FALSE})
)
(mod_noquickrestart
(mod_noquickrestart {if_else $mod_noquickrestart TRUE FALSE})
)
(mod_vocalgender
(mod_vocalgender {if_else $mod_vocalgender TRUE FALSE})
)
(mod_noflames
(mod_noflames {if_else $mod_noflames TRUE FALSE})
)
(mod_flashbang
(mod_flashbang {if_else $mod_flashbang TRUE FALSE})
)
(load_custom_settings
(load_custom_settings $loadcustomsettings)
)
)
}
}
)
27 changes: 3 additions & 24 deletions _ark/ui/demolauncher/demo_launcher.dta
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,7 @@
{set $picked_number 2}
}
}
{{sprint "confirm_clip" $picked_number} set file
{if_else {|| {== $simpledx 1} {== $simpledx 2}}
"sfx/streams/rb2_shell/button_select.mogg"
{if_else {== $simpledx lrb}
"sfx/streams/lrb_shell/select_forward.mogg"
"sfx/streams/proj9_shell/button_select_guitar_01.mogg"
}
}
}
{{sprint "confirm_clip" $picked_number} set file "sfx/streams/overshell/nav.mogg"}
{if {exists confirm_clip1}
{confirm_clip1 set loop FALSE}
{confirm_clip1 set volume -5}
Expand Down Expand Up @@ -49,15 +41,7 @@
{set $picked_number 2}
}
}
{{sprint "back_clip" $picked_number} set file
{if_else {|| {== $simpledx 1} {== $simpledx 2}}
"sfx/streams/rb2_shell/button_back.mogg"
{if_else {== $simpledx lrb}
"sfx/streams/lrb_shell/select_back.mogg"
"sfx/streams/proj9_shell/button_back_guitar_01.mogg"
}
}
}
{{sprint "back_clip" $picked_number} set file "sfx/streams/overshell/nav.mogg"}
{if {exists back_clip1}
{back_clip1 set loop FALSE}
{back_clip1 set volume -5}
Expand Down Expand Up @@ -85,12 +69,7 @@
{set $picked_number 2}
}
}
{{sprint "scroll_clip" $picked_number} set file
{if_else {|| {== $simpledx 1} {== $simpledx 2} {== $simpledx lrb}}
"sfx/streams/rb2_shell/button_toggle.mogg"
"sfx/streams/proj9_shell/button_toggle_guitar_01.mogg"
}
}
{{sprint "scroll_clip" $picked_number} set file "sfx/streams/overshell/nav.mogg"}
{if {exists scroll_clip1}
{scroll_clip1 set loop FALSE}
{scroll_clip1 set volume -5}
Expand Down
Loading

0 comments on commit 0f60a6e

Please sign in to comment.