存档打不开了,希望能知道原因
玩了6年的MOD存档,返回主菜单后再读取就无法读取存档了https://www.fossic.org/forum.php?mod=image&aid=8348&size=300x300&key=9a8e6eaae2180b67&nocache=yes&type=fixnone
https://www.fossic.org/forum.php?mod=image&aid=8349&size=300x300&key=e31e95b38f4e70bc&nocache=yes&type=fixnone
列表前面没截到的是几个前置
看LOG不知道是什么时候出现的问题,也不知道是什么原因导致的
290992 INFOcom.fs.starfarer.campaign.save.CampaignGameManager- Error loading
290992 ERROR com.fs.starfarer.campaign.save.CampaignGameManager- Failed calling method
---- Debugging information ----
message : Failed calling method
cause-exception : java.lang.NullPointerException
cause-message : null
method : com.fs.starfarer.campaign.CustomCampaignEntity.readResolve()
class : com.fs.starfarer.campaign.CustomCampaignEntity
required-type : com.fs.starfarer.campaign.CustomCampaignEntity
converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number : 131085
class : java.util.ArrayList
converter-type : com.thoughtworks.xstream.converters.collections.CollectionConverter
class : com.fs.util.container.repo.ObjectRepository
class : com.fs.starfarer.campaign.StarSystem
class : com.fs.starfarer.api.impl.campaign.abilities.CLS_Ability
class : com.fs.starfarer.campaign.fleet.CampaignFleet
class : com.fs.starfarer.campaign.CharacterStats
class : com.fs.starfarer.rpg.Person
class : com.fs.starfarer.campaign.econ.Market
class : com.fs.starfarer.campaign.CampaignPlanet
class : com.fs.starfarer.campaign.CircularOrbit
class : com.fs.starfarer.api.impl.campaign.fleets.RouteManager$RouteData
class : com.fs.starfarer.api.impl.campaign.fleets.RouteManager
class : java.util.HashMap
converter-type : com.thoughtworks.xstream.converters.collections.MapConverter
class : exerelin.campaign.ColonyManager
class : java.util.LinkedHashSet
class : com.fs.starfarer.loading.specs.FactionProduction
class : com.fs.starfarer.campaign.Faction
class : com.fs.starfarer.campaign.econ.Submarket
class : com.fs.starfarer.campaign.econ.reach.ReachEconomy
class : com.fs.starfarer.campaign.econ.reach.ReachEconomyStepper
class : com.fs.starfarer.campaign.econ.Economy
class : com.fs.starfarer.campaign.StarSystem$UpdateFromHyperspaceLocation
class : com.fs.starfarer.campaign.BaseLocation$LocationToken
class : com.fs.starfarer.campaign.Hyperspace
class : com.fs.starfarer.campaign.CampaignEngine
converter-type : com.fs.starfarer.campaign.save.I
version : not available
-------------------------------
com.thoughtworks.xstream.converters.ConversionException: Failed calling method
---- Debugging information ----
message : Failed calling method
cause-exception : java.lang.NullPointerException
cause-message : null
method : com.fs.starfarer.campaign.CustomCampaignEntity.readResolve()
class : com.fs.starfarer.campaign.CustomCampaignEntity
required-type : com.fs.starfarer.campaign.CustomCampaignEntity
converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number : 131085
class : java.util.ArrayList
converter-type : com.thoughtworks.xstream.converters.collections.CollectionConverter
class : com.fs.util.container.repo.ObjectRepository
class : com.fs.starfarer.campaign.StarSystem
class : com.fs.starfarer.api.impl.campaign.abilities.CLS_Ability
class : com.fs.starfarer.campaign.fleet.CampaignFleet
class : com.fs.starfarer.campaign.CharacterStats
class : com.fs.starfarer.rpg.Person
class : com.fs.starfarer.campaign.econ.Market
class : com.fs.starfarer.campaign.CampaignPlanet
class : com.fs.starfarer.campaign.CircularOrbit
class : com.fs.starfarer.api.impl.campaign.fleets.RouteManager$RouteData
class : com.fs.starfarer.api.impl.campaign.fleets.RouteManager
class : java.util.HashMap
converter-type : com.thoughtworks.xstream.converters.collections.MapConverter
class : exerelin.campaign.ColonyManager
class : java.util.LinkedHashSet
class : com.fs.starfarer.loading.specs.FactionProduction
class : com.fs.starfarer.campaign.Faction
class : com.fs.starfarer.campaign.econ.Submarket
class : com.fs.starfarer.campaign.econ.reach.ReachEconomy
class : com.fs.starfarer.campaign.econ.reach.ReachEconomyStepper
class : com.fs.starfarer.campaign.econ.Economy
class : com.fs.starfarer.campaign.StarSystem$UpdateFromHyperspaceLocation
class : com.fs.starfarer.campaign.BaseLocation$LocationToken
class : com.fs.starfarer.campaign.Hyperspace
class : com.fs.starfarer.campaign.CampaignEngine
converter-type : com.fs.starfarer.campaign.save.I
version : not available
-------------------------------后面还有很长一大段,选了一部分自我感觉有问题的
Caused by: java.lang.NullPointerException
at com.fs.starfarer.campaign.Faction.getBaseUIColor(Unknown Source)
at com.fs.starfarer.api.impl.campaign.CLS_AnchorBeaconEntityPlugin.init(CLS_AnchorBeaconEntityPlugin.java:36)
at com.fs.starfarer.campaign.CustomCampaignEntity.readResolve(Unknown Source)
at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.thoughtworks.xstream.core.util.SerializationMembers.callReadResolve(SerializationMembers.java:78)
... 498 more
重新开档可以正常游戏
存档就不指望能修复了,希望大佬能指点一下原因,以及如何规避
{:5_128:}{:5_128:}{:5_128:}
看起来是清理星域的问题,可以去帖子下反馈下,或者你做过什么操作(命名之类的
回档的话看这个https://www.fossic.org/thread-2316-1-1.html
简单来说就是存档下的.bak后缀是备份,删去.bak后缀就可以覆盖回档 作为一个只会玩游戏、根本不懂java的小白,我提出以下的建议:
1.从你的第一个图片我可以看出于存档的第131085行报错,你可以用N++打开存档看这一行及上下几行内是否有错误,可以尝试手动修改存档,有一定可能可以修好。
2.因为不懂java,所以看不懂log,但你发的那个log大概率发的不正确。在首页上搜索“必看”后点击第二个帖子,里面有详细教程。 lili 发表于 2021-1-14 19:12
看起来是清理星域的问题,可以去帖子下反馈下,或者你做过什么操作(命名之类的
回档的话看这个https://ww ...
回档已经试过了,为时已晚了,bak是十分钟前的存档,覆盖了是同样的问题
因为这之间我唯一做过的和以前不一样的操作就是建立了一个"清理星域"里的锚点信标
我也想过可能是编辑了锚点信息的问题,也在存档文件里做过修改,但是没起作用,显然和我认为的不太一样
但是看了楼下老哥的回复,我也去看了下131085行,确实是"清理星域"里锚点信标的问题,但与锚点的描述信息无关,是我想偏了,目前在研究如何修复以及是什么造成的 ybhybhybh 发表于 2021-1-14 19:14
作为一个只会玩游戏、根本不懂java的小白,我提出以下的建议:
1.从你的第一个图片我可以看出于存档的第131 ...
感谢老哥点拨,同为只会玩游戏不懂JAVA的我,已经找到原因并且修复存档了。 本帖最后由 ZoHero 于 2021-1-14 20:06 编辑
已经找到原因了,是"清理星域"中锚点信标的问题,但不知道具体原因
目前在存档文件中将新建的锚点和对应生成的网络信息从数据层面上抹除了
存档已恢复正常
<CCEnt z="51193" dRDOM="0.75" fL="STATIONS">
<loc z="51194">-2945.2808|-2435.96</loc>
<vel z="51195">0.0|0.0</vel>
<j0>{"f6":90,"f0":"学院(TM)锚点 I","f3":"CLS_anchor_beacon","f2":,"f4":"18a7c1"}</j0>
<ow ref="1221"></ow>
<cL cl="Sstm" ref="50684"></cL>
<ls cl="Plnt" ref="50692"></ls>
<me z="51196">
<d z="51197">
<e>
<st>$CLS_color_r</st>
<ip>255</ip>
</e>
<e>
<st>$CLS_color_g</st>
<ip>0</ip>
</e>
<e>
<st>$CLS_color_b</st>
<ip>0</ip>
</e>
</d>
</me>
<sc z="51198"></sc>
<cV z="51199" sn="graphics/illustrations/comm_relay.jpg" sIW="640.0" sIH="400.0" sRSI="true" sIX="0.0" sIY="0.0" sIDW="480.0" sIWH="300.0"></cV>
<tags z="51200">
<st>CLS_anchor_beacon</st>
<st>has_interaction_dialog</st>
<st>neutrino_high</st>
</tags>
<j1>{"f1":64,"f0":64,"f3":-1,"f2":40,"f5":"CLS_anchor_beacon","f4":-1}</j1>
<la z="51201" enum-type="CaEnLa">STATIONS</la>
<p cl="com.fs.starfarer.api.impl.campaign.CLS_AnchorBeaconEntityPlugin" z="51202">
<e cl="CCEnt" ref="51193"></e>
<glowColorChanged z="51203">255,0,0,255</glowColorChanged>
<changed>true</changed>
<phase>0.59767103</phase>
<freqMult>1.0</freqMult>
<sincePing>2.5983317</sincePing>
</p>
</CCEnt>
以上是存档里出问题的部分,看不懂
有知道出问题的具体原因的老哥可以来指点一下
页:
[1]