Ecliptic Mariner: Diaries DevLog #1 - The Astronomy ROM
Last Updated: 2026-08-11 00:00:00 -0500
About a month ago I announced a new gaming project, Ecliptic Mariner: Diaries. Having had my fun with The Game for Scribes, and inspired by other games I enjoyed like Space Trader and Spirit City: Lofi Sessions, I set out to create a fun little TUI-ish, manual-driven game that was one part space trader, one part light productivity aid, and one part story-prompting journalling tool. So one month on, where have we gotten? Why, that’s easy: we’ve “finished” building the Astronomy ROM!
Astronomy ROM - The What and the Why
The Astronomy ROM is a SQLite3 database which will be included in the basic files of the game and which serves a few very important roles. Most importantly, it’s the core data store for seeding the procedural generation system that creates a player’s unique world when they start a new game.
This is more than a set of numbers to weight the procedural generators. It’s a repository of real world astronomical data. It includes information on a bit over two dozen real-world objects in our solar system, and over eighty star systems (many including binary and trinary stars) within twenty light years of earth. This data includes all the orbital parameters needed to put these systems and planets in their real world positions for any given time within the next couple of centuries, which is admittedly nothing in astronomical terms, but is going to be pretty cool for a pseudo-TUI game to be able to handle. The ROM even knows how many known planets orbit each of those star systems according to the most recent astronomical survey data, so that the generator will include at least that many planets in those systems.
The Astronomy ROM is more than just astronomical data, however. It also includes a suite of pre-designed stations and other special objects in the Sol system.
Gathering Real-World Data
I built the Astronomy ROM out of as much public-domain data as I could find. In particular, our well-known friend Wikipedia was helpful for providing data on objects within our solar system. To extend that search out to all the stars I wanted to include from the Gliese-Jahreiß Catalogue I was able to refer to data from the NASA Exoplanet Archive, hosted by CalTech.
Fortunately this later data set was available in tabular formats so I was able to limit the amount of massaging I had to do. Unfortunately, as we’ll discuss in a minute, I still did a lot of hand-crafting on this file. That’s part of what took so long to develop it.
Inferences where Inferences are Due
In some cases, I had to make special inferences for the data. Originally the plan was going to be to include the known particulars about these exoplanets in my list of planets. Unfortunately, for most of them, so little is known that it was actually easier to simply include them as a minimum count on the procedural generator instruction table. Similar things had to be done for other information. When it came time to place a particular fictional object into our solar system, for example, I knew roughly the orbit I wanted to be in, but had to learn how to compute the speed that would be required for it to complete that orbit.
These are all lessons that will be useful later, when I am building the systems that compute star charts to show the player, or calculate flight paths and times.
Hand Building the Solar System
Unfortunately for me, I couldn’t find a good source of tabular data for our solar system that had all the parameters I would need, and was also licensed in a way I could feel good about using it in the game. Right now, my development budget for EM:D is limited to time only, so I had to spend time to overcome this limitation.
For basically everything except the exoplanets, including individual stars, star systems themselves, and all the objects I included which are part of our solar system, I had to look up everything and enter it manually into the database, over the run of about 11 hours of work (fortunately, not even close to all in one sitting). This was especially taxing for the planets.
For example, each and every planet needed all of the following information stored in the database:
- A table key (the
celestialObjectId) - A foreign key to star systems table (
hostGjid) - A display name, such as
Mars* - A flag indicating whether the name should be replaced in procgen
- A lookup table to use to find the object it orbits (either
starsororbitals) - An ID to use to find the host in the above table
- An object type id to use to set flavour-ish things later on in the game
- 12 other columns, mostly floating-point numbers, the majority of which are orbital parameters which are used to drive the mapping engine.
* It’s entirely possible that this column might even be superfluous, as it’d be nice to localize these names, so at best they’re tokens that tell the localizer what to look up in the currently loaded locales pack.
Needless to say, entering all that was a lot of work just for the 24 celestials in the game currently. And that was after manually feeding 8 columns of data for 85 star systems and 9 more columns for all 107 stars in those systems.
The Stupid Parts
Needless to say, entering all that was a lot of work just for the 24 celestials in the game currently. And that was after manually feeding 8 columns of data for 85 star systems and 9 more columns for all 107 stars in those systems.
In fact, in the end, only about a dozen columns could be fully procedurally placed based on our data, and those were minimum planet counts for the known exoplanets that happen to be in range. In the end, what was meant to be a largely data-driven exercise turned out to be highly manual.
Oh, and technically, I’m not even done with the database itself now. I still have to add probably a dozen or so “stations” to the appropriate table, but the lore decisions about those haven’t been made yet.
Modding Ambitions
I still have to sit down and write the accompanying human-readable documentation for the database. See, there’s going to be two versions of the EM:D game manual: an already-extensive one for player captains, and then an even more elaborate one that offers modding support in the event anyone ever actually wants to expand on this.
The core idea is to have the Astronomy ROM be sitting in the game files as read-only (though the game can detect if the version of the database is changed when a save file gets loaded), but during worldgen (and possibly on loading a new game), where should be a directory somewhere with build-ordered “additional astronomy rom” files with the same general structure. The game would then basically parse each one as a series of updates and inserts, in order, to build the save file’s local copy of the ROM.
One of the interesting implications there is that a modder could change the procedural generation routine used for each star system, or add whole new star systems. The procgen instructions table includes a flag that’s just an arbitrary string indicating which generator to use. As long as we include flexibility to discover new generators, specifying them is as easy as an UPDATE SET command.
Where that might get tricky is if a mod developer decides they need to add data not originally contemplated by the ROM, but even we aren’t storing everything we might need to store about every system, celestial object, and station in the ROM. We’re going to have to have another data file type at some point, especially because I want the game to be localizable in a packaged way, kind of like we were building for PETI.
What’s next for EM:D?
The next big push in development is going to be to finally open Godot and learn enough about it’s use to create the main gameplay environment - the not-quite-a-real-terminal emulator. In order to do that, I’m going to need to do something I’m historically pretty weak at, and design and standardize a look and feel for the UI. Once I’ve done enough of that to mock up some simple menus, we’re going to have to build the start menu and the new game/load game processes.
That new game process is going to be simple to mock up, but that opens the door to the first big challenge of planning the game: determining the actual build order of all the other features. While it’s tempting to hyperfocus on all the procedural generators we need for the world and economic simulation, some of the “productivity tool” features might actually make more sense to do first. It would be really entertaining to track the development time of the project through the project’s own time tracking tools, wouldn’t it?
On Thursday, August 13, I’m going to be live in the usual place all day long from about 10 AM (UTC-3) working on these next steps. Drop on in and say hi.
Ecliptic Mariner: Diaries is just one of the many projects produced and maintained at the Lab. At the time of writing especially, ongoing development of any of these projects is funded almost solely by the contributions of our generous supporters. Regardless of where the die finally lands on licensing with Ecliptic Mariner: Diaries, your support at this time is crucial in helping us to make the game become a reality.
