OoliteStarter

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
hiran
Theorethicist
Posts: 2486
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: OoliteStarter

Post by hiran »

mcarans wrote: Wed Jul 23, 2025 8:13 am
Oolitestarter is fantastic! I would like to see one small feature - the full date and time of saved games and possibly highlighting the latest saved game. I've made a feature request: https://github.com/OoliteProject/OoliteStarter/issues/7
Now that makes me smile. Here is an old screenshot from OoliteStarter: viewtopic.php?p=289596#p289596
You can see it displayed the full date/time for save games. Don't know when, but I was talked out of that idea.
It's easy to bring it back...

I do not see any need to highlight the latest game. Just click the column header and you get the savegames sorted by that column (this works reliably even if just the date is shown)

Check out v0.1.33-innocuous.4
Sunshine - Moonlight - Good Times - Oolite
User avatar
mcarans
---- E L I T E ----
---- E L I T E ----
Posts: 392
Joined: Sun Jun 20, 2010 6:00 pm

Re: OoliteStarter

Post by mcarans »

hiran wrote: Wed Jul 23, 2025 9:07 pm
Now that makes me smile. Here is an old screenshot from OoliteStarter: viewtopic.php?p=289596#p289596
You can see it displayed the full date/time for save games. Don't know when, but I was talked out of that idea.
It's easy to bring it back...

I do not see any need to highlight the latest game. Just click the column header and you get the savegames sorted by that column (this works reliably even if just the date is shown)

Check out v0.1.33-innocuous.4
That's just what I wanted. Thanks so much!
arquebus
---- E L I T E ----
---- E L I T E ----
Posts: 545
Joined: Sun Oct 31, 2021 6:07 am
Contact:

Re: OoliteStarter

Post by arquebus »

When I get some time I'll see if I can reproduce it again on video, and I'll zip up the settings etc.
Here is my YouTube channel, where I play poorly: Arquebus X
arquebus
---- E L I T E ----
---- E L I T E ----
Posts: 545
Joined: Sun Oct 31, 2021 6:07 am
Contact:

Re: OoliteStarter

Post by arquebus »

I've reproduced the issue on the current version 0.1.33. I've made a video that shows the problem in action. It's a combination of things: unclear UI and multiple versions of expansions being loaded into the game without any indication (in the UI) that this is or isn't going to happen. (It happens with some expansions but not with others and you can't tell ahead of time which ones it's going to happen to - you have to load the game and parse the error messages on the main menu screen.)

https://www.youtube.com/watch?v=jYzvPVsoDjc
Here is my YouTube channel, where I play poorly: Arquebus X
arquebus
---- E L I T E ----
---- E L I T E ----
Posts: 545
Joined: Sun Oct 31, 2021 6:07 am
Contact:

Re: OoliteStarter

Post by arquebus »

I'm still encountering the issue where removing the old version of an expansion also removes the newer one (usually - maybe not always.)
Last edited by arquebus on Mon Aug 25, 2025 3:11 am, edited 1 time in total.
Here is my YouTube channel, where I play poorly: Arquebus X
arquebus
---- E L I T E ----
---- E L I T E ----
Posts: 545
Joined: Sun Oct 31, 2021 6:07 am
Contact:

Re: OoliteStarter

Post by arquebus »

Here's a video showing the second problem (removing old versions removes both versions):

https://www.youtube.com/watch?v=UXhrCuqmw_A
Here is my YouTube channel, where I play poorly: Arquebus X
User avatar
hiran
Theorethicist
Posts: 2486
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: OoliteStarter

Post by hiran »

arquebus wrote: Mon Aug 25, 2025 2:51 am
I've reproduced the issue on the current version 0.1.33. I've made a video that shows the problem in action. It's a combination of things: unclear UI and multiple versions of expansions being loaded into the game without any indication (in the UI) that this is or isn't going to happen. (It happens with some expansions but not with others and you can't tell ahead of time which ones it's going to happen to - you have to load the game and parse the error messages on the main menu screen.)
Any hints how I can reproduce this behaviour on my side?

Apart from that: OoliteStarter can check the files in the filesystem, but it cannot predict which or in what sequence they will get loaded in Oolite. I guess the best way of getting real information is to look at Oolite's logfile.
Sunshine - Moonlight - Good Times - Oolite
arquebus
---- E L I T E ----
---- E L I T E ----
Posts: 545
Joined: Sun Oct 31, 2021 6:07 am
Contact:

Re: OoliteStarter

Post by arquebus »

hiran wrote: Fri Aug 29, 2025 7:10 pm
Any hints how I can reproduce this behaviour on my side?
Honestly, I don't know, it's literally the only behavior I'm seeing - it's not like I'm doing anything specific to make it happen. I load OoliteStarter, update an expansion, start the game and see the duplicated expansion error. And after some further testing it does appear that every time (not only most of the time) I attempt to remove the older of two versions of an expansion, both get removed from the list in OoliteStarter. (I haven't yet checked to see if they are both removed from the expansion directory.)
Apart from that: OoliteStarter can check the files in the filesystem, but it cannot predict which or in what sequence they will get loaded in Oolite. I guess the best way of getting real information is to look at Oolite's logfile.
Are the different versions of the expansions being stored in the same directory that Oolite loads expansions from? Or are the old versions supposed to end up in another directory? If all versions are in the AddOns directory then I'd be surprised if Oolite *didn't* throw errors for everyone every time there were two versions in the loaded list.
Here is my YouTube channel, where I play poorly: Arquebus X
arquebus
---- E L I T E ----
---- E L I T E ----
Posts: 545
Joined: Sun Oct 31, 2021 6:07 am
Contact:

Re: OoliteStarter

Post by arquebus »

If I get some time this weekend I'll do the same steps again, and provide the OoliteStarter log file and the Oolite log file as well.

Behind the scenes, in the file/directory structure, what is the expected behavior for OoliteStarter? What does it do with the deprecated versions of expansions when a new one is installed from the list on the left?
Here is my YouTube channel, where I play poorly: Arquebus X
User avatar
hiran
Theorethicist
Posts: 2486
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: OoliteStarter

Post by hiran »

arquebus wrote: Sat Aug 30, 2025 1:42 am
Are the different versions of the expansions being stored in the same directory that Oolite loads expansions from? Or are the old versions supposed to end up in another directory? If all versions are in the AddOns directory then I'd be surprised if Oolite *didn't* throw errors for everyone every time there were two versions in the loaded list.
Expansion management is still done according to the diagram:

Image

We decided to no longer offer enable/disable as it is too confusing for users. Thus the only directories in use are ManagedAddons and Addons.
The install operation will download expansions and drop them into MangagedAddons, the delete operation will remove the file from the filesystem.
Update is a combination of install/delete. No rocket science there.

To know where these directories are on disk just check the configuration:

Image

For each of the expansions OoliteStarter also shows where on disk this expansion is to be found. Look for the LocalFile entry in the lower section. In this example it is null as the selected expansion is available for download but not installed:

Image

I know you can have multiple oxz files in the ManagedAddons and Addons directories resembling the same OXP or different versions of it. All you need to do is rename one of the files, or copy them to the other directory - Oolite will load them regardless. The difficult bit is then to tell which of the OXPs will win or if all of them are active at the same time. If you want to know what is on disk extract all the manifest.plist files from the OXPs and compare the required keys.
Sunshine - Moonlight - Good Times - Oolite
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5394
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: OoliteStarter

Post by phkb »

OoliteStarter should not allow two versions of the same OXP to be installed. If you have a version 1 installed, there is a version 2 available, and the user elects to update it, v1 should be replaced by default. If a user wants to keep multiple versions of an OXP for whatever reason, give them a “Backup” option, allowing them to store a copy in somewhere other than the two folders Oolite uses.

If you want to get fancy, keep a local repository of all versions the user has ever downloaded, but keep it hidden from the user by default, and again, somewhere other than the two Oolite folders. Then, you could have a right-click menu on an installed addon, giving the user the ability to roll back to a saved version. And rolling back would replace the current version with the selected version, so that there is only ever one version of the oxp in the Oolite folders.

Just my 2 cents, anyway.
User avatar
hiran
Theorethicist
Posts: 2486
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: OoliteStarter

Post by hiran »

phkb wrote: Sat Aug 30, 2025 8:22 am
OoliteStarter should not allow two versions of the same OXP to be installed. If you have a version 1 installed, there is a version 2 available, and the user elects to update it, v1 should be replaced by default.
This is exactly what it does. And the reason why I do not understand the behaviour perceived by Arquaebus.
Sunshine - Moonlight - Good Times - Oolite
Post Reply