From 68ae1eed600ae0e257e85d76cecc1ce40dc83c4c Mon Sep 17 00:00:00 2001 From: Oleg Skutte <00.00.oleg.00.00@gmail.com> Date: Sat, 19 Nov 2022 21:55:30 +0300 Subject: [PATCH 1/2] Add incremental GC setting from OWML --- app/components/Settings/SettingsPage.tsx | 5 +++++ app/globals.d.ts | 1 + app/helpers/static-text.ts | 5 +++++ 3 files changed, 11 insertions(+) diff --git a/app/components/Settings/SettingsPage.tsx b/app/components/Settings/SettingsPage.tsx index c1c45f1..117f87d 100644 --- a/app/components/Settings/SettingsPage.tsx +++ b/app/components/Settings/SettingsPage.tsx @@ -76,6 +76,11 @@ const settingsInputs: readonly SettingsInput[] = [ type: SettingType.Switch, isOwmlSetting: true, }, + { + key: 'incrementalGC', + type: SettingType.Switch, + isOwmlSetting: true, + }, { key: 'disableModWarnings', type: SettingType.SwitchList, diff --git a/app/globals.d.ts b/app/globals.d.ts index cfae0ad..871f8d9 100644 --- a/app/globals.d.ts +++ b/app/globals.d.ts @@ -80,4 +80,5 @@ type OwmlSettings = { gamePath?: string; debugMode?: boolean; forceExe?: boolean; + incrementalGC?: boolean; }; diff --git a/app/helpers/static-text.ts b/app/helpers/static-text.ts index b8cdba9..306abfc 100644 --- a/app/helpers/static-text.ts +++ b/app/helpers/static-text.ts @@ -133,6 +133,11 @@ export const settingsText = { tooltip: 'If enabled, launches game exe instead of launching via Steam / Epic. Needs to be disabled for DLC to work via the Epic store.', }, + incrementalGC: { + label: 'Use Incremental GC', + tooltip: + 'If enabled, forces the game to use Unity\'s incremental garbage collector. Can reduce lag spikes in some situations.', + }, logLinesLimit: { label: 'Log lines per page', tooltip: From c99060bf0299c12b5bbd0808780eb4f96b9bd754 Mon Sep 17 00:00:00 2001 From: Noah Pilarski Date: Sat, 19 Nov 2022 16:37:39 -0500 Subject: [PATCH 2/2] Bump version --- app/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/package.json b/app/package.json index 2bc71d3..4effe44 100644 --- a/app/package.json +++ b/app/package.json @@ -1,7 +1,7 @@ { "name": "ow-mod-manager", "productName": "OuterWildsModManager", - "version": "1.16.2", + "version": "1.16.3", "description": "Outer Wilds Mod Manager", "main": "./main.prod.js", "author": {