Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Problem with mods on Linux version  (Read 1685 times)

thelupa

  • Ensign
  • *
  • Posts: 4
    • View Profile
Problem with mods on Linux version
« on: September 14, 2019, 01:20:10 AM »

How do i install mods in Linux version? Default way didn't work for me because there is no mods/ directory in Starsector/ and creating mods/ did not solve the problem. The game just don't see any mods.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24113
    • View Profile
Re: Problem with mods on Linux version
« Reply #1 on: September 14, 2019, 09:41:03 AM »

Hi - hmm. I just double-checked and there should indeed be a mods/ folder in the starsector/ folder - it's there in the zip file, on the same directory level as saves/, screenshots/, data/, and a bunch of other folders. If you didn't get that folder when you extracted the game archive, there might've been a problem with either unzipping or the original download.

But, right - generally you just put mods in the mods/ folder and it should see them. If it doesn't, it's most likely because the mod you've extracted had another folder in it, i.e. typically a mod will be named "mod_nameVERSION.zip" and will contain a folder inside it named "mod_name". If you extract it, depending on how you do it, you might get something like:

mods/mod_nameVERSION/mod_name/

Where you just want:

mods/mod_name/
Logged

thelupa

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: Problem with mods on Linux version
« Reply #2 on: September 14, 2019, 10:25:20 AM »

Solved. Manually downloaded .zip contains mods/ unlike aur package. thx :)
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24113
    • View Profile
Re: Problem with mods on Linux version
« Reply #3 on: September 14, 2019, 10:40:53 AM »

Ah, interesting - glad you got it working!
Logged

thelupa

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: Problem with mods on Linux version
« Reply #4 on: September 14, 2019, 11:32:20 AM »

upd. but in also crashes on start


Code
0    [main] INFO  com.fs.starfarer.StarfarerLauncher  - Starting Starsector 0.9.1a-RC8 launcher
1    [main] INFO  com.fs.starfarer.StarfarerLauncher  - Running in /home/retardedchild/Downloads/starsector
1    [main] INFO  com.fs.starfarer.StarfarerLauncher  - OS: Linux 4.19.72-1-lts
1    [main] INFO  com.fs.starfarer.StarfarerLauncher  - Java version: 1.7.0_79 (64-bit)
10   [main] INFO  com.fs.starfarer.settings.StarfarerSettings  - Loading settings
14   [main] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [ABSOLUTE_AND_CWD: null (data/config/settings.json)]
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/retardedchild/Downloads/starsector/native/linux/liblwjgl.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
136  [main] ERROR com.fs.starfarer.StarfarerLauncher  - java.lang.UnsatisfiedLinkError: /home/retardedchild/Downloads/starsector/native/linux/liblwjgl64.so: libjawt.so: cannot open shared object file: No such file or directory
java.lang.UnsatisfiedLinkError: /home/retardedchild/Downloads/starsector/native/linux/liblwjgl64.so: libjawt.so: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.lwjgl.Sys$1.run(Sys.java:72)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:87)
at org.lwjgl.Sys.<clinit>(Sys.java:117)
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
at com.fs.graphics.DisplayManager.Ò00000(Unknown Source)
at com.fs.starfarer.launcher.opengl.GLLauncher.detectResolutions(Unknown Source)
at com.fs.starfarer.launcher.opengl.GLLauncher.<init>(Unknown Source)
at com.fs.starfarer.launcher.opengl.GLLauncher.createUI(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.<init>(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.main(Unknown Source)
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.Sys
at com.fs.starfarer.StarfarerLauncher.<init>(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.main(Unknown Source)
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24113
    • View Profile
Re: Problem with mods on Linux version
« Reply #5 on: September 14, 2019, 11:36:44 AM »

Hmm - is this thread possibly helpful?

http://fractalsoftworks.com/forum/index.php?topic=16261.0
Logged