[mod] GalaxyExtract

Discussion in 'Empyrion API' started by imlarry425, Nov 3, 2025 at 3:42 AM.

  1. imlarry425

    imlarry425 Captain

    Joined:
    Jan 10, 2019
    Messages:
    468
    Likes Received:
    340
    https://github.com/imlarry/GalaxyExtract

    A client mod for Empyrion Galactic Survival that extracts the complete galaxy star map from game memory and saves it as a CSV file. This is intended as a support tool for companion applications like mappers, best path, and mission planning. Data is available in the interface via the Galaxy map but not exposed in the API.

    What It Does
    When you enter a game, this mod automatically:
    - Scans game memory for the galaxy star data structure
    - Extracts all star names and coordinates (x, y, z)
    - Saves the data to a CSV file for use in external tools

    Output Format
    star count followed by x,y,z,name

    e.g.

    36438
    134,25,126,Ellyon
    70,5,97,Ashon
    ...
    Features
    • Zero Configuration: Works automatically with any scenario
    • One-Time Extraction: Skips extraction if output file already exists
    • Progress Logging: Detailed logs show extraction progress and results
    • Efficient Scanning: Pauses garbage collection during memory scan
    • Data Validation: Verifies coordinate ranges and checks for duplicates

    Extract scanner based on Galactic Waez by @HoberMellow (https://github.com/shudson6/EGS-GalacticWaez.git)
     
    #1
    Last edited: Nov 3, 2025 at 3:49 AM
  2. imlarry425

    imlarry425 Captain

    Joined:
    Jan 10, 2019
    Messages:
    468
    Likes Received:
    340
    Dropped an updated version to address a race condition and reference the Sectors.yaml in the save game vs. the Application.GetPathFor(AppFolder.ActiveScenario) which was returning null. Eliminated default "Ellyon" starting star which masked the problem.
     
    #2

Share This Page