Commit Graph
3456 Commits
Author SHA1 Message Date
Michał Lewandowski eae4e761da Enable imgui math, welp 2026-03-10 18:12:42 +01:00
TheRazerMD e3119ef52a Added OUTRIDERS quirk
* DisableDxgiSpoofing
2026-03-10 18:03:56 +01:00
cdozdil 4e2af18d75 Merge branch 'master' of https://github.com/optiscaler/OptiScaler 2026-03-10 18:12:01 +03:00
cdozdil a34e82f2e5 Added xellGetFramesReports to XeLL proxy 2026-03-10 18:11:46 +03:00
cdozdil 175fe70764 Added rest of the XeSS SDK 3.0 methods to XeFG proxy 2026-03-10 18:10:06 +03:00
FakeMichau 36e38cd284 Use PushStyleVar to set style for the FPS Overlay 2026-03-10 12:43:38 +01:00
FakeMichau 439de26a26 Fix menu and fps overlay scaling
Main menu would retain the width from the biggest scale set on this boot - reset the size to 1x1 and let the imgui resize itself back up.

The 2nd issue with the fps overlay was relating to having different scales for the menu and the fps overlay. Different scales require setting the required style for padding etc. Because we only have one global style we need to constantly shuffle styles between the main menu and the fps overlay.
2026-03-10 10:53:04 +01:00
cdozdil 31992cb663 Prevent compiler warnings 2026-03-09 23:42:43 +03:00
cdozdil 3f8077dee1 Added support for changing interpolated frame count on the fly 2026-03-09 22:48:05 +03:00
TheRazerMD 2750c797c8 Added FATAL FRAME II: Crimson Butterfly REMAKE quirk
* DisableDxgiSpoofing
2026-03-09 18:58:10 +01:00
cdozdil f97776e19b Updated XeSS SDK to 3.0 2026-03-09 20:07:36 +03:00
FakeMichau 230efdeb22 Use fallback fps limit when reflex is force disabled
It's not perfect but the main usecase is having an fps limit when force disabling LFX. Ideally we would replace LFX with an fps limiter in those cases and maybe try to improve frametimes stability by sleeping tiny bit right *before* a present. That requires better integration so best to do that after fakenvapi is merged into Opti.
2026-03-09 13:48:04 +01:00
FakeMichau eada84462a Clean up logging around ffx provider updates 2026-03-09 13:08:00 +01:00
FakeMichau c0c693f07c Move scalers to the new combo 2026-03-09 01:22:50 +01:00
FakeMichau 66b4d8aacc Use new combo creation for everything 2026-03-09 00:38:47 +01:00
FakeMichau 75f5ccfb78 Rethink combo list creation 2026-03-08 23:54:46 +01:00
FakeMichau 0e41bd7e03 Fix a crash when trying to open menu early in BG3 on Vulkan 2026-03-08 22:18:27 +01:00
FakeMichau 48087c67a0 Fix fallback fps limit on Linux
was caused by default sleep on the dxgi side and vulkan side
2026-03-08 21:02:01 +01:00
cdozdil de638df384 Fixed Dx11w/Dx12 depth copy parameter. Thanks to Zeruel 2026-03-08 18:35:44 +03:00
cdozdil ccafe71d53 Name the CopyTextureFrom11To12 parameters correctly 2026-03-08 01:37:21 +03:00
cdozdil b4055caa5c Disable NTShared for Dx11 by default 2026-03-08 01:36:35 +03:00
Michał Lewandowski 6a90babd8e Save last command buffer only after everything is successful
Prevents a crash when vulkan w/dx12 fails. This allows Opti to fall back to native FSR 2.2
2026-03-07 01:18:46 +01:00
cdozdil 41716d022e Move DoNotPreserveFGSwapChain to exposed quirks 2026-03-06 23:04:21 +03:00
cdozdil 3e35ceb085 Added PreserveSwapChain option
Fixed FG swapchain release logic
Added quirk for Ninja Gaiden 4
2026-03-06 22:40:17 +03:00
FakeMichau ea2844a94b Turn working mode into an enum
Only added entires for modes that are currently getting used
2026-03-06 16:02:08 +01:00
FakeMichau 3c8598090a Use vendorid enum instead of raw values 2026-03-06 15:51:25 +01:00
FakeMichau 00427f7753 Clean up quirk printing 2026-03-06 15:47:32 +01:00
cdozdil 1b3b07dc44 Fix clang... 2026-03-06 14:54:09 +03:00
cdozdil b2605d9490 Revert "Copy Velocity too when Fix Nukem's is used"
This reverts commit bbff6944bf.
2026-03-06 14:40:58 +03:00
cdozdil 203970cec1 More fixes to XeFG swapchain release 2026-03-06 09:35:36 +03:00
TheRazerMD 27eff606f2 Modified SW Outlaws quirks
* Added DisableDxgiSpoofing
2026-03-06 01:47:08 +01:00
cdozdil c000f65683 Improvements to FG swapchain release 2026-03-06 01:44:33 +03:00
cdozdil 4e6d8056ac Fix FFX-VK FG not working 2026-03-06 01:26:10 +03:00
TheRazerMD e3f3b0641f Major BAT revamp
* Promoted to v2.5
* Added checks for old Opti files - now warns about existing installs and old conflicting pre-0.9 files
* More info provided at certain steps
* Added prompt for OptiPatcher
* Added workaround if Patcher download gets stuck
* Tweaked OptiPatcher support code
* Uninstaller now removes all Opti files, excluding the upscaler binaries
2026-03-05 22:36:38 +01:00
TheRazerMD 3317016b88 Initial OptiPatcher BAT support - Merge PR #839
Add OptiPatcher stuff to the Windows install script

from realdody/optipatcher-in-installer
2026-03-05 22:02:36 +01:00
cdozdil bbff6944bf Copy Velocity too when Fix Nukem's is used 2026-03-05 22:41:53 +03:00
cdozdil c04c860131 Fix build 2026-03-05 22:10:19 +03:00
cdozdil 931cce56c0 Fix clang 2026-03-05 22:00:35 +03:00
cdozdil fa042878f4 Use GUID as DLSS project id and correct version scheme 2026-03-05 21:55:28 +03:00
cdozdil cc7b9bb207 Merge branch 'master' of https://github.com/optiscaler/OptiScaler 2026-03-05 21:54:37 +03:00
realdodyandnitec 5d16afa54d Downscaler selection rework (#885)
* Downscaler refactor changes

* Fix nitec's undiagnosed OCD complaints

* Fix clang format errors

* Revert "Fix clang format errors"

This reverts commit a9fdbf802f.

* Add info about downscalers in the item description. Use proper names for downscalers

* Allow selection of FSR 1 and Bicubic when ratio is below 1.0

* Remove unnecessary constantsInited check

* Refactor constant initialization in OS_Dx12.cpp

Removed redundant initialization check for constants and updated their values directly.

* Refactor constant initialization in OS_Vk.cpp

Removed the unused 'constantsInited' boolean and simplified the initialization logic for constants.

* Adjust output scaling parameters based on conditions

* Fix output scaling downscaler assignment

* hopefully fix clang 20 complaints

---------

Co-authored-by: nitec <35529761+cdozdil@users.noreply.github.com>
2026-03-05 21:52:55 +03:00
cdozdil 96e7443b07 Added more keys/values to registry spoofing 2026-03-05 15:47:28 +03:00
cdozdil 041a9c8de7 Added optional User32 EnumDisplayDevicesA & EnumDisplayDevicesW spoofing 2026-03-05 15:46:36 +03:00
cdozdil c87d4a9689 Added MacType to blocked dll names 2026-03-04 01:23:11 +03:00
cdozdil 322107abb1 Added blocked dll names, fixes windhark crashes 2026-03-04 01:07:22 +03:00
cdozdil d8a0991700 Remove downscaler check from bias and depth transfer Dx11 shaders 2026-03-03 23:31:24 +03:00
cdozdil 2579781174 Added missing function pointer checks to vkGetInstanceProcAddr and vkGetDeviceProcAddr hooks 2026-03-03 22:25:22 +03:00
cdozdil b31a28a1fa Added Tainted Grail - Fall of Avalon quirk 2026-03-01 21:49:38 +03:00
cdozdil d01a41223e Use magic enum with D3D12 debug logs 2026-03-01 14:54:05 +03:00
cdozdil 82221a9201 Revent Vulkan menu changes 2026-03-01 14:53:42 +03:00