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 ... 7 8 [9] 10 11 ... 30

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

Histidine

  • Admiral
  • *****
  • Posts: 4661
    • View Profile
    • GitHub profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside)
« Reply #120 on: May 28, 2015, 08:20:22 PM »

I'm having a bit of an issue doing this.
I've done all the steps down to the letter, allocated 6 GB of memory for the game. My PC has 8 GB of ram and its windows 8.1. Whenever I run the starsector.bat file the black textbox pops up for half a second before closing and nothing happens.
Is there anything I'm doing wrong?
IME SS won't start if it's specified to allocate more memory than the JRE actually can. Just making sure: you are on a 64-bit OS, correct?
Logged

Doogie

  • Commander
  • ***
  • Posts: 235
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside)
« Reply #121 on: May 28, 2015, 08:48:39 PM »

Yea, definitely running 64 bit.
Logged

Debido

  • Admiral
  • *****
  • Posts: 1183
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside)
« Reply #122 on: May 28, 2015, 09:44:13 PM »

First open the command line, then run the bat file from that, any error/output will be captured
Logged

Doogie

  • Commander
  • ***
  • Posts: 235
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside)
« Reply #123 on: May 29, 2015, 10:49:44 AM »

Sadly, I have no idea how to do that. I'm decently tech-savy, but not that savy.
Logged

TJJ

  • Admiral
  • *****
  • Posts: 1905
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside)
« Reply #124 on: May 29, 2015, 11:00:36 AM »

Sadly, I have no idea how to do that. I'm decently tech-savy, but not that savy.

- In explorer, open the Starsector installation folder. (this can be done most quickly by right clicking your Starsector shortcut & selecting "Open file location").
- In this explorer window, hold shift then right click, select "Open command window here".
- A command/shell window will open.
- Type "starsector" to launch the game. (or more quickly, "st[tab]"
- the command/shell window will capture all console output that the game generates, including hopefully the cause of your trouble.

Disclaimer; above steps are intended for Windows 7.
« Last Edit: May 29, 2015, 11:02:17 AM by TJJ »
Logged

Doogie

  • Commander
  • ***
  • Posts: 235
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside)
« Reply #125 on: May 29, 2015, 12:04:36 PM »

Ah alright.
I just did that, and nothing happens.
(TJJ, that method works on windows 8 as well)

[attachment deleted by admin]
Logged

TJJ

  • Admiral
  • *****
  • Posts: 1905
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside)
« Reply #126 on: May 29, 2015, 07:19:56 PM »

Ah my bad, forgot that the starsector executable starts the game up in a separate unconnected process.

Instead, copy across whatever modifications you made to vmparams, into starsector/starsector-core/starsector.bat, then run that instead.
Logged

Doogie

  • Commander
  • ***
  • Posts: 235
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside)
« Reply #127 on: May 29, 2015, 09:14:56 PM »

Alright that worked. I got the game to run, although after an excruciatingly long loading screen. Now whenever I hit "load game" there's an instant crash.
Logged

Doogie

  • Commander
  • ***
  • Posts: 235
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside)
« Reply #128 on: May 30, 2015, 02:51:59 PM »

And scratch that. The game won't load anymore, I get a crash every time.
Spoiler
15820 [Thread-5] ERROR com.fs.starfarer.combat.O0OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO  - java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.rangeCheck(Unknown Source)
   at java.util.ArrayList.get(Unknown Source)
   at sound.float.<init>(Unknown Source)
   at sound.O.<init>(Unknown Source)
   at sound.OooO.o00000(Unknown Source)
   at sound.OooO.o00000(Unknown Source)
   at com.fs.starfarer.loading.OO0O.Ø00000(Unknown Source)
   at com.fs.starfarer.loading.OO0O.o00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.o00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.oO0000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.ö00000(Unknown Source)
   at com.fs.starfarer.loading.void.super(Unknown Source)
   at com.fs.A.oOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOO.Ò00000(Unknown Source)
   at com.fs.starfarer.combat.O0OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.super(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
[close]
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23987
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside)
« Reply #129 on: May 30, 2015, 02:57:52 PM »

This crash looks like an error in the music configuration, which I'd imagine comes from a mod. Are you running with any mods? Barring that, have you made any changes to sounds.json?
Logged

Doogie

  • Commander
  • ***
  • Posts: 235
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside)
« Reply #130 on: May 30, 2015, 04:14:14 PM »

Yea, I was running the classic SS+ configuration.
Checking now I see that vanilla game works fine. I've isolated the problem down to Shaderlib, which will crash the game before it loads if its enabled.
No I did not edit my sounds.json in any way. I've only made modifications that this thread told me to do.
I'm not sure if its an issue with the mods or my game. I've gotten all the mods to the most up-to-date versions.
Logged

Dark.Revenant

  • Admiral
  • *****
  • Posts: 2806
    • View Profile
    • Sc2Mafia
Re: Out of Memory? Use 64-bit Java! (Instructions Inside)
« Reply #131 on: May 30, 2015, 04:30:08 PM »

You might want to redownload it.  Sounds like some kind of corruption.
Logged

Doogie

  • Commander
  • ***
  • Posts: 235
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside)
« Reply #132 on: May 31, 2015, 10:58:57 AM »

Did a complete clean install of everything. Got this to work. The initial loafing screen takes a while, but otherwise there is no issues. Thanks!
Logged

Ba Boracs

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside)
« Reply #133 on: June 01, 2015, 06:35:14 AM »

Do i need to run the game from the .bat every time, or just the first time? I'm able to run the game with no issues from the .bat and the .exe, i just want to be sure that I'm somehow not using all my newly allocated ram.
Logged

Ahne

  • Captain
  • ****
  • Posts: 321
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside)
« Reply #134 on: June 01, 2015, 06:55:05 AM »

Another way to allocate a specific amount to your java64-bit.

1.Go to system control->Java->Java->view->user
2. Is your java 64 bit version installed there? if yes switch to the specific java 64bit row
3.go to column "Path"
4.write into the field the amount of ram you want to allocate to your java version, for example: I have 8gb ram and i want to allocate 6gb ram for maximum use to java,
write: "-Xmx6g" into that field without "" for 6gb ram
5. activate the row
6.now go to the folder of your java 64 bit version and copy the folder and then paste into your starsector installation
7.delete the old starsector jre folder and rename your own java 64 bit folder to jre
8.done


If you get problems check if you have any old java variables in your system control->system->extended->ambient variables-> (is there an old java version variable delete it)
« Last Edit: June 01, 2015, 06:59:05 AM by Ahne »
Logged
Pages: 1 ... 7 8 [9] 10 11 ... 30