You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I am on NixOS 24.11 and using the distributed client executable from the repo.
I found that I cannot gracefully restart the game by clicking the "Restart" button that appears after I tick the fullscreen mode option and vice versa.
Once the game exits, it prints Returning from relaunching game, exiting this process on the console and doesn't actually restart the game.
With lldb and a breakpoint at minorGems/game/platforms/SDL/gameSDL.cpp:5550:
here getLinuxAppName() prints OneLifeApp which I believe should be OneLife, the actual executable name instead.
I have to compile the game from the source and apply my workaround patch below to make the restarting function work:
diff --git a/gameSource/game.cpp b/gameSource/game.cpp
index db6b99c8..2f0d6b66 100644
--- a/gameSource/game.cpp+++ b/gameSource/game.cpp@@ -336,7 +336,7 @@ int getAppVersion() {
const char *getLinuxAppName() {
// no dir-name conflict here because we're using all caps for app name
- return "OneLifeApp";+ return getAppName();
}
I don't know if this bug affects other Linux users or if is it only on my NixOS system.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi. I am on NixOS 24.11 and using the distributed client executable from the repo.
I found that I cannot gracefully restart the game by clicking the "Restart" button that appears after I tick the fullscreen mode option and vice versa.
Once the game exits, it prints
Returning from relaunching game, exiting this process
on the console and doesn't actually restart the game.With lldb and a breakpoint at
minorGems/game/platforms/SDL/gameSDL.cpp:5550
:here
getLinuxAppName()
printsOneLifeApp
which I believe should beOneLife
, the actual executable name instead.I have to compile the game from the source and apply my workaround patch below to make the restarting function work:
I don't know if this bug affects other Linux users or if is it only on my NixOS system.
Thanks.
The text was updated successfully, but these errors were encountered: