Skip to content

Commit 7f5a927

Browse files
authored
Gamma no reshade (#1126)
1 parent 64753d7 commit 7f5a927

16 files changed

+418
-613
lines changed

Common/Settings.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,6 @@ extern HMODULE m_hModule;
362362
extern CFGDATA ConfigData;
363363
extern bool CustomExeStrSet;
364364
extern bool EnableCustomShaders;
365-
extern bool ShadersReady;
366365
extern bool IsUpdating;
367366
extern bool m_StopThreadFlag;
368367
extern bool AutoScaleImages;

Common/Settings.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ DisableMaximizedWindowedMode = 1
4848
ForceHybridEnumeration = 1
4949

5050
[Shaders]
51-
; Restores the ability to adjust the brightness level in the game's options menu, regardless if playing in windowed or fullscreen mode.
52-
RestoreBrightnessSelector = 1
53-
5451
; Enables subpixel morphological anti-aliasing (SMAA). Note: It is recommended to disable this if using GPU-based anti-aliasing.
5552
EnableSMAA = 0
5653

@@ -243,6 +240,9 @@ LockScreenPosition = 1
243240
; Disables changing the Speaker Configuration feature in the game's Options > Advanced Options menu as, after Windows XP, this change must be done through Windows' Sound Control panel and can no longer be changed within applications (such as this game). If you try to change this through the game's Options menu, it will just revert back to what is being used through Windows' Sound Control panel. Note: .\sh2e\resources\r_menu_*.res must be present in the game's directory for this feature to work.
244241
LockSpeakerConfig = 1
245242

243+
; Restores the ability to adjust the brightness level in the game's options menu, regardless if playing in windowed or fullscreen mode.
244+
RestoreBrightnessSelector = 1
245+
246246
[Game Fixes]
247247
; Corrects color level values for the Catacomb's meat cold rooms.
248248
CatacombsMeatRoomFix = 1

Launcher/config.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,6 @@
152152

153153
<Section name="Shaders">
154154

155-
<Feature name="RestoreBrightnessSelector">
156-
<Title>Restore brightness selector functionality</Title>
157-
<Description>Restores the ability to adjust the brightness level in the game's options menu, regardless if playing in windowed or fullscreen mode.</Description>
158-
<Choices type="check">
159-
<Value name="Disable">0</Value>
160-
<Value name="Enable" default="true">1</Value>
161-
</Choices>
162-
</Feature>
163-
164155
<Feature name="EnableSMAA">
165156
<Title>SMAA (anti-aliasing)</Title>
166157
<Description>Enables subpixel morphological anti-aliasing (SMAA).&#x0a;&#x0a;Note: It is recommended to disable this if using GPU-based anti-aliasing.</Description>
@@ -786,6 +777,15 @@
786777
</Choices>
787778
</Feature>
788779

780+
<Feature name="RestoreBrightnessSelector">
781+
<Title>Restore brightness selector functionality</Title>
782+
<Description>Restores the ability to adjust the brightness level in the game's options menu, regardless if playing in windowed or fullscreen mode.</Description>
783+
<Choices type="check">
784+
<Value name="Disable">0</Value>
785+
<Value name="Enable" default="true">1</Value>
786+
</Choices>
787+
</Feature>
788+
789789
</Section>
790790

791791
</Tab>

Launcher/config_br.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,6 @@
152152

153153
<Section name="Shaders">
154154

155-
<Feature name="RestoreBrightnessSelector">
156-
<Title>Restaurar funcionalidade do regulador de brilho</Title>
157-
<Description>Restaura a capacidade de ajustar o nível de brilho no menu de opções do jogo, independentemente de jogar no modo janela ou tela cheia.</Description>
158-
<Choices type="check">
159-
<Value name="Desativar">0</Value>
160-
<Value name="Ativar" default="true">1</Value>
161-
</Choices>
162-
</Feature>
163-
164155
<Feature name="EnableSMAA">
165156
<Title>SMAA (anti-aliasing)</Title>
166157
<Description>Ativa o anti-aliasing (antisserrilhamento) morfológico de subpixel (SMAA).&#x0a;&#x0a;Nota: Recomenda-se desativar isso se estiver usando anti-aliasing baseado em GPU.</Description>
@@ -786,6 +777,15 @@
786777
</Choices>
787778
</Feature>
788779

780+
<Feature name="RestoreBrightnessSelector">
781+
<Title>Restaurar funcionalidade do regulador de brilho</Title>
782+
<Description>Restaura a capacidade de ajustar o nível de brilho no menu de opções do jogo, independentemente de jogar no modo janela ou tela cheia.</Description>
783+
<Choices type="check">
784+
<Value name="Desativar">0</Value>
785+
<Value name="Ativar" default="true">1</Value>
786+
</Choices>
787+
</Feature>
788+
789789
</Section>
790790

791791
</Tab>

Launcher/config_es.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,6 @@
152152

153153
<Section name="Shaders">
154154

155-
<Feature name="RestoreBrightnessSelector">
156-
<Title>Restaurar la funcionalidad del selector de brillo</Title>
157-
<Description>Restaura la capacidad de ajustar el nivel del brillo dentro del menú de opciones del juego, sin importar si estás jugando en el modo de ventana o a pantalla completa.</Description>
158-
<Choices type="check">
159-
<Value name="No">0</Value>
160-
<Value name="" default="true">1</Value>
161-
</Choices>
162-
</Feature>
163-
164155
<Feature name="EnableSMAA">
165156
<Title>SMAA (suavizado de bordes)</Title>
166157
<Description>Activa el SMAA (subpixel morphological anti-aliasing, o suavizado de bordes morfológico por subpíxeles).&#x0a;&#x0a;Nota: se recomienda desactivar esta opción si has activado un suavizado de bordes a través de la GPU.</Description>
@@ -786,6 +777,15 @@
786777
</Choices>
787778
</Feature>
788779

780+
<Feature name="RestoreBrightnessSelector">
781+
<Title>Restaurar la funcionalidad del selector de brillo</Title>
782+
<Description>Restaura la capacidad de ajustar el nivel del brillo dentro del menú de opciones del juego, sin importar si estás jugando en el modo de ventana o a pantalla completa.</Description>
783+
<Choices type="check">
784+
<Value name="No">0</Value>
785+
<Value name="" default="true">1</Value>
786+
</Choices>
787+
</Feature>
788+
789789
</Section>
790790

791791
</Tab>

Launcher/config_it.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,6 @@
152152

153153
<Section name="Shader">
154154

155-
<Feature name="RestoreBrightnessSelector">
156-
<Title>Ripristina la funzionalità dell'opzione luminosità</Title>
157-
<Description>Ripristina la funzionalità dell'opzione luminosità nel menu opzioni in gioco, sia in modalità finestra che schermo intero.</Description>
158-
<Choices type="check">
159-
<Value name="Disabilitato">0</Value>
160-
<Value name="Abilitato" default="true">1</Value>
161-
</Choices>
162-
</Feature>
163-
164155
<Feature name="EnableSMAA">
165156
<Title>SMAA (anti-aliasing)</Title>
166157
<Description>Abilita anti-aliasing morfologico subpixel (SMAA).&#x0a;&#x0a;Nota: E' raccomandato disabilitare questa opzione se si sta usando un anti aliasing GPU.</Description>
@@ -786,6 +777,15 @@
786777
</Choices>
787778
</Feature>
788779

780+
<Feature name="RestoreBrightnessSelector">
781+
<Title>Ripristina la funzionalità dell'opzione luminosità</Title>
782+
<Description>Ripristina la funzionalità dell'opzione luminosità nel menu opzioni in gioco, sia in modalità finestra che schermo intero.</Description>
783+
<Choices type="check">
784+
<Value name="Disabilitato">0</Value>
785+
<Value name="Abilitato" default="true">1</Value>
786+
</Choices>
787+
</Feature>
788+
789789
</Section>
790790

791791
</Tab>

0 commit comments

Comments
 (0)