forked from optiscaler/OptiScaler
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathOptiScaler.ini
More file actions
1233 lines (946 loc) · 38.2 KB
/
OptiScaler.ini
File metadata and controls
1233 lines (946 loc) · 38.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
; -------------------------------------------------------
[Upscalers]
; -------------------------------------------------------
; Select Upscaler for Dx11 games
; fsr22 (native DX11), fsr31 (native DX11), xess (native DX11, Arc only), xess_12 (dx11on12), fsr21_12 (dx11on12), fsr22_12 (dx11on12), fsr31_12 (dx11on12, FSR4), dlss - Default (auto) is fsr22
Dx11Upscaler=auto
; Select Upscaler for Dx12 games
; xess, fsr21, fsr22, fsr31 (also for FSR4), dlss - Default (auto) is xess
Dx12Upscaler=auto
; Select Upscaler for Vulkan games
; fsr21, fsr22, fsr31, xess, dlss - Default (auto) is fsr21
VulkanUpscaler=auto
; -------------------------------------------------------
[FrameGen]
; -------------------------------------------------------
; Enables Frame Generation
; true or false - Default (auto) is false
Enabled=auto
; Selected FG Input/Source
; dlssg - Can be used with any FG Output. Supports Hudless out of the box. Limited to games that use Streamline v2 and DLSSG
; nukems - Limited to FSR 3 FG. Requires DLSSG in the game. Supports Hudless out of the box. Uses Streamline swapchain for pacing.
; fsrfg - Can be used with any FG Output. Supports Hudless out of the box.
; upscaler - Upscaler must be enabled. Can be used with any FG Output, but might be imperfect with some. To prevent UI glitching, Hudfix is required
; fsrfg30 - Can be used with any FG Output. Supports Hudless out of the box.
; nofg, dlssg, nukems, fsrfg, upscaler, fsrfg30 - Default (auto) is nofg
FGInput=auto
; Selected FG Output
; fsrfg - requires amd_fidelityfx_dx12.dll or amd_fidelityfx_loader_dx12.dll + amd_fidelityfx_framegeneration_dx12.dll
; xefg - requires libxess_fg.dll, libxell.dll and latest fakenvapi dll
; nukems - requires dlssg_to_fsr3_amd_is_better.dll, AMD/Intel GPU users need to add fakenvapi as well
; nofg, fsrfg, xefg, nukems - Default (auto) is nofg
FGOutput=auto
; Enables Frame Generation Debug View
; true or false - Default (auto) is false
DebugView=auto
; Draw UI over FG, requires Hudless and a UI texture, mostly for FSR FG
; true or false - Default (auto) is false
DrawUIOverFG=auto
; Sets the type of a provided UI texture, with DrawUIOverFG + FSR FG it will change how the UI looks
; true or false - Default (auto) is true
UIPremultipliedAlpha=auto
; Control Hudless, even if FG source provides one
; true or false - Default (auto) is false
DisableHudless=auto
; Control a UI texture, even if FG source provides one
; true or false - Default (auto) is true
DisableUI=auto
; Ignores Reset signals coming from FG inputs
; true or false - Default (auto) is false
SkipReset=auto
; Defines FG rectangle
; integer value - Default (auto) is whole screen
RectLeft=auto
RectTop=auto
RectWidth=auto
RectHeight=auto
; Number of frames the FG is allowed to be ahead of the game
; Might prevent FG on/off switching but also might cause issues
; 1 to 3 - Default (auto) is 1
AllowedFrameAhead=auto
; Always tag Depth as ValidNow
; Will use more VRAM but needed for Uniscaler
; true or false - Default (auto) is false
DepthValidNow=auto
; Always tag Velocity as ValidNow
; Will use more VRAM but needed for Uniscaler
; true or false - Default (auto) is false
VelocityValidNow=auto
; Always tag Hudless as ValidNow
; Will use more VRAM but needed for Uniscaler
; true or false - Default (auto) is false
HudlessValidNow=auto
; If source tags more than one hudless only use first one
; true or false - Default (auto) is false
OnlyAcceptFirstHudless=auto
; -------------------------------------------------------
[FSRFG]
; -------------------------------------------------------
; Enables FSR3.1 Frame Generation Tear Lines
; true or false - Default (auto) is false
DebugTearLines=auto
; Enables FSR3.1 Frame Generation interpolation skip lines
; true or false - Default (auto) is false
DebugResetLines=auto
; Enables FSR3.1 Frame Generation pacing lines
; true or false - Default (auto) is false
DebugPacingLines=auto
; Enables Async FSR3.1 Frame Generation
; true or false - Default (auto) is false
AllowAsync=auto
; Enables usage of mutex for FG swapchain present calls
; Disabling it might improve performance in cost of stability
; true or false - Default (auto) is true
UseMutexForSwapchain=auto
; Frame Pace Tuning
; -------------------------------------------------------
; Enables custom Frame Pace Tuning parameters
; true or false - Default (auto) is true
FramePacingTuning=auto
; This info is from:
; https://github.com/GPUOpen-LibrariesAndSDKs/FidelityFX-SDK/blob/54fbaafdc34716811751bea5032700e78f5a0f33/ffx-api/include/ffx_api/ffx_api_types.h#L197
;
; Default Tuning
; safetyMarginInMs==0.1ms and varianceFactor==0.1.
;
; Tuning set A
; safetyMarginInMs==0.75ms, and varianceFactor==0.1.
;
; Tuning Set B
; safetyMarginInMs==0.01ms and varianceFactor==0.3.
;
; If your game when using FG, frame rate is running at unexpectly low frame rate, after gradual transition from rendering complex to easy scene complexity,
; you could try setting "Tuning Set B" to recover lost FPS at cost of a bit higher variance.
;
; OptiScaler will use Tuning B as default
; Frame Pace Tuning
; Sets safety margin
; float - Default (auto) is 0.01
FPTSafetyMarginInMs=auto
; Frame Pace Tuning
; Sets variance factor
; 0.0 - 1.0 - Default (auto) is 0.3
FPTVarianceFactor=auto
; Frame Pace Tuning
; Allows pacing spinlock to sleep, should reduce CPU usage
; Might cause slow ramp up of FPS
; true or false - Default (auto) is false
FPTHybridSpin=auto
; Frame Pace Tuning
; How long to spin if FPTHybridSpin is true. Measured in timer resolution units.
; Not recommended to go below 2. Will result in frequent overshoots
; uint - Default (auto) is 2
FPTHybridSpinTime=auto
; Frame Pace Tuning
; Allows WaitForSingleObject instead of spinning for fence value
; true or false - Default (auto) is false
FPTWaitForSingleObjectOnFence=auto
; Enable FSR-FG Redstone Watermark
; true or false - Default (auto) is false
EnableWatermark=auto
; -------------------------------------------------------
[XeFG]
; -------------------------------------------------------
; Skips pre ini checks for XeFG
; Might bad IQ or cause crashes!
; true or false - Default (auto) is false
IgnoreInitChecks=auto
; XeFG DepthInverted flag
; true or false - Default (auto) is false
DepthInverted=auto
; XeFG JitteredMV flag
; true or false - Default (auto) is false
JitteredMV=auto
; XeFG HighResMV flag
; true or false - Default (auto) is false
HighResMV=auto
; Enables XeFG debug squares
; true or false - Default (auto) is false
DebugView=auto
; Forces Borderless mode instead of Exclusive Fullscreen
; It might cause stability issues on mode changes
; or IQ issues when exclusive fullscreen mode is
; smaller than diplay resolution
; true or false - Default (auto) is false
ForceBorderless=auto
; Skip ResizeBuffers call to swapchain
; If old and new descriptions are the same
; Prevents crashes after ResizeBuffers calls
; true or false - Default (auto) is true
SkipResizeBuffers=auto
; Normally after ResizeBuffers call swapchain buffers
; should be in state COMMON, when this option enabled
; OptiScaler will try to set swapchain buffer states
; when skipping ResizeBuffers call
; Might cause crashes or fix them
; true or false - Default (auto) is false
ModifyBufferState=auto
; Normally after ResizeBuffers call swapchain current index
; should be 0, when this option enabled
; OptiScaler will try to set swapchain index by calling present
; until index reaches 0
; Might cause crashes or fix them
; true or false - Default (auto) is false
ModifySCIndex=auto
; -------------------------------------------------------
[OptiFG]
; -------------------------------------------------------
; Enables HUD fix FSR3.1 Frame Generation
; Might cause crashes, specially with Async
; true or false - Default (auto) is false
HUDFix=auto
; Delays HUDless image capture
; Might cause crashes, specially if set too high!
; integer value above > 0 - Default (auto) is 1
HUDLimit=auto
; Extended HUDless checks for more image formats
; Might cause crash and slowdowns.
; true or false - Default (auto) is false
HUDFixExtended=auto
; Do not use CreateRenderTargetView for resource tracking
; true or false - Default (auto) is false
HudfixDisableRTV=auto
; Do not use CreateShaderResourceView for resource tracking
; true or false - Default (auto) is false
HudfixDisableSRV=auto
; Do not use CreateUnorderedAccessView for resource tracking
; true or false - Default (auto) is false
HudfixDisableUAV=auto
; Do not use OMSetRenderTargets for resource tracking
; true or false - Default (auto) is false
HudfixDisableOM=auto
; Do not use SetComputeRootDescriptorTable for resource tracking
; true or false - Default (auto) is true
HudfixDisableSCR=auto
; Do not use SetGraphicsRootDescriptorTable for resource tracking
; true or false - Default (auto) is true
HudfixDisableSGR=auto
; Do not use DrawInstanced for resource tracking
; true or false - Default (auto) is false
HudfixDisableDI=auto
; Do not use DrawIndexedInstanced for resource tracking
; true or false - Default (auto) is false
HudfixDisableDII=auto
; Do not use Dispatch for resource tracking
; true or false - Default (auto) is false
HudfixDisableDispatch=auto
; Prevent swapchain buffers to be used as Hudless
; Might help fixing overlay issues but also might reduce compatibility
; true or false - Default (auto) is false
HUDFixDontUseSwapchainBuffers=auto
; Relax resolution checks for Hudless by 32 pixels
; Helps games which use black borders for some resolutions and screen ratios (e.g. Witcher 3)
; true or false - Default (auto) is false
HUDFixRelaxedResolutionCheck=auto
; Enables capturing of resources before shader execution.
; Increase hudless capture chances but might cause capturing of unnecessary resources.
; true or false - Default (auto) is false
HUDFixImmediate=auto
; Resource tracking is always enabled regardless of Hudfix setting
; Might cause performance issues but disabling might cause stability issues
; true or false - Default (auto) is false
AlwaysTrackHeaps=auto
; Block rarely used resources from using as hudless
; to prevent flickers and other issues
; true or false - Default (auto) is false
ResourceBlocking=auto
; Makes a copy of Depth to be used with Hudfix FG call
; Setting it false most probably cause occasional garbling
; true or false - Default (auto) is true
MakeDepthCopy=auto
; Scale depth buffer according to DepthScaleMax value
; Fixes broken depth buffer info for DLSS-D + UE
; true or false - Default (auto) is false
EnableDepthScale=auto
; Scale value for EnableDepthScale
; Depth value will be divided to this value
; float - Default (auto) is 10000.0
DepthScaleMax=auto
; Makes a copy of motion vectors to be used with Hudfix FG call
; Setting it false most probably cause occasional garbling
; true or false - Default (auto) is true
MakeMVCopy=auto
; Flip Depth & Velocity textures
; This should fix OptiFG issues with Unity games
; true or false - Default (auto) is false
ResourceFlip=auto
; Flip Depth & Velocity textures according to interpolation area
; This should fix OptiFG issues with Unity games
; true or false - Default (auto) is false
ResourceFlipOffset=auto
; Always captures and swaps FSR-FG 3.1 swapchain with selected output
; This should fix double present call issue with
; games create but not use FSR-FG swapchain (Silent Hill f)
; true or false - Default (auto) is false
AlwaysCaptureFSRFGSwapchain=auto
; -------------------------------------------------------
[Inputs]
; -------------------------------------------------------
; OptiScaler will hook (nvngx.dll) and use Dlss Inputs
; true or false - Default (auto) is true
EnableDlssInputs=auto
; OptiScaler will hook (libxess.dll) and use XeSS Inputs
; true or false - Default (auto) is true
EnableXeSSInputs=auto
; OptiScaler will hook Fsr2 Inputs
; true or false - Default (auto) is true
EnableFsr2Inputs=auto
; OptiScaler will use Fsr2 Inputs
; true or false - Default (auto) is true
UseFsr2Inputs=auto
; Try to find FSR2 methods with pattern matching
; Will slow down the loading of the game
; true or false - Default (auto) is false
Fsr2Pattern=auto
; OptiScaler will hook Fsr3 Inputs
; true or false - Default (auto) is true
EnableFsr3Inputs=auto
; OptiScaler will use Fsr3 Inputs
; true or false - Default (auto) is true
UseFsr3Inputs=auto
; Try to find FSR3 methods with pattern matching
; Will slow down the loading of the game
; true or false - Default (auto) is false
Fsr3Pattern=auto
; OptiScaler will hook FidelityFX (amd_fidelityfx_dx12.dll) API Inputs
; true or false - Default (auto) is true
EnableFfxInputs=auto
; OptiScaler will use FidelityFX API Inputs
; true or false - Default (auto) is true
UseFfxInputs=auto
; Enables hot swapping between games FSR3.1 upscaler and OptiScaler's selected upscaler
; true or false - Default (auto) is false
EnableHotSwapping=auto
; -------------------------------------------------------
[FSRFGInputs]
; -------------------------------------------------------
; Do not use Hudless set at ffxConfig
; true or false - Default (auto) is false
SkipConfigForHudless=auto
; Do not use Hudless set at ffxDispatch
; true or false - Default (auto) is false
SkipDispatchForHudless=auto
; -------------------------------------------------------
[Framerate]
; -------------------------------------------------------
; Frame rate limit that uses Reflex, therefore the game has to support Reflex and have it enabled
; AMD users can use Fakenvapi to get this feature working
; float - Default (auto) is 0.0 (disabled)
FramerateLimit=auto
; -------------------------------------------------------
[XeSS]
; -------------------------------------------------------
; Building pipeline for XeSS before init
; true or false - Default (auto) is true
BuildPipelines=auto
; Creating heap objects for XeSS before init
; true or false - Default (auto) is false
CreateHeaps=auto
; Select XeSS network model
; Currently doesn't seem to do anything
; 0 = KPSS | 1 = Splat | 2 = Model 3 | 3 = Model 4 | 4 = Model 5 | 5 = Model 6
; Default (auto) is 0
NetworkModel=auto
; Override path of libxess.dll
; Example - D:\Downloads\OptiScaler\libxess.dll
; Default (auto) is same folder as mod dll
LibraryPath=auto
; Override path of libxess_dx11.dll
; Example - D:\Downloads\OptiScaler\libxess_dx11.dll
; Default (auto) is same folder as mod dll
Dx11LibraryPath=auto
; -------------------------------------------------------
[FSR]
; -------------------------------------------------------
; Sets camera vertical FOV value for FSR and FSR FG
; 0.0 to 180.0 - Default (auto) is 60.0
VerticalFov=auto
; If Vertical FOV is not defined will be used to calculate Vertical FOV
; 0.0 to 180.0 - Default (auto) is off
HorizontalFov=auto
; Sets camera near value for FSR and FSR FG
; 0.0 to max float value - Default (auto) is 0.1
CameraNear=auto
; Sets camera far value for FSR and FSR FG
; 0.0 to max float value - Default (auto) is 10000.0
CameraFar=auto
; Enables usage of camera values (near, far, FOV)
; received from FSR2/3 or FFX inputs
; true or false - Default (auto) is true
UseFsrInputValues=auto
; Enables Debug View for FSR3.X upscaler
; true or false - Default (auto) is false
DebugView=auto
; Selects upscaler backend for FSR3.X/4
; 0 = FSR 4.0.2 | 1 = FSR 3.1.5 | 2 = FSR 2.3.4
; Depending on GPU - Default (auto) is 0 - FSR4 for RDNA4, FSR3 for the rest
UpscalerIndex=auto
; Selects FG backend for FFX
; 0 = FSR 4.0.0 | 1 = FSR 3.1.6
; Depending on GPU - Default (auto) is 0 - FSR4 for RDNA4, FSR3 for the rest
FGIndex=auto
; Sets Velocity Factor for FSR3.1.1 and above
; Value of 0.0f can improve temporal stability of bright pixels.
; 0.0 to 1.0 - Default (auto) is 1.0
VelocityFactor=auto
; Sets Reactiveness Scale for FSR3.1.4 and above
; Meant for development purpose to test if writing a larger value to reactive mask, reduces ghosting
; 0.0 to infinite - Default (auto) is 1.0
ReactiveScale=auto
; Sets Shading Scale for FSR3.1.4 and above
; Increasing this scales fsr3.1 computed shading change value at read to have higher reactiveness.
; 0.0 to infinite - Default (auto) is 1.0
ShadingScale=auto
; Sets Accumulation added per frame for FSR3.1.4 and above
; Corresponds to amount of accumulation added per frame at pixel coordinate where disocclusion occurred or when reactive mask value is > 0.0f.
; Decreasing this and drawing the ghosting object (IE no mv) to reactive mask with value close to 1.0f can decrease temporal ghosting.
; Decreasing this value could result in more thin feature pixels flickering.
; 0.0 to 1.0 - Default (auto) is 0.333
AccAddPerFrame=auto
; Sets Minimum Disocclusion Accumulation for FSR3.1.4 and above
; Increasing this value may reduce white pixel temporal flickering around swaying thin objects that are disoccluding one another often.
; Too high value may increase ghosting. A sufficiently negative value means for pixel coordinate at frame N that is disoccluded,
; add fAccumulationAddedPerFrame starting at frame N+2.
; -1.0 to 1.0 - Default (auto) is -0.333
MinDisOccAcc=auto
; Use raw DLSS reactive mask as transparency mask
; true or false - Default (auto) is true
UseReactiveMaskForTransparency=auto
; Bias to apply DLSS reactive mask when using with FSR
; Higher the value, more bias on new frame
; 0.0 - 0.9 - Default (auto) is 0.45
DlssReactiveMaskBias=auto
; Enables updating of FSR3.X to FSR4
; true or false - Default (auto) depends on GPU - true for RDNA4
Fsr4Update=auto
; Select FSR4 model to use
; 0 = For FSR Native AA, 1 = Ultra Quality/Quality, 2 = Balanced, 3 = Performance, 4 = DRS, 5 = Ultra Performance
; From 0 to 5 - Default (auto) is game's default
Fsr4Model=auto
; Enable FSR4 Debug View visualization
; Might consume more VRAM
; true or false - Default (auto) is false
Fsr4EnableDebugView=auto
; Enable FSR4 Watermark
; true or false - Default (auto) is false
Fsr4EnableWatermark=auto
; Indicates input color resource uses Non-Linear color space
; Might improve IQ of FSR4
; true or false - Default (auto) is false
FsrNonLinearColorSpace=auto
; Indicates input color resource contains perceptual sRGB colors
; Might improve IQ of FSR4
; true or false - Default (auto) is false
FsrNonLinearSRGB=auto
; Indicates input color resource contains perceptual PQ colors
; Might improve IQ of FSR4
; true or false - Default (auto) is false
FsrNonLinearPQ=auto
; Updates the DirectX 12 Agility SDK
; Enabling the use of FSR4 on Windows 10 in older titles like Cyberpunk 2077
; You MUST copy D3D12_OptiScaler folder next to game's exe!
; true or false - Default (auto) is false
FsrAgilitySDKUpgrade=auto
; Override path of amd_fidelityfx_dx12.dll
; Example - C:\Program Files\Rockstar Games\Grand Theft Auto V Enhanced\Altdll\amd_fidelityfx_dx12.dll
; Default (auto) is same folder as mod dll
FfxDx12Path=auto
; Override path of amd_fidelityfx_vk.dll
; Example - D:\Downloads\OptiScaler\amd_fidelityfx_vk.dll
; Default (auto) is same folder as mod dll
FfxVkPath=auto
; -------------------------------------------------------
[DLSS]
; -------------------------------------------------------
; Enables calls to original NVNGX
; true or false - Default (auto) is true
Enabled=auto
; Override path of nvngx.dll / _nvngx.dll
; Default (auto) is path defined in registry
LibraryPath=auto
; Path of streamline/nvngx_dlss.dll folder
; Which will be used on initing nvngx api
; for example .\streamline
; Default (auto) is OptiScaler dll path
FeaturePath=auto
; Override path of nvngx_dlss.dll
; Example - D:\Downloads\OptiScaler\nvngx_dlss.dll
; Default (auto) means override disabled
NVNGX_DLSS_Path=auto
; Set this to true to enable custom render preset overrides
; true or false - Default (auto) is false
RenderPresetOverride=auto
; Render presets for quality settings
; Depends on DLSS version, but most recent order is
; 0 = Default | 1 = A | 2 = B | 3 = C | 4 = D | 5 = E | 6 = F | 7 = G
; 8 = H | 9 = I | 10 = J | 11 = K | 12 = L | 13 = M | 14 = N | 15 = O
; Default (auto) is 0
RenderPresetForAll=auto
RenderPresetDLAA=auto
RenderPresetUltraQuality=auto
RenderPresetQuality=auto
RenderPresetBalanced=auto
RenderPresetPerformance=auto
RenderPresetUltraPerformance=auto
; Use generic appid with NGX, fixes OptiScaler preset override not working with certain games
; true or false - Default (auto) is false
UseGenericAppIdWithDlss=auto
; -------------------------------------------------------
[Nukems]
; -------------------------------------------------------
; Fix broken visuals in some games (mostly non-UE) on AMD GPUs under Windows
; Can cause stutters, so best to use only when necessary and mentioned
; true or false - Default (auto) is false
MakeDepthCopy=auto
; -------------------------------------------------------
[Menu]
; -------------------------------------------------------
; Enables new Overlay ImGui menus
; without this option OptiScaler will disable all FG features
; true or false - Default (auto) is when OptiScaler is nvngx.dll false otherwise true
OverlayMenu=auto
; In-game ImGui menu scale
; 0.5 to 2.0 - Default (auto) is 1.0, gets lower below 900p
Scale=auto
; Shortcut key for opening menu
; For all keycode values you can check this address
; Match Description with key Value
; https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
; Integer value - Default (auto) is 0x2D -> VK_INSERT/Insert key, previous default key VK_HOME/Home key is 0x24
; -1 -> No shortcut key
ShortcutKey=auto
; Extends Scaling Ratio limits to 0.1 - 6.0
; true or false - Default (auto) is false
ExtendedLimits=auto
; Use High Quality Font for Menu
; Might use more VRAM
; If you see a black overlay or experience menu related crashes with Vulkan, try disabling
; true or false - Default (auto) is true
UseHQFont=auto
; Path to a font to be used as HQ Font, requires UseHQFont=true
; Best to use monospace fonts
; Example path: C:\\Windows\\Fonts\\comic.ttf
; Default (auto) is Hack-Regular bundled with OptiScaler
TTFFontPath=auto
; Disables Startup Splash message
; true or false - Default (auto) is false
DisableSplash=auto
; Enables FPS overlay
; true or false - Default (auto) is false
ShowFps=auto
; In-game FPS Overlay scale
; 0.5 to 2.0 - Default (auto) is using the same scale as menu
FpsScale=auto
; FPS overlay position
; 0 = Top Left | 1 = Top Right | 2 = Bottom Left | 3 Bottom Right
; 0 to 3 - Default (auto) is 0
FpsOverlayPos=auto
; FPS overlay type
; 0 = Just FPS | 1 = Simple | 2 = Detailed | 3 = Detailed + Graph | 4 Full | 5 Full + Graph | 6 Reflex timings
; 0 to 6 - Default (auto) is 0
FpsOverlayType=auto
; Shortcut key for FPS overlay
; Integer value - Default (auto) is 0x21 -> VK_PRIOR/Page up key
; -1 -> No shortcut key
FpsShortcutKey=auto
; Shortcut key for FPS overlay type cycle
; Integer value - Default (auto) is 0x22 -> VK_NEXT/Page down key
; -1 -> No shortcut key
FpsCycleShortcutKey=auto
; Enables Horizontal FPS overlay layout
; true or false - Default (auto) is false
FpsOverlayHorizontal=auto
; FPS Overlay background alpha
; 0.0 to 1.0 - Default (auto) is 0.4
FpsOverlayAlpha=auto
; Shortcut key for FG enabled/disabled
; Integer value - Default (auto) is 0x23 -> VK_END/End key
; -1 -> No shortcut key
FGShortcutKey=auto
; -------------------------------------------------------
[Spoofing]
; -------------------------------------------------------
; VendorID to spoof
; 0x10de = Nvidia | 0x8086 = Intel | 0x1002 = AMD
; Integer value - Default (auto) is 0x10de
SpoofedVendorId=auto
; DeviceID to spoof
; 0x2684 = 4090 | 0x56A0 = A770 | 0x7550 9070 XT
; Integer value - Default (auto) is 0x2684 (4090)
SpoofedDeviceId=auto
; Target VendorID to be spoofed
; Integer value - Default (auto) is all
TargetVendorId=auto
; Target DeviceID to be spoofed
; Default (auto) is all
TargetDeviceId=auto
; Spoofed GPU name
; NVIDIA GeForce RTX 4090 | Intel(R) Arc(TM) A770 Graphics | AMD Radeon RX 9070 XT
; Default (auto) is NVIDIA GeForce RTX 4090
SpoofedGPUName=auto
; Enables GPU spoofing for Streamline, even if Dxgi spoofing is disabled for the rest of the game
; Usually allows for using Fakenvapi without spoofing the whole game, and sometimes DLSS/DLSSG
; true or false - Default (auto) is true
StreamlineSpoofing=auto
; Enables Nvidia GPU spoofing for DXGI
; true or false - Default (auto) is true for AMD/Intel, false for Nvidia
Dxgi=auto
; Enables wrapping of DxgiFactory instead of hooking
; Might cause issues or help Nvidia cards with other mods
; true or false - Default (auto) is false
DxgiFactoryWrapping=auto
; Skips DXGI GPU spoofing when caller method in the list (example: slInit|slGetPluginFunction|nvapi_QueryInterface)
; Be careful this will disable spoofing for rest of the calls, also does not work on Linux
; method names seperated with pipe "|" - Default (auto) is disabled
DxgiBlacklist=auto
; Spoof amount of VRAM for DXGI
; Spoofed amount in GBs - Default (auto) is disabled
DxgiVRAM=auto
; Enables Nvidia GPU spoofing for Vulkan
; true or false - Default (auto) is false
Vulkan=auto
; Enables Nvidia extension spoofing for Vulkan
; true or false - Default (auto) is false
VulkanExtensionSpoofing=auto
; Spoof amount of VRAM for Vulkan
; Spoofed amount in GBs - Default (auto) is disabled
VulkanVRAM=auto
; Enables spoofing of Hardware Accelerated GPU Scheduling
; Required for Nukem's mod, also lets RTX40xx series users use DLSSG without HAGS enabled
; true or false - Default (auto) is false, unless DLSSG mod is enabled
SpoofHAGS=auto
; Enables overriding of requested D3D feature level
; true or false - Default (auto) is false
D3DFeatureLevel=auto
; Prevents DirectX12 not supported error on UE games
; with Intel cards when spoofing enabled
; true or false - Default (auto) is false
UEIntelAtomics=auto
; -------------------------------------------------------
[Plugins]
; -------------------------------------------------------
; Path that will be searched for same filename plugins (dxgi.dll, winmm.dll, etc.)
; Default is .\plugins
Path=auto
; Lets OptiScaler load *.asi files in plugins folder
; true or false - Default (auto) is false
LoadAsiPlugins=auto
; Loads SpecialK64.dll from game's exe folder
; Please create an empty SpecialK.dxgi file next to SpecialK64.dll
; to set SpecialK's working mode, otherwise it will not be activated
; BECAUSE OF STABILITY ISSUES, WILL NOT BE LOADED WHEN OPTIFG IS ENABLED
; true or false - Default (auto) is false
LoadSpecialK=auto
; Loads Reshade64.dll from game's exe folder
; Rename Reshade dll to ReShade64.dll, put next to OptiScaler and set to true
; true or false - Default (auto) is false
LoadReshade=auto
; -------------------------------------------------------
[NvApi]
; -------------------------------------------------------
; Override loading of nvapi64.dll
; true or false - Default (auto) is false for Nvidia, true for others
OverrideNvapiDll=auto
; Disable FlipMetering
; Fix the thick frametime graph caused by Nvidia's Flip Metering when using NukemFG, needs Fakenvapi to work
; true or false - Default (auto) is false for Nvidia, true for others
DisableFlipMetering=auto
; If nvapi override enabled and file path defined here
; will try to load it from here, otherwise will check current folder for nvapi64.dll
; Default (auto) is local folder
NvapiDllPath=auto
; -------------------------------------------------------
[Dx11withDx12]
; -------------------------------------------------------
; Delay some operations during creation of D11wDx12 features to increase compatibility
; true or false - Default (auto) is false
UseDelayedInit=auto
; Prefer using D3D11_RESOURCE_MISC_SHARED, which is lower level
; and a bit more performant and possibly less compatible
; true or false - Default (auto) is false
DontUseNTShared=auto
; -------------------------------------------------------
[Hooks]
; -------------------------------------------------------
; Early hooking of kernel methods
; May cause compatibility issues!!!
; true or false - Default (auto) is false
EarlyHooking=auto
; Skip hooking of local nvngx files and only hook nvngx at registry
; Needed for Uniscaler + FG
; true or false - Default (auto) is false
HookOriginalNvngxOnly=auto
; Only hook ntdll.dll methods, skip kernel32.dll and kernelbase.dll hooks
; true or false - Default (auto) is true
UseNtdllHooks=auto
; -------------------------------------------------------
[Sharpness]
; -------------------------------------------------------
; Override DLSS Sharpness parameter with fixed Sharpness value
; true or false - Default (auto) is false
OverrideSharpness=auto
; Strength of Sharpening,
; value range between 0.0 and 1.0 (while using upper limit is RCAS 1.3) - Default (auto) is 0.3
Sharpness=auto
; -------------------------------------------------------
[OutputScaling]
; -------------------------------------------------------
; Enable Output Scaling option for Dx12 and Dx11 with Dx12 backends
; true or false - Default (auto) is false
Enabled=auto
; Output Scaling ratio
; 0.5 - 3.0 - Default (auto) is 1.5
Multiplier=auto
; Enable FSR for upscaling & downscaling, otherwise bicubic will be used
; true or false - Default (auto) is true
UseFsr=auto
; Downscaler to use when FSR is disabled
; 0 = Bicubic | 1 = Lanczos | 2 = Catmull-Rom | 3 = MAGC
; 0 to 3 - Default (auto) is 0 (Bicubic)
Downscaler=auto
; -------------------------------------------------------
[CAS]
; -------------------------------------------------------
; Enables RCAS sharpening
; true or false - Default (auto) is false
Enabled=auto
; Enable Motion Sharpness
; true or false - Default (auto) is false
MotionSharpnessEnabled=auto
; Sharpening will be added or removed according to motion length
; value range between -1.3 and 1.3 - Default (auto) is 0.4
MotionSharpness=auto
; How much a pixel should move before Motion Sharpness applied
; 0.0 - 100.0 - Default (auto) is 0.0
MotionThreshold=auto
; How much a pixel should move to reach maximum MotionSharpness value
; Values between MotionThreshold and this value will use be used to scale sharpness value
; 0.0 - 100.0 - Default (auto) is 10.0
MotionScaleLimit=auto
; Enable Debug Highlighting for Motion Sharpening
; Reddish hue for added greenish for reduced sharpness
; true or false - Default (auto) is false
MotionSharpnessDebug=auto
; Enable Contrast based sharpening
; Increases sharpness at high contrast areas.
; true or false - Default (auto) is false
ContrastEnabled=auto
; Contrast based sharpening value
; Higher values increases sharpness at high contrast areas.
; High values might cause graphical GLITCHES when used with high sharpness values !!!
; 0.0 - 2.0 - Default (auto) is 0.0
Contrast=auto
; -------------------------------------------------------
[Log]
; -------------------------------------------------------
; Log file, if undefined OptiScaler.log file in current folder
; Default (auto) is OptiScaler.log in same folder
LogFile=auto
; Verbosity level of file logs
; 0 = Trace / 1 = Debug / 2 = Info / 3 = Warning / 4 = Error
; Default (auto) is 1 = Debug
LogLevel=auto
; Log to console (Log level is always 2 (Info) for performance reasons)
; true or false - Default (auto) is false
LogToConsole=auto
; Log to file
; true or false - Default (auto) is false
LogToFile=auto
; Log to NVNGX API
; true or false - Default (auto) is false
LogToNGX=auto
; Log to Debug output
; true or false - Default (auto) is false
LogToDebug=auto
; Open console window for logs
; true or false - Default (auto) is false
OpenConsole=auto
; When set to false creates a new log file for every OptiScaler session
; true or false - Default (auto) is true
SingleFile=auto
; Enables Async logging
; true or false - Default (auto) is true
LogAsync=auto
; Async logging threads
; 1 - 8 - Default (auto) is 1
LogAsyncThreads=auto
; -------------------------------------------------------
[InitFlags]
; -------------------------------------------------------