summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-08-25 13:49:43 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-08-25 13:49:43 -0400
commitca4921daca676d09faef4d285814f0fe58ff9f69 (patch)
treec0ea558e71389b40cf3b4c88301b19f17f837675
parente72d5808f95ad47ec938dbf08a51bd507eeb94de (diff)
downloadDecky-Framegen-ca4921daca676d09faef4d285814f0fe58ff9f69.tar.gz
Decky-Framegen-ca4921daca676d09faef4d285814f0fe58ff9f69.zip
initial implementation of xefg added files to fgmod dir and scripting
-rwxr-xr-xdefaults/assets/fgmod-uninstaller.sh5
-rwxr-xr-xdefaults/assets/fgmod.sh10
-rw-r--r--main.py6
-rw-r--r--package.json9
4 files changed, 21 insertions, 9 deletions
diff --git a/defaults/assets/fgmod-uninstaller.sh b/defaults/assets/fgmod-uninstaller.sh
index 93f279f..8b955c0 100755
--- a/defaults/assets/fgmod-uninstaller.sh
+++ b/defaults/assets/fgmod-uninstaller.sh
@@ -79,7 +79,8 @@ rm -f "amdxcffx64.dll"
# === Remove Supporting Libraries ===
echo "๐Ÿงน Removing supporting libraries..."
-rm -f "libxess.dll" "nvngx.dll" "nvngx.ini"
+rm -f "libxess.dll" "libxess_dx11.dll" "libxess_fg.dll" "libxell.dll" "nvngx.dll" "nvngx.ini"
+rm -f "D3D12Core.dll"
# === Remove Legacy Files ===
echo "๐Ÿงน Removing legacy files..."
@@ -89,7 +90,7 @@ rm -f "dlssg_to_fsr3_amd_is_better-3.0.dll"
# === Restore Original DLLs ===
echo "๐Ÿ”„ Restoring original DLLs..."
-original_dlls=("d3dcompiler_47.dll" "amd_fidelityfx_dx12.dll" "amd_fidelityfx_vk.dll" "nvapi64.dll" "amdxcffx64.dll" "libxess.dll")
+original_dlls=("d3dcompiler_47.dll" "amd_fidelityfx_dx12.dll" "amd_fidelityfx_vk.dll" "nvapi64.dll" "amdxcffx64.dll" "libxess.dll" "libxess_dx11.dll" "libxess_fg.dll" "libxell.dll" "D3D12Core.dll")
for dll in "${original_dlls[@]}"; do
if [[ -f "${dll}.b" ]]; then
mv "${dll}.b" "$dll"
diff --git a/defaults/assets/fgmod.sh b/defaults/assets/fgmod.sh
index 134ded0..96f9daf 100755
--- a/defaults/assets/fgmod.sh
+++ b/defaults/assets/fgmod.sh
@@ -60,10 +60,10 @@ logger -t fgmod "๐Ÿงฉ Using DLL name: $dll_name"
logger -t fgmod "๐Ÿ“„ Preserve INI: $preserve_ini"
# === Cleanup Old Injectors ===
-rm -f "$exe_folder_path"/{dxgi.dll,winmm.dll,nvngx.dll,_nvngx.dll,nvngx-wrapper.dll,dlss-enabler.dll,OptiScaler.dll}
+rm -f "$exe_folder_path"/{dxgi.dll,winmm.dll,nvngx.dll,_nvngx.dll,nvngx-wrapper.dll,dlss-enabler.dll,OptiScaler.dll,libxess_dx11.dll,libxess_fg.dll,libxell.dll,D3D12Core.dll}
# === Optional: Backup Original DLLs ===
-original_dlls=("d3dcompiler_47.dll" "amd_fidelityfx_dx12.dll" "amd_fidelityfx_vk.dll" "nvapi64.dll" "amdxcffx64.dll")
+original_dlls=("d3dcompiler_47.dll" "amd_fidelityfx_dx12.dll" "amd_fidelityfx_vk.dll" "nvapi64.dll" "amdxcffx64.dll" "libxess.dll" "libxess_dx11.dll" "libxess_fg.dll" "libxell.dll" "D3D12Core.dll")
for dll in "${original_dlls[@]}"; do
[[ -f "$exe_folder_path/$dll" && ! -f "$exe_folder_path/$dll.b" ]] && mv -f "$exe_folder_path/$dll" "$exe_folder_path/$dll.b"
done
@@ -89,6 +89,9 @@ fi
# === Supporting Libraries ===
cp -f "$fgmod_path/libxess.dll" "$exe_folder_path/" || true
+cp -f "$fgmod_path/libxess_dx11.dll" "$exe_folder_path/" || true
+cp -f "$fgmod_path/libxess_fg.dll" "$exe_folder_path/" || true
+cp -f "$fgmod_path/libxell.dll" "$exe_folder_path/" || true
cp -f "$fgmod_path/amd_fidelityfx_dx12.dll" "$exe_folder_path/" || true
cp -f "$fgmod_path/amd_fidelityfx_vk.dll" "$exe_folder_path/" || true
cp -f "$fgmod_path/nvngx.dll" "$exe_folder_path/" || true
@@ -103,6 +106,9 @@ cp -f "$fgmod_path/amdxcffx64.dll" "$exe_folder_path/" || true
# === Additional Support Files ===
cp -f "$fgmod_path/d3dcompiler_47.dll" "$exe_folder_path/" || true
+# === D3D12 OptiScaler Support ===
+cp -f "$fgmod_path/D3D12_Optiscaler/D3D12Core.dll" "$exe_folder_path/" || true
+
echo "โœ… Installation completed successfully!"
echo "๐Ÿ“„ For Steam, add this to the launch options: \"$fgmod_path/fgmod\" %COMMAND%"
echo "๐Ÿ“„ For Heroic, add this as a new wrapper: \"$fgmod_path/fgmod\""
diff --git a/main.py b/main.py
index 21866e4..a4625e0 100644
--- a/main.py
+++ b/main.py
@@ -238,6 +238,7 @@ class Plugin:
path = Path(decky.HOME) / "fgmod"
required_files = [
"OptiScaler.dll",
+ "OptiScaler.ini",
"dlssg_to_fsr3_amd_is_better.dll",
"fakenvapi.ini",
"nvapi64.dll",
@@ -245,6 +246,11 @@ class Plugin:
"amd_fidelityfx_dx12.dll",
"amd_fidelityfx_vk.dll",
"libxess.dll",
+ "libxess_dx11.dll",
+ "libxess_fg.dll",
+ "libxell.dll",
+ "nvngx.dll",
+ "D3D12_Optiscaler/D3D12Core.dll",
"fgmod",
"fgmod-uninstaller.sh"
]
diff --git a/package.json b/package.json
index 25323d8..79d1aaf 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "decky-framegen",
- "version": "0.11.12",
+ "version": "0.12.0",
"description": "This plugin installs and manages OptiScaler, a tool that enhances upscaling and enables frame generation in a range of DirectX 12 games.",
"type": "module",
"scripts": {
@@ -53,10 +53,9 @@
"remote_binary":
[
{
- "sha256hash": "a003276a79b31cebbd3784d7c8d9413bd1c92f34dc14e409ebf06a08b0ac5f22",
- "url": "https://github.com/xXJSONDeruloXx/OptiScaler-Bleeding-Edge/releases/download/BUNDLE_OptiScaler_v0.7.8_Typeless-20250817-003642/BUNDLE_OptiScaler_v0.7.8_Typeless-20250817-003642.7z",
- "name": "BUNDLE_OptiScaler_v0.7.8_Typeless-20250817-003642.7z",
- "size": 61157175
+ "sha256hash": "303af9198f2ea2c4a65c705e3ffa2e366e9e44f30f48fceca52859a9f72152ce",
+ "url": "https://github.com/xXJSONDeruloXx/OptiScaler-Bleeding-Edge/releases/download/OptiScaler_v0.9.0_pre_1/BUNDLED_OptiScaler_v0.9.0-pee1.7z",
+ "name": "BUNDLE_OptiScaler_v0.9.0_pre_1.7z"
}
]
}