Skip to content

Commit

Permalink
add vsync modifier (ps3 only)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunalawl committed Jul 7, 2024
1 parent e4b3670 commit 6f32670
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _ark/config/modifiers.dta
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
(mod_noflames (activate {modifier_mgr deactivate_modifier mod_flashbang}) unlocked) ; maybe rework this to use textures? -LX
(mod_flashbang (activate {modifier_mgr deactivate_modifier mod_noflames}) unlocked)
#endif
#ifdef HX_PS3
(mod_novsync (activate {rnd set_sync 0}) (deactivate {rnd set_sync 1}) unlocked)
#endif
(mod_auto_play (disables (modifier_saving_feature modifier_achievements_feature modifier_online_feature)) (deactivate {modifier_mgr deactivate_modifier mod_fakejuke}) (activate {modifier_mgr deactivate_modifier mod_staticfills}) unlocked)
(mod_fakejuke (disables (modifier_saving_feature modifier_achievements_feature modifier_online_feature)) (activate {modifier_mgr activate_modifier mod_auto_play} {modifier_mgr activate_modifier mod_nohud} {modifier_mgr activate_modifier mod_choose_venue} {modifier_mgr activate_modifier mod_vocalgender}) (deactivate {modifier_mgr deactivate_modifier mod_auto_play} {modifier_mgr deactivate_modifier mod_choose_venue} {modifier_mgr deactivate_modifier mod_vocalgender} {modifier_mgr deactivate_modifier mod_nohud}) unlocked)
)
8 changes: 8 additions & 0 deletions _ark/dx/ui/dx_init.dta
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,14 @@
{modifier_mgr activate_modifier mod_flashbang}
}
}
#ifdef HX_PS3
{if {== {elem $entry 0} {basename mod_novsync}}
{if {== {elem {find $entry mod_novsync} 1} 1}
{modifier_mgr activate_modifier mod_novsync}
{rnd set_sync 0}
}
}
#endif
{if {== {elem $entry 0} {basename debug_mode}}
{set $debug_mode
{elem {find $entry debug_mode} 1}
Expand Down
6 changes: 6 additions & 0 deletions _ark/ui/eng/locale_updates.dta
Original file line number Diff line number Diff line change
Expand Up @@ -1324,6 +1324,12 @@
"Ooooooooooooh. Ahhhhhhhhhhhh.")
(mod_flashbang_obtain
"(bug, should be available by default)")
(mod_novsync
"Disable Vsync")
(mod_novsync_desc
"Allow unlimited FPS, only use on RPCS3!")
(mod_novsync_obtain
"(bug, should be available by default)")
(mod_auto_play
"Autoplay")
(mod_auto_play_desc
Expand Down

0 comments on commit 6f32670

Please sign in to comment.