Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Crash in Shadow of the tomb raider definitive edition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
corrosif
Apprentice
Apprentice


Joined: 21 Dec 2003
Posts: 185
Location: France

PostPosted: Mon Nov 11, 2019 10:53 am    Post subject: Crash in Shadow of the tomb raider definitive edition Reply with quote

Hi,

I have recently acquired "Shadow of the tomb raider definitive edition", in its native GNU/Linux version from Feral Interactive.
When starting it from Steam, the launcher works fine.
But when attempting to start the real game, all I get is a black screen, then followed by an error dialog:
Code:
"Game crashed with signal SIGABRT(6)": Program Aborted."


After looking inside /tmp/dumps/, I saw the following:

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


My locale is french, and it seems that the game has some trouble with that.
As a first try to fix this, I have tried to set this from Steam "Set launch options":
Code:
LC_ALL=C %command%

... But it still doesn't work.

I can make it work however, if I edit:
Code:
steamapps/common/Shadow of the Tomb Raider/ShadowOfTheTombRaider.sh

... and near the end of this script, I replace:
Code:
${GAME_LAUNCH_PREFIX} ${GAME_SIGNAL_WRAPPER} "${GAMEROOT}/bin/${FERAL_GAME_NAME}" "$@"

by:
Code:
LC_ALL=C ${GAME_LAUNCH_PREFIX} ${GAME_SIGNAL_WRAPPER} "${GAMEROOT}/bin/${FERAL_GAME_NAME}" "$@"


Of course, the risk is to loose this fix when the game is updated.
Do you have any idea how to fix this in a better way?
Feral probably won't help, since Gentoo is not supported as a distribution.

Thanks!
_________________
S'il n'y a pas de solution, alors il n'y a pas de problème (logique Shadok).
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5030
Location: Dark side of the mood

PostPosted: Sun Dec 01, 2019 1:17 pm    Post subject: Reply with quote

Have you tried running the game from a supported distribution (which I presume is binary), with your preferred locale?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
mega_flow
n00b
n00b


Joined: 26 Jun 2016
Posts: 33
Location: Belgium, Maasmechelen

PostPosted: Sun Dec 01, 2019 6:27 pm    Post subject: Reply with quote

The game work fine on my system, my locale is dutch
do u have en_US.UTF-8 UTF-8 inside /etc/locale.gen
steam need that local. but no need for making it the default local
_________________
AMD Ryzen 5 2600X Six-Core Processor, [AMD/ATI] Ellesmere [Radeon RX 480] (rev c7)
default/linux/amd64/17.1/desktop/gnome/systemd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum