Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .noai
Empty file.
12 changes: 6 additions & 6 deletions rare/components/tabs/library/details/cloud_saves.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ def __init__(self, settings: RareAppSettings, rcore: RareCore, parent=None):

def edit_save_path(self, text: str) -> Tuple[bool, str, int]:
# Validate against raw_save_path (usefull when the user types the path manually)
path = os.path.normpath(text.lower()).split("/")
spec = os.path.normpath(self.save_path_spec.lower()).split("/")
depth = min((len(spec) - 1), (len(path) - 1))
depth = depth if depth > 0 else 1
if path[-depth:] != spec[-depth:]:
return False, text, IndicatorReasonsCommon.INVALID
# path = os.path.normpath(text.lower()).split("/")
# spec = os.path.normpath(self.save_path_spec.lower()).split("/")
# depth = min((len(spec) - 1), (len(path) - 1))
# depth = depth if depth > 0 else 1
# if path[-depth:] != spec[-depth:]:
# return False, text, IndicatorReasonsCommon.INVALID
if platform.system() != "Windows":
if os.path.exists(text):
return True, text, IndicatorReasonsCommon.VALID
Expand Down
9 changes: 7 additions & 2 deletions rare/components/tabs/settings/widgets/overlay.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ def __init__(self, parent=None):
OverlayCheckBox("compiler", self.tr("Compiler activity")),
OverlayCheckBox("devinfo", self.tr("GPU driver and version")),
OverlayCheckBox("drawcalls", self.tr("Draw calls per frame")),
OverlayCheckBox("full", self.tr("All HUD elements")),
]
left_form = [
(OverlayNumberInput("scale", 1.0), self.tr("Scale")),
Expand Down Expand Up @@ -324,13 +325,17 @@ class DxvkConfigSettings(OverlaySettings):
def __init__(self, parent=None):
super(DxvkConfigSettings, self).__init__(parent=parent)
self.setTitle(self.tr("DXVK Config"))
dxvk_config_trinary = (("Auto", "Auto"), ("True", "True"), ("False", "False"))
dxvk_config_boolean = (("Default", ""), ("True", "True"), ("False", "False"))
dxvk_config_tristate = (("Default", ""), ("Auto", "Auto"), ("True", "True"), ("False", "False"))
# fmt: off
grid = []
left_form = [
(OverlayLineEdit("dxvk.deviceFilter", ""), "dxvk.deviceFilter"),
(OverlayNumberInput("dxvk.numCompilerThreads", 0), "dxvk.numCompilerThreads"),
(OverlaySelectInput("dxvk.tearFree", dxvk_config_trinary), "dxvk.tearFree"),
(OverlaySelectInput("dxvk.tearFree", dxvk_config_tristate), "dxvk.tearFree"),
(OverlaySelectInput("dxvk.enableGraphicsPipelineLibrary", dxvk_config_tristate),
"dxvk.enableGraphicsPipelineLibrary"),
(OverlaySelectInput("dxvk.enableAsync", dxvk_config_boolean), "dxvk.enableAsync"),
]
right_form = [
(OverlayNumberInput("dxgi.syncInterval", -1), "dxgi.syncInterval"),
Expand Down
Binary file modified rare/resources/images/Rare.icns
Binary file not shown.
Binary file modified rare/resources/images/Rare.ico
Binary file not shown.
Binary file modified rare/resources/images/Rare.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading