summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-07-21 00:00:23 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-07-21 00:00:23 -0400
commit59df03723cd13878e31ad2d9408b1782f759215d (patch)
tree67c37b75e6dabe955cd5a241085106349da543fb
parent8b3d4def33766f7306d8606ccf4b5e4425a5738a (diff)
downloadDecky-Framegen-59df03723cd13878e31ad2d9408b1782f759215d.tar.gz
Decky-Framegen-59df03723cd13878e31ad2d9408b1782f759215d.zip
ini fsr4 tweak, bump opti
-rw-r--r--main.py9
-rw-r--r--package.json4
2 files changed, 8 insertions, 5 deletions
diff --git a/main.py b/main.py
index 05f4de5..05456bd 100644
--- a/main.py
+++ b/main.py
@@ -67,7 +67,7 @@ class Plugin:
return False
def _modify_optiscaler_ini(self, ini_file):
- """Modify OptiScaler.ini to set FGType=nukems"""
+ """Modify OptiScaler.ini to set FGType=nukems and Fsr4Update=true"""
try:
if ini_file.exists():
with open(ini_file, 'r') as f:
@@ -76,10 +76,13 @@ class Plugin:
# Replace FGType=auto with FGType=nukems
updated_content = re.sub(r'FGType\s*=\s*auto', 'FGType=nukems', content)
+ # Replace Fsr4Update=auto with Fsr4Update=true
+ updated_content = re.sub(r'Fsr4Update\s*=\s*auto', 'Fsr4Update=true', updated_content)
+
with open(ini_file, 'w') as f:
f.write(updated_content)
- decky.logger.info("Modified OptiScaler.ini to set FGType=nukems")
+ decky.logger.info("Modified OptiScaler.ini to set FGType=nukems and Fsr4Update=true")
return True
else:
decky.logger.warning(f"OptiScaler.ini not found at {ini_file}")
@@ -189,7 +192,7 @@ class Plugin:
except Exception as e:
decky.logger.error(f"Failed to create version file: {e}")
- # Modify OptiScaler.ini to set FGType=nukems
+ # Modify OptiScaler.ini to set FGType=nukems and Fsr4Update=true
ini_file = extract_path / "OptiScaler.ini"
self._modify_optiscaler_ini(ini_file)
diff --git a/package.json b/package.json
index 1ec0020..822a82f 100644
--- a/package.json
+++ b/package.json
@@ -53,9 +53,9 @@
"remote_binary":
[
{
- "sha256hash": "e902c99be8a2501fac8ba636f79ed681964367a104e7e2e441d4bf4f894b2879",
+ "sha256hash": "39c58751633ca9e08d5fce3c00c1a8f9b1e91ece9d2d90a58182d16c5a3a97c3",
"name": "BUNDLED_OptiScaler_v0.7.7-pre12_20250702.7z",
- "url": "https://github.com/xXJSONDeruloXx/OptiScaler-Bleeding-Edge/releases/download/OptiScaler_v0.7.7-pre12_20250702_unsigned_dll-20250704-021155/BUNDLED_OptiScaler_v0.7.7-pre12_20250702.7z",
+ "url": "https://github.com/xXJSONDeruloXx/OptiScaler-Bleeding-Edge/releases/download/OptiScaler_v0.7.7-pre12_20250702_unsigned_dll-20250721-033539/BUNDLED_OptiScaler_v0.7.7-pre12_20250702.7z",
"size": 60721676
}
]