Planet rename help

Discussion in 'Planets & Playfields' started by cpspok, Jan 28, 2019.

  1. cpspok

    cpspok Commander

    Joined:
    Sep 3, 2016
    Messages:
    164
    Likes Received:
    17
    Ok i know how to make my own scenerio and all that but how do i edit the names of the planets without having to go in and change all the warp in points manually ? Is there a way to change the names by just clicking and changing the name cause in the Solar System Generator i do not see a way to edit names of the planets you have made after generating the sector.

    thanks
     
    #1
  2. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,413
    Likes Received:
    12,016
    You will have to do it manually. I don't know of a tool that would do it for you (one is badly needed).

    Easiest way is probably to use a text editor with a replace all function like Notepad++ and do a replace all in your sector file to rename the planets/orbits/moons you need and then change the folder names in your playfields folder to match, but I haven't actually done this before. Somebody else might know an easier way.
     
    #2
    Needleship likes this.
  3. cpspok

    cpspok Commander

    Joined:
    Sep 3, 2016
    Messages:
    164
    Likes Received:
    17
    i wish i could find the planet name folder in the generator so i could edit the random names there .
     
    #3
  4. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,413
    Likes Received:
    12,016
    They are all under content/configuration. There's a file there with all the names. Make a backup before fiddling with it though.
     
    #4
    Needleship likes this.
  5. cpspok

    cpspok Commander

    Joined:
    Sep 3, 2016
    Messages:
    164
    Likes Received:
    17
    i do not see it
     
    #5
  6. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,413
    Likes Received:
    12,016
    I'm not at my computer. It's somewhere under the content folder.
     
    #6
  7. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,413
    Likes Received:
    12,016
    Sorry, I had forgotten about this! If you're still interested in where the names for the random generator are kept, it's in:

    Empyrion - Galactic Survival/Content/RandomPresets/TempNameGenFiles

    The file you're looking for is:

    Resources.planetNames.db

    Make sure you create a backup copy of this before editing. Simply open in a text editor like notepad and add or remove names as you see fit. I don't know what would happen if you add a duplicate name but best not to try. Then when the game creates a new randomly generated solar system, it will use the names inside this file.

    Edit at your own risk.
     
    #7
    Needleship likes this.
  8. Quarior

    Quarior Commander

    Joined:
    Sep 30, 2016
    Messages:
    72
    Likes Received:
    28
    Little information, .db isn’t like a text file, is a SQL database so you need to open with SQL.
    So I think your method doesn’t work.
     
    #8
  9. jmcburn

    jmcburn Rear Admiral

    Joined:
    Jan 15, 2017
    Messages:
    1,113
    Likes Received:
    1,759
    No, it's just a plain text file renamed to .db. ;)

    /jmc
     
    #9
    Needleship and ravien_ff like this.
  10. jmcburn

    jmcburn Rear Admiral

    Joined:
    Jan 15, 2017
    Messages:
    1,113
    Likes Received:
    1,759
    Here's a little test:

    upload_2019-2-17_9-27-33.png

    20190217092611_1.jpg


    /jmc
     
    #10
    Needleship and ravien_ff like this.
  11. Fenra369

    Fenra369 Commander

    Joined:
    Apr 5, 2016
    Messages:
    341
    Likes Received:
    139
    You might find it easier to use SSG to make your scenario, by creating your own template yaml, then using that to generate a solar system, then editing it in more detail via jmcburn's editor and/or notepad++. If you try and use regular notepad to edit the yamls you're going to have a bad time.
     
    #11
    Needleship and ravien_ff like this.
  12. Quarior

    Quarior Commander

    Joined:
    Sep 30, 2016
    Messages:
    72
    Likes Received:
    28
    Ah yes, you right :) .
     
    #12

Share This Page