It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I purchased Starcrawlers this morning, installation went fine, however when I start the game and click New Game, I get a completely black screen and nothing else. There is no music on the menu either.

I have checked through the forum in regards to this issue but there isn't much around.

When I start the game via terminal using ./start.sh I get this:

Preloaded 'ScreenSelector.so'
Preloaded 'libCSteamworks.so'
Preloaded 'libfmod.so'
Preloaded 'libfmodstudio.so'
Preloaded 'libsteam_api.so'
Unable to preload the following plugins:
ScreenSelector.so
libCSteamworks.so
libfmod.so
libfmodstudio.so
libsteam_api.so
Logging to /home/bunnyhammer/.config/unity3d/Juggernaut Games/StarCrawlers/Player.log
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.

I'm not too sure if I need to download/install anything extra to my system or if it is something else.
Post edited December 03, 2018 by Bunnyborg
This question / problem has been solved by Cat_Ladyimage
Start it with something like following script in the game's directory:
---

#!/bin/sh

cd "`dirname "$0"`"
export LANG=C
exec "./starcrawlers.x86_64"
---

(without the --- lines)

The key part here is 'export LANG=C' - apparently, Starcrawlers fail to load own assets, if the system language isn't english (because, reasons). BTW, someone need a huge kick in ass for not releasing a hotfix for it, I was fighting with this bug months ago.

In any case, don't get discouraged by this unusually unprofessional first impression - Starcrawlers is a hell lotta good game, and if devs stop being MIA and release some features that were worked on - probably, one of best released ever, done with much love and skill, counting whole thing. They're "just" need to work some on proper testing... *cough* hacking imposter/mimic *cough*

// Edit

Be sure to re-check and re-set in-game settings after you start the game "properly" - some menu entries weren't even there without assets loaded, IIRC.

And, if it fixes it for you (which it will), if possible, change thread title to something like "Fix for black screen on linux" - will be easier for others to find, as it is related to linux build per se, not only Mint, which you specified (rightly so) in the original question.
Post edited December 05, 2018 by Cat_Lady
avatar
Cat_Lady: Start it with something like following script in the game's directory:
---

#!/bin/sh

cd "`dirname "$0"`"
export LANG=C
exec "./starcrawlers.x86_64"
---

(without the --- lines)

The key part here is 'export LANG=C' - apparently, Starcrawlers fail to load own assets, if the system language isn't english (because, reasons). BTW, someone need a huge kick in ass for not releasing a hotfix for it, I was fighting with this bug months ago.

In any case, don't get discouraged by this unusually unprofessional first impression - Starcrawlers is a hell lotta good game, and if devs stop being MIA and release some features that were worked on - probably, one of best released ever, done with much love and skill, counting whole thing. They're "just" need to work some on proper testing... *cough* hacking imposter/mimic *cough*

// Edit

Be sure to re-check and re-set in-game settings after you start the game "properly" - some menu entries weren't even there without assets loaded, IIRC.

And, if it fixes it for you (which it will), if possible, change thread title to something like "Fix for black screen on linux" - will be easier for others to find, as it is related to linux build per se, not only Mint, which you specified (rightly so) in the original question.
Awesome, I shall give this a go and will let you know. :)
Hello again.

Good news, your solution does indeed work, I tested it on my laptop running Manjaro 18 and it eventually started working.

Although, I'm still not too sure how. I followed on what you mentioned with export LANG=C, the game started but no menu showed, just a complete black screen and after (roughly) 5 minutes it closed.

I then ran the script through the terminal again, and it started, music on the menus and everything, so not too sure on what happend the first time, but it decided to work and continually did so afterwards.

As you also mentioned as well in regards to resetting the video settings, you may have to move your mouse under the menu item you want to select to highlight it, the hit boxes go all over the place, but once you reach "Graphics", click "Reset Preferences" and everything should straighten out so to speak.

I can't thank you enough for this, this should hopefully work for all distros as you mentioned as well, it does seem to take its time the first time you run the game with export LANG=C but it does eventually work and will do therefore after, hopefully.

//Edit
Just for an extra test, I uninstalled the game and reinstalled it, added export LANG=C to start.sh in the StarCrawlers directory, and it worked again, this time it didn't take anywhere near as long to load again and worked straight away. I looked through the forums and someone else had this issue and offered similar advice, but at the time it didn't work for myself when using Mint, I might of been slightly impatient lol. However, someone else replied that it could be the cache data that is taking its time to load up, so another thing for people to be aware of.

It seems to take a while, but it does indeed pay off eventually, have a look at the script below or copy and paste it over your start.sh for Star Crawlers and it should eventually start correctly.

#!/bin/bash
# GOG.com (www.gog.com)
# StarCrawlers

# Initialization
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "${CURRENT_DIR}"
source support/gog_com.shlib

# Game info
GAME_NAME="$(get_gameinfo 1)"
VERSION="$(get_gameinfo 2)"
VERSION_DEV="$(get_gameinfo 3)"

# Actions
run_game() {
export LANG=C
echo "Running ${GAME_NAME}"
local bin32_name="starcrawlers.x86"
local bin64_name="starcrawlers.x86_64"
local bin_path32="$CURRENT_DIR/game"
local bin_path64="$CURRENT_DIR/game"
local lib_path32="$CURRENT_DIR/game"
local lib_path64="$CURRENT_DIR/game"
execute_game "${bin32_name}" "${bin64_name}" "${bin_path32}" "${bin_path64}" "${lib_path32}" "${lib_path64}"
}

default() {
run_game
}

# Options
define_option "-s" "--start" "start ${GAME_NAME} [default]" "run_game" "$@"

# Defaults
standard_options "$@"
Post edited December 05, 2018 by Bunnyborg