Galaxy map

Discussion in 'General Discussion' started by DarkMatter, Oct 27, 2021.

  1. DarkMatter

    DarkMatter Ensign

    Joined:
    Oct 27, 2021
    Messages:
    12
    Likes Received:
    5
    Hello,

    (I hope that i am in the good section)

    When i start a game, i can see all the systems in the galaxy map.
    Where are stored theses datas ? (in which files)

    Thanks.
     
    #1
  2. Taelyn

    Taelyn Administrator Staff Member Community Manager

    • Developer
    • Administrator
    Joined:
    Oct 4, 2021
    Messages:
    744
    Likes Received:
    1,308
    GalaxyConfig.ecf and RandomSolarSystemConfig.yaml Files

    The rest is Random Generated
     
    #2
    Germanicus and KRanKO5 like this.
  3. DarkMatter

    DarkMatter Ensign

    Joined:
    Oct 27, 2021
    Messages:
    12
    Likes Received:
    5
    Thank you for your answer Taelyn.

    I wanted to make a list of all the systems (visited or not) : name, position, distance from Alpha system.

    Some systems are in : C:\Program Files (x86)\Steam\steamapps\common\Empyrion - Galactic Survival\Saves\Games\xx-GameName-xx\Sectors\Sectors.yaml but only the started systems and some of the scenario.

    C:\Program Files (x86)\Steam\steamapps\common\Empyrion - Galactic Survival\Saves\Games\xx-GameName-xx\Content\Configuration\GalaxyConfig.ecf and
    C:\Program Files (x86)\Steam\steamapps\common\Empyrion - Galactic Survival\Content\RandomPresets\ SolarSystemConfigxxx.yaml
    seems to have the values for the creation of the galaxy, so they don't help me.


    I have found a list of systems and stars in :
    C:\Program Files (x86)\Steam\steamapps\common\Empyrion - Galactic Survival\Saves\Games\xx-GameName-xx\Templates\xxx\
    but the files "playfield.yaml" didn't contains the position !
     
    #3
  4. imlarry425

    imlarry425 Captain

    Joined:
    Jan 10, 2019
    Messages:
    460
    Likes Received:
    338
    Hiya @DarkMatter ... the unexplored portion of the galaxy map is maintained as process private data (the random part @Taelyn mentions) and the actual playfields only get generated once you visit them. In addition to the files mentioned you can find additional info in the global.db SQLlite database located in the games root directory.

    @HoberMellow determined a method in his Galactic Waez mod, described in this thread, to locate and build an output file with the positions of the stars that he is using for best path graph mapping- that's over on github if you wanted to play with the code. As long as all you need are the locations the file his mod creates (located in the Content/Mods folder off the save) can give you that. Really great mod .. saves a ton of heartburn in plotting a course. The names of the stars are a different thing as these aren't obvious in the array he managed to scrape.
     
    #4
  5. DarkMatter

    DarkMatter Ensign

    Joined:
    Oct 27, 2021
    Messages:
    12
    Likes Received:
    5
    Thanks for all tour replies.

    I have done some research looking into "Sectors" folder and global.db, but i can only find info on the visited systems.

    But, i have a system (near my home system) that i never visited. This system has a name, a type and a position. Theses datas never change when i logoff/logon. So the data of non visited systems should be somewhere.

    Does a Empyrion Master know where i can find datas from non-visited systems ?

    Thank you.
     
    #5
  6. Taelyn

    Taelyn Administrator Staff Member Community Manager

    • Developer
    • Administrator
    Joined:
    Oct 4, 2021
    Messages:
    744
    Likes Received:
    1,308
    What's not visited isnt generated. The names is already known as thats generated with the Seed.
    The System it self isnt generated yet, the planets it contains will depends on the Class of the Star.
    This works with a file called RandomSolarSystemXX.yaml what contains what planets it will have with what propability

    This will be used WHEN you go to it, then it will generate this data.

    The Name and Place of the star BEFORE you go to it the first time is encoded in files you are not allowed to access

    Neither you can modify any of this on a SaveGame, as it will corrupt the Database
     
    #6
    Last edited: Nov 9, 2021
    Germanicus and imlarry425 like this.
  7. DarkMatter

    DarkMatter Ensign

    Joined:
    Oct 27, 2021
    Messages:
    12
    Likes Received:
    5
    Thank you Taelyn.

    I understand that the "inside" of the systems are created when we warp to it.
    And i didn't say that i am working on a private game (not on a server).

    I don't want to modify the files, i wanted to create a "map" of the galaxy to answer this kind of questions :
    - where is the closest system of type "X"
    - where are the closest Crystaline Moons
    - ...
    - and maybe after, what is the fastest way to go the system X

    "The Name and Place of the star BEFORE you go to it the first time is encoded in files you are not allowed to access" :
    ok so the info exists and i just need someone kind enough to explain me where.
     
    #7
  8. Taelyn

    Taelyn Administrator Staff Member Community Manager

    • Developer
    • Administrator
    Joined:
    Oct 4, 2021
    Messages:
    744
    Likes Received:
    1,308
    We cant give you this info. As you cant access those file :)
    You are not allowed to get access to those files either
    Trying to access them breaks our ToS (Terms of Service)
     
    #8
  9. DarkMatter

    DarkMatter Ensign

    Joined:
    Oct 27, 2021
    Messages:
    12
    Likes Received:
    5
    Ok, Thank you.

    I must admit that i didn't read the ToS, and i don't want anyone to have problems.
    The secrets of the universe should be kept safe !
     
    #9
    Taelyn likes this.
  10. ASTIC

    ASTIC Captain

    Joined:
    Dec 11, 2016
    Messages:
    993
    Likes Received:
    707
    The galaxy data is another example of an API function that we modders really need. ;-)
     
    #10

Share This Page