Skip to content

Commit 91da303

Browse files
committed
Update code to prepare for release
1 parent 26bf74b commit 91da303

File tree

9 files changed

+16
-33
lines changed

9 files changed

+16
-33
lines changed

Common/Settings.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,11 @@ void Parse(char* str, NV NameValueCallback, void* lpParam)
247247

248248
void UpdateConfigDefaults()
249249
{
250+
// Temporaroly disable settings
251+
CRTShader = 0;
252+
EnableDebugOverlay = 0;
253+
EnableInfoOverlay = 0;
254+
250255
// Set CRT shader
251256
switch (CRTShader)
252257
{

Common/Settings.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
visit(SpecificSoundLoopFix, true) \
9696
visit(SpecularFix, true) \
9797
visit(SteamCrashFix, true) \
98-
visit(UnlockJapLang, true) \
98+
visit(UnlockJapLang, false) \
9999
visit(UseBestGraphics, true) \
100100
visit(UseCustomExeStr, true) \
101101
visit(UseCustomFonts, true) \
@@ -168,6 +168,7 @@
168168
visit(AnisotropicFiltering) \
169169
visit(AntiAliasing) \
170170
visit(AudioFadeOutDelayMS) \
171+
visit(CRTShader) \
171172
visit(CustomFontCharHeight) \
172173
visit(CustomFontCharWidth) \
173174
visit(CustomFontCol) \

Common/Settings.ini

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ RestoreBrightnessSelector = 1
4848
; Enables subpixel morphological anti-aliasing (SMAA). Note: It is recommended to disable this if using GPU-based anti-aliasing.
4949
EnableSMAA = 0
5050

51-
; Enables shaders that simulate what the game would look like on a CRT television. These shaders look more accurate at lower resolutions. For the best CRT nostalgic experience, play the game in a 4:3 aspect ratio. Note: It is not recommended to enable this option if you are streaming the game, as the CRT effect may not display correctly to your viewers. It is also not recommended to enable this option if you have a low-end computer system.
52-
CRTShader = 0
53-
5451
[Images]
5552
; Allows higher quality, upscaled images to be used. Must be enabled if using the project's Image Enhancement Pack.
5653
EnableTexAddrHack = 1
@@ -149,7 +146,7 @@ MainMenuTitlePerLang = 1
149146
UseCustomExeStr = 1
150147

151148
; Restores the ability to select Japanese as a language option through the game's Options menu. Note: It is recommended to keep this disabled for now, as not all Japanese characters are currently supported.
152-
UnlockJapLang = 1
149+
UnlockJapLang = 0
153150

154151
[Menu Fixes]
155152
; Fixes the mouse hitboxes for the game's main menu selections for the North American version 1.1 executable.

Launcher/config.xml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -152,16 +152,6 @@
152152
</Choices>
153153
</Feature>
154154

155-
<Feature name="CRTShader">
156-
<Title>Simulate a CRT Screen</Title>
157-
<Description>Enables shaders that simulate what the game would look like on a CRT television. These shaders look more accurate at lower resolutions. For the best CRT nostalgic experience, play the game in a 4:3 aspect ratio.&#x0a;&#x0a;Note: It is not recommended to enable this option if you are streaming the game, as the CRT effect may not display correctly to your viewers. It is also not recommended to enable this option if you have a low-end computer system.</Description>
158-
<Choices type="list">
159-
<Value name="Disabled" default="true">0</Value>
160-
<Value name="Enabled">1</Value>
161-
<Value name="Enabled with Curvature">2</Value>
162-
</Choices>
163-
</Feature>
164-
165155
</Section>
166156

167157
</Tab>
@@ -494,8 +484,8 @@
494484
<Title>Unlock Japanese language option</Title>
495485
<Description>Restores the ability to select Japanese as a language option through the game's Options menu.&#x0a;&#x0a;Note: It is recommended to keep this disabled for now, as not all Japanese characters are currently supported.</Description>
496486
<Choices type="check">
497-
<Value name="Disable">0</Value>
498-
<Value name="Enable" default="true">1</Value>
487+
<Value name="Disable" default="true">0</Value>
488+
<Value name="Enable">1</Value>
499489
</Choices>
500490
</Feature>
501491

Launcher/config_es.xml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -152,16 +152,6 @@
152152
</Choices>
153153
</Feature>
154154

155-
<Feature name="CRTShader">
156-
<Title>Simulate a CRT Screen</Title>
157-
<Description>Enables shaders that simulate what the game would look like on a CRT television. These shaders look more accurate at lower resolutions. For the best CRT nostalgic experience, play the game in a 4:3 aspect ratio.&#x0a;&#x0a;Note: It is not recommended to enable this option if you are streaming the game, as the CRT effect may not display correctly to your viewers. It is also not recommended to enable this option if you have a low-end computer system.</Description>
158-
<Choices type="list">
159-
<Value name="Disabled" default="true">0</Value>
160-
<Value name="Enabled">1</Value>
161-
<Value name="Enabled with Curvature">2</Value>
162-
</Choices>
163-
</Feature>
164-
165155
</Section>
166156

167157
</Tab>
@@ -494,8 +484,8 @@
494484
<Title>Desbloquear la opción del idioma japonés</Title>
495485
<Description>Restaura la capacidad de seleccionar el idioma japonés en el menú de Opciones del juego.&#x0a;&#x0a;Nota: actualmente se recomienda mantener esta opción desactivada, ya que no todos los caracteres japoneses están soportados.</Description>
496486
<Choices type="check">
497-
<Value name="Desactivado">0</Value>
498-
<Value name="Activado" default="true">1</Value>
487+
<Value name="Desactivado" default="true">0</Value>
488+
<Value name="Activado">1</Value>
499489
</Choices>
500490
</Feature>
501491

Resources/BuildNo.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define BUILD_NUMBER 2024
1+
#define BUILD_NUMBER 2025

Wrappers/d3d8to9.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void EnableD3d8to9()
6868
}
6969
else
7070
{
71-
p_Direct3DCreate9 = rs_Direct3DCreate9;
71+
p_Direct3DCreate9 = Direct3DCreate9Wrapper;
7272
}
7373
}
7474

Wrappers/d3d9/d3d9wrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
Direct3DCreate9Proc m_pDirect3DCreate9 = nullptr;
2323

24-
IDirect3D9 *WINAPI rs_Direct3DCreate9(UINT SDKVersion)
24+
IDirect3D9 *WINAPI Direct3DCreate9Wrapper(UINT SDKVersion)
2525
{
2626
if (!m_pDirect3DCreate9)
2727
{

Wrappers/d3d9/d3d9wrapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class m_IDirect3DSwapChain9;
1515

1616
typedef IDirect3D9 *(WINAPI *Direct3DCreate9Proc)(UINT);
1717

18-
IDirect3D9 *WINAPI rs_Direct3DCreate9(UINT SDKVersion);
18+
IDirect3D9 *WINAPI Direct3DCreate9Wrapper(UINT SDKVersion);
1919

2020
#include "IDirect3D9.h"
2121
#include "IDirect3DDevice9.h"

0 commit comments

Comments
 (0)