[TOOL] Savegame Transfer Tool - Copy bases/ships from one game to another

Discussion in 'The Hangar Bay' started by byo13, Oct 23, 2020.

  1. NemesisCorps

    NemesisCorps Ensign

    Joined:
    Aug 13, 2019
    Messages:
    4
    Likes Received:
    1
    Hello nice tool :D .
    Does this work for multiplayer?
    if so would i have to do every player one at a time or can i do them all at once?
     
    #21
  2. byo13

    byo13 Captain

    Joined:
    Jul 13, 2020
    Messages:
    417
    Likes Received:
    641
    I'm guessing it doesn't. :)
    All I know is that in multiplayer the savegame is server side, am I right?
    In any case, the tool doesn't transfer stuff between different players.
    I've never played in multiplayer so I'm not sure it would work.

    If you have a multiplayer savegame and you could send it to me I could check it out for you first.
     
    #22
  3. byo13

    byo13 Captain

    Joined:
    Jul 13, 2020
    Messages:
    417
    Likes Received:
    641
    v0.4.3
    - CHANGE: Added last solar system, position and rotation information to "Base/Ship Information"​
     
    #23
    Myrmidon likes this.
  4. me777

    me777 Commander

    Joined:
    Aug 18, 2020
    Messages:
    405
    Likes Received:
    138
    litle feedback:
    I used used v0.4.1 to copy ships and a base to a new savegame.
    - It worked for a multiplayer save. I think the saves are the same for multiplayer, but you need the save from the server, that might be not possible for a public server.
    - I needed to make the ships and the base private bevore copy, or the copy would be set to the non-existing faction.
    - The plants were all OK, did not need to replant anny, I think it might be because all were ripe (or was this problem solved in the tool?)

    So thanks for the tool, saved me lots of time.
     
    #24
    byo13 and Myrmidon like this.
  5. byo13

    byo13 Captain

    Joined:
    Jul 13, 2020
    Messages:
    417
    Likes Received:
    641
    Glad to know it worked. :)
    There is some kind of "garbage collecting" in the game (I guess) so entities sometimes are replaced if not used for a long time. I'm trying to study this behavior but I think it must be inherent to the game itself and not the tool.

    Yes, you're right. The tool only works with the private faction because the game stores faction information as number codes and that changes from game to game. I will add that information to the main post. Thank you!

    Hmm, I'm not sure why it worked for you. Maybe by luck or multiplayer games are different but event information are carried over with your entity. So the crop time uses a timer that I couldn't identify how to reset yet. It must be in the "0.area" file and data there is really messy (seems compressed).

    You can try this to see if crops are working fine after copy:
    1. Enable console command "di"
    2. Point your multitool to any crop
    3. Watch the "Next Event" information. It should be a small amount like 1500s or something. If it's a very large number of seconds or negative number than you'll know that your crops will never grow and need to be replanted. :)
     
    #25
    Last edited: Nov 19, 2020
    DuLux likes this.
  6. Myrmidon

    Myrmidon Rear Admiral

    Joined:
    Mar 26, 2016
    Messages:
    1,734
    Likes Received:
    2,066
    Crops where transferred in my tests too. I did not know about their exact state between copies, but they where growing properly in the new SP game.
     
    #26
    byo13 likes this.
  7. byo13

    byo13 Captain

    Joined:
    Jul 13, 2020
    Messages:
    417
    Likes Received:
    641
    Thanks for sharing. That's good to know.
    Maybe it was an issue in the games I was testing. Since I was transferring stuff from a savegame with a "tick bug" maybe it was my game that was broken overall and that issue spawned to my ships and bases. :)
     
    #27
  8. byo13

    byo13 Captain

    Joined:
    Jul 13, 2020
    Messages:
    417
    Likes Received:
    641
    I temporarily removed the download since I must make sure the tool works with v1.3.
    Or make sure it detects the correct version before doing anything.
    It shouldn't take too long
    . ;-)
     
    #28
    Last edited: Dec 3, 2020
    Myrmidon, Wellingtoon and Kassonnade like this.
  9. Myrmidon

    Myrmidon Rear Admiral

    Joined:
    Mar 26, 2016
    Messages:
    1,734
    Likes Received:
    2,066
    But most people are in main version, not experimental.
     
    #29
    byo13 likes this.
  10. byo13

    byo13 Captain

    Joined:
    Jul 13, 2020
    Messages:
    417
    Likes Received:
    641
    You are right. But I'm forgetful and could be away from the forums for a while. Haha
    Besides I saw some flaws in game.dat and player file reading.
    Tonight I'm testing it with v1.3 and improving some internal stuff. :)
     
    #30
  11. byo13

    byo13 Captain

    Joined:
    Jul 13, 2020
    Messages:
    417
    Likes Received:
    641
    v0.5.0
    CHANGED: Internal - Rewrote some stuff to make the tool detect valid save game files before attempting any read or write.
    FIXED: Internal - Many stupid ways of mine to map save game files. Entity copy is more bullet proof now (hopefully).​
     
    #31
    Wellingtoon and Myrmidon like this.
  12. Myrmidon

    Myrmidon Rear Admiral

    Joined:
    Mar 26, 2016
    Messages:
    1,734
    Likes Received:
    2,066
    Save game 1 CV located on solar system A. Player to solar system B, several jumps away from A.
    Save game 2 is a copy/backup of save game 1.

    I copied CV from save game 2 to save game 1. The entity I wanted to copy, the CV was transferred to solar system B, after a warning the it did exist in save game 1. Loading save game I got a CoQ but everything seemed in order. CV was positioned ave the player and I could inspect it.
     
    #32
  13. byo13

    byo13 Captain

    Joined:
    Jul 13, 2020
    Messages:
    417
    Likes Received:
    641
    Thanks for letting me know. :)
    I never tested using a copy of the same save game.
    The tool copies the entity folder to the destination.
    In your case you already had that folder because it was a copy of the same game.
    So I suspect it tried to copy to an existing folder and something went wrong.

    Can you send me your log file for me to check, please?
     
    #33
  14. Myrmidon

    Myrmidon Rear Admiral

    Joined:
    Mar 26, 2016
    Messages:
    1,734
    Likes Received:
    2,066
    Here you go.

    Upd. Re uploaded the correct log this time. Save game name should be "crash test"
     

    Attached Files:

    #34
    Last edited: Dec 4, 2020
    byo13 likes this.
  15. byo13

    byo13 Captain

    Joined:
    Jul 13, 2020
    Messages:
    417
    Likes Received:
    641
    Thanks a lot, @Myrmidon.
    I saw a nasty database error there but maybe it's nothing serious.

    I wonder how you can run Empyrion and Project Eden with 8 GB of VRAM.
    I didn't know it was possible. :)
     
    #35
  16. Myrmidon

    Myrmidon Rear Admiral

    Joined:
    Mar 26, 2016
    Messages:
    1,734
    Likes Received:
    2,066
    VRAM? Why how much do you think I need? I play on 1080p. More VRAM is needed for 4K. My RAM though is 16GB. Did you confused the RAM types?


    Screenshot from 2020-12-04 09-44-00.png
     
    #36
  17. byo13

    byo13 Captain

    Joined:
    Jul 13, 2020
    Messages:
    417
    Likes Received:
    641
    @Myrmidon Yes, you're right. I was really sleepy last night and had been working like a dog. Haha
    Sorry for the confusion.
    Today, I'll test with two copies of the same save file to see what gives.
     
    #37
  18. DuLux

    DuLux Captain

    Joined:
    Aug 25, 2016
    Messages:
    222
    Likes Received:
    308
    This is absolutely indispensible if you play Empyrion. Basically essential!!!!

    Is it .NET?
     
    #38
    byo13 likes this.
  19. byo13

    byo13 Captain

    Joined:
    Jul 13, 2020
    Messages:
    417
    Likes Received:
    641
    Glad it's useful. :)

    Nope. I'm more of a Java/Javascript or C guy but this is done in a fast programming language that is excellent for making little tools and one that makes people raise an eyebrow when they hear its name: Purebasic.
    :D
     
    #39
    malrose1, Wellingtoon and Kassonnade like this.
  20. Kassonnade

    Kassonnade Rear Admiral

    Joined:
    May 13, 2017
    Messages:
    2,819
    Likes Received:
    4,114
    Looks very cool.

    Generates small 32-bit or 64-bit executables similar to C/C++ programs without DLL dependencies.

    Never heard about it. Checking it now. I like simple and efficient things.

    The free version of PureBasic (limited to small programs) is available for download for everyone


    Do you know what they mean by "small programs" ?
     
    #40
    Last edited: Dec 6, 2020
    byo13 likes this.

Share This Page