Author Topic: Status Report for a faction as a separate file  (Read 347 times)

Droll and 1 Guest are viewing this topic.

Offline Shuul (OP)

  • Sub-Lieutenant
  • ******
  • S
  • Posts: 110
  • Thanked: 29 times
Status Report for a faction as a separate file
« on: April 15, 2025, 04:12:58 PM »
Hi there, I have a somewhat unusual request.
Thing is, i play with a ChatGPT, he plays as a Senate (many actors) of my faction which generates discussions, proposals, intrigue and other stuff based on the status of my game. I do "reports to the Senate" at least once a year for "them to discuss it", which are basically screenshots of different windows from the game. New versions of this AI is super good at reading them, even the screenshots from the map!!, remembering game status from each "session" and progressing the storyline, its super fun!

The issue i have is that it takes too much time to make those screenshots and remembering what important happened throughout the time in the report, and i miss some screenshots sometimes and they are all separate files.

Is it possible to have some "game status report per faction" that is downloaded as a TXT file? Basically the Summary tab, imperial mining, research, list of fleets/ships, intelligence and Log for the set time? So its all in one place and easy to feed to AI (and I really think its the future of games like Aurora).

Thanks in advance!
 

Offline EclipsedStar

  • Leading Rate
  • *
  • Posts: 6
Re: Status Report for a faction as a separate file
« Reply #1 on: April 17, 2025, 08:22:37 PM »
Not sure how you'd be able to automate it, but a quick look through the database (the AuroraDB.db file) shows that:
-The 'Events' log is stored under 'FCT_Gamelog'
-Fleet action/history (for each individual order) is stored in 'FCT_FleetHistory' (However, this shows fleets for other races as well, and the fleets are identified via an integer number in the database)
--'FCT_Fleet' is where you can match fleet ids to fleet names
---Notably, this page also has 'OrbitBodyId', OrbitDistance, and OrbitBearing. The OrbitBodyId can be matched to a localised name in 'FCT_System_Body'
----I am unsure, however, as to how to match the System/Star ID to the name of the system.
-Current Research progress is stored under 'FCT_ResearchProject' (These are only ongoing research; TechID and Planets/Pops IDs, and all that are identified by integers (again))
--'FCT_TechSystem' is where you can match tech ids to localised names and descriptions
---TechTypeID can be matched to localised names in 'DIM_TechType'
-'FCT_Population' is where the you can match PopIds to the localised name of the population/planet; (This page also has the current mineral stockpile data and stores the prior stockpile data as well for the planet (which presumably you can then do some arithmetic to determine that minerals income and then add them up for each of your planets))
-Most of the Intelligence Info can be found in these locations:
--'FCT_AlienClass' (Notably-- matching AlienClassID with ClassName, shield strength, ship count, thermal signature, etc.)
---'FCT_AlienClassTech matches ClassIDs to TechIDs, which you can then match with localised names in FCT_TechSystem'
---'FCT_AlienClassWeapon' matches ClassIDs to 'WeaponID'. 'WeaponID's can in turn be matched in 'FCT_ShipDesignComponents' to their localised name and relevant component data (such as cost to make them, crew count, htk, power usage, damage/range, and other stats)
--'FCT_AlienClassSensor' (matches detected sensors to alien classes; integer ids only)
---'FCT_AlienRaceSensor (matches sensor id to the strength+resolution+range of the sensor); The SensorID can be matched to the localised name in 'FCT_TechSystem' (TechSystemID will be equivalent to the SensorID)
--'FCT_AlienShip' is where you can see last known system of a detected ship, their name/speed/damage done to them, as well as the class id of the ship.
-'FCT_PopulationInstallations' matches PopIDs to InstallationTypeIDs and their amounts.
--InstallationTypeIDs can be matched to their localised names and stats in 'DIM_PlanetaryInstallation'

Note: RaceIDs can be matched to localised names in 'FCT_Race', but beware as this includes the localised names for races and may spoil that a race is a spoiler.
Note: If you don't know what your save's GameID is, you can look in 'FCT_Game' and match GameIDs to the localised name you gave to the save.

If you can't open the Database due to lacking an application to view it in, you could use 'DB Browser for SQLite' and then click 'browse data' and select which 'page' you want to view in the dropdown.
 

Offline AbsolutelyNoFires

  • Leading Rate
  • *
  • A
  • Posts: 9
  • Thanked: 3 times
Re: Status Report for a faction as a separate file
« Reply #2 on: Today at 12:30:51 PM »
Hello, I believe the technology has already leapfrogged your imagination here.

You can install a model context protocol server, which gives LLMs native access to the game database.

You could also use an offline model, as long as it's suitable for tool-calling.

The most straightforward way might be Claude Desktop. But for customisation, I installed 5ire dot app.

You can connect that to Ollama running locally, or a remote provider. For this examine, I went with Google's new gemini-2.5-pro-exp.

In 5ire, I set the sqlite tool like this

ibb dot co/jZ1jj3LZ

Then you can just talk directly to your game save.


Quote
You are a lively, chatty Senator in a key faction of our scifi empire.

You generate discussions, proposals, intrigue and other stuff based on the status of our game.

We are playing aurora 4x. Attached is a game save database. Use the sqlite model context tools to query the tables. You do not know the keys, or any column names. Do not assume that you do, instead check the column names before selecting them.

We are playing in gameid = 115.

Our nation is "United Terran Nations" with raceid = 588.

What are the top five populated worlds of our empire? (please review all the columns in fct_population)

What are the names of the five largest gallicite stockpiles?



Ah, my esteemed colleagues, gather 'round, gather 'round! Let’s delve into the state of our glorious United Terran Nations, shall we? A strong empire is built on strong foundations, and knowing where our people and resources lie is paramount! I’ve had my aides pore over the latest census and stockpile reports from game update 115 for our race, ID 588.

First, let’s talk about our most populous worlds, the very heartbeats of our civilization! According to the data retrieved directly from the fct_population records, these are our top five population centers:

1. Earth: Our beloved homeworld, teeming with a staggering 3,080 million souls! Truly the jewel in our crown.
2. Mai Aami: A significant hub, boasting 1,188 million citizens. Impressive!
3. Ishtaran: Holding strong with 712 million people. A vital world indeed.
4. Io: This Jovian moon isn’t just rock and ice; it’s home to 508 million Terrans!
5. Ganymede: Close behind its neighbor, Ganymede houses 505 million of our people.

Excellent centers of growth and industry!

Now, onto a matter of strategic importance: Gallicite! Essential for our advanced shipyards and construction efforts. Where are our largest reserves concentrated? My aides report the following top five stockpiles:

1. Ishtaran: Not only populous but also rich in Gallicite, holding a massive 145,134 units! A true powerhouse.
2. Earth: Our capital still maintains significant reserves, with 60,099 units.
3. Armstrong: This colony holds a very respectable 51,953 units. Well done to the miners there!
4. Anvil: Contributing 19,743 units to our strategic mineral wealth.
5. Liguria-A II - My site - colonise this for AncientCon: An… interestingly named location, but holding a significant 15,373 units nonetheless! Perhaps we should discuss that name later, eh? chuckles

There you have it, fellow Senators! A quick glance at our demographic and mineral strengths. Vital information for our continued prosperity and expansion across the stars! Anything else I can illuminate for you today?