Author Topic: AuroraMarvin, helper android for Aurora 4x C#  (Read 64210 times)

0 Members and 1 Guest are viewing this topic.

Offline Scnaeg (OP)

  • Gold Supporter
  • Warrant Officer, Class 2
  • *****
  • Posts: 54
  • Thanked: 91 times
  • Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
    2022 Supporter 2022 Supporter : Donate for 2022
    2023 Supporter 2023 Supporter : Donate for 2023
AuroraMarvin, helper android for Aurora 4x C#
« on: January 02, 2021, 11:00:24 AM »
I wrote a small application which helps me (and maybe you) playing Aurora 4x C# by automating some repeating checks I always did manually.

It opens the Aurora DB read only and checks for:
  • Damaged ships
  • Ships with low crew morale
  • Unused construction factories
  • Unused ordnance factories
  • Ships which are marked as obsolete
  • Unused terraformers
  • Ships with armour damage
  • Own wrecks
  • Shipyards which are tooled for obsolete ships
  • Ships without MSP
  • Admin commands without commanders
  • CMC mines from which I buy minerals but have no mass driver destination set
  • Populations with low manufacturing efficiency modifier
  • Fully trained ships in training fleets
  • Own life pods
  • Populations without a governor set
  • Ships with open fire FCs

Here some example screenshots:



It also has a view on the own ships and own populations database tables (read only of course):


There is also a possibility to save ship designs in a separate database:


And to save some notes in the separate database:


Every time the Aurora database is saved the data is automatically reload and it also paints some graphs for resources, fuel, maintenance supplies, population and wealth (graphs are painted as soon as three saved games are read).
Everything is saved in the separate database.  Example for resources:


Time axis for those graphs are in game seconds since the game start and the graphs are created for the total amount of resources/fuel/MSPs and not per population.

And last the application tries to visualize the tech tree:


Conventional starting tech is in light green, trans newtonian starting tech ins coloured in dark green.

If you like to try the application, the binaries are available here:
https://gitlab.com/Scnaeg/auroramarvin/-/jobs/artifacts/v2.2.0.0/download?job=build

Checksum:
SHA512 (artifacts.zip) = 43070fc25b883795616a571cc10f83e5104da5af5fba6fcd98a6dfb475016046601d3fc5a8e4b89cf54ca6955d3d88de71b941bb0b8f21005eeaf2af8fdc1b09

To install AuroraMarvin please unzip the application into a dedicated folder (and not in your existing Aurora 4x folder) and run the AuroraMarvin. exe.

To upgrade AuroraMarvin please unzip the new version into a dedicated folder and copy AuroraMarvin.db from the old installation into the new one.  Once the database is copied run AuroraMarvin.exe. 

If you like to compile the application by yourself (or submit a patch ;) ) the source code is available here:
https://gitlab.com/Scnaeg/auroramarvin

The application has been approved by Steve as it opens the Aurora DB in read only mode.
« Last Edit: November 27, 2023, 04:59:30 AM by Scnaeg »
 

Offline Zap0

  • Captain
  • **********
  • Posts: 401
  • Thanked: 502 times
Re: AuroraMarvin, helper android for Aurora 4x C#
« Reply #1 on: January 02, 2021, 07:35:58 PM »
Thanks, I've always needed something like this!

Now, off I go replacing the governor on Venus that died without my permission again, and fixing half a dozen other critical oversights.
 
The following users thanked this post: WebGremlin

Offline brevduva

  • Able Ordinary Rate
  • b
  • Posts: 3
Re: AuroraMarvin, helper android for Aurora 4x C#
« Reply #2 on: January 05, 2021, 02:01:52 AM »
I tried it out since I've been looking for something similar to this.  Apparently I had obsolete colony ships that I had retooled for but never upgraded.  Huh.

Really nice first edition.  I have some suggestions for improvements but not the time right now to put them down.  Later post or edit.

I really liked it.  keep it up!
 

Offline Scnaeg (OP)

  • Gold Supporter
  • Warrant Officer, Class 2
  • *****
  • Posts: 54
  • Thanked: 91 times
  • Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
    2022 Supporter 2022 Supporter : Donate for 2022
    2023 Supporter 2023 Supporter : Donate for 2023
Re: AuroraMarvin, helper android for Aurora 4x C#
« Reply #3 on: January 05, 2021, 04:46:32 AM »
I'm glad to hear that both of you found the application useful.  I've fixed a bug so that space stations are included in the construction factory utilisation calculation now and a typo.  I've updated my first post and updated the download URL to the one from the gitlab CI which might be a little bit more trustworthy :)
 

Offline Rich.h

  • Captain
  • **********
  • R
  • Posts: 555
  • Thanked: 55 times
Re: AuroraMarvin, helper android for Aurora 4x C#
« Reply #4 on: January 05, 2021, 02:50:47 PM »
Does this do realtime or set interval updates? As far as I can tell I need to rescan the db file to update. The problem being I only have these things flags up in Marvin as I forgot to do them, but then I forget to rescan Marvin......
 

Offline Scnaeg (OP)

  • Gold Supporter
  • Warrant Officer, Class 2
  • *****
  • Posts: 54
  • Thanked: 91 times
  • Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
    2022 Supporter 2022 Supporter : Donate for 2022
    2023 Supporter 2023 Supporter : Donate for 2023
Re: AuroraMarvin, helper android for Aurora 4x C#
« Reply #5 on: January 05, 2021, 02:56:05 PM »
Quote from: Rich. h link=topic=12233. msg145906#msg145906 date=1609879847
Does this do realtime or set interval updates? As far as I can tell I need to rescan the db file to update.  The problem being I only have these things flags up in Marvin as I forgot to do them, but then I forget to rescan Marvin. . . . . .

Marvin has a file system watcher on the database file so as soon as a new Aurora save is done Marvin should reload and refresh its data automatically.
 

Offline Scnaeg (OP)

  • Gold Supporter
  • Warrant Officer, Class 2
  • *****
  • Posts: 54
  • Thanked: 91 times
  • Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
    2022 Supporter 2022 Supporter : Donate for 2022
    2023 Supporter 2023 Supporter : Donate for 2023
Re: AuroraMarvin, helper android for Aurora 4x C#
« Reply #6 on: January 08, 2021, 03:21:35 AM »
I've created a new version of AuroraMarvin and updated my first post accordingly.  Changes in v1. 1. 0. 0:
  • Notes are saved in rich text format now.  So it is possible to use formatted text or include pictures.
  • Add ability to hide the tech tree as rendering the tech tree may take a while.

To upgrade just copy AuroraMarvin. db into the new extracted folder.
 

Offline Scnaeg (OP)

  • Gold Supporter
  • Warrant Officer, Class 2
  • *****
  • Posts: 54
  • Thanked: 91 times
  • Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
    2022 Supporter 2022 Supporter : Donate for 2022
    2023 Supporter 2023 Supporter : Donate for 2023
Re: AuroraMarvin, helper android for Aurora 4x C#
« Reply #7 on: January 17, 2021, 02:24:28 AM »
A new version of AuroraMarvin has been released.  Changes in v1. 2. 0. 0:
  • Show populations with active research projects but no available research facilities
  • Show researcher with mismatching research field
  • Show ordnance/fighter/construction factories which aren't used at all
  • Show CMCs from which minerals are not purchased

Download link in the first post has been updated and to upgrade just copy AuroraMarvin. db into the new extracted folder.
 
The following users thanked this post: Gabrote42, gpt3

Offline Scnaeg (OP)

  • Gold Supporter
  • Warrant Officer, Class 2
  • *****
  • Posts: 54
  • Thanked: 91 times
  • Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
    2022 Supporter 2022 Supporter : Donate for 2022
    2023 Supporter 2023 Supporter : Donate for 2023
Re: AuroraMarvin, helper android for Aurora 4x C#
« Reply #8 on: January 22, 2021, 12:43:42 PM »
A new version of AuroraMarvin has been released.   Changes in v1. 3. 0. 0:
  • Show systems which are not fully geo surveyed
  • Show ancient constructs which are not active yet
  • Minor fixes

Download link in the first post has been updated.  To upgrade extract the new zip and copy AuroraMarvin. db into the new location.
 
The following users thanked this post: TMaekler, Sebmono, gpt3

Offline TMaekler

  • Vice Admiral
  • **********
  • Posts: 1112
  • Thanked: 298 times
Re: AuroraMarvin, helper android for Aurora 4x C#
« Reply #9 on: January 26, 2021, 07:21:20 AM »
An idea: I find the coloring of the minerals difficult to read. Some colors are very close together and one really doesn't know which mineral is which chart. Differentiating the colors more would be nice. Also a mouseover function which thickens the line and marks which mineral it is also in thick letters could help reading this chart.
 
The following users thanked this post: Scnaeg

Offline Scnaeg (OP)

  • Gold Supporter
  • Warrant Officer, Class 2
  • *****
  • Posts: 54
  • Thanked: 91 times
  • Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
    2022 Supporter 2022 Supporter : Donate for 2022
    2023 Supporter 2023 Supporter : Donate for 2023
Re: AuroraMarvin, helper android for Aurora 4x C#
« Reply #10 on: January 26, 2021, 10:53:11 AM »
Quote from: TMaekler link=topic=12233. msg147639#msg147639 date=1611667280
An idea: I find the coloring of the minerals difficult to read.  Some colors are very close together and one really doesn't know which mineral is which chart.  Differentiating the colors more would be nice.  Also a mouseover function which thickens the line and marks which mineral it is also in thick letters could help reading this chart.
That's a very good idea.  I'll change the colours and check if I can implement something like a mouse over function.  Thanks!
 
The following users thanked this post: TMaekler

Offline Scnaeg (OP)

  • Gold Supporter
  • Warrant Officer, Class 2
  • *****
  • Posts: 54
  • Thanked: 91 times
  • Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
    2022 Supporter 2022 Supporter : Donate for 2022
    2023 Supporter 2023 Supporter : Donate for 2023
Re: AuroraMarvin, helper android for Aurora 4x C#
« Reply #11 on: January 26, 2021, 01:38:44 PM »
A new version of AuroraMarvin has been released.  Changes in v1. 4. 0. 0:
  • Show research field and bonus of not activated ancient construct (if known)
  • Show hostile ship contacts (I'm currently fighting the invaders in multiple systems and somewhat lost the overview  ;D)
  • Add mineral tooltip in resource chart
  • Attempt to use different colours in the resource chart

Download link in the first post has been updated.  To upgrade extract the new zip and copy AuroraMarvin. db into the new location.
 
The following users thanked this post: TMaekler

Offline TMaekler

  • Vice Admiral
  • **********
  • Posts: 1112
  • Thanked: 298 times
Re: AuroraMarvin, helper android for Aurora 4x C#
« Reply #12 on: February 03, 2021, 10:03:15 AM »
Have you thought about options for the overview? Me for example am not that much interested in seeing the message "Minerals from ... are taxed and not purchased" - because I use them that way intentionally. So some kind of filter or option for this message would be nice. I think there is still other stuff which could be made optional - depending on your preference. Also: maybe make those messages "clickable". Basically acknowledge them and thereby remove them from the list - so they don't appear again. Though I don't know if it is programmed in a way to make this possible.
 

Offline Scnaeg (OP)

  • Gold Supporter
  • Warrant Officer, Class 2
  • *****
  • Posts: 54
  • Thanked: 91 times
  • Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
    2022 Supporter 2022 Supporter : Donate for 2022
    2023 Supporter 2023 Supporter : Donate for 2023
Re: AuroraMarvin, helper android for Aurora 4x C#
« Reply #13 on: February 03, 2021, 10:10:39 AM »
Quote from: TMaekler link=topic=12233. msg148264#msg148264 date=1612368195
Have you thought about options for the overview?
I've thought about it but was too lazy to implement it ;D I'll see what I can do.
 

Offline Scnaeg (OP)

  • Gold Supporter
  • Warrant Officer, Class 2
  • *****
  • Posts: 54
  • Thanked: 91 times
  • Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
    2022 Supporter 2022 Supporter : Donate for 2022
    2023 Supporter 2023 Supporter : Donate for 2023
Re: AuroraMarvin, helper android for Aurora 4x C#
« Reply #14 on: February 03, 2021, 03:48:44 PM »
A new version of AuroraMarvin has been released.  Changes in v1. 5. 1. 0:
  • Show all event colours
  • Add ability to filter overview messages via view menu
Download link in the first post has been updated.  To upgrade extract the new zip and copy AuroraMarvin. db into the new location.
 
The following users thanked this post: serger, gpt3