mirror of
https://github.com/ayozetr/bloodborne_linux.git
synced 2026-11-07 17:02:01 -10:00
Launcher: mark frame caps above 120 FPS with a warning sign
Above about 120 FPS the game's movement timing breaks (running and rolling slow down).
This commit is contained in:
1 parent
fa6391b766
commit
51cac0e743
1 file changed
+7
-2
@@ -90,7 +90,12 @@ import bbport_lang # noqa: E402
|
||||
LANG = 'en'
|
||||
|
||||
|
||||
WARN = ' ⚠' # marks a risky choice; the text before it is translated as usual
|
||||
|
||||
|
||||
def _(en, ru=None):
|
||||
if en.endswith(WARN):
|
||||
return _(en[:-len(WARN)], ru and ru.removesuffix(WARN)) + WARN
|
||||
if LANG == 'ru':
|
||||
return ru or en
|
||||
return bbport_lang.table(LANG).get(en) or en
|
||||
@@ -163,8 +168,8 @@ READBACKS = [('', ('Relaxed (default)', 'Relaxed (по умолчанию)')), (
|
||||
# Frame cap of the unlocked mode (BB_FPS_LIMIT). '' leaves the port's own: the display refresh,
|
||||
# at most 120, because the game's movement timing breaks above about 120 FPS.
|
||||
FRAME_CAPS = [('', ('Auto: display refresh, max 120 (recommended)', 'Авто: частота монитора, макс. 120 (рекомендуется)')),
|
||||
('60', ('60',)), ('90', ('90',)), ('120', ('120',)), ('144', ('144',)), ('165', ('165',)),
|
||||
('240', ('240',)), ('0', ('No limit', 'Без ограничения'))]
|
||||
('60', ('60',)), ('90', ('90',)), ('120', ('120',)), ('144', ('144 ⚠',)), ('165', ('165 ⚠',)),
|
||||
('240', ('240 ⚠',)), ('0', ('No limit ⚠', 'Без ограничения ⚠'))]
|
||||
FRAMES_AHEAD = [('', ('1 (default)', '1 (по умолчанию)')), ('2', ('2',)), ('0', ('Unbounded', 'Без ограничения'))]
|
||||
UI_LANGUAGES = bbport_lang.LANGUAGE_NAMES
|
||||
|
||||
|
||||
Reference in new issue
Block a user