Modded game - huge save files

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
Kajzer
Posts: 6
Joined: Mon, 8. Feb 21, 19:37
x4

Modded game - huge save files

Post by Kajzer » Tue, 2. Nov 21, 13:49

Hi,
I'm posting this here, because it's probably mod releated, but I don't know which one specifically it might be.
I was recently surprised by the long save/load times and I was amazed to discover that my uncompressed save after about 60 hours of play was about... 4GB (sic!).

With a litte trouble I was able to open the savegame and found that there are millions(!) of entries like this one (with different IDs):
<ref id="some_id">
<key type="component" value="[0x0]"/>
<value type="table" value="some_id"/>
</ref>
Game itself runs fine.

Does anyone have an idea which mod can add these entries or not remove them later when they are no longer needed ?

*What is really strange is that when I start a new game - but after loading the previous huge save - these values are also copied to the new save and the size is also 4 GB. If I restart the game and then make a new save after starting the game, everything is fine :gruebel:

List of mods:
Spoiler
Show
- VRO
- XR Ship Pack VRO
- Sector Satellite
- Weapon Variation Expansion VRO
- Ship Variation Expansion VRO
- Teladi Kea VRO
- DeadAir Dynamic Wars
- DeadAir AI tweaks
- Reactive Factions Retribiution
- Escape Pod
- X4 Fire and smoke
- Weapon Pack
- Civilan Fleets
- Better Kill Credit
- Apologize for attack
- Batter Target Monito
- NoSuper Highway
- SirNukes Mod APIs
- Some paint jobs mods
- InfoCenter
- UI Trade Analytics
- UI Extensions and HUD
- Faction Conquest and War

kuertee
EGOSOFT
EGOSOFT
Posts: 789
Joined: Sun, 14. Dec 03, 13:05
x4

Re: Modded game - huge save files

Post by kuertee » Wed, 3. Nov 21, 03:23

i think the unmodded game produces these records as well as the modded game.
Mods: RPG: Reputations and Professions, Social Standings and Citizenships, Crime has Consequences, Alternatives to Death. Missions/NPCs: Emergent Missions, NPC Reactions, Mod Parts Trader, High-sec Rooms are Locked, Hacking Outcomes, More Generic Missions, Waypoint Fields for Deployment. Others: Auto-cam, Friendly Fire Tweaks, Teleport From Transporter Room, Wear and Tear. QoL: Trade Analytics, Loot Mining, Ship Scanner, Signal Leak Hunter, Station Scanner, Surface Element Targeting, etc.

Kajzer
Posts: 6
Joined: Mon, 8. Feb 21, 19:37
x4

Re: Modded game - huge save files

Post by Kajzer » Wed, 3. Nov 21, 08:21

Hm,
I will try to delete them from save and see what happens :wink:

I just found this topic with the same problem on 3.2 version:
viewtopic.php?f=180&t=430633

Where CBJ stated that it might be a script issue from a mod.

|K.O.S.H.
Posts: 3724
Joined: Fri, 19. Dec 03, 10:36
x3tc

Re: Modded game - huge save files

Post by |K.O.S.H. » Wed, 3. Nov 21, 08:47

I think, even when you delete a mod, there may be some running scripts left...

You shoudl ask the other guy, which mods he has installed and compare.
Wing Commander Mod - German Topic
06.07.11 - v1.1 RELEASED!

Mycu
Posts: 408
Joined: Fri, 28. Sep 12, 08:30
x4

Re: Modded game - huge save files

Post by Mycu » Thu, 4. Nov 21, 13:27

it was my post back then reporting save file growing on each load.

Unfortunately I wasn't able to find a culprit - disabling mods, loading any of previous saves didn't made a difference.

One thing that I've noticed was that my save file doesn't grow only if I load game once after fresh X4 run.
So I made a "habit" of restarting X4 before every game load - which isn't so problematic as I don't load too often.

Started new playthrough on 4.0 and then on 4.1 but habit remained.
Haven't checked if issue retured since - my save files have "healthy" sizes.
X3 AP 3.1 + XRM
X3 AP 3.1 + LU

Kajzer
Posts: 6
Joined: Mon, 8. Feb 21, 19:37
x4

Re: Modded game - huge save files

Post by Kajzer » Thu, 4. Nov 21, 14:57

Thanks for the info and tip Mycu.
I also tried to disable mods and then re-save etc, but with no effect.

I will try your "method" with another gameplay and then monitoring the save file size.

Post Reply

Return to “X4: Foundations - Scripts and Modding”