Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Does this mean my save file is corrupted?  (Read 6416 times)

StarSchulz

  • Captain
  • ****
  • Posts: 458
    • View Profile
Does this mean my save file is corrupted?
« on: January 13, 2017, 01:25:19 AM »

Game crashed after i thought it was done saving, and now it won't load and tells me to check the logs for more info. is there anything i can do or is it gone?

from logs:
Spoiler
55515 [Thread-11] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.63119996
55531 [Thread-11] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.638
55546 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Error loading
55546 [Thread-4] ERROR com.fs.starfarer.campaign.save.CampaignGameManager  -  : ParseError at [row,col]:[143580,13]
Message: XML document structures must start and end within the same entity. :  : ParseError at [row,col]:[143580,13]
Message: XML document structures must start and end within the same entity.
---- Debugging information ----
message             :  : ParseError at [row,col]:[143580,13]
Message: XML document structures must start and end within the same entity.
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :  : ParseError at [row,col]:[143580,13]
Message: XML document structures must start and end within the same entity.
class               : com.fs.starfarer.api.combat.MutableStat
required-type       : com.fs.starfarer.api.combat.MutableStat
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number         : 143580
class[1]            : com.fs.starfarer.campaign.econ.CommodityOnMarket
class[2]            : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[3]            : com.fs.starfarer.campaign.econ.Market
class[4]            : com.fs.starfarer.api.impl.campaign.fleets.PatrolFleetManager$PatrolFleetData
class[5]            : com.fs.starfarer.api.impl.campaign.fleets.PatrolAssignmentAI
class[6]            : com.fs.starfarer.campaign.fleet.CampaignFleet
class[7]            : java.util.HashMap
converter-type[2]   : com.thoughtworks.xstream.converters.collections.MapConverter
class[8]            : com.fs.starfarer.campaign.rules.Memory
class[9]            : exerelin.world.ExerelinPatrolFleetManager
class[10]           : com.fs.starfarer.campaign.CampaignPlanet
class[11]           : com.fs.starfarer.campaign.JumpPoint
class[12]           : com.fs.starfarer.api.campaign.JumpPointAPI$JumpDestination
class[13]           : com.fs.util.container.repo.ObjectRepository
class[14]           : com.fs.starfarer.campaign.StarSystem
class[15]           : com.fs.starfarer.campaign.ai.CampaignFleetAI$FleetAssignmentData
class[16]           : com.fs.starfarer.campaign.ai.AssignmentModule
class[17]           : com.fs.starfarer.campaign.ai.ModularFleetAI
class[18]           : data.scripts.world.templars.TEM_TemplarsAttackFleetManager$ActiveFleetData
class[19]           : java.util.LinkedList
class[20]           : data.scripts.world.templars.TEM_TemplarsAttackFleetManager
class[21]           : data.scripts.world.templars.TEM_TemplarAttackAI
class[22]           : com.fs.starfarer.campaign.CircularOrbitPointDown
class[23]           : com.fs.starfarer.campaign.CustomCampaignEntity
class[24]           : exerelin.world.InvasionFleetManager$InvasionFleetData
class[25]           : exerelin.world.InvasionSupportFleetAI
class[26]           : com.fs.starfarer.campaign.ai.NavigationModule$AvoidData
class[27]           : com.fs.starfarer.api.util.TimeoutTracker$ItemData
class[28]           : com.fs.starfarer.api.util.TimeoutTracker
class[29]           : com.fs.starfarer.campaign.ai.NavigationModule
class[30]           : com.fs.starfarer.campaign.ai.StrategicModule
class[31]           : com.fs.starfarer.campaign.ai.TacticalModule
class[32]           : exerelin.world.ResponseFleetManager$ResponseFleetData
class[33]           : exerelin.world.ResponseFleetAI
class[34]           : com.fs.starfarer.campaign.fleet.Battle
class[35]           : com.fs.starfarer.campaign.StarSystem$UpdateFromHyperspaceLocation
class[36]           : com.fs.starfarer.campaign.StarSystem$UpdateFromSystemLocationOrbit
class[37]           : com.fs.starfarer.campaign.CircularFleetOrbit
class[38]           : exerelin.world.InvasionFleetAI
class[39]           : com.fs.starfarer.campaign.CircularOrbit
class[40]           : com.fs.starfarer.campaign.econ.Economy
class[41]           : com.fs.starfarer.campaign.Hyperspace
class[42]           : com.fs.starfarer.campaign.CampaignEngine
converter-type[3]   : com.fs.starfarer.campaign.save.oooO
version             : not available
-------------------------------
com.thoughtworks.xstream.converters.ConversionException:  : ParseError at [row,col]:[143580,13]
Message: XML document structures must start and end within the same entity. :  : ParseError at [row,col]:[143580,13]
Message: XML document structures must start and end within the same entity.
---- Debugging information ----
message             :  : ParseError at [row,col]:[143580,13]
Message: XML document structures must start and end within the same entity.
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :  : ParseError at [row,col]:[143580,13]
Message: XML document structures must start and end within the same entity.
class               : com.fs.starfarer.api.combat.MutableStat
required-type       : com.fs.starfarer.api.combat.MutableStat
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number         : 143580
class[1]            : com.fs.starfarer.campaign.econ.CommodityOnMarket
class[2]            : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[3]            : com.fs.starfarer.campaign.econ.Market
class[4]            : com.fs.starfarer.api.impl.campaign.fleets.PatrolFleetManager$PatrolFleetData
class[5]            : com.fs.starfarer.api.impl.campaign.fleets.PatrolAssignmentAI
class[6]            : com.fs.starfarer.campaign.fleet.CampaignFleet
class[7]            : java.util.HashMap
converter-type[2]   : com.thoughtworks.xstream.converters.collections.MapConverter
class[8]            : com.fs.starfarer.campaign.rules.Memory
class[9]            : exerelin.world.ExerelinPatrolFleetManager
class[10]           : com.fs.starfarer.campaign.CampaignPlanet
class[11]           : com.fs.starfarer.campaign.JumpPoint
class[12]           : com.fs.starfarer.api.campaign.JumpPointAPI$JumpDestination
class[13]           : com.fs.util.container.repo.ObjectRepository
class[14]           : com.fs.starfarer.campaign.StarSystem
class[15]           : com.fs.starfarer.campaign.ai.CampaignFleetAI$FleetAssignmentData
class[16]           : com.fs.starfarer.campaign.ai.AssignmentModule
class[17]           : com.fs.starfarer.campaign.ai.ModularFleetAI
class[18]           : data.scripts.world.templars.TEM_TemplarsAttackFleetManager$ActiveFleetData
class[19]           : java.util.LinkedList
class[20]           : data.scripts.world.templars.TEM_TemplarsAttackFleetManager
class[21]           : data.scripts.world.templars.TEM_TemplarAttackAI
class[22]           : com.fs.starfarer.campaign.CircularOrbitPointDown
class[23]           : com.fs.starfarer.campaign.CustomCampaignEntity
class[24]           : exerelin.world.InvasionFleetManager$InvasionFleetData
class[25]           : exerelin.world.InvasionSupportFleetAI
class[26]           : com.fs.starfarer.campaign.ai.NavigationModule$AvoidData
class[27]           : com.fs.starfarer.api.util.TimeoutTracker$ItemData
class[28]           : com.fs.starfarer.api.util.TimeoutTracker
class[29]           : com.fs.starfarer.campaign.ai.NavigationModule
class[30]           : com.fs.starfarer.campaign.ai.StrategicModule
class[31]           : com.fs.starfarer.campaign.ai.TacticalModule
class[32]           : exerelin.world.ResponseFleetManager$ResponseFleetData
class[33]           : exerelin.world.ResponseFleetAI
class[34]           : com.fs.starfarer.campaign.fleet.Battle
class[35]           : com.fs.starfarer.campaign.StarSystem$UpdateFromHyperspaceLocation
class[36]           : com.fs.starfarer.campaign.StarSystem$UpdateFromSystemLocationOrbit
class[37]           : com.fs.starfarer.campaign.CircularFleetOrbit
class[38]           : exerelin.world.InvasionFleetAI
class[39]           : com.fs.starfarer.campaign.CircularOrbit
class[40]           : com.fs.starfarer.campaign.econ.Economy
class[41]           : com.fs.starfarer.campaign.Hyperspace
class[42]           : com.fs.starfarer.campaign.CampaignEngine
converter-type[3]   : com.fs.starfarer.campaign.save.oooO
version             : not available
-------------------------------
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
[close]


I put this in the modding bug reports section as i am running a large list of mods.
« Last Edit: January 13, 2017, 01:28:53 AM by StarSchulz »
Logged

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2847
  • Your Friendly Forum Friend
    • View Profile
Re: Does this mean my save file is corrupted?
« Reply #1 on: January 13, 2017, 03:33:55 AM »

Yes most likely. HOWEVER, SS makes back ups in the save folder. Simply delete the Campaign and descriptor XML files and remove the .bak from the other two.
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too

StarSchulz

  • Captain
  • ****
  • Posts: 458
    • View Profile
Re: Does this mean my save file is corrupted?
« Reply #2 on: January 13, 2017, 11:49:24 AM »

I didn't know it was that easy... thank you SO much.

Kreuzberger

  • Lieutenant
  • **
  • Posts: 51
    • View Profile
Re: Does this mean my save file is corrupted?
« Reply #3 on: April 23, 2017, 12:44:48 PM »

Having the same problem, maybe someone here can answer me a question:

Is there a maximum limit of ram you can give to the game? For example "-Xms150360m -Xmx150360m -Xss1024k"...as I have 16 Gb ram.

Logged

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2847
  • Your Friendly Forum Friend
    • View Profile
Re: Does this mean my save file is corrupted?
« Reply #4 on: April 23, 2017, 01:29:42 PM »

Having the same problem, maybe someone here can answer me a question:

Is there a maximum limit of ram you can give to the game? For example "-Xms150360m -Xmx150360m -Xss1024k"...as I have 16 Gb ram.


Cut it in half. I'd say 6 - 8 gigs. Also, you don't need all that much right now as very few mods are updated
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too

Kreuzberger

  • Lieutenant
  • **
  • Posts: 51
    • View Profile
Re: Does this mean my save file is corrupted?
« Reply #5 on: April 23, 2017, 04:01:06 PM »

Ok, I asked because of a weird thing.... I followed the steps from the troubleshooting thread, installed Java for 64 operating system and changed several times the ram in "vmparams" from2 to 4, 4 to 6...even 15 to 15 Gbyte ram. Then test played it with the mods Nexerlin and Dynasector plus seven factions and better sound/graphics and guess what.....the result was always!! the same. Fourth, fifth or sixth savegame gets corrupted. Always!! You can bet money on it. My guess was, that my ram was too high and not accepted by the game, running on standart ram.

So, what is going on? No matter how much ram I rammed (lol) into this game, I can´t play it seriously with mods.
Just a hint, the mod Dynasector tells you, when ram runs out...I have not even got destroyers in the game and it was already telling me, that it was 11 megabyte over the limit for a safe savegame. With 15 Gigabytes to handle it.

This is just crazy. O_o
Logged

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2847
  • Your Friendly Forum Friend
    • View Profile
Re: Does this mean my save file is corrupted?
« Reply #6 on: April 23, 2017, 05:18:25 PM »

Ok, I asked because of a weird thing.... I followed the steps from the troubleshooting thread, installed Java for 64 operating system and changed several times the ram in "vmparams" from2 to 4, 4 to 6...even 15 to 15 Gbyte ram. Then test played it with the mods Nexerlin and Dynasector plus seven factions and better sound/graphics and guess what.....the result was always!! the same. Fourth, fifth or sixth savegame gets corrupted. Always!! You can bet money on it. My guess was, that my ram was too high and not accepted by the game, running on standart ram.

So, what is going on? No matter how much ram I rammed (lol) into this game, I can´t play it seriously with mods.
Just a hint, the mod Dynasector tells you, when ram runs out...I have not even got destroyers in the game and it was already telling me, that it was 11 megabyte over the limit for a safe savegame. With 15 Gigabytes to handle it.

This is just crazy. O_o
I have to ask, what Java did you get, what are your mods, what are your system specs
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too

Kreuzberger

  • Lieutenant
  • **
  • Posts: 51
    • View Profile
Re: Does this mean my save file is corrupted?
« Reply #7 on: April 24, 2017, 03:39:58 AM »

Thank you for your attention, Midnight.


Java: 1.70_79   64bit

System: Intel(R) Core(TM) i5-4570 CPU 3.20 GHz
             16,0 GB Ram
             NVIDIA Geforce GTX 950

Mods:

Lazylib
GraphicsLib
Nexerelin or Dynasector
Audio Plus
Extra System
Portrait Pack
Starsector Plus
Version Checker

Blackrock Drive Yards
Diable Avionics
Metelson
Neutrino Corp
Shadowyards
Tiandong Heavy Industries
Tyrador Safeguard
Ship and Weapon Pack

             
Logged

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2847
  • Your Friendly Forum Friend
    • View Profile
Re: Does this mean my save file is corrupted?
« Reply #8 on: April 24, 2017, 10:51:22 AM »

Thank you for your attention, Midnight.


Java: 1.70_79   64bit

System: Intel(R) Core(TM) i5-4570 CPU 3.20 GHz
             16,0 GB Ram
             NVIDIA Geforce GTX 950

Mods:

Lazylib
GraphicsLib
Nexerelin or Dynasector
Audio Plus
Extra System
Portrait Pack
Starsector Plus
Version Checker

Blackrock Drive Yards
Diable Avionics
Metelson
Neutrino Corp
Shadowyards
Tiandong Heavy Industries
Tyrador Safeguard
Ship and Weapon Pack

             
The only possible issues that I can think of is that somehow the game is using your integrated card and that, combined with the amount of ships (mainly from Tyrador Safeguard) and graphics lib, the game is using your RAM as vid memory. Sadly I have no idea how to make sure SS is using your real card. BUT I will ask around! In the mean time, you might want to try turning off Graphics Lib in the settings.ini (use something like notepad++ to edit it) or removing TS from your mod list as a test
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too

Kreuzberger

  • Lieutenant
  • **
  • Posts: 51
    • View Profile
Re: Does this mean my save file is corrupted?
« Reply #9 on: April 24, 2017, 01:17:12 PM »

I have put in the Tyrador faction just the day I wrote my part to this thread. The problems happened all before that day, even without this mod. We can exclude this point. :)
I continued my testing and so far I have this result:

Turning off nexerelin or dynasector changes everything. Playing on the vanilla starmap seems to be stable so far. I guess, I can live with that, but I will miss the higher amount of space traffic in both mods. It was much easier to hunt and loot.  ^^
Logged

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2847
  • Your Friendly Forum Friend
    • View Profile
Re: Does this mean my save file is corrupted?
« Reply #10 on: April 24, 2017, 01:56:36 PM »

I have put in the Tyrador faction just the day I wrote my part to this thread. The problems happened all before that day, even without this mod. We can exclude this point. :)
I continued my testing and so far I have this result:

Turning off nexerelin or dynasector changes everything. Playing on the vanilla starmap seems to be stable so far. I guess, I can live with that, but I will miss the higher amount of space traffic in both mods. It was much easier to hunt and loot.  ^^
You were using a random star map? What settings?
Also, have you messed with anything to make fleets more numerous or larger? Some people do.
You should be fine doing Dyna and Nexe Corvus mode
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too

Kreuzberger

  • Lieutenant
  • **
  • Posts: 51
    • View Profile
Re: Does this mean my save file is corrupted?
« Reply #11 on: April 24, 2017, 05:40:13 PM »

"You were using a random star map? What settings?"

Only in nexerelin. 12, 8, 6 starsystems with 8-6 planets, no empty systems. In the end I tried it with the standart setting and got the same result. Dynasector has no options to change starsystems. Same result.
Only vanilla SS works so far.

"Also, have you messed with anything to make fleets more numerous or larger? Some people do."

No. I am an absolut amateur in computing. I was quite proud, that I made it through the steps of the troubleshooting guide. Never touched scripts before.
Logged

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2847
  • Your Friendly Forum Friend
    • View Profile
Re: Does this mean my save file is corrupted?
« Reply #12 on: April 24, 2017, 11:10:14 PM »

"You were using a random star map? What settings?"

Only in nexerelin. 12, 8, 6 starsystems with 8-6 planets, no empty systems. In the end I tried it with the standart setting and got the same result. Dynasector has no options to change starsystems. Same result.
Only vanilla SS works so far.

"Also, have you messed with anything to make fleets more numerous or larger? Some people do."

No. I am an absolut amateur in computing. I was quite proud, that I made it through the steps of the troubleshooting guide. Never touched scripts before.

Well, I really don't know what is going on here...
Have you tried forcing SS to use your good card in the NVIDA control panel? What about turning off GraphicsLib in the settings file?
Also, the recommend ram settings is -Xms4096m -Xmx8192m to -Xms6144m -Xmx8192m. Try the lower setting first
You might also want to try to load up mods one by one. Like just Nexe and or Dyna and then slowly add to it
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too

Kreuzberger

  • Lieutenant
  • **
  • Posts: 51
    • View Profile
Re: Does this mean my save file is corrupted?
« Reply #13 on: April 25, 2017, 04:08:35 AM »

You have found my mistake.
Being an amateur, I followed the troubleshooting advice too much.
Instead of "Xmx8192m" I typed "Xmx80192", as I thought there had to be always a zero between first number and last number....refering to "Xms4096m".

I have test drived the mod nexerlin with "Xms6144m -Xmx8192m" and it works without problems.

Thank you very much!

George
Logged

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2847
  • Your Friendly Forum Friend
    • View Profile
Re: Does this mean my save file is corrupted?
« Reply #14 on: April 25, 2017, 11:43:16 AM »

You have found my mistake.
Being an amateur, I followed the troubleshooting advice too much.
Instead of "Xmx8192m" I typed "Xmx80192", as I thought there had to be always a zero between first number and last number....refering to "Xms4096m".

I have test drived the mod nexerlin with "Xms6144m -Xmx8192m" and it works without problems.

Thank you very much!

George
Awesome! I'm glad I could help out. Let me know if it works
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too