jlambert360 / FPM-Installer

THIS SCRIPT IS OUTDATED PLEASE USE THE APPIMAGE REPO INSTEAD.
https://github.com/jlambert360/FPM-AppImage/releases/latest
8 stars 6 forks source link

Cannot launch game due to locale error #6

Open HamletDuFromage opened 4 years ago

HamletDuFromage commented 4 years ago

Games crash when using the P+ Dolphin client, returns (note that the client seems to work fine, it only happens when launching an actual game, P+ or any other game)

terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted (core dumped)

When launching the client, it does complain about "locale 'en_US' cannot be set"

16:22:57: Cannot set locale to language "English (U.S.)".
16:22:57: locale 'en_US' cannot be set.
16:22:57: Cannot set locale to language "English (U.S.)".
16:22:57: locale 'en_US' cannot be set.

I can bypass it by manually setting export LC_ALL=C but it's not idea.

I use Arch Linux and my current locale looks like so

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME=fr_FR.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

It's not that big of an issue, but it doesn't happen with the official Dolphin-emu client.

jsj1027 commented 4 years ago

Is this still an issue on the current version, P+ v2.15?