HACK: steam.exe: Force Japanese locale for Granado Espada Japan.

Granado Espada Japan (1219160) launcher needs Japanese locale to display correctly. Otherwise, it
displays gibberish, even on Windows.

CW-Bug-Id: #23597
This commit is contained in:
Zhiyi Zhang 2024-03-29 16:33:59 +08:00 committed by Arkadiusz Hiler
parent b80ceddeed
commit 692e07d139

View file

@ -188,6 +188,10 @@ static void setup_steam_registry(void)
else if (!strcmp( language, "vietnamese" )) locale = "vi_VN.UTF-8"; else if (!strcmp( language, "vietnamese" )) locale = "vi_VN.UTF-8";
else WINE_FIXME( "Unsupported game language %s\n", wine_dbgstr_a(language) ); else WINE_FIXME( "Unsupported game language %s\n", wine_dbgstr_a(language) );
/* HACK: Bug 23597 Granado Espada Japan (1219160) launcher needs Japanese locale to display correctly */
if (appid == 1219160)
locale = "ja_JP.UTF-8";
if (locale) if (locale)
{ {
WINE_FIXME( "Game language %s, defaulting LC_CTYPE / LC_MESSAGES to %s.\n", wine_dbgstr_a(language), locale ); WINE_FIXME( "Game language %s, defaulting LC_CTYPE / LC_MESSAGES to %s.\n", wine_dbgstr_a(language), locale );