Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - React52

Pages: [1] 2
1
Heyo just returning to the game after..oh god 3 years? I did mod the game back then, but didn't run into this many problems. So if you're suffering from the aforementioned issues, this is for you. I'm only making this as someone who uses mods, not creates them. The included issues are Permgen Crashes/Eventual FPS slow down

Let's go over the things I had to set to make this game work properly with a ridiculous amount of mods. Let's talk about vmparams, It's been noted in multiple places to change the XMS for memory.

So people recommend changing it to 8 gigs or -Xms8000m -Xmx8000m, personally I'm crazy and have it set to 14000 because I have 16 gb's of ram. It's not recommended doing this because it may cause instability, but I haven't experienced this.

Eventually you'll run into a crash with an error called Permgen, or something like that. So now you need another command. This is from another thread

It's definitely correlation - music stuff is on another thread so it's just sprinkled in the log wherever.

You could try adding this to your vmparams:
-XX:PermSize=512m -XX:MaxPermSize=512m

That may resolve the issue, unless it's somehow caused by a leak, in which case it might only delay it instead, or even simply cause it to manifest differently.

You need -XX:PermSize=512 naturally I put XX:PermSize=4000m -XX:MaxPermSize=4000m probably not recommended, but it works for me, but try 512m first. Be careful putting this in your vmparams, if you mess up the - the entire game will fail to start. So this is what mine looks like

Xms14000m -Xmx14000m -Xss2048k -XX:PermSize=4000m -XX:MaxPermSize=4000m -etc etc

..Please don't actually copy that, unless you really want to. I don't know if such high values will cause issues, it's been fine for me and I just wanted the game to keep running..forever. Or at-least until I'm too tired, which, worked.

This isn't over either..there's more. Eventually you may run into the game slowing down after..a big fleet war. The FPS will get shredded, so we need another solution. Thankfully someone can help us with that.

Quote
Mini-guide: Switching to Java 8 to prevent the post-battle slowdown
Not officially supported, may cause unrelated issues, do at your own risk and please report back if you do notice it causing problems.

Symptoms
- After some time playing and immediately after a battle, the game FPS will plummet (eg from 60 to 15-25) and usually only go back to normal after a game restart.
- Saving/loading takes 5x longer than usual.
- Using at least one mod (that adds new sprites? incl. GraphicsLib).

Fix (slow down and read this part carefully)
1. Go to your starsector install and rename the jre folder to jre7.
2. Download either of the following (both are the same JRE 8 v271) (Mac/Linux users look below for download link):
    - (72 MB .zip) https://drive.google.com/file/d/1CGRtnv5hIGCtcdlvZXFO0F58VXqYUo6x/view?usp=sharing
    - (48 MB .7z) https://drive.google.com/file/d/155Lk0ml9AUGp5NwtTZGpdu7e7Ehdyeth/view?usp=sharing
3. Extract that into your game folder so you have a folder named jre. You'll now have both jre (with java 8 ) and jre7.
4. Make sure that your starsector/starsector-core/data/config/settings.json allowAnyJavaVersion is set to true. Then launch the game as normal.


Potential issues
- Game+launcher is zoomed in/off-center.
    Fix: Right-click Starsector, Properties, Compatibility, Change high DPI settings, tick checkbox for "Override...Scaling performed by Application"
    Thanks to Normal Dude for the fix.

* Mac/Linux JRE 8 downloads:
Linux: https://drive.google.com/file/d/1TRHjle6-MOpn1zJhtSA9yvwXIQip_F_n/view?usp=sharing
MacOS: https://drive.google.com/file/d/1PW9v_CL719buKHe69GaN9fCXcPIqDOIi/view?usp=sharing


I have no idea who this quote comes from..but that did fix the eventual FPS drops that I had. And now I can finally run star sector with a crazy ton of mods, with no crashes and as long as I want. Enjoy huge fleet battles without my FPS being tanked soon after. I wanted to make a thread like this, because these fixes were on multiple threads, and never in one place. Sure the memory tweaks are public knowledge, but the rest of this..a bit hard to find so it will be easier if they're in one place. This java 8 edition fix fixed all of that though, saving is fluid every time, no fps drops, just able to enjoy the game.

Apparently these fixes can cause unforeseen consequences, but I am using them and have had 0 issues..so idk? use at your own discretion? 

Also as a note, I have an I7-7700k with an RTX 2070 Super so I can run with a ridiculous amount of mods. Only really do this if you know your pc can handle it.

There is the ClearCommands mod which may help you if you have performance issues, but those performance issues may be tied to the version of java you're using. I tried ClearCommands while my fps was getting destroyed, didn't work, so the java issue is a completely separate issue from this. I've never had any performance issues in the game besides the java issue.

Using all these fixes worked for me, have resulted in no more crashes, can play game for long time, me happy. :) I don't know if there is a memory leak, and if eventually, this would lead your game to crash. I haven't ran into that, last night I played for hours, huge ship battles, everything you could possibly think of to crash, just smooth like butter after doing all of this. I can't guarantee that this will work for everyone, it depends on your hardware. You may still have performance issues if simply your pc can't handle the game with so many mods. If you have a beast pc, which It's 2022, I'd imagine a-lot of you do..probably, give it a go.








2
Mods / Re: [0.9.1a] Neutrino Corp. (v. 1.86-RC3)
« on: April 21, 2022, 03:17:00 PM »
am I the only one that actually prefers the older smoother style? I know that looks like it fits into the game more but the smoother ships give a good aesthetic as well.

feel free to make your own private skins if you can't handle the swag ;)

..no offense or anything but if I wanted vanilla looking ships, I would just play..vanilla. But no we are here for these beautifully created ships, they really don't need change. Nothings stopping you, but this is just a view from a casual player of star sector. I wonder if anyone agrees too, probably, but will never say it. The work of these modders are amazing, they made what they wanted too. These ships had their unique marks, and to be stripped of them just to look like vanilla ships..is a shame. :(

3
Mods / Re: [0.95.1a] Console Commands v2021.12.25
« on: April 20, 2022, 10:51:47 PM »
is there any way that I can just pre-load commands? so I don't have to put them in every time.

4
Mods / Re: [0.9.1a] Neutrino Corp. (v. 1.86-RC3)
« on: April 20, 2022, 12:57:51 PM »
am I the only one that actually prefers the older smoother style? I know that looks like it fits into the game more but the smoother ships give a good aesthetic as well.

5
Mods / Re: [0.9.1a] Neutrino Corp. (v. 1.86-RC3)
« on: April 19, 2022, 02:30:07 PM »
..if I use this out dated version of this mod..will my game die?

6
General Discussion / Diable avionics mod doesn't give a paying salary?
« on: September 15, 2019, 05:10:50 PM »
I did a new game starting out with them, but I have no salary. This mod/faction doesn't pay a monthly salary?

7
Mods / Re: [0.7.1a] Hiigaran Descendants v1.1.0
« on: September 15, 2019, 03:51:05 PM »
it makes me sad that this amazing mod was never updated  :(

8
yeah definitely out dated, can't use it without the game giving an error on load.

9
Seeker Ship Pack has a couple of pretty big ships for the Pirates and the Remnants. The former being capturable.

download:https://bitbucket.org/CodingTartiflette/seeker-mod/downloads/SEEKER_UC_v0.20DEV31b.7z

Spoiler
[close]

Ship and Weapon Pack also has a massive special bounty

uh..isn't this mod out-dated? I don't think I can use it

10
Seeker Ship Pack has a couple of pretty big ships for the Pirates and the Remnants. The former being capturable.

download:https://bitbucket.org/CodingTartiflette/seeker-mod/downloads/SEEKER_UC_v0.20DEV31b.7z

Spoiler
[close]

Ship and Weapon Pack also has a massive special bounty

that's badass

11
welp that was weird the search bar popped this mod up as 0.9.1a

12
why does the mod version in the topic say 0.9.1a when this mod is out dated

13
Thanks for the suggestions I just have a weird un-satisfied feeling with how big the ships are. I want just really want bigger. but not just for me. I'd want Ai to have access to these large ships too, and then there can be glorious super ship satisfying battles.



BIGGERRRR

14
General Discussion / Are there any mods that add ridiculously huge ships?
« on: September 12, 2019, 08:40:51 PM »
I do mean bigger than capital ships . I feel like capital ships aren't big enough (I expected capital ships to be at-least 3x bigger than every other ship) so I am wondering if there is a mod or mods that add really really huge ships that cost probably millions to buy.


15
Open "\Starsector\starsector-core\data\config\settings.json" and search for "maxBattleSize"  ;)

Thanks!

Pages: [1] 2