forked from Areteic/dsfix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Settings.def
75 lines (58 loc) · 2.88 KB
/
Settings.def
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
// xmacro file for .ini setting definition
// format: (type, cname, ininame, default value)
// Graphics Options
SETTING(unsigned, RenderWidth, "renderWidth", 1024);
SETTING(unsigned, RenderHeight, "renderHeight", 720);
SETTING(unsigned, FilteringOverride, "filteringOverride", 0);
SETTING(unsigned, DOFOverrideResolution, "dofOverrideResolution", 0);
SETTING(bool, DisableDofScaling, "disableDofScaling", false);
SETTING(unsigned, DOFBlurAmount, "dofBlurAmount", 0);
SETTING(unsigned, AAQuality, "aaQuality", 0);
SETTING(std::string, AAType, "aaType", "FXAA");
SETTING(unsigned, SsaoStrength, "ssaoStrength", 0);
SETTING(unsigned, SsaoScale, "ssaoScale", 0);
SETTING(std::string, SsaoType, "ssaoType", "VSSAO");
SETTING(bool, UnlockFPS, "unlockFPS", 0);
SETTING(unsigned, FPSLimit, "FPSlimit", 30);
SETTING(unsigned, FPSThreshold, "FPSthreshold", 28);
SETTING(bool, EnableTripleBuffering, "enableTripleBuffering", 0);
// Logging Options
SETTING(unsigned, LogLevel, "logLevel", 0);
// Cursor Options
SETTING(bool, DisableCursor, "disableCursor", false);
SETTING(bool, CaptureCursor, "captureCursor", false);
// Language Options
SETTING(std::string, OverrideLanguage, "overrideLanguage", "");
// Skipping Options
SETTING(bool, SkipIntro, "skipIntro", false);
// Backup Options
SETTING(bool, EnableBackups, "enableBackups", false);
SETTING(unsigned, BackupInterval, "backupInterval", 1500);
SETTING(unsigned, MaxBackups, "maxBackups", 20);
// Wrapper chaining options
SETTING(std::string, Dinput8dllWrapper, "dinput8dllWrapper", "");
// Folder options
SETTING(std::string, ScreenshotDir, "screenshotDir", ".");
// Texture Override Options
SETTING(bool, EnableTextureDumping, "enableTextureDumping", false);
SETTING(bool, EnableTextureOverride, "enableTextureOverride", false);
SETTING(bool, EnableTexturePrefetch, "enableTexturePrefetch", false);
// Shader Override Options
SETTING(bool, EnableShaderDumping, "enableShaderDumping", false);
SETTING(bool, EnableShaderOverride, "enableShaderOverride", false);
// HUD options
SETTING(bool, EnableHudMod, "enableHudMod", false)
SETTING(bool, EnableMinimalHud, "enableMinimalHud", false)
SETTING(float, HudScaleFactor, "hudScaleFactor", 1.0f)
SETTING(float, HudTopLeftOpacity, "hudTopLeftOpacity", 1.0f)
SETTING(float, HudBottomLeftOpacity, "hudBottomLeftOpacity", 1.0f)
SETTING(float, HudBottomRightOpacity, "hudBottomRightOpacity", 1.0f)
// Screen Options
SETTING(bool, BorderlessFullscreen, "borderlessFullscreen", false);
SETTING(bool, ForceFullscreen, "forceFullscreen", false);
SETTING(bool, ForceWindowed, "forceWindowed", false);
SETTING(unsigned, PresentWidth, "presentWidth", 0);
SETTING(unsigned, PresentHeight, "presentHeight", 0);
SETTING(bool, EnableVsync, "enableVsync", true);
SETTING(unsigned, FullscreenHz, "fullscreenHz", 60);
SETTING(int, D3DAdapterOverride, "d3dAdapterOverride", -1);