From 39be85d430491be66de804a8f8cda8d31c6bceb8 Mon Sep 17 00:00:00 2001 From: Zhiyi Zhang Date: Fri, 29 Mar 2024 16:33:59 +0800 Subject: [PATCH] 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 --- steam_helper/steam.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/steam_helper/steam.cpp b/steam_helper/steam.cpp index 59ac90c3..5240e465 100644 --- a/steam_helper/steam.cpp +++ b/steam_helper/steam.cpp @@ -188,6 +188,10 @@ static void setup_steam_registry(void) else if (!strcmp( language, "vietnamese" )) locale = "vi_VN.UTF-8"; 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) { WINE_FIXME( "Game language %s, defaulting LC_CTYPE / LC_MESSAGES to %s.\n", wine_dbgstr_a(language), locale );