Skip to content

Commit

Permalink
Gamma no reshade (#1126)
Browse files Browse the repository at this point in the history
  • Loading branch information
iOrange authored Jan 12, 2025
1 parent 64753d7 commit 7f5a927
Show file tree
Hide file tree
Showing 16 changed files with 418 additions and 613 deletions.
1 change: 0 additions & 1 deletion Common/Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ extern HMODULE m_hModule;
extern CFGDATA ConfigData;
extern bool CustomExeStrSet;
extern bool EnableCustomShaders;
extern bool ShadersReady;
extern bool IsUpdating;
extern bool m_StopThreadFlag;
extern bool AutoScaleImages;
Expand Down
6 changes: 3 additions & 3 deletions Common/Settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ DisableMaximizedWindowedMode = 1
ForceHybridEnumeration = 1

[Shaders]
; Restores the ability to adjust the brightness level in the game's options menu, regardless if playing in windowed or fullscreen mode.
RestoreBrightnessSelector = 1

; Enables subpixel morphological anti-aliasing (SMAA). Note: It is recommended to disable this if using GPU-based anti-aliasing.
EnableSMAA = 0

Expand Down Expand Up @@ -243,6 +240,9 @@ LockScreenPosition = 1
; 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.
LockSpeakerConfig = 1

; Restores the ability to adjust the brightness level in the game's options menu, regardless if playing in windowed or fullscreen mode.
RestoreBrightnessSelector = 1

[Game Fixes]
; Corrects color level values for the Catacomb's meat cold rooms.
CatacombsMeatRoomFix = 1
Expand Down
18 changes: 9 additions & 9 deletions Launcher/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,6 @@

<Section name="Shaders">

<Feature name="RestoreBrightnessSelector">
<Title>Restore brightness selector functionality</Title>
<Description>Restores the ability to adjust the brightness level in the game's options menu, regardless if playing in windowed or fullscreen mode.</Description>
<Choices type="check">
<Value name="Disable">0</Value>
<Value name="Enable" default="true">1</Value>
</Choices>
</Feature>

<Feature name="EnableSMAA">
<Title>SMAA (anti-aliasing)</Title>
<Description>Enables subpixel morphological anti-aliasing (SMAA).&#x0a;&#x0a;Note: It is recommended to disable this if using GPU-based anti-aliasing.</Description>
Expand Down Expand Up @@ -786,6 +777,15 @@
</Choices>
</Feature>

<Feature name="RestoreBrightnessSelector">
<Title>Restore brightness selector functionality</Title>
<Description>Restores the ability to adjust the brightness level in the game's options menu, regardless if playing in windowed or fullscreen mode.</Description>
<Choices type="check">
<Value name="Disable">0</Value>
<Value name="Enable" default="true">1</Value>
</Choices>
</Feature>

</Section>

</Tab>
Expand Down
18 changes: 9 additions & 9 deletions Launcher/config_br.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,6 @@

<Section name="Shaders">

<Feature name="RestoreBrightnessSelector">
<Title>Restaurar funcionalidade do regulador de brilho</Title>
<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>
<Choices type="check">
<Value name="Desativar">0</Value>
<Value name="Ativar" default="true">1</Value>
</Choices>
</Feature>

<Feature name="EnableSMAA">
<Title>SMAA (anti-aliasing)</Title>
<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>
Expand Down Expand Up @@ -786,6 +777,15 @@
</Choices>
</Feature>

<Feature name="RestoreBrightnessSelector">
<Title>Restaurar funcionalidade do regulador de brilho</Title>
<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>
<Choices type="check">
<Value name="Desativar">0</Value>
<Value name="Ativar" default="true">1</Value>
</Choices>
</Feature>

</Section>

</Tab>
Expand Down
18 changes: 9 additions & 9 deletions Launcher/config_es.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,6 @@

<Section name="Shaders">

<Feature name="RestoreBrightnessSelector">
<Title>Restaurar la funcionalidad del selector de brillo</Title>
<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>
<Choices type="check">
<Value name="No">0</Value>
<Value name="" default="true">1</Value>
</Choices>
</Feature>

<Feature name="EnableSMAA">
<Title>SMAA (suavizado de bordes)</Title>
<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>
Expand Down Expand Up @@ -786,6 +777,15 @@
</Choices>
</Feature>

<Feature name="RestoreBrightnessSelector">
<Title>Restaurar la funcionalidad del selector de brillo</Title>
<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>
<Choices type="check">
<Value name="No">0</Value>
<Value name="" default="true">1</Value>
</Choices>
</Feature>

</Section>

</Tab>
Expand Down
18 changes: 9 additions & 9 deletions Launcher/config_it.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,6 @@

<Section name="Shader">

<Feature name="RestoreBrightnessSelector">
<Title>Ripristina la funzionalità dell'opzione luminosità</Title>
<Description>Ripristina la funzionalità dell'opzione luminosità nel menu opzioni in gioco, sia in modalità finestra che schermo intero.</Description>
<Choices type="check">
<Value name="Disabilitato">0</Value>
<Value name="Abilitato" default="true">1</Value>
</Choices>
</Feature>

<Feature name="EnableSMAA">
<Title>SMAA (anti-aliasing)</Title>
<Description>Abilita anti-aliasing morfologico subpixel (SMAA).&#x0a;&#x0a;Nota: E' raccomandato disabilitare questa opzione se si sta usando un anti aliasing GPU.</Description>
Expand Down Expand Up @@ -786,6 +777,15 @@
</Choices>
</Feature>

<Feature name="RestoreBrightnessSelector">
<Title>Ripristina la funzionalità dell'opzione luminosità</Title>
<Description>Ripristina la funzionalità dell'opzione luminosità nel menu opzioni in gioco, sia in modalità finestra che schermo intero.</Description>
<Choices type="check">
<Value name="Disabilitato">0</Value>
<Value name="Abilitato" default="true">1</Value>
</Choices>
</Feature>

</Section>

</Tab>
Expand Down
Loading

0 comments on commit 7f5a927

Please sign in to comment.