Package Details: starsector 0.97a_RC11-1

Git Clone URL: https://aur.archlinux.org/starsector.git (read-only, click to copy)
Package Base: starsector
Description: Starsector (formerly "Starfarer") is an in-development open-world single-player space-combat, roleplaying, exploration, and economic game.
Upstream URL: http://fractalsoftworks.com/
Licenses: custom
Replaces: starfarer
Submitter: levyd
Maintainer: pschichtel
Last Packager: pschichtel
Votes: 21
Popularity: 0.48
First Submitted: 2015-08-10 01:58 (UTC)
Last Updated: 2024-04-14 09:13 (UTC)

Pinned Comments

pschichtel commented on 2022-12-11 15:35 (UTC) (edited on 2023-05-06 11:18 (UTC) by pschichtel)

0.95.1a_RC6-2 changed a bunch things that might need manual corrections after upgrading from earlier version:

  1. I dropped the java dependency and instead included the JRE that is bundled with the game for better compatibility
  2. I moved the user state directory ($HOME/.starsector) to the appropriate XDG directory $HOME/.local/share/starsector. the actual contents have not changed, so a simple mv "$HOME/.starsector" "$HOME/.local/share/starsector" should do the trick
  3. The start script now supports customizing JVM arguments by creating a the script $HOME/.config/starsector/startup.sh which supports two variables (bash arrays): jvm_args and program_args. So e.g. if you customized the memory settings in the start script, you might want to move the changes to either of these variables (e.g. like this: jvm_args=(-Xms1536m -Xmx1536m -Xss2048k)).

Latest Comments

« First ‹ Previous 1 2

andrewgui commented on 2021-12-11 20:37 (UTC) (edited on 2021-12-11 20:40 (UTC) by andrewgui)

Lines 4 and 5 in starsector.sh:

JAVA7=/usr/lib/jvm/$(archlinux-java status | grep -m 1 java-7 | sed 's/^ *//')/bin
[ -d ${JAVA7} ] && export PATH=${JAVA7}:${PATH}

I don't think this bit actually works. If you run starsector from a terminal, the first line of output shows:

/usr/bin/starsector: line 5: [: /usr/lib/jvm/java-7-openjdk/jre: binary operator expected

The only java I have installed on my system is the java7 that gets pulled in by this package. archlinux-java status returns " java-7-openjdk/jre (default)", and it looks like the sed removes the leading whitespace, but the " (default)" on the end of the line still needs to be handled. Since it doesn't get removed, it gets passed as a second argument to [ -d ${JAVA7} ] && export and the export doesn't actually run.

Starsector still launches though (in my case) because PATH already has /usr/lib/jvm/default/bin thanks to /etc/profile.d/jre.sh that gets installed by the java7 dependency.

Polar_Phoenix commented on 2021-10-01 14:40 (UTC)

I assume it's ~/.starsector/mods , but not sure, never used it

sTiKyt commented on 2021-09-28 08:12 (UTC)

Can't find where mods/ folder is located, any help?

Glomzubuk commented on 2021-03-30 12:22 (UTC)

The starsector.sh bundled with the new release has new RAM allocation defaults that trigger in-game warnings if not met. Theses are the new defaults: -Xms1536m -Xmx1536m -Xss2048k

t-8ch commented on 2020-01-12 20:53 (UTC)

Both source links could be switched to HTTPS.

birdspider commented on 2020-01-05 15:40 (UTC)

since this game ships its own jre wouldn't it be cleaner to install it to /opt/starsector and dropping the java-runtime dep ?

Joaqim commented on 2019-09-08 15:31 (UTC)

Can confirm that starsector can't launch on without xorg-xrandr installed.

Willrandship commented on 2019-08-03 02:28 (UTC)

This should require xorg-xrandr as a dependency. The game will not launch without it.