cp /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub /Applications/Starsector.app/Contents/MacOSIt may wrap around in this post because it's too long, but needs to be a single command when you type it in - that is, type/paste the whole command in one line without hitting enter.
cd /Applications/Starsector.app/Contents/MacOSAfter that's done, you should be able to run the game normally.
./JavaApplicationStub
./jre_linux/bin/java ...to:
java ...Where "..." represents the rest of the line.
... There is a new hope. ...insert star wars theme music now
...strike back...the force is strong with this one.. come to the dark side and experiance UNLIMITED POWER!!!
i have a question about factions please. I have a few mods loaded and the one problem I'm having is the factions aren't loading any ships or items on there stations only a few stations load things and I'm not sure what's wrong.
I am having issues running the starsector plus mod. I have changed to 64 bit java and have memory set to 5MB (-Xms5120m -Xmx5120m) as described in the Out of Memory? Use 64-bit Java! Instructions Inside + Video forum.
the game starts up, but displays improperly on the main menu. it works just fine when i actually start a game, until i get into a battle. the tactical map works fine, but when i try to pilot, the ship graphics are not there, and there are afterimages of the aiming and flux/hull HUD.
I am using
Windows 10
Intel CORE i7
the graphics drivers are up to date
the vanilla game ran properly with 32 bit java.
I'm having the same issue and curious to know how I can resolve this for good. Any help will be greatly appreciated. I Recently purchased the game and haven't been able to play because of the graphical issues I'm having.
Hi, I just installed the game but when I went to run the game, it loaded up and immediately crashed, saying "fatal:null" after checking my log, I went to the end where it said "How much ram do you have and have you changed the VAMPRAMS file at all?
220345 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain - java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
at sun.misc.Unsafe.allocateMemory(Native Method)
at java.nio.DirectByteBuffer.<init>(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at org.lwjgl.BufferUtils.createByteBuffer(BufferUtils.java:60)
at com.fs.starfarer.util.D.Ò00000(Unknown Source)
at com.fs.starfarer.loading.ResourceLoaderState.init(Unknown Source)
at com.fs.state.AppDriver.begin(Unknown Source)
at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)"
I am using
Windows 10
Intel CORE i7
the graphics drivers are up to date
64xbit Java
Any help is appreciated
0 [main] INFO com.fs.starfarer.StarfarerLauncher - Starting Starsector 0.8a-RC19 launcher
1 [main] INFO com.fs.starfarer.StarfarerLauncher - Running in D:\Games\Starsector\starsector-core
1 [main] INFO com.fs.starfarer.StarfarerLauncher - OS: Windows 8.1 6.3
2 [main] INFO com.fs.starfarer.StarfarerLauncher - Java version: 1.7.0_80 (64-bit)
44 [main] INFO com.fs.starfarer.settings.StarfarerSettings - Loading settings
59 [main] INFO com.fs.starfarer.loading.LoadingUtils - Loading JSON from [ABSOLUTE_AND_CWD: null (data/config/settings.json)]
487 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 320x240, 48Hz, 32bpp
488 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 320x200, 48Hz, 32bpp
488 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 400x300, 48Hz, 32bpp
488 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 512x384, 48Hz, 32bpp
489 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 640x480, 48Hz, 32bpp
489 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 640x400, 48Hz, 32bpp
489 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 800x600, 48Hz, 32bpp
490 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1024x768, 48Hz, 32bpp
490 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1152x864, 48Hz, 32bpp
490 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1280x768, 48Hz, 32bpp
490 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1280x800, 48Hz, 32bpp
491 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1280x720, 48Hz, 32bpp
491 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1280x600, 48Hz, 32bpp
491 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1280x960, 48Hz, 32bpp
491 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1280x1024, 48Hz, 32bpp
491 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1360x768, 48Hz, 32bpp
492 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1366x768, 48Hz, 32bpp
492 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1400x1050, 48Hz, 32bpp
492 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1440x900, 48Hz, 32bpp
492 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1600x1200, 48Hz, 32bpp
493 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1600x900, 48Hz, 32bpp
493 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1680x1050, 48Hz, 32bpp
493 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1792x1344, 48Hz, 32bpp
493 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1856x1392, 48Hz, 32bpp
494 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1920x1440, 48Hz, 32bpp
494 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1920x1080, 48Hz, 32bpp
494 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 1920x1200, 48Hz, 32bpp
494 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 2048x1536, 48Hz, 32bpp
494 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 2048x1152, 48Hz, 32bpp
495 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Found display mode: 3840x2160, 48Hz, 32bpp
495 [main] INFO com.fs.starfarer.launcher.opengl.GLLauncher - Assuming native monitor resolution is 3840x2160
970 [Thread-2] INFO com.fs.graphics.L - Using refresh rate:48
1366 [Thread-2] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/ui/launcher_bg.jpg (using cast)
1403 [Thread-2] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/ui/launch_button_bg.png (using cast)
1415 [Thread-2] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/ui/play_button0.png (using cast)
1423 [Thread-2] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/ui/play_button1.png (using cast)
1430 [Thread-2] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/ui/buttons/toggleA20x_on.png (using cast)
1439 [Thread-2] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/ui/buttons/toggleA20x_off.png (using cast)
1444 [Thread-2] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/ui/buttons/arrow_down.png (using cast)
1448 [Thread-2] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/fx/scanline11.png (using cast)
1490 [Thread-2] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/fonts/orbitron24aabold_0.png (using cast)
1574 [Thread-2] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/fonts/orbitron20aa_0.png (using cast)
1647 [Thread-2] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/fonts/insignia15LTaa_0.png (using cast)
1725 [Thread-2] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/fonts/orbitron12_0.png (using cast)
4019 [Thread-4] INFO com.fs.starfarer.StarfarerLauncher - Running vanilla game with no mods.
4019 [Thread-4] INFO com.fs.starfarer.settings.StarfarerSettings - Loading settings
4020 [Thread-4] INFO com.fs.starfarer.loading.LoadingUtils - Loading JSON from [ABSOLUTE_AND_CWD: null (data/config/settings.json)]
4313 [Thread-4] INFO com.fs.graphics.L - Using refresh rate:48
4481 [Thread-4] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/particleline32ln.png (using cast)
4485 [Thread-4] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/particleline32sq.png (using cast)
4505 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain - java.lang.NullPointerException
java.lang.NullPointerException
at com.fs.starfarer.campaign.accidents.A.super(Unknown Source)
at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Hi,
where is starsector error log? After enabling some mods i cannot run the game, i dont know where to find the log to seek help on my problem. (Win 10)
Hi all!
New guy here! After playing for quite some hours (and adding a few mods) I got this error while traveling around:
...
If someone can help me out I thank you in advance...
Hi all!
New guy here! After playing for quite some hours (and adding a few mods) I got this error while traveling around:
...
If someone can help me out I thank you in advance...
This is caused by HMI. May I ask if you had HMI activated before starting a new game? It's highly likely this error is caused by adding HMI, then loading a previous save which previously did not have this mod active. Further, make sure that the mod is updated to the current version as well. Please tell me if the problem persists.
the next update for Industrial.Evolution will not be save compatible.
the next update for Industrial.Evolution will not be save compatible.Jokes on you, I suffer from World Restart Syndrome anyway! Haha ha ha wah...
(The log.3 file is actually the oldest logfile; it rotates through a number of them once they reach a certain size - .log is the current one.)
So i install Pop OS on my laptop it's a Linux distro similar to Ubuntu. How do I execute the game? I click on the .bat file, nothing happen, it's open up text app for some reason. I'm new to Linux. Please help.Open console, cd to your Starsector folder, and run ./starsector.sh.
Recently downloaded the new patch but decided I wanted to continue playing my old save with mods, so I re installed the previous release but now whenever I start the game I get "ship hull spec [drg_inequallity]"Do a clean install of your mods (not sure which one has the Inequality ship).
Wondering if anyone could help me out.
starsector.log:
9400 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain - java.lang.RuntimeException: Ship hull spec [drg_inequality] not found!
java.lang.RuntimeException: Ship hull spec [drg_inequality] not found!
at com.fs.starfarer.loading.M.o00000(Unknown Source)
at com.fs.starfarer.loading.SpecStore.o00000(Unknown Source)
at com.fs.starfarer.loading.SpecStore.o00000(Unknown Source)
at com.fs.starfarer.loading.ShipHullSpecLoader.Ò00000(Unknown Source)
at com.fs.starfarer.loading.ShipHullSpecLoader.Object(Unknown Source)
at com.fs.starfarer.loading.SpecStore.ÒO0000(Unknown Source)
at com.fs.starfarer.loading.ResourceLoaderState.init(Unknown Source)
at com.fs.state.AppDriver.begin(Unknown Source)
at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
How do you fix a missing JSONArray[9] *missing JSONArray by 9*, is it something related to the vmparams because i did checked the part of it for Xms/Xmx *do i change any numbers for the Xss as well?*, and should i check the starsector.bat 32 as well while I'm at it?You don't need to change the Xss or the .bat. That error sounds like something with a mod (or with modified core game files if you did that).
It just started to do this to me just a few hours ago today with my game.
D:\Starsector\starsector-core>starsector.bat
D:\Starsector\starsector-core>..\jre\bin\java.exe -Djava.library.path=native\win
dows -Xms1536m -Xmx1536m -Xss2048k -Dcom.fs.starfarer.settings.paths.logs=. -Dco
m.fs.starfarer.settings.paths.saves=../saves -Dcom.fs.starfarer.settings.paths.s
creenshots=../screenshots -Dcom.fs.starfarer.settings.paths.mods=../mods -classp
ath janino.jar;commons-compiler.jar;commons-compiler-jdk.jar;starfarer.res.jar;s
tarfarer.api.jar;starfarer_obf.jar;jogg-0.0.7.jar;jorbis-0.0.15.jar;json.jar;lwj
gl.jar;lwjgl_util_applet.jar;jinput.jar;lwjgl_test.jar;log4j-1.2.9.jar;lwjgl_uti
l.jar;fs.sound_obf.jar;fs.common_obf.jar;xstream-1.4.10.jar com.fs.starfarer.Sta
rfarerLauncher
Picked up _JAVA_OPTIONS: -Xmx256M
Error occurred during initialization of VM
Incompatible minimum and maximum heap sizes specified
Press any key to continue . . .
Just bought the game, cannot launch, no logs eitherThe problem is this part: _JAVA_OPTIONS: -Xmx256M
First time here, just got my copy after a friend showed me how epic this game is. I've spent about five hours trouble shooting but my game will not fully start. I entered my key no problem, and i get the pop up for my resolution. When I click "Play Star Sector" the game dies and stops running. I have tried hunting down environment variables and deleting _JAVA_OPTIONS, but I don't that listed in environment variables. I have also tried running through command prompt. Before I send the command line details my specs areA driver rollback has been suggested for some people in such cases, IIRC. But to be sure what the problem is (for CTDs where there's no error in the log), look for a file whose name starts with hs_err_pid in the same directory as the log and post that.
86 bit windows
Ryzen 7 3600x
Radeon 6700XT (WITH UP TO DATE DRIVERS)
Hi, although I've seen my problem described in one of these threads here already it didn't seem to help at all, so I hope one of you can help me here.Hi! Try uncommenting and setting the resolutionOverride setting in Starsector/data/config/settings.json
When I launch the game (I use Ubuntu, so I do it via the terminal) the launcher shows up just fine, but then I already notice the first hiccup - namely that only three display resolutions are shown to me (like 1280x800 up to 1440x900) and regardless of what I choose to try to start the game... it crashes. It shows me a "Fatal Error: 1"
Looking up other threads the solution was installing xrandr or some variation of it and it would solve the problem but that's not the case for me. The only solution for my issue so far was turning off my other monitor, as I found that the issue for some other people stemmed from having multiple monitors on.
I was wondering if there is a more convenient solution I can try that doesn't involve turning off my other monitor.
Thanks in advance and cheers!
new forum user here. I've been enjoying the new update and recently got a new machine to run the game on. However, I've been entirely unable to even so much as boot the game. Upon clicking the play starsector button on the launcher, I receive the following error message:If you've already tried everything under "The game crashes when run with sound on, "Fatal: null", "Error in sound initialization", "org.lqjgl.openal.AL10.nalDistanceModel(I)V"" heading in the opening post I'm not sure what more we can suggest.
"Error in sound initialization, proceeding with sound disabled.
org.lwjgl.openal.AL10.nalDistanceModel(I)V"
Hitting "OK" allows the game to proceed as normal, bringing up the splash screen and loading bar. However, before the main menu can open, the game throws the following error and suffers a CTD.
"Fatal: org.lwjgl.openal.AL10.nalListenerfv(IJ)V
Check starsector.log for more info."
I have tried everything I could think of to fix this issue, including multiple reinstalls and straight up copying a functioning installation of the game from my laptop. Nothing works.
Does anyone have any ideas on how to fix this?
4105 [Thread-3] FATAL com.fs.starfarer.launcher.opengl.GLLauncher - java.lang.ArrayIndexOutOfBoundsException: 1
java.lang.ArrayIndexOutOfBoundsException: 1
at com.fs.starfarer.StarfarerLauncher.actionPerformed(Unknown Source)
at com.fs.starfarer.launcher.opengl.GLLauncher$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
$glxinfo | grep "OpenGL version"
OpenGL version string: 4.3 (Compatibility Profile) Mesa 23.0.4-0ubuntu1~22.04.1
new forum user here. I've been enjoying the new update and recently got a new machine to run the game on. However, I've been entirely unable to even so much as boot the game. Upon clicking the play starsector button on the launcher, I receive the following error message:If you've already tried everything under "The game crashes when run with sound on, "Fatal: null", "Error in sound initialization", "org.lqjgl.openal.AL10.nalDistanceModel(I)V"" heading in the opening post I'm not sure what more we can suggest.
"Error in sound initialization, proceeding with sound disabled.
org.lwjgl.openal.AL10.nalDistanceModel(I)V"
Hitting "OK" allows the game to proceed as normal, bringing up the splash screen and loading bar. However, before the main menu can open, the game throws the following error and suffers a CTD.
"Fatal: org.lwjgl.openal.AL10.nalListenerfv(IJ)V
Check starsector.log for more info."
I have tried everything I could think of to fix this issue, including multiple reinstalls and straight up copying a functioning installation of the game from my laptop. Nothing works.
Does anyone have any ideas on how to fix this?
I'm told you may need to reduce your RAM allocation, and/or run with fewer mods.