What happens to config edits after an update?

Discussion in 'The Hangar Bay' started by Ronin94, Aug 26, 2018.

  1. Ronin94

    Ronin94 Lieutenant

    Joined:
    Aug 1, 2018
    Messages:
    18
    Likes Received:
    6
    Will I need to add the new items into the code or redo all my changes? Or does everything just get added in alongside my changes?
     
    #1
  2. Ronin94

    Ronin94 Lieutenant

    Joined:
    Aug 1, 2018
    Messages:
    18
    Likes Received:
    6
    Thanks for all the responses (sarcasm) I did eventually test it, and it didn't work. I was hoping that someone might respond here with a way that I don't have to do the entire file or at least can do it much faster than it took me to make all the changes. (at least a week) I got distracted a few months come back and still quite frankly don't feel like redoing all the code work I did so if there is a way anybody mind sharing?
     
    #2
  3. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    I'm not quite sure what you are asking.. but.. if I get your question correct:
    -You are asking if additions to the .ecf config file will be automatically applied, and how they will affect your edits.

    So. By default, you will have a config_example.ecf. You *can* make edits directly in this, but as noted, it will always be overwritten with every new update (Always be kept up to date with changes/additions)
    You *can* (and should) make a new file called config.ecf (also noted), where you only include your changes (ie. game first reads config_example.ecf, then config.ecf, overwriting what was found there)

    Game have atleast once changed some formats to the ecf file (with A8 I believe). In this case, there's no easy way to make old stuff works, except going over it manually and see what have changed, and what havn't.
    (Atleast not that I know of)
     
    #3
    Ronin94 likes this.
  4. Myrmidon

    Myrmidon Rear Admiral

    Joined:
    Mar 26, 2016
    Messages:
    1,729
    Likes Received:
    2,058
    Edit the config.ecf and only keep your changes in the. Delete everything else. Keep and copy of it somewhere safe i.e. a zip file inside the same folder. It is not overwritten on updates but it might get incompatible. Example it is compatible between 8.1 and 8.2 but from 7.9 to 8.0 needs to be replaced.

    Also it gets incompatible every time the developers change default things about stuff that their characteristics exist in config files. Example is the stacks of every block the weapon's range the durability etc the craft components etc.

    If for some reason you edit the config.ecf as a while with everything as the config example, then keep the line number of where you edit, i.e editing the weapon range of pistol T2 at line 6453 and try to find the same characteristic on the new config.example so you can compare if it is altered again after the update.

    PS For automatic line designation you have to use either Notpad++, Monodevelop from Unity, or an editor of a programming language you might prefer.
     
    #4
    Ronin94 likes this.

Share This Page