Linux version?
AlexDaniel opened this issue · comments
There was this ticket asking what's missing for a linux version, but it was closed by the submitter without any explanation.
I tried compiling the project but stumbled upon two compilation issues described in #8. I think I was able to work around them with this PR: #12
Then there was an issue with mipmap generation because the default steam installation path includes a dot (/.steam
). This PR resolves the issue: #11
The config.ini
requires these changes:
- Set
game
to/home/YOUR-USER-NAME/.steam/steam/steamapps/common/StarBreak/mvmmoclient
keep_open = yes
Then, after running python3 loader.py
it segfaults:
[INFO] SBPE loader
[INFO] symbols ok
[INFO] checking mipmaps...
[INFO] all mipmaps are up to date
[INFO] game pid 3254666
[INFO] waiting for log
[INFO] following remote.log...
2020-11-14 06:27:30,809 <init code for '_remote'> [INFO] SBPE v1.7.0
2020-11-14 06:27:30,809 <init code for '_remote'> [INFO] platform: CPython v3.8.6 64bit @ Linux-5.9.0-1-amd64-x86_64-with-glibc2.29
2020-11-14 06:27:30,832 <init code for '_remote'> [INFO] XDL_Clear: no trampoline, using fallback
2020-11-14 06:27:30,833 <init code for '_remote'> [INFO] startup ok
[INFO] game closed: code -11
[INFO] stdout:
I1114 06:27:30.727022 3254666 mvmmoclient.cc:96] Client started, built on: Nov 19 2019 @ 13:39:20
I1114 06:27:31.144340 3254666 XDL.cc:540] Local storage path: /home/alex/.local/share/Crunchy Games/StarBreak/
Setting breakpad minidump AppID = 420790
Steam_SetMinidumpSteamID: Caching Steam ID: 76561199039794770 [API loaded no]
I1114 06:27:31.399814 3254666 TextureLoader.cc:136] loading title
I1114 06:27:31.399889 3254666 TextureLoader.cc:136] loading ui
*** Aborted at 1605328051 (unix time) try "date -d @1605328051" if you are using GNU date ***
PC: @ 0x7fb4439eb997 (unknown)
*** SIGSEGV (@0x7ffd48a08870) received by PID 3254666 (TID 0x7fb441ba3740) from PID 1218480240; stack trace: ***
@ 0x7fb44263dcc0 (unknown)
@ 0x7fb4439eb997 (unknown)
@ 0x5013e5 (unknown)
@ 0x7fb441658d1d ffi_closure_alloc
@ 0x7fb441658289 ffi_closure_alloc
@ 0x7fb4416a890f (unknown)
@ 0x7fb442139797 (unknown)
@ 0x7fb442114cd3 (unknown)
@ 0x7fb44210c55a (unknown)
@ 0x7fb44210a073 (unknown)
@ 0x7fb4421390bc (unknown)
@ 0x7fb4416a6b3c (unknown)
@ 0x7fb4416a6d39 (unknown)
@ 0x7fb443b39cd2 (unknown)
@ 0x48ff6a TextureLoader::TextureRequest::run()
@ 0x4908d8 TextureLoader::loadInternal()
@ 0x490a65 TextureLoader::loadTitle()
@ 0x40a2ba main
@ 0x7fb442628cca (unknown)
@ 0x40b0e1 (unknown)
Bummer. Any ideas?
Actually, I have some ideas :) In general, it seems to be working! I think it just needs a few fixes here and there.
To get it working:
- Set
mipmaps = no
– this is the main cause of the game not starting at all. - Disable all plugins (
enabled = no
) except for these:[plugin_zoom]
[plugin_misc]
[plugin_fps]
[plugin_keybinds]
- Now the game will start just fine. You will see the fps counter and you'll be able to zoom by pressing a key of your choice.
As for other plugins, they all seem to be crashing for various reasons. Don't know why.
Current status:
- ✓ [plugin_zoom]
- ✓ [plugin_misc]
- ✓ [plugin_fps]
- ✗ [plugin_hud]
- ✗ [plugin_map]
- ✗ [plugin_extra_info] – game starts OK but crashes on
util.getClassName(plr)
when hitting Play - ✗ [plugin_noise]
- ✗ [plugin_playerlist]
- ✓ [plugin_keybinds]
- General problem: chat and other text inputs don't work (but keys for controlling the character work fine)
I have a feeling a lot of these are related. Maybe fixing getClassName
will resolve most of the issues.