Package Details: starsector 0.95.1a_RC6-3

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: 16
Popularity: 0.78
First Submitted: 2015-08-10 01:58 (UTC)
Last Updated: 2022-12-13 22:56 (UTC)

Pinned Comments

pschichtel commented on 2022-12-11 15:35 (UTC) (edited on 2022-12-11 15:37 (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 move 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 support customizing JVM arguments by creating a the script $HOME/.config/starsector/startup.sh which supports to 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

1 2 Next › Last »

pschichtel commented on 2022-12-13 22:59 (UTC)

@cure1245 works now

cure1245 commented on 2022-12-12 05:35 (UTC)

starsector.sh is failing to pass validation in latest package.

pschichtel commented on 2022-12-11 15:35 (UTC) (edited on 2022-12-11 15:37 (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 move 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 support customizing JVM arguments by creating a the script $HOME/.config/starsector/startup.sh which supports to 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)).

ddbb07 commented on 2022-10-30 09:13 (UTC)

You should use the included java jre as there are some compatibility issues with both mods and in my testing I've found reduced stability of the base game while using a systemwide java 7 installation.

yanx commented on 2022-09-08 20:19 (UTC) (edited on 2022-09-08 20:21 (UTC) by yanx)

Can't install

$ yay -S starsector  
 -> Could not find all required packages:
    java-runtime=7 (Wanted by: starsector)

JamesMowery commented on 2021-12-14 03:29 (UTC) (edited on 2021-12-16 01:47 (UTC) by JamesMowery)

Anything we can do to help get this package updated?

Edit: Thanks for updating the package! I wasn't able to get sound working when downloading from Starsector's website and running the shell script (I feel like it wasn't detecting my default audio device or something), but when installed here through the AUR, the sound actually works! Yay! Thanks!

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