XCOM 2
30 个评价
[WOTC] Fix Save Bloat
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
86.776 KB
2024 年 9 月 29 日 下午 2:10
2024 年 10 月 1 日 下午 6:26
4 项改动说明 ( 查看 )
您需要 DLC 才能使用该物品。

订阅以下载
[WOTC] Fix Save Bloat

在 Zelfana 的 1 个合集中
Actually Utilities
108 件物品
描述
Overview
Adds a highly experimental console command Zelf_SquashGameState that can be used to force gamestate history to be compressed to a single history frame. This makes the save file size smaller which can help with saves becoming unloadable due to their size.

This is similar to what the game does when transferring between the strategy and tactical layers. It is not exactly the same and causes some angry logging but from testing seems to be working fine anyway.

If you are able to go on a mission you should just do that instead of using this command. This is effectively a workaround when you've been on the strategy layer for too long.

Only works in strategy (on the Avenger/geoscape)!

How to use
1. Make a manual save normally first
2. Use the console command Zelf_SquashGameState
3. Make another save to a different file
4. Load your first save and keep playing if the game didn't crash
5. You can load the second save to keep your progress if you crashed trying to load the first save

Compatibility
Has special handling for Covert Infiltration. It is not guaranteed to work because CI does some things unconventionally. The mod jumps through a lot of hoops to support it.

Notes
Due to the experimental nature of how this mod works I will not be automating its functionality.

I can't guarantee squashed saves working correctly so try to avoid relying on them. You can keep playing after using the console command but it's only meant as a backup in case a save made before using it won't work.
41 条留言
Zelfana  [作者] 9 月 26 日 下午 4:18 
It does work for Ironman but you won't have backup saves so use with extreme caution.
IFIO 9 月 26 日 下午 3:06 
This may be a rather redundant question, but i take it that with ironman saves this does nothing?
DaViper 9 月 10 日 上午 5:58 
I have had zero issues with the way I do things @oniwabanshu.

Modding IS a risk all by itself. :steamhappy:

The issue is rooted in how strat layer saves are done VS. tactical saves. I have a 12+meg tactical save I tested a few minutes ago with zero problems.

( The last time I had a failed Strat save, it was 9meg in size. 7-8 are pushing it on my system with 30sec-1min black screen to normal transition screen.)
Oniwabanshu 9 月 9 日 下午 11:27 
@DaViper unfortunately, loading a save is like a roulette, there is always a chance they don't load, it has happened to me, a lot, usually with longer missions like facility assaults, but often you can tell something bad might happen when the autosaves stops at like turn 3, in a 17 turn mission.
DaViper 9 月 7 日 上午 6:16 
@XpanD...you were running MocX. I should have caveated my post below yours with "MocX is NOT worth the mess!".:steamhappy:
I've never had a tactical turn save larger than 12meg...and those loaded fine. <shrugs>
XpanD 9 月 7 日 上午 3:48 
I've had a good few tactical saves bloat too large to load, so that's unfortunately not 100% reliable either. Always on longer missions, and often involving the Lost. (and seemingly sped up if Hive is also present)

Going to try without MOCX next run, see what that changes in my case.
DaViper 9 月 7 日 上午 3:16 
I have had this happen (as you can see from my posts here below) over the years, and I don't even sweat it any longer.

My rule of thumb (with 400+mods loaded for a baseline) is roughly 65-70% of the way through a campaign for the bloat to hit. (On my system, no matter the troubleshooting steps, this will happen ONLY to the Strategic saves. Tactical saves, no matter the size load normally.)

The strange bit? On my Arch system (running proton) I am monitoring disk/cpu activity during this black screen to cut screne timeout and there is ZERO activity on either. It is almost as if a 'sleep timer' has been set and increases the bigger the save.

My personal solution after that rough estimate I mentioned, is to always, ALWAYS end my session on the final tactical turn. Make sure that turn is saved, quit the game. Next session start that turn and finish the mission. ZERO issues with tac saves (even larger ones such as Lost missions).:steamhappy:
Oniwabanshu 9 月 6 日 下午 8:48 
@XpanD I am using both of those =S
And you are right, it goes back to normal right after returning to the avenger after a mission.
But I have lost a chunk of progression a few times when i forget to check the folder to see if the file save is too large and run the command and save, cause missions tend to bug out egregiously often T-T
XpanD 9 月 5 日 下午 1:28 
MOCX without MOCX Customizer+ is known to do this, only one that I'm aware of. (think it still happens with the Customizer, just more slowly? and with that issue transitioning to tactical cleaned up most of it)
Oniwabanshu 9 月 5 日 下午 1:24 
Do you know of a mod that makes this situation worse? I have been having to use this constantly... my saves are ballooning over 10 MB the longer i stay at the geoscape. I am playing LWoTC with TedJam right now.