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)

Pages: 1 ... 23 24 [25] 26 27 ... 30

Author Topic: [Important!] Modded System Requirements  (Read 513105 times)

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2846
  • Your Friendly Forum Friend
    • View Profile
Re: [Important!] Modded System Requirements
« Reply #360 on: July 21, 2018, 05:57:38 PM »

I start SS with the exe file (shortcut symbol on desktop).
Here is my vmprams setting:

java -server -XX:CompilerThreadPriority=1 -XX:+CompilerThreadHintNoPreempt -Dcom.fs.starfarer.settings.paths.logs=. -Djava.library.path=./native/macosx -Xms6g -Xmx6g -Dcom.fs.starfarer.settings.paths.saves=saves…………

PS: I will be away from my computer for next days. I answer as soon as possible.
That VMPRAMS file doesn't look right. Is that the one located in the starsector folder? What OS are you using?

By the way, here is my VMPRAMS (I use 64 bit Windows 7)
Spoiler
java.exe -XX:CompilerThreadPriority=1 -XX:+CompilerThreadHintNoPreempt -Djava.library.path=native\\windows -Xms2560m -Xmx2560m -Xss1024k -classpath janino.jar;commons-compiler.jar;commons-compiler-jdk.jar;starfarer.api.jar;starfarer_obf.jar;jogg-0.0.7.jar;jorbis-0.0.15.jar;json.jar;lwjgl.jar;jinput.jar;log4j-1.2.9.jar;lwjgl_util.jar;fs.sound_obf.jar;fs.common_obf.jar;xstream-1.4.10.jar -Dcom.fs.starfarer.settings.paths.saves=..\\saves -Dcom.fs.starfarer.settings.paths.screenshots=..\\screenshots -Dcom.fs.starfarer.settings.paths.mods=..\\mods -Dcom.fs.starfarer.settings.paths.logs=. com.fs.starfarer.StarfarerLauncher
[close]
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too

Kreuzberger

  • Lieutenant
  • **
  • Posts: 51
    • View Profile
Re: [Important!] Modded System Requirements
« Reply #361 on: August 06, 2018, 03:55:49 PM »

Back from Amsterdam....

I use Win10. And no, it is not from the starsector folder. Changed now the vmprams in the starsector folder and will test it...


Edit: It works so far. So that´s it, I changed the numbers in the wrong place. :/
« Last Edit: August 08, 2018, 11:31:01 AM by Kreuzberger »
Logged

Feylan

  • Ensign
  • *
  • Posts: 1
    • View Profile
Re: [Important!] Modded System Requirements
« Reply #362 on: August 22, 2018, 11:06:18 AM »

Hi all,

I too am having trouble editing my vmparams file. When I edit it to -Xms4096m -Xmx4096m, exactly as written in the first post, the launcher stops running at all.
I can still run the game through the .bat, and can even edit the bat to run the game with the above 4gb settings and run it there without problems.
Unfortunately, I'm playing on a 4k screen and need to set the game to disable DPI scaling and run in 1920x1080, or everything is too small to read - and the .bat doesn't let me do this :)

I'm editing it in Atom (similar to Notepad++) and am saving it as is, not as a text document.
Even if I simply open the file and resave it in Atom without making any changes, the launcher stops launching.
I read that I may need to replace my JRE folder with an x64 version, but that was in a pretty old post so I'm not sure it applies any longer?

Running the launcher in the command prompt gives no feedback.
I'm running Windows 10 x64.

Any help would be much appreciated.

Edit: Nevermind, editing it in notepad works just fine. It seems Atom was adding some end of file characters that the game wasn't expecting!
I'll leave my post here in case anyone else runs in to the same problem.
« Last Edit: August 22, 2018, 11:09:24 AM by Feylan »
Logged

Dark.Revenant

  • Admiral
  • *****
  • Posts: 2806
    • View Profile
    • Sc2Mafia
Re: [Important!] Modded System Requirements
« Reply #363 on: June 23, 2019, 11:29:09 PM »

Updated VRAM amounts...
Logged

Buff Skeleton

  • Ensign
  • *
  • Posts: 12
  • UFO Detected on Corpse Radar
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside + Video)
« Reply #364 on: August 15, 2019, 12:38:54 PM »

Where can I find the vmparams file on Mac???

Late reply, but I figured it out while setting up Starsector on my work laptop (been on the road this week).

There isn't a vmparams file for Mac or other OSs, judging by posts I found. Instead, you edit a .bat file that has the same info in it, more or less.

1. On Mac, right-click Starsector.app
2. Click Show Package Contents
3. Navigate to Content\Resources\Java\ and locate starsector.bat
4. Edit starsector.bat and you'll see some familiar stuff, i.e. -Xms1536m -Xmx1536m
5. Change this as you would on Windows, and you should be set, unless I'm missing something!
Logged

winstonthewolf

  • Ensign
  • *
  • Posts: 5
    • View Profile
Re: [Important!] Modded System Requirements
« Reply #365 on: August 20, 2019, 08:32:00 PM »

hey all i just finished with vmparams but now when i start a new game i crash on the generating world part i the end of my log below any help would be appreciated

697378 [Thread-4] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Users\Jordan\Desktop\New folder (18)\starsector-core\..\mods\Nexerelin (data/config/exerelin/planetNames.json)]
697382 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  - Running procedural generation
697389 [Thread-4] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading CSV data from [DIRECTORY: C:\Users\Jordan\Desktop\New folder (18)\starsector-core\..\mods\Extratential Lanestate Union]
697391 [Thread-4] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading CSV data from [DIRECTORY: C:\Users\Jordan\Desktop\New folder (18)\starsector-core\..\mods\Nexerelin]
697409 [Thread-4] INFO  exerelin.world.NexMarketBuilder  - Added special industry class: commerce
697410 [Thread-4] INFO  exerelin.world.NexMarketBuilder  - Added special industry class: waystation
697410 [Thread-4] INFO  exerelin.world.NexMarketBuilder  - Added special industry class: cryosanctum
697411 [Thread-4] INFO  exerelin.world.NexMarketBuilder  - Added special industry class: ms_medCenter
697411 [Thread-4] INFO  exerelin.world.NexMarketBuilder  - Added special industry class: ms_supersolar
697412 [Thread-4] INFO  exerelin.world.NexMarketBuilder  - Added special industry class: ii_interstellarbazaar
697416 [Thread-4] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading CSV data from [DIRECTORY: C:\Users\Jordan\Desktop\New folder (18)\starsector-core\..\mods\Nexerelin]
697426 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  - Number of starting factions: 0
697431 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  - Ordered systems and their desirability:
697431 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Ishtar: 3.0499997
697431 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Yaw: 6.3999996
697431 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Carcus: 9.5
697431 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Tharos: 7.1000004
697431 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Dumur: 2.6499999
697431 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Hassa: 7.8500004
697432 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Mariemaia: 2.4499998
697432 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Jotunheim: 5.45
697432 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Kiten: 7.2000003
697432 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Tartarus: 3.7
697432 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Enemonzo: 5.4
697432 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Kerchekwari: 4.95
697432 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Genbu: 0.0
697432 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Byzas: 0.0
697432 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Utic: 0.0
697432 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Zirnitra: 0.0
697432 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  -    Ivree: 0.0
697432 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  - Picking populated planets
697432 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  - Picking habitable planets: 16
697433 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  - Depopulating entity Sagan
697433 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  - Picking other desirable planets: 36
697433 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  - Picking undesirable planets: 3
697433 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  - Preparing stations
697433 [Thread-4] INFO  exerelin.world.ExerelinNewGameSetup  - Populating sector
697434 [Thread-4] WARN  exerelin.utilities.ExerelinConfig  - Faction config null not found, using default
697434 [Thread-4] INFO  exerelin.world.NexMarketBuilder  - Creating market for Solo Libre (MOON), faction null
698848 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.api.impl.campaign.econ.impl.PopulationAndInfrastructure.apply(PopulationAndInfrastructure.java:112)
   at com.fs.starfarer.campaign.econ.Market.addIndustry(Unknown Source)
   at com.fs.starfarer.campaign.econ.Market.addIndustry(Unknown Source)
   at exerelin.world.NexMarketBuilder.initMarket(NexMarketBuilder.java:529)
   at exerelin.world.NexMarketBuilder.initMarket(NexMarketBuilder.java:491)
   at exerelin.world.ExerelinProcGen.populateSector(ExerelinProcGen.java:1564)
   at exerelin.world.ExerelinProcGen.generate(ExerelinProcGen.java:1007)
   at exerelin.plugins.ExerelinModPlugin.onNewGameAfterProcGen(ExerelinModPlugin.java:365)
   at com.fs.starfarer.campaign.save.CampaignGameManager.super(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.dialogDismissed(Unknown Source)
   at com.fs.starfarer.ui.N.dismiss(Unknown Source)
   at com.fs.starfarer.ui.impl.K.dismiss(Unknown Source)
   at com.fs.starfarer.campaign.save.if.actionPerformed(Unknown Source)
   at com.fs.starfarer.ui.newnew.buttonPressed(Unknown Source)
   at com.fs.starfarer.ui.I.Ò00000(Unknown Source)
   at com.fs.starfarer.ui.I.processInput(Unknown Source)
   at com.fs.starfarer.ui.O0Oo.o00000(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(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)
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4661
    • View Profile
    • GitHub profile
Re: [Important!] Modded System Requirements
« Reply #366 on: August 21, 2019, 04:44:35 AM »

That's a crash caused by Nexerelin random sector not having any factions to spawn.
Not sure why that would happen, but try posting your modlist and specify if you modified the list of starting factions during the new game dialog.
Logged

Tackywheat1

  • Commander
  • ***
  • Posts: 190
  • Paragon is Perfection
    • View Profile
Re: [Important!] Modded System Requirements
« Reply #367 on: August 25, 2019, 11:22:59 PM »

Whenever I try to edit, I can't save the new file. It says I need admin even though I already am.
Logged

Warmasta

  • Ensign
  • *
  • Posts: 9
    • View Profile
Re: [Important!] Modded System Requirements
« Reply #368 on: August 29, 2019, 02:41:37 PM »

I am trying to edit vmparams, but i can't save it as anything other than a text file. I am using notepad++ for this, and I assume that is the problem. what application should i use to edit vmparams?
Logged

Tackywheat1

  • Commander
  • ***
  • Posts: 190
  • Paragon is Perfection
    • View Profile
Re: [Important!] Modded System Requirements
« Reply #369 on: August 31, 2019, 10:24:45 AM »

Nvm I just saved it to desktop and then moved/replaced the original file
Logged

apotheos

  • Ensign
  • *
  • Posts: 12
    • View Profile
Re: [Important!] Modded System Requirements
« Reply #370 on: February 08, 2020, 01:08:54 PM »

Howdy y'all.

I've noticed that my starsector is starting to hitch every 5 seconds or so while traversing the space map. It seems to be mod related as the lag goes away when I start a fresh save. My laptop has 16g of ram, which should be enough to up the allocation to at least 4g. However, after editing the vmparams file, there doesn't seem to be any difference in running the same modded save with 1 gig allocated or 4. Anyone have a suggestion as to what I'm doing wrong?

java.exe -XX:CompilerThreadPriority=1 -XX:+CompilerThreadHintNoPreempt -Djava.library.path=native\\windows -Xms4096m -Xmx4096m -Xss1024k -classpath janino.jar;commons-compiler.jar;commons-compiler-jdk.jar;starfarer.api.jar;starfarer_obf.jar;jogg-0.0.7.jar;jorbis-0.0.15.jar;json.jar;lwjgl.jar;jinput.jar;log4j-1.2.9.jar;lwjgl_util.jar;fs.sound_obf.jar;fs.common_obf.jar;xstream-1.4.10.jar -Dcom.fs.starfarer.settings.paths.saves=..\\saves -Dcom.fs.starfarer.settings.paths.screenshots=..\\screenshots -Dcom.fs.starfarer.settings.paths.mods=..\\mods -Dcom.fs.starfarer.settings.paths.logs=. com.fs.starfarer.StarfarerLauncher
Logged

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [Important!] Modded System Requirements
« Reply #371 on: February 09, 2020, 07:24:24 AM »

Mod list? Because some mods (specificaly, mods that make the sector larger) can affect the performances regardless of RAM allocation. Also, if you have the console command mod enabled, you can open the console and check if the RAM is properly allocated to the top of the screen.
« Last Edit: February 09, 2020, 07:35:51 AM by Tartiflette »
Logged
 

apotheos

  • Ensign
  • *
  • Posts: 12
    • View Profile
Re: [Important!] Modded System Requirements
« Reply #372 on: February 09, 2020, 08:40:04 AM »

Downloaded and ran the console commands, apparently memory usage fluctuates between 400 m to 1.2 g while circling around on the campaign map out of however many I have allocated (five at the moment)? Seems like it's not allocated correctly?

Edit: Some slight fps drops as well, that seems to be remedied by playing with graphicslib.

Mod list:

Audio Plus
Autosave
Better Colonies
Blackrock Drive Yards
Boggled Terraforming
CombatAnalytics
Combat Chatter
Common Radar
Console Commands
Dassault-Mikoyan Engineering 1.18
DIABLEAVIONICS
DisassembleReassemble_v1.6.9
Fuel Siphoning
GraphicsLib
Interstellar Imperium
LazyLib
Leading Pip 1.8.3
Luddic_Enhancement
MagicLib
Nexerelin
Portrait pack
Ruthless Sector
Second Wave Options 0.5.1
Ship and Weapon Pack
SkilledUp
SpeedUp
Starship Legends
ToggleWeaponGroup
Underworld
UnknownSkies
UpgradedRotaryWeapons
Vayra's Sector
Vayra's Ship Pack
Version Checker
« Last Edit: February 09, 2020, 06:45:25 PM by apotheos »
Logged

MesoTroniK

  • Admiral
  • *****
  • Posts: 1731
  • I am going to destroy your ships
    • View Profile
Re: [Important!] Modded System Requirements
« Reply #373 on: February 11, 2020, 08:19:20 PM »

It will only use as much Ram as it needs. If you allocate 5gb, and it only needs 1.2gb at the time? It will only use that much.

The Command Console does say you allocated 5gb right?

apotheos

  • Ensign
  • *
  • Posts: 12
    • View Profile
Re: [Important!] Modded System Requirements
« Reply #374 on: February 12, 2020, 08:05:04 AM »

Yup!
Logged
Pages: 1 ... 23 24 [25] 26 27 ... 30