Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Pages: [1] 2

Author Topic: Modded: Can't Open Save File  (Read 12049 times)

Axiege

  • Admiral
  • *****
  • Posts: 903
  • What a brave and loving name.
    • View Profile
    • My Youtube Channel
Modded: Can't Open Save File
« on: December 06, 2013, 08:24:50 PM »

Unfortunately, this occurred while I was trying to record the last part of my Hiigaran playthrough in Exerelin :(

The game becomes unresponsive once it has almost completed loading the save file. It also loads with noticeable pauses up until that point. Usually I need to just end the task, but once it ended itself and said it could not load the file, and suggested it may be because it was created with mods that are no not active. I double checked and they were active, nothing had changed since I last played successfully. I am using Exerelin 0.622, Hiigaran Descendants 1.0.0, LazyLib 1.6b, and Valkyrians 1.2.

Here is the log:
Spoiler
103695 [Thread-6] ERROR com.fs.starfarer.campaign.save.CampaignGameManager  - Could not call com.fs.starfarer.campaign.fleet.FleetMember.readResolve() : GC overhead limit exceeded : Could not call com.fs.starfarer.campaign.fleet.FleetMember.readResolve() : GC overhead limit exceeded
---- Debugging information ----
message             : Could not call com.fs.starfarer.campaign.fleet.FleetMember.readResolve() : GC overhead limit exceeded
cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Could not call com.fs.starfarer.campaign.fleet.FleetMember.readResolve() : GC overhead limit exceeded
class               : com.fs.starfarer.campaign.fleet.FleetMember
required-type       : com.fs.starfarer.campaign.fleet.FleetMember
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
path                : /CampaignEngine/modAndPluginData/persistentData/entry[3]/map/entry[180]/FleetMember/fleetData/members/FleetMember[15]
line number         : 491136
class[1]            : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[2]            : com.fs.starfarer.campaign.fleet.FleetData
class[3]            : java.util.HashMap
converter-type[2]   : com.thoughtworks.xstream.converters.collections.MapConverter
class[4]            : com.fs.starfarer.campaign.ModAndPluginData
class[5]            : com.fs.starfarer.campaign.CampaignEngine
converter-type[3]   : com.fs.starfarer.campaign.save.void
version             : null
-------------------------------
com.thoughtworks.xstream.converters.ConversionException: Could not call com.fs.starfarer.campaign.fleet.FleetMember.readResolve() : GC overhead limit exceeded : Could not call com.fs.starfarer.campaign.fleet.FleetMember.readResolve() : GC overhead limit exceeded
---- Debugging information ----
message             : Could not call com.fs.starfarer.campaign.fleet.FleetMember.readResolve() : GC overhead limit exceeded
cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Could not call com.fs.starfarer.campaign.fleet.FleetMember.readResolve() : GC overhead limit exceeded
class               : com.fs.starfarer.campaign.fleet.FleetMember
required-type       : com.fs.starfarer.campaign.fleet.FleetMember
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
path                : /CampaignEngine/modAndPluginData/persistentData/entry[3]/map/entry[180]/FleetMember/fleetData/members/FleetMember[15]
line number         : 491136
class[1]            : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[2]            : com.fs.starfarer.campaign.fleet.FleetData
class[3]            : java.util.HashMap
converter-type[2]   : com.thoughtworks.xstream.converters.collections.MapConverter
class[4]            : com.fs.starfarer.campaign.ModAndPluginData
class[5]            : com.fs.starfarer.campaign.CampaignEngine
converter-type[3]   : com.fs.starfarer.campaign.save.void
version             : null
-------------------------------
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.rea dItem(AbstractCollectionConverter.java:71)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentE lementToCollection(CollectionConverter.java:79)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCol lection(CollectionConverter.java:72)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCol lection(CollectionConverter.java:66)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:355)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:306)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:234)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:355)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:306)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:234)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.rea dItem(AbstractCollectionConverter.java:71)
   at com.thoughtworks.xstream.converters.collections.MapConverter.putCurrentEntryInt oMap(MapConverter.java:85)
   at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:77)
   at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:71)
   at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.rea dItem(AbstractCollectionConverter.java:71)
   at com.thoughtworks.xstream.converters.collections.MapConverter.putCurrentEntryInt oMap(MapConverter.java:89)
   at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:77)
   at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:71)
   at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:355)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:306)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:234)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:355)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:306)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:234)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
   at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1052)
   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1036)
   at com.thoughtworks.xstream.XStream.fromXML(XStream.java:921)
   at com.fs.starfarer.campaign.save.CampaignGameManager.o00000(Unknown Source)
   at com.fs.starfarer.title.OoOO.dialogDismissed(Unknown Source)
   at com.fs.starfarer.ui.float.dismiss(Unknown Source)
   at com.fs.starfarer.ui.impl.I.dismiss(Unknown Source)
   at com.fs.starfarer.campaign.save.LoadGameDialog.actionPerformed(Unknown Source)
   at com.fs.starfarer.ui.privatesuper.super(Unknown Source)
   at com.fs.starfarer.ui.F.processInput(Unknown Source)
   at com.fs.starfarer.ui.OoOo.o00000(Unknown Source)
   at com.fs.starfarer.OoOO.øÒÒ000(Unknown Source)
   at com.fs.super.oOOO.Ò00000(Unknown Source)
   at com.fs.starfarer.combat.String.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)
Caused by: com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Could not call com.fs.starfarer.campaign.fleet.FleetMember.readResolve() : GC overhead limit exceeded
   at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callR eadResolve(SerializationMethodInvoker.java:71)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:235)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   ... 72 more
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.HashMap.<init>(HashMap.java:209)
   at com.fs.starfarer.api.combat.StatBonus.<init>(StatBonus.java:21)
   at com.fs.starfarer.combat.entities.ship.class.<init>(Unknown Source)
   at com.fs.starfarer.combat.entities.ship.class.create(Unknown Source)
   at com.fs.starfarer.campaign.fleet.FleetMember.updateStats(Unknown Source)
   at com.fs.starfarer.campaign.fleet.FleetMember.readResolve(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callR eadResolve(SerializationMethodInvoker.java:65)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:235)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.rea dItem(AbstractCollectionConverter.java:71)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentE lementToCollection(CollectionConverter.java:79)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCol lection(CollectionConverter.java:72)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCol lection(CollectionConverter.java:66)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:355)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:306)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:234)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:355)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:306)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:234)
[close]

Would be awesome if this was somehow salvageable, then the last part could show up late rather than not at all.

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24127
    • View Profile
Re: Modded: Can't Open Save File
« Reply #1 on: December 06, 2013, 08:34:03 PM »

To make sure: have you followed the steps outlined in the Exerelin thread to raise the memory allocated to the game? Even if so, it may make sense to upgrade to 64-bit Java (if you haven't already) and raise the memory allocation some more.
Logged

Axiege

  • Admiral
  • *****
  • Posts: 903
  • What a brave and loving name.
    • View Profile
    • My Youtube Channel
Re: Modded: Can't Open Save File
« Reply #2 on: December 06, 2013, 08:43:32 PM »

To make sure: have you followed the steps outlined in the Exerelin thread to raise the memory allocated to the game? Even if so, it may make sense to upgrade to 64-bit Java (if you haven't already) and raise the memory allocation some more.

I have not, I never needed to before, and I wouldn't think anything would be different this time :/ I am trying it right now though.

Axiege

  • Admiral
  • *****
  • Posts: 903
  • What a brave and loving name.
    • View Profile
    • My Youtube Channel
Re: Modded: Can't Open Save File
« Reply #3 on: December 06, 2013, 08:55:14 PM »

I can't seem to save the changes to vmparams, Notepad++ keeps telling the file may be being used and so I can't change it. Nothing should be using it though, and I was allowed to rename the vmparams file.

FasterThanSleepyfish

  • Admiral
  • *****
  • Posts: 729
  • Blub
    • View Profile
Re: Modded: Can't Open Save File
« Reply #4 on: December 06, 2013, 09:19:18 PM »

Move the vparams to the desktop, change it, then move it back. Also, make sure all programs are closed before you move it. (Or copy paste it)
Logged

FloW

  • Captain
  • ****
  • Posts: 282
    • View Profile
Re: Modded: Can't Open Save File
« Reply #5 on: December 06, 2013, 10:32:40 PM »

Or just do what is usually done if permissions get in your way: Change them so you have access to the folder.
Logged
"The point is, you see, that there is no point in driving yourself mad trying to stop yourself going mad. You might just as well give in and save your sanity for later.''
- Ford Prefect, creator of the giraffe; a very long time ago

Axiege

  • Admiral
  • *****
  • Posts: 903
  • What a brave and loving name.
    • View Profile
    • My Youtube Channel
Re: Modded: Can't Open Save File
« Reply #6 on: December 07, 2013, 06:57:36 AM »

Move the vparams to the desktop, change it, then move it back. Also, make sure all programs are closed before you move it. (Or copy paste it)

Thanks, that did allow me to make changes to the vmparam, but the game won't even open with the modified vmparam. I saw something about changing and using the batch file in starsector-core and I tried modifying that. It at least let me start the game, except it isn't detecting any mods.

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1365
    • View Profile
    • GitHub Profile
Re: Modded: Can't Open Save File
« Reply #7 on: December 07, 2013, 07:58:19 AM »

I saw something about changing and using the batch file in starsector-core and I tried modifying that. It at least let me start the game, except it isn't detecting any mods.

The batch file doesn't point to the same directories as the normal game uses (you might notice a few new directories appeared in starsector-core). You can copy the java arguments from vmparams for the proper paths.
Logged

Axiege

  • Admiral
  • *****
  • Posts: 903
  • What a brave and loving name.
    • View Profile
    • My Youtube Channel
Re: Modded: Can't Open Save File
« Reply #8 on: December 07, 2013, 08:58:22 AM »

I saw something about changing and using the batch file in starsector-core and I tried modifying that. It at least let me start the game, except it isn't detecting any mods.

The batch file doesn't point to the same directories as the normal game uses (you might notice a few new directories appeared in starsector-core). You can copy the java arguments from vmparams for the proper paths.

So I should copy over the contents of the vmparam to the batch file, then make the modifications to point it to 64bit Java and to use more memory? I will give that a try.

Axiege

  • Admiral
  • *****
  • Posts: 903
  • What a brave and loving name.
    • View Profile
    • My Youtube Channel
Re: Modded: Can't Open Save File
« Reply #9 on: December 07, 2013, 09:16:27 AM »

It wouldn't let me open the game with a modified batch file, but I did try copying and pasting my saves and mods into the folders the default batch file targets, and I was able to open my game. The loading screen still paused a few times which still has me concerned, without any more memory allocated it probably is just a matter of time before it becomes a problem again right?

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24127
    • View Profile
Re: Modded: Can't Open Save File
« Reply #10 on: December 07, 2013, 11:04:55 PM »

It wouldn't let me open the game with a modified batch file, but I did try copying and pasting my saves and mods into the folders the default batch file targets, and I was able to open my game. The loading screen still paused a few times which still has me concerned, without any more memory allocated it probably is just a matter of time before it becomes a problem again right?

Yeah, quite likely. I'd suggest doing what FloW said; fixing up the permissions so you can actually edit the vmparams file.
Logged

Axiege

  • Admiral
  • *****
  • Posts: 903
  • What a brave and loving name.
    • View Profile
    • My Youtube Channel
Re: Modded: Can't Open Save File
« Reply #11 on: December 08, 2013, 06:36:27 AM »

It wouldn't let me open the game with a modified batch file, but I did try copying and pasting my saves and mods into the folders the default batch file targets, and I was able to open my game. The loading screen still paused a few times which still has me concerned, without any more memory allocated it probably is just a matter of time before it becomes a problem again right?

Yeah, quite likely. I'd suggest doing what FloW said; fixing up the permissions so you can actually edit the vmparams file.


I was able to by copying it outside the folder and save edits to it there, and drag it back in to make changes. But it wouldn't let me load the game with the modified file.

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24127
    • View Profile
Re: Modded: Can't Open Save File
« Reply #12 on: December 08, 2013, 09:56:51 AM »

What would happen when you tried to run the game? Just nothing, no error dialog etc, right? If so, that either indicates a problem with the contents of the vmparams file, or the memory being set too high for 32 bit Java. If you set it higher, I'd suggest trying 1500 for both -Xms and and -Xmx.
Logged

ValkyriaL

  • Admiral
  • *****
  • Posts: 2145
  • The Guru of Capital Ships.
    • View Profile
Re: Modded: Can't Open Save File
« Reply #13 on: December 08, 2013, 10:00:41 AM »

If he switched to 64 bit java, the launcher is not going to work anymore, at all, you have to start the game from the bat file which then takes you to the launcher.
Logged

Axiege

  • Admiral
  • *****
  • Posts: 903
  • What a brave and loving name.
    • View Profile
    • My Youtube Channel
Re: Modded: Can't Open Save File
« Reply #14 on: December 08, 2013, 12:02:06 PM »

If he switched to 64 bit java, the launcher is not going to work anymore, at all, you have to start the game from the bat file which then takes you to the launcher.

I couldn't open the game with a modified bat file either. I was able to open it with the default bat file and the saves and mods brought into the different folders the bat file targets, but again, with no changes so there still is a great potential for more problems.
Pages: [1] 2