Ship's Library 0.9 and Oolite 1.90

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
CdrC64
Average
Average
Posts: 15
Joined: Fri Feb 27, 2015 5:01 am
Location: Vetitice
Contact:

Ship's Library 0.9 and Oolite 1.90

Post by CdrC64 »

Coming back from a long hiatus, and decided to update all my OXPs using the release Oolite V1.90

Ships Library v0.9 is available, so I download it. It then greys out saying that it's incompatible with my version of Oolite, and claims v0.8.1 is available, but won't let me update it.

Of course, bunch of other OXPs fail to load then without the Library OXP.

I manage to get v0.8.1 from the OoliteStarter app, and things seem to be running OK.

Looking at manifest.plist I see

Code: Select all

required_oolite_version = "1.91";
but in requires.plist it says

Code: Select all

"version" = "1.79";
I also see in manifest.plist

Code: Select all

download_url = "http://com.sotl.org.ukgames/files/oolite/Ships_Library_0.8.oxz";
but I have no idea if that's relevant.

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

Re: Ship's Library 0.9 and Oolite 1.90

Post by Cholmondely »

I'm unaware of any major updates to the Ship's Library OXP - or of any need for any of the bells and whistles added by Oolite v.1.91


The version on [url=file:///Users/accountname/Desktop/Editing%20the%20wiki/Hiran's%20OutputDir/OoliteExpansionIndex%20(July%2023)/expansions/oolite.oxp.cim.ships-library.html]Hiran's Expansions Index[/url] says nothing about any of this - but gives no Oolite version details for it.

The manifest.plist in my version says this:

{
identifier = "oolite.oxp.cim.ships-library";
version = "0.8";
title = "Ship's Library";
required_oolite_version = "1.79";
description = "An e-reader for your ship which can read various books while docked - or with a purchasable upgrade, also while in flight. It comes with a ship's manual as an initial book, with other books available as separate expansion packs.";
category = "Equipment";
author = "cim";
license = "GPL v2+ / CC-BY-NC-SA 3.0";
download_url = "http://compsoc.dur.ac.uk/~cim/oolite/Sh ... ry_0.8.oxz";
}

What happens if you just change the manifest.plist's "required_oolite_version" back to "1.79"?



Oh! And welcome back from the durance vile in the realms of the Witchspace Lobster!
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?
User avatar
CdrC64
Average
Average
Posts: 15
Joined: Fri Feb 27, 2015 5:01 am
Location: Vetitice
Contact:

Re: Ship's Library 0.9 and Oolite 1.90

Post by CdrC64 »

Here's the manifest.plist in the one I upgraded from the OXP expansion manager in-game:

Code: Select all

{
	identifier = "oolite.oxp.cim.ships-library";
	version = "0.9";
	title = "Ship's Library";
	required_oolite_version = "1.91";
	description = "An e-reader for your ship which can read various books while docked - or with a purchasable upgrade, also while in flight. It comes with a ship's manual as an initial book, with other books available as separate expansion packs.";
	category = "Equipment";
	author = "cim";
	license = "GPL v2+ / CC-BY-NC-SA 3.0";
	information_url = "https://wiki.alioth.net/index.php/Ship%27s_Library_OXP";
	download_url = "http://com.sotl.org.ukgames/files/oolite/Ships_Library_0.8.oxz";
}
User avatar
Cholmondely
Archivist
Archivist
Posts: 5503
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Ship's Library 0.9 and Oolite 1.90

Post by Cholmondely »

So the download version is cim's original v.0.8. But the manifest.plist says it is v.0.9.

Does the ReadMe imply any massive changes in v0.9?
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?
User avatar
CdrC64
Average
Average
Posts: 15
Joined: Fri Feb 27, 2015 5:01 am
Location: Vetitice
Contact:

Re: Ship's Library 0.9 and Oolite 1.90

Post by CdrC64 »

I diffed 0.8 and 0.9:

The scripts add "use strict"; to the top of the files and the MFD is free instead of 2000

That and textual changes to the flight manual.
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4841
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Ship's Library 0.9 and Oolite 1.90

Post by phkb »

The changes in the latest version are because of changes to the keyboard configuration in Oolite 1.91.

So, if you plan on running Oolite 1.90, simply uninstall the latest version, and install the previous version.
User avatar
CdrC64
Average
Average
Posts: 15
Joined: Fri Feb 27, 2015 5:01 am
Location: Vetitice
Contact:

Re: Ship's Library 0.9 and Oolite 1.90

Post by CdrC64 »

phkb wrote: Mon Jan 06, 2025 3:38 am
So, if you plan on running Oolite 1.90, simply uninstall the latest version, and install the previous version.
Can you install a particular version from the OXP manager in Oolite?

I assumed anything that was listed as "update available" would be compatible with the version of Oolite that I was running. It's a bit disconcerting that you can't safely update things because they might be incompatible and then you've lost the old version.

Unless there's an "install specific version" that I missed?
User avatar
Nite Owl
---- E L I T E ----
---- E L I T E ----
Posts: 570
Joined: Sat Jan 20, 2018 4:08 pm
Location: In The Dark

Re: Ship's Library 0.9 and Oolite 1.90

Post by Nite Owl »

Two possibilities to avoid this problem. Some of the Wiki pages have download links for the specific OXZs/OXPs they relate to which can be parsed to find the older versions of themselves. Not the case in this particular instance but put here for future reference. The best solution is whenever you are updating an OXZ/OXP to a newer version keep a copy of the old version in a folder somewhere as a backup until you are 100% sure that the new version works exactly as you expect it to.
Humor is the second most subjective thing on the planet

Brevity is the soul of wit and vulgarity is wit's downfall

Good Night and Good Luck - Read You Soon
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4841
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Ship's Library 0.9 and Oolite 1.90

Post by phkb »

There's a bug in the core core. It will allow an OXP to be updated to an incompatible version from the "List installed expansion packs" view. If you are on the "Install expansion pack" view, an update is not allowed.

Worked example:

In this screenshot from Oolite 1.90, I have the Ship's Library 0.8.1 installed, and I've got the "Install expansion pack" view selected. Note the grey colour on the 0.9 version of Ship's Library, indicating the version is not compatible with Oolite 1.90.

Image

In this next screenshot, I've switched to the "List Installed expansion packs" view, which reveals I only have one expansion pack installed. Notice how the colour of the item changes to to cyan, indicating an update is available and can be installed.

Image

If I get some time I'll see what can be go about this in the core application, but for users of Oolite 1.90, this is something you will need to be aware of.
User avatar
CdrC64
Average
Average
Posts: 15
Joined: Fri Feb 27, 2015 5:01 am
Location: Vetitice
Contact:

Re: Ship's Library 0.9 and Oolite 1.90

Post by CdrC64 »

That's great to know! I was in the "List Installed Expansion Packs" view.

Thanks for solving that conundrum.
Post Reply