summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/constants.ts22
1 files changed, 18 insertions, 4 deletions
diff --git a/src/utils/constants.ts b/src/utils/constants.ts
index 1f583c0..7fa6970 100644
--- a/src/utils/constants.ts
+++ b/src/utils/constants.ts
@@ -45,6 +45,20 @@ export const STYLES = {
}
};
+// Proxy DLL name options for OptiScaler injection
+export const PROXY_DLL_OPTIONS = [
+ { value: "dxgi.dll", label: "dxgi.dll (default)", hint: "Works for most DX12 games. Default." },
+ { value: "winmm.dll", label: "winmm.dll", hint: "Use when dxgi.dll conflicts with an existing game file." },
+ { value: "version.dll", label: "version.dll", hint: "Common fallback; works well with many launchers." },
+ { value: "dbghelp.dll", label: "dbghelp.dll", hint: "Use for debug helper hook paths." },
+ { value: "winhttp.dll", label: "winhttp.dll", hint: "Use when other DLL names conflict." },
+ { value: "wininet.dll", label: "wininet.dll", hint: "Use when other DLL names conflict." },
+ { value: "OptiScaler.asi", label: "OptiScaler.asi", hint: "For ASI loaders. Requires an ASI loader already installed in the game." },
+] as const;
+
+export type ProxyDllValue = typeof PROXY_DLL_OPTIONS[number]["value"];
+export const DEFAULT_PROXY_DLL: ProxyDllValue = "dxgi.dll";
+
// Common timeout values
export const TIMEOUTS = {
resultDisplay: 5000, // 5 seconds
@@ -53,14 +67,14 @@ export const TIMEOUTS = {
// Message strings
export const MESSAGES = {
- modInstalled: "✅ OptiScaler Mod Installed",
- modNotInstalled: "❌ OptiScaler Mod Not Installed",
+ modInstalled: "OptiScaler Mod Installed",
+ modNotInstalled: "OptiScaler Mod Not Installed",
installing: "Installing OptiScaler...",
installButton: "Setup OptiScaler Mod",
uninstalling: "Removing OptiScaler...",
uninstallButton: "Remove OptiScaler Mod",
- installSuccess: "✅ OptiScaler mod setup successfully!",
- uninstallSuccess: "✅ OptiScaler mod removed successfully.",
+ installSuccess: "OptiScaler mod setup successfully!",
+ uninstallSuccess: "OptiScaler mod removed successfully.",
instructionTitle: "How to Use:",
instructionText: "Click 'Copy Patch Command' or 'Copy Unpatch Command', then go to your game's properties, and paste the command into the Launch Options field.\n\nIn-game: Enable DLSS in graphics settings to unlock FSR 3.1/XeSS 2.0 in DirectX12 Games.\n\nFor extended OptiScaler options, assign a back button to a keyboard's 'Insert' key."
};