Space Haven

Space Haven

Transfer Current Ship to New Save:
I'm trying to transfer a ship I put a ton of time in to the new version. Now the original ship was built on a sx="84" sy="140 grid. So here's what I've done so far.

I started a new game with the same settings as previous. I let it run a couple minutes, the saved and exited. I then edited the new save sx & sy to the above settings. I loaded the save and everything was fine. Edit worked properly. I then followed this guide:

https://gameplay.tips/guides/8775-space-haven.html

Crash on load. Now this tutorial is six years old so I know by now there have to be some extra files that have to be transfered to the new save. Has anyone done this successfully yet?

I'd really hate to lose this ship that's only about half way complete overall. I'm going to keep comparing files to look for maybe something I missed. I'll definitely post back with any progress. Any input welcome.
< >
Showing 1-6 of 6 comments
yep, works fine still, just tested it with 0.22.1b5 (today's update). even made it bigger than yours, 5x5 (140 for both) and did a A Small Hope start, saved, tabbed over, deleted the starting ship, pasted in the 3x3 old ship, load... all good, tabbed over and made it 5x5, saved, loaded, boom what a beast. built a few X3 cores, then shrunk it back down to 84x84 so now it's -13 core points 3x3 ship but but 144 extra system points, and warped out... works exactly as it should. not entirely fair, but you SH your way.

you probably have an extra closing or missing tag or something hard to spot... formatted plaintext like .xml and .json do not tolerate mistakes. (well, unless someone writes an elaborate error handler routine while it's parsing the files.) triple-check your work, yeah it's annoying cause an old established ship with lots of crew and filled storage bins and tons of pod bays and support craft kind vessel is thousands, 10s of thousands of lines huge...

but when it doesn't work? just do it again. check for typos in the things you change, make sure there's like breaks where there should be and no accidental line breaks where there shouldn't be, all that jazz...
@Death Approaches: Hey man, thanks for the reply. Glad it worked for you. I double-checked my work, guess I have to triple check it. lol

So to be clear, you did what the tutorial told you and everything worked fine? I must be making an error some where. Thanks for confirming that the process still works. I'll post a progress report.
Well, 5th times a charm. This time I manually scrolled to the </ship> line as to not miss anything. It was only roughly 20 thousand lines. Only problem now is my pointer finger won't stop moving up and down from scrolling the mouse wheel so much.

Anyway, just happy to have my ship back. Have a good one everybody.
I made a blueprint ship transfer tool, where you can take your current ship from any save, and bring it to the new save. There is a sticky post on the main Space Haven General Fourm.

https://steamcommunity.com/app/979110/discussions/0/795584078204275464/
Originally posted by Death Approaches:
yep, works fine still, just tested it with 0.22.1b5 (today's update). even made it bigger than yours, 5x5 (140 for both) and did a A Small Hope start, saved, tabbed over, deleted the starting ship, pasted in the 3x3 old ship, load... all good, tabbed over and made it 5x5, saved, loaded, boom what a beast. built a few X3 cores, then shrunk it back down to 84x84 so now it's -13 core points 3x3 ship but but 144 extra system points, and warped out... works exactly as it should. not entirely fair, but you SH your way.

you probably have an extra closing or missing tag or something hard to spot... formatted plaintext like .xml and .json do not tolerate mistakes. (well, unless someone writes an elaborate error handler routine while it's parsing the files.) triple-check your work, yeah it's annoying cause an old established ship with lots of crew and filled storage bins and tons of pod bays and support craft kind vessel is thousands, 10s of thousands of lines huge...

but when it doesn't work? just do it again. check for typos in the things you change, make sure there's like breaks where there should be and no accidental line breaks where there shouldn't be, all that jazz...
Thanks a lot for the hints you left. I apparently managed to transfer my ship, the shuttle, cargo ship, pods and my tech tree successfully, first try.

Only think that i noticed is that i have the 3 starts ships in space and their name appears nowhere in the save file. I will just abandon them since i have my own shuttle and no need for the new one and the 2 pods.
Originally posted by Lone Wolf:
Well, 5th times a charm. This time I manually scrolled to the </ship> line as to not miss anything. It was only roughly 20 thousand lines. Only problem now is my pointer finger won't stop moving up and down from scrolling the mouse wheel so much.

Anyway, just happy to have my ship back. Have a good one everybody.

psst:
next time make a copy of the file.
Find the open tag for the ship (<ship>)
Then keep the shift pressed scroll to top using the sidebar, and click at the first character-> delete all.
Find the close tag for the (<ship>) do the same just scrolling down. ->delete all.
Now you have what you want to replace.

If you want to keep the other parts not between the <ship> tags, cut them out and insert both parts into two notepad files. Beginning and ending.
This way you can replace the ship faster and easier wont hurt your finger.
Then you can just paste in the beginning parts before the <ship>tag
and the ending parts after </ship>tag.
< >
Showing 1-6 of 6 comments
Per page: 1530 50