You can support me on Ko-Fi, this is also where I release any current updates.
For anyone using v1.5 before, delete the files in %APPDATA%/Nro-Galaxy-Editor/
As a Type-5 Kardashev being, you are able to move the stars of a mere galaxy and manipulate their waypoints as you please with just a divine click of a button.
This is just a small project that generates visual map to edit the position of stars and connects/disconnects hyperlanes. This is also my first project that I actually finished so if there are any issues, post them here.
Note: I will be taking a break now as I have completed the main objectives. I just did this as a hobby addiction really and I'm in university so I need to focus with my studies. I just did this for fun during my summer break, by "fun", I mean taking a month, usually full-time each session, of creating textures, coding and tweaking.
Features
Support
Software
Changelog
Instructions
Troubleshooting
Initial
Controls
Buttons
Saving
Changing
Manual Edit
no bridges o_O?
high priority
There is an external section so it might take long to code.low-priority
There is an external section needed other than _galacticobjectNEW
low-priority
mid-priority
Just use the Star-Eater for now, I guess?DONE
non-priority
Try to manually edit them for now.I have seven cats, seven hells, help me buy cat food.
Update: I was finally able to make a kofi! also we have ten cats, three dogs now.
https://www.youtube.com/watch?v=pAMM_ObnhUs
The save-file doesn't need to be a fresh start, it can be used any point in time of the game. The size of the save-file only affects how long it will take to process. Post your creations on the discussions!
Before starting your shenanigans divine intervention:
%APPDATA%/Nro-Galaxy-Editor/
Open your .sav
file and drag and drop the gamestate
to a folder then drag that file to the screen or open it using the file explorer. (You must put it to a folder, the application won't read the temp folder)
Either way, the application will freeze as it tries to read the contents. ~Check the logs for their status.~
W
A
S
D
Right-click
Shift
to dashQ
to zoom-out and E
to zoom-in (NEW: Mouse wheel
now works too)R
to reset position and zoomTab
to temporarily show or hide star namesEsc
to cancel editorCtrl [+ -]
There are three groups of button: Visibility
Edit
Map
Hover to each icon to see their descriptions
Input
: Click the x or y input bar to change then press Enter. Arrow
: Click the white cardinal arrows.Drag
: Click the star first then drag them anywhere. Negative values makes the drag smoother. Range: 2 to (-3)Isolate
: Click on any star to remove all of its hyperlaneNEW
Search
: Can use ID or Star's name to possibly find what you look for, if an input exist, it will go to the first star found.Flip
: Map is inverted by default, so negative x is on the right side as to imitate Stellaris map. ToggleableResume
: Resumes previous session, the original gamestate. Does not resume any previous changes, if you want to update it, just drag the saved gamestate.Sandbox
: Turns the map into spiralDISABLED
To save the changes you have made: Simply click Map
->Save
. The application will freeze while it's packing the files, the larger the save is, the longer it will take. Check the Debug for status.
.../packed/
gamestate
and galactic-object
These two files are methods on how you can put the modified gamestate:
gamestate
: It is relatively safe now since I used a different way of saving it.NOTE: This is before 3.3, galactic_object={
is now galactic_object=
new line {
galactic-object
: A more safer method. Copy everything inside this file using Notepad++ then open your original gamestate (make a copy) and search for galactic_object={
, highlight the {
only and press Ctrl+Alt+B
then Ctrl+V
to paste what you copied before. Save and make sure "galactic_object={" is not duplicated and starbase_mgr={ is intacted. All the stars are gone! Why? Did the Prethoryn or Unbidden came?
From my experience, there's two possible reasons for that
NOTE: This is before 3.3, galactic_object={
is now galactic_object=
new line {
galactic_object={
is duplicated in which case it becomes galactic_object=galactic_object={
, delete that duplicate. This usually happens when the contents of galactic-object
is not copied properly, only highlight {
and press Ctrl+Alt+B
and copy.I can't click anything on the editor
If there are any other issues, please go to the Issues tab and post your problem including your modified gamestate file if you can.
If you want to change to another save-file, simply drag your new gamestate
to the screen
.../parsed
or go to the app directory .../settings
and change it to Resume=0
Note: This is still doable but the files mentioned here are now formatted in JSON
If the application is too buggy for you, generate a galaxy on the application then toggle the [Resume] button or change the settings to Resume=1 then go to .../parsed
and there you can edit them manually using Notepad++.
The data's template can be translated as: file
: attributes
stars
: ID
,x
,y
,star_name
,star_class
hyperlanes
: ID
, (to
,length
,bridge
)*Note: new stars can't be added as it does not have an existing file on the unpacked folder and it is not advisable to delete them for now. Hyperlanes on the other hand, can be modified but you must add it on both IDs for it to work, it must be paired.
Open the application again, assuming resume is toggled, and then save again, voilà!
This project uses Godot Engine to create this standalone application.
Woah, quite a jump in the version number there!
Drag
- Right mouse buttonScale UI
- Ctrl [+ -]
It now works with 3.10x games, I might add new features like wormhole editing but I'm still too busy right now.
This might be my last big update for this editor, I'm too busy irl.
I have been to busy with uni these days so I can't do any big changes with the editor
My Uni officially starts this week so I won't be touching this project unless it's bug fixes.
Minor additions for convenience.
Justtt a bit more dopamine.
Now I take a break.
The coding is a bit of a mess, Function>>Optimize, but it works as intended.
Fear the Blorg Aeternum!
bridge
variable in the hyperlane
.gamestate
file to the executable to start the visual generation, so far it's the only way to initiate it.Merged too many savefiles in one, the parallel universes are merging!
For a month now, I have coded all the basic features needed to edit star position and the hyperlanes from scratch. The only thing I'm lacking of is translating the Lua code I made for parsing and packing, which might be another headache. Therefore, I will take a break from this after I complete my summer classes cause this is turning into my addiction.
It can now edit Star Position through input, It's already 4AM in my country and I'm still doing this thing while I still have freaking projects for the summer, I need help in addiction. I have basically finished all things I need to do for coding except for translating the Lua I coded into this language. They complete the puzzle but they don't fit yet.
After trying countless studios, I find it more comfortable to use Godot-Engine since I don't have to deal with problems that will take my focus out of the things I need to do especially with my measly coding skill.
##Old README##
I HAVE SUMMER CLASS AND I SPENT A WHOLE WEEK PROCRASTINATING BY CODING THIS THING WHOLE WEEK
Results of mass editing: changing the coordinates work but changing the hyperlane crashes
Cleaned the test files except for the saves, optimized parsing and packing.
Added else if statement because the string pattern matching goes bananas and decides to switch to another pattern type.
Can read then write and replace.
Positions can be changed, doesn't seem to crash but hyperlanes are an issue, they cause the crash on mass edit
Now detects bridge=yes variable from hyperlane, (what are they use for??)
I'll stop this for now, spent a week doing this, still have summer classes so, will take a break in a month
My only intention was to visualize my map so I can edit them, now look what happend, I made this for a whole month and more and more!...