OoliteStarter

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: OoliteStarter

Post by Cholmondely »

hiran wrote: Mon Feb 12, 2024 11:54 pm
But let's come back to some rules that we want Oolite games to follow.

It is possible to install Oolite. At that moment we have a vanilla game.
Then users can add expansions to their taste (via expansion sets or one by one - I don't care).
Eventually a user starts the game.

Shall it be possible to add expansions to an already running game? (as in: save the game, go to the expansion manager and install/change stuff, then resume the game) or shall new expansions only become effective for a game to be started fresh?

It would imply that when resuming a game we would enforce the correct set of expansions to be present. Those that were there at the start of the game, and nothing else.

Or shall we enforce the expansions from the game are present and we allow more expansions to be present? This would allow users to enrich their game over time.
With 1100+ of the bally things, it might seem a tad restrictive to insist on a brand-new Jameson each time one faffs about with one's cocktail ingredients!
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
arquebus
---- E L I T E ----
---- E L I T E ----
Posts: 532
Joined: Sun Oct 31, 2021 6:07 am
Contact:

Re: OoliteStarter

Post by arquebus »

hiran wrote: Mon Feb 12, 2024 11:54 pm
But let's come back to some rules that we want Oolite games to follow.

It is possible to install Oolite. At that moment we have a vanilla game.
Then users can add expansions to their taste (via expansion sets or one by one - I don't care).
Eventually a user starts the game.

Shall it be possible to add expansions to an already running game? (as in: save the game, go to the expansion manager and install/change stuff, then resume the game) or shall new expansions only become effective for a game to be started fresh?

It would imply that when resuming a game we would enforce the correct set of expansions to be present. Those that were there at the start of the game, and nothing else.

Or shall we enforce the expansions from the game are present and we allow more expansions to be present? This would allow users to enrich their game over time.
That's what I was getting at with my earlier long-winded response. I think we should allow the installed set to change over time, via the Starter, the Manager and manual downloads. Users will expect to be able to do that; it's a feature of most games that can be modded. (There are exceptions, but not many.)
Here is my YouTube channel, where I play poorly: Arquebus X
User avatar
hiran
Theorethicist
Posts: 2403
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 »

Cholmondely wrote: Tue Feb 13, 2024 12:04 am
With 1100+ of the bally things, it might seem a tad restrictive to insist on a brand-new Jameson each time one faffs about with one's cocktail ingredients!
arquebus wrote: Tue Feb 13, 2024 4:32 am
That's what I was getting at with my earlier long-winded response. I think we should allow the installed set to change over time, via the Starter, the Manager and manual downloads. Users will expect to be able to do that; it's a feature of most games that can be modded. (There are exceptions, but not many.)
If users shall be able to modify the installed set it means OoliteStarter must not recreate the installed set with the information from the savegame. It can only indicate divergence and it is up to the user to take action.

This feature was already there - yet taking action was painful as you would have to read and remember a missing OXP, switch to the OXP tab, search it then install it, reload and come back to see if still something is not right.

So I will simply add functionality to fix the installed set from the start game panel. It should offer to fix
- the selected one
- all missing
- all excess ones
- all
Sunshine - Moonlight - Good Times - Oolite
User avatar
hiran
Theorethicist
Posts: 2403
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 »

With the above, I now believe the three main use cases should still be separated - otherwise the screen is cluttered with too many items.
The three main uses cases will still be separated over several tabs:
- Start Game
- Expansion Management
- Oolite installations

The reason is that the start game panel does not only show the savegame name. It shows additional information, especially when it comes to the expansions used in that game. It will allow to fix deviations to be more comfortable.

The expansions management tab has changed to the two-list variant. At the same time the information displayed about a single expansion has reduced - we can still discuss what information to display. If you like, look at the old interface which is still available on the experimental tab.

The Oolite Installations for now remains the same as before. I keep in mind we want better support here, especially something like a startup wizard. But for now I am focusing on the regular interface and will then bring the wizard.

Download OoliteStarter v0.1.28-uxbridge.2.
Sunshine - Moonlight - Good Times - Oolite
arquebus
---- E L I T E ----
---- E L I T E ----
Posts: 532
Joined: Sun Oct 31, 2021 6:07 am
Contact:

Re: OoliteStarter

Post by arquebus »

I like this iteration! I agree that the tabbed interface is a good idea.
Here is my YouTube channel, where I play poorly: Arquebus X
arquebus
---- E L I T E ----
---- E L I T E ----
Posts: 532
Joined: Sun Oct 31, 2021 6:07 am
Contact:

Re: OoliteStarter

Post by arquebus »

I'm getting the following error when loading a save:

Could not run game
java.lang.UnsupportedOperationException: Not supported yet.
You better check the logfiles in $HOME/.Oolite/Logs now

I've located the Logs folder and the logs themselves (with the command prompt - can't find them in Explorer), but when I copy a log out to another location it's still invisible.
Here is my YouTube channel, where I play poorly: Arquebus X
arquebus
---- E L I T E ----
---- E L I T E ----
Posts: 532
Joined: Sun Oct 31, 2021 6:07 am
Contact:

Re: OoliteStarter

Post by arquebus »

Here is my YouTube channel, where I play poorly: Arquebus X
User avatar
hiran
Theorethicist
Posts: 2403
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: Wed Feb 14, 2024 3:39 am
I'm getting the following error when loading a save:

Could not run game
java.lang.UnsupportedOperationException: Not supported yet.
You better check the logfiles in $HOME/.Oolite/Logs now

I've located the Logs folder and the logs themselves (with the command prompt - can't find them in Explorer), but when I copy a log out to another location it's still invisible.
From the logs I see that you used the new Start Game Panel (from the experimental tab) to resume a savegame. I guess Oolite was started (that's what it did for me) but I did not yet include the full functionality of what the other Starter panel does once Oolite is fired up. In such cases I add a reminder for myself - it is easy to spot both for users and myself.

Since I will stay with the existing Start Game Panel it is unlikely to get fixed. The next version will rather not include the 'small version' at all.
Sunshine - Moonlight - Good Times - Oolite
arquebus
---- E L I T E ----
---- E L I T E ----
Posts: 532
Joined: Sun Oct 31, 2021 6:07 am
Contact:

Re: OoliteStarter

Post by arquebus »

hiran wrote: Wed Feb 14, 2024 5:56 am
From the logs I see that you used the new Start Game Panel (from the experimental tab) to resume a savegame. I guess Oolite was started (that's what it did for me) but I did not yet include the full functionality of what the other Starter panel does once Oolite is fired up. In such cases I add a reminder for myself - it is easy to spot both for users and myself.
I'll check to see if the other Start Game does it, too. I remember many versions ago I couldn't get it to work (Oolite would just hang on launch), so I never tested it again and always manually launched the game.
Here is my YouTube channel, where I play poorly: Arquebus X
arquebus
---- E L I T E ----
---- E L I T E ----
Posts: 532
Joined: Sun Oct 31, 2021 6:07 am
Contact:

Re: OoliteStarter

Post by arquebus »

By the way, the error didn't actually interfere with anything. Oolite launched fine and it actually did load the correct save.
Here is my YouTube channel, where I play poorly: Arquebus X
User avatar
hiran
Theorethicist
Posts: 2403
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: Wed Feb 14, 2024 5:04 pm
By the way, the error didn't actually interfere with anything. Oolite launched fine and it actually did load the correct save.
I just checked what the other panel does:
As soon as Oolite is started it puts shows a message that Oolite has been started, the command line and the pid that OoliteStarter is now waiting for.

The old and new Start Game Panels are active side by side. While the new one shows a message box with an error the other just performs the job. Therefore the error or the difference would show impact if we removed the old panel and just tried to rely on the new one.

But I am happy that OoliteStarter now runs Oolite to your expectations. If I had to guess it is related to how OoliteStarter was configured (the directory setup). For an innocent player this can be tricky to get right. Something we need to thoroughly test.
Sunshine - Moonlight - Good Times - Oolite
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Re: OoliteStarter

Post by Switeck »

arquebus wrote: Wed Feb 14, 2024 3:39 am
I'm getting the following error when loading a save:

Could not run game
java.lang.UnsupportedOperationException: Not supported yet.
You better check the logfiles in $HOME/.Oolite/Logs now
Does OoliteStarter use Java instead of C++ and/or .js javascript files handled by a web browser or Oolite itself?
User avatar
hiran
Theorethicist
Posts: 2403
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 »

Switeck wrote: Wed Feb 14, 2024 9:07 pm
Does OoliteStarter use Java instead of C++ and/or .js javascript files handled by a web browser or Oolite itself?
OoliteStarter is an application programmed in Java, and when the button to start the game is pressed the original Oolite (programmed in C/C++/Objective C) is invoked. At this stage there is nothing else in use at all. JavaScript comes into play when Oolite decides to load and execute expansions.
Sunshine - Moonlight - Good Times - Oolite
User avatar
hiran
Theorethicist
Posts: 2403
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: Wed Feb 14, 2024 5:04 pm
By the way, the error didn't actually interfere with anything. Oolite launched fine and it actually did load the correct save.
I have the next version. The UI has not dramatically changed - but some internals. OoliteStarter now tries not to rescan the whole installed set on every opportunity. There may be still a gap in there I need to cover, but you may take an early look. Feedback is welcome. :-)

OoliteStarter v0.1.28-uxbridge.3
Sunshine - Moonlight - Good Times - Oolite
User avatar
hiran
Theorethicist
Posts: 2403
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 »

Meanwhile I have even more changes.

I can see newer versions do get downloaded eventually but I hear no comments - neither good nor bad.

What is happening?
Sunshine - Moonlight - Good Times - Oolite
Post Reply