Save file editing to remove extensions that are save sensitive?
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 3206
- Joined: Thu, 16. Jul 09, 12:24
Save file editing to remove extensions that are save sensitive?
I clicked the option to not have my saves packed up so I am able to view them in notepad++. Unlike XR saves though there is no <patch extension in X4 save files. I'm trying to remove an extension from a save so it will load but I can't figure it out.
Re: Save file editing to remove extensions that are save sensitive?
From another thread, worked for another user, I haven't tried it myself. You can load directly from the unpacked .xml file, you don't have to repack it, but I'd recommend you delete it after you resave your game because it's fairly large unpacked. If you're using 7zip, you can also drag it back into the original zip and it will overwrite the old xml.xtra wrote: ↑Thu, 6. Dec 18, 17:42yes, you can try to edit the save file.
Make a backup of the save file
Unpack the savexxxx.gz and open with notepad++
In the top of the file you find the block with the mods, the name of the mod is there.
Delete the block, save the file
Pack with 7zip to gz
Load
I had the same Problem with one mod. When the mod was not saverelevant, it will work.
Re: Save file editing to remove extensions that are save sensitive?
There is, top of the file.
If your mod does not include patches and therefore is not listed as shown below it "should" not prevent you from loading the save.
If your mod does not include patches and therefore is not listed as shown below it "should" not prevent you from loading the save.
Spoiler
Show
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<savegame>
<info>
<save name="#003" date="1544362374"/>
<game id="X4" version="130" build="323986" time="292280.5" code="***" original="110" start="x4ep1_gamestart_tutorial" seed="1947747062" guid="***"/>
<player name="rjtwins" location="{20004,140011}" money="34882445"/>
<patches>
<patch extension="X4-Tracer-World" name="X4-Tracer-World"/>
</patches>
</info>
-
- Posts: 3206
- Joined: Thu, 16. Jul 09, 12:24
Re: Save file editing to remove extensions that are save sensitive?
I'm not getting that <patches> line in my save file, doesn't exist at all period.rjtwins wrote: ↑Sun, 9. Dec 18, 20:55There is, top of the file.
If your mod does not include patches and therefore is not listed as shown below it "should" not prevent you from loading the save.
SpoilerShowCode: Select all
<?xml version="1.0" encoding="UTF-8"?> <savegame> <info> <save name="#003" date="1544362374"/> <game id="X4" version="130" build="323986" time="292280.5" code="***" original="110" start="x4ep1_gamestart_tutorial" seed="1947747062" guid="***"/> <player name="rjtwins" location="{20004,140011}" money="34882445"/> <patches> <patch extension="X4-Tracer-World" name="X4-Tracer-World"/> </patches> </info>