Editing a Saved Game

Discussion in 'The Hangar Bay' started by Xango2000, Dec 12, 2016.

  1. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    You can edit the contents of the planet's save folder
    Just remember to keep the Areas Folder itself (you can delete its content) or the whole planet will get regenerated.

    ents.dat holds data about player constructs and POIS
    world.dat holds data about generators, autominers, % already mined from resources, water color, fog level, etc (tons of info)
    deco.dat contains info about plants, rocks, mobs, etc
    drone.dat contains info about (i'm guessing here) drones
    Contents of Areas folder contain data about terrain alterations like from Mining
    map.raw is terrain shape above a certain point (mountains)
    map_n.raw is terrain shape below a certain point (lakes)

    you can delete any of these files and they will get regenerated

    so if you want to reset terrain while keeping everything else the same:
    Edit the yaml file in the templates folder then
    delete the Contents of the Areas folder (playfield must be shut down)
    delete the World.dat file
    start the playfield (by visiting)
     
    #1
  2. arg821

    arg821 Commander

    Joined:
    Sep 6, 2015
    Messages:
    52
    Likes Received:
    38
    It would be nice to know how to reset the drones and drone attacks again. Deleting drones.dat and restoring the drone base does not achieve this. There is obviously a trigger that gets activated, and saved, once the initial drone base core is destroyed.....if I could just find where that "0" or "1" is located and in what file!

    Andy.
     
    #2
  3. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    try deleting drones.dat and world.dat
    world.dat has alot of variables that affect all sorts of stuff including autominers
     
    #3
  4. arg821

    arg821 Commander

    Joined:
    Sep 6, 2015
    Messages:
    52
    Likes Received:
    38
    The problem with that is then I am tampering with the way the planet looks, and altering people's items. I'm wanting to re-initiate the roaming and dronebase attack drones without affecting any player items. I can regenerate the POIs OK, but not the drones into an active state .....

    Andy.
     
    #4
  5. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    Ents.dat is where player ships/bases are.

    The solution you are looking for requires decoding the DAT files... Jascha and RexXuS are the only players I know that have done it and they aren't telling anybody.
     
    #5
  6. arg821

    arg821 Commander

    Joined:
    Sep 6, 2015
    Messages:
    52
    Likes Received:
    38
    Well, perhaps they don't either. Even the Rexxus AdminTool - Full version cannot do it. Their way to 'reset drones' is just to wipe those files anyway therefore resetting all the ground and filling people's underground bases in etc. Unfortunately, it still eludes us......
     
    #6
  7. Scott.Ward

    Scott.Ward Commander

    Joined:
    Nov 24, 2016
    Messages:
    35
    Likes Received:
    8
    Do the Dev's ever respond to these questions? Why is there so much guess work required to achieve what a person wants right now?
     
    #7
    zaphodikus likes this.
  8. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    Because it's still alpha
     
    #8
  9. Scott.Ward

    Scott.Ward Commander

    Joined:
    Nov 24, 2016
    Messages:
    35
    Likes Received:
    8
    If they create something and want people to be able use it properly, they have to give documentation on how to use it. Or people will move away and go to another product because guesswork gets frustrating and can be a big waste of time. Doesn't matter if it's alpha or not, info on usage is still required! The only excuse you can use Alpha for, is an unstable product, not usage! Is it a wonder why this game has such a small following, not really, I am starting to think that setting up a server at this point is a waste of my time and might be better of to wait and see what utils and info the dev's will release in the future. So far it's pretty lack luster in Dev support to servers for utils and information and third parties are trying to profit from it.
     
    #9
  10. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    you are asking for too much from a team of 4 people working on an Alpha. Wait till Beta, they will get more vocal.
     
    #10
  11. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    You're also asking a team to comment on something that A) isn't finalized and B) could potentially change. It's a delicate balance.
     
    #11
  12. Scott.Ward

    Scott.Ward Commander

    Joined:
    Nov 24, 2016
    Messages:
    35
    Likes Received:
    8
    Writing/updating documentation sucks and no one likes doing it, but they are the point they need to supply it. They might want to think of hiring a tech writer.
     
    #12
  13. RemyBlackjack

    RemyBlackjack Ensign

    Joined:
    Mar 19, 2017
    Messages:
    2
    Likes Received:
    1
    Hi Guys,

    I know this thread is a few months old but I thought I would give you my two cents. You can reset all the drones and POIs on a world without messing with the environment, player dug holes or their ships/bases.

    First off back your save folder up. Then jump on telnet and connect to your server, enter the 'gents' command and make a note of the IDs for the POIs you wish to reset, mine for Akua are below;

    Akua
    01. 000001 syncObject Aln ? 'Drone Base' (3/16/2017 9:19:50 PM
    02. 000002 syncObject Ply ? 'Abandoned Mine' (3/9/2017 9:10:16 PM
    03. 000003 syncObject Adm ? 'TS Akua' (3/5/2017 8:49:19 AM
    04. 000004 syncObject Ply ? 'Domek' (3/12/2017 8:23:36 PM
    05. 000006 syncObject ASD ? 'Large Outpost' (3/17/2017 7:43:02 PM
    06. 000007 syncObject Aln ? 'Large Residental Complex' (3/3/2017 9:04:11 PM
    07. 000008 syncObject ??? ? 'Excavation site' (3/15/2017 8:07:13 PM
    08. 000009 syncObject Aln ? 'Village' (3/16/2017 9:27:49 PM
    09. 000010 syncObject ??? ? 'Village' (3/19/2017 2:40:30 PM
    10. 000011 syncObject ??? ? 'Epsilon Outpost MKI' (3/17/2017 2:56:11 PM
    11. 000012 syncObject ASD ? 'KS-1' (3/9/2017 3:42:05 PM
    12. 000014 syncObject Aln ? 'Crashed MS Titan (back part)' (3/4/2017 12:08:50 PM
    13. 000015 syncObject Aln ? 'Crashed MS Titan (mid part)' (3/4/2017 12:06:03 PM
    14. 000016 syncObject Aln ? 'Crashed MS Titan (front part)' (3/13/2017 8:06:11 PM

    So make sure said playfield isnt running, i.e. no players on it, let the server unload that playfield then delete the following;
    All of this is in the game save folder for your server;

    -In the shared folder find the folders with these IDs from the gents list, leading zeros arnt on the folder names so for me it would be the IDs of 1, 2, 3, 4, 6, 8, 9, 10, 11, 12, 14, 15 and 16.

    My folder id 1 is called 'BA_Epsilon_DroneBase_1' for example.

    -Delete all POIs folders you want to reset. Then delete, in the Akua playfield folder (or whatever playfield your working on), the dat files called 'Drones' and 'World.' Leave the other files alone and don't delete the areas folder, that'll just fill in player dug areas and annoy them.

    Jump on and see all the drones and POIs fully reset and they will start their usual attack runs again. All player stuff is left untouched.

    Also if you wish to modify a drone base for example you can without wiping the world. Jump on as admin, stick on godmode fly over to said drone base and set it's faction to Ply using the console, add all the alien guns turrets of death, npc spawn points etc you wish and then set faction back to Aln. Dont modify the core or the turrets and base will not work when set back to Aln.

    Hope this helps,
    Remy
     
    #13
    Late2Gaming likes this.
  14. Scott.Ward

    Scott.Ward Commander

    Joined:
    Nov 24, 2016
    Messages:
    35
    Likes Received:
    8

    Edit the drone base in "godmode invisible" ... you can add/remove blocks with no faction change. Godmode invisible is a very handy editing mode and you can change the entity to private/public from the P menu.
     
    #14
  15. RemyBlackjack

    RemyBlackjack Ensign

    Joined:
    Mar 19, 2017
    Messages:
    2
    Likes Received:
    1
    Awesome, did not know that console command!

    Many thanks
     
    #15
  16. Magicslayer

    Magicslayer Ensign

    Joined:
    Feb 6, 2017
    Messages:
    16
    Likes Received:
    5
    Is there anyway to open and edit the .dat files? I ask because it would help restoring server ships and bases after a playfield wipe, or prevent a playfield wipe all together.
     
    #16
  17. Remy Blackjack

    Remy Blackjack Ensign

    Joined:
    Mar 31, 2017
    Messages:
    1
    Likes Received:
    0
    Not easily, however I just make 'old' planets on my server, for example I had a planet called Earth before V6 came out, so I just renamed it to Old Earth moved it slightly, removed the starter tag, and had a fresh Earth generate using the new standards, I then just mass teleported everyone from Earth to Old Earth using EAH. Noone lost their stuff this way and they got to choose where to move to.

    Took about 5 minutes per busy world to do.

    Remy
     
    #17
  18. TheRogueX

    TheRogueX Lieutenant

    Joined:
    Jan 17, 2018
    Messages:
    14
    Likes Received:
    1
    So has anyone figured out how to edit the .dat files yet?
     
    #18
  19. Tryst

    Tryst Captain

    Joined:
    Dec 8, 2016
    Messages:
    49
    Likes Received:
    39
    Would be nice to have some sort of editor to make sense of the data in those files.
     
    #19
  20. Myrmidon

    Myrmidon Rear Admiral

    Joined:
    Mar 26, 2016
    Messages:
    1,729
    Likes Received:
    2,058
    1. How does the OP know this info?

    2. @RemyBlackjack : Does this work on SP games as well?

    3. A DAT file is a generic data file created by a specific application. It may contain data in binary or text format (text-based DAT files can be viewed in a text editor). DAT files are typically accessed only by the application that created them. Hence only the developers with their tools, (in Unity edit mode) may open and edit them.

    4 . I really wish to know any tricks in order to get my autominers or water generators from a corrupted save game folder to my new one. Also corrupted folder may not be corrupted but from a scenario, that the creator removed it from workshop and then it is stated as *MISSING, asked to be deleted when you try to load it. I hate it to have spend many hours on a scenario and suddenly the scenario creator remove it from workshop and I lose all my autominers and their already mined ores.
     
    #20

Share This Page