Oolite Website Domain & Fixing the Expansions Manager

General discussion for players of Oolite.

Moderators: another_commander, winston

Post Reply
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6547
Joined: Wed Feb 28, 2007 7:54 am

Oolite Website Domain & Fixing the Expansions Manager

Post by another_commander »

The Oolite site domain has been changed temporarily (or maybe more than temporarily - who knows?) to http://www.oolite.space
The Expansion Pack Manager also appears to be fully working again.

You will need to point it to the new domain, however. To do that, open your <OoliteInstallFolder>/oolite.app/GNUstep/Defaults/.GNUstepDefaults file in a text editor and add this line anywhere inside the "oolite" section of the plist:

Windows:
"oxz-index-url" = "http://addons.oolite.space/api/1.0/overview";
Linux:
<key>oxz-index-url</key>
<string>http://addons.oolite.space/api/1.0/overview</string>


then save and exit.
You can now once again download the latest expansion list and use the Expansion Pack Manager normally.

Many thanks to timer for his work on making this possible.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16057
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Oolite Website Domain

Post by Cody »

Advice: make a back-up of your .GNUstepDefaults file first, just in case!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
arquebus
---- E L I T E ----
---- E L I T E ----
Posts: 511
Joined: Sun Oct 31, 2021 6:07 am
Contact:

Re: Oolite Website Domain

Post by arquebus »

Is the Linux formatting the same for the Mac?
Here is my YouTube channel, where I play poorly: Arquebus X
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6547
Joined: Wed Feb 28, 2007 7:54 am

Re: Oolite Website Domain

Post by another_commander »

arquebus wrote: Wed Mar 29, 2023 5:45 pm
Is the Linux formatting the same for the Mac?
Not sure. If the Mac defaults file looks like xml, then yes, otherwise it is the other format.

I don't know or can test what it actually looks like, so if anyone can kindly confirm, I will update the instructions to include Mac too.
User avatar
Damocles Edge
---- E L I T E ----
---- E L I T E ----
Posts: 256
Joined: Thu Mar 30, 2017 9:57 pm

Re: Oolite Website Domain

Post by Damocles Edge »

I can't seem to get this fix to take
I'm running a Linux install taken from GitHub.
.GNUstepDefaults is located in /home/unsername/GNUstep/Defaults/ (I'm presuming Windows installs to the path referenced above)

I make the changes mentioned (I simply pasted them to the end of the text file before saving and closing mousepad)

I run Oolite and attempt to update the add-ons list, after waiting several minutes and nothing happening I abandon and close Oolite down (all via the in game menu).

Checking .GNUstepDefaults reveals that it has undone the changes and reverted back to its former state below

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" "http://www.gnustep.org/plist-0_9.xml">
<plist version="0.9">
<dict>
    <key>NSGlobalDomain</key>
    <dict>
    </dict>
    <key>oolite</key>
    <dict>
	<key>detailLevel</key>
	<integer>3</integer>
	<key>fullscreen</key>
	<string>YES</string>
	<key>gamma-value</key>
	<real>1</real>
	<key>volume_control</key>
	<real>0.5</real>
    </dict>
</dict>
</plist>
Am I doing something wrong or can anyone point me in the right direction of where the issue may be please :?
Last edited by Damocles Edge on Thu Mar 30, 2023 11:57 pm, edited 1 time in total.
O.C.T.D (Oolite Crash Test Dummy) Hmm Hmm Hmm Hmm......
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6547
Joined: Wed Feb 28, 2007 7:54 am

Re: Oolite Website Domain

Post by another_commander »

Insert the Linux key / value pair as shown below and it should take it:

Code: Select all

<key>oolite</key>
    <dict>
	<key>detailLevel</key>
	<integer>3</integer>
	<key>fullscreen</key>
	<string>YES</string>
	<key>gamma-value</key>
	<real>1</real>
	<key>oxz-index-url</key>
	<string>http://addons.oolite.space/api/1.0/overview</string>
	<key>volume_control</key>
	<real>0.5</real>
    </dict>
   
User avatar
ffutures
---- E L I T E ----
---- E L I T E ----
Posts: 2128
Joined: Wed Dec 04, 2013 12:34 pm
Location: London, UK
Contact:

Re: Oolite Website Domain

Post by ffutures »

Where exactly in the file should this go for Windows? After the Oolite bracket? Right at the beginning or end?
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6547
Joined: Wed Feb 28, 2007 7:54 am

Re: Oolite Website Domain

Post by another_commander »

Anywhere inside the "oolite" section of the plist. Here is an example for Windows:

Code: Select all

{
    NSGlobalDomain = {
    };
    oolite = {     // oolite section starts here
	animation_timer_interval = 0.001;
	"anti-aliasing" = YES;
	autosave = NO;
	cAtt = 0.5;
	"debug-settings-override" = {
	};
	detailLevel = 3;
	display_height = 1080;
	display_refresh = 0;
	display_width = 1920;
	"flight-arrow-key-precision-factor" = 0.1;
	"fov-value" = 80;
	fullscreen = NO;
	"gamma-value" = 1.0;
	"grab-mouse-on-mouse-control" = YES;
	"hdr-max-brightness" = 400;
	"hdr-paperwhite-brightness" = 140;
	"jsruntime-size-mib" = 256;
	"keyboard-code" = default;
	"mouse-control-in-windowed-mode" = YES;
	"music mode" = on;
	"oxz-index-url" = "http://addons.oolite.space/api/1.0/overview";  // here it is!
	p3dnsf = 0.125;
	window_height = 715;
	window_width = 1194;
	};  //oolite section ends here
}
User avatar
ffutures
---- E L I T E ----
---- E L I T E ----
Posts: 2128
Joined: Wed Dec 04, 2013 12:34 pm
Location: London, UK
Contact:

Re: Oolite Website Domain

Post by ffutures »

Doesn't seem to want to work. I'm getting this in the log:

13:51:04.106 [plist.parse.failed]: Failed to parse C:\Oolite182/oolite.app/GNUstep/Library/Caches/org.aegidian.oolite/Oolite-download.plist as a property list.
Parse failed at line 1 (char 2) - unexpected character (wanted '>')
13:51:04.110 [oxz.manager.error]: Downloaded manifest was not a valid plist, has been left in C:\Oolite182/oolite.app/GNUstep/Library/Caches/org.aegidian.oolite/Oolite-download.plist
13:51:10.858 [exit.context]: Exiting: Exit Game selected on start screen.
13:51:10.858 [gameController.exitApp]: .GNUstepDefaults synchronized.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6547
Joined: Wed Feb 28, 2007 7:54 am

Re: Oolite Website Domain

Post by another_commander »

ffutures wrote: Thu Mar 30, 2023 12:58 pm
Doesn't seem to want to work. I'm getting this in the log:

13:51:04.106 [plist.parse.failed]: Failed to parse C:\Oolite182/oolite.app/GNUstep/Library/Caches/org.aegidian.oolite/Oolite-download.plist as a property list.
Is this correct? You still on 1.82?

Right now it seems that http://addons.oolite.space/api/1.0/overview is throwing a 404, while yesterday it was downloading the list as it should. No idea what has happened this time.
User avatar
ffutures
---- E L I T E ----
---- E L I T E ----
Posts: 2128
Joined: Wed Dec 04, 2013 12:34 pm
Location: London, UK
Contact:

Re: Oolite Website Domain

Post by ffutures »

No, it's 1.9, I installed in the old directory.

No worries, I'm happy to wait until things seem to have settled down.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6547
Joined: Wed Feb 28, 2007 7:54 am

Re: Oolite Website Domain

Post by another_commander »

@ffutures, I see that you seem to have managed to download something, while I hit a 404 page. Would you mind uploading C:\Oolite182/oolite.app/GNUstep/Library/Caches/org.aegidian.oolite/Oolite-download.plist somwhere so that I can have a look at it, just to see if there is anything in there that could hint at what went wrong?
User avatar
ffutures
---- E L I T E ----
---- E L I T E ----
Posts: 2128
Joined: Wed Dec 04, 2013 12:34 pm
Location: London, UK
Contact:

Re: Oolite Website Domain

Post by ffutures »

another_commander wrote: Thu Mar 30, 2023 5:33 pm
@ffutures, I see that you seem to have managed to download something, while I hit a 404 page. Would you mind uploading C:\Oolite182/oolite.app/GNUstep/Library/Caches/org.aegidian.oolite/Oolite-download.plist somwhere so that I can have a look at it, just to see if there is anything in there that could hint at what went wrong?
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error 404: Page not found</title>
<link rel="stylesheet" type="text/css" href="/css/oolite.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div id="body">
<h1>Error 404: Page not found</h1>
<div id="content">
<div id='pagenotfound'>

<p>The page you requested could not be found. Perhaps it was attacked by a thargoid?</p>

<img src='/images/pagenotfound/a_cgriffNewThargoid3_2.gif' alt='Erased from existence!'>

</div>
</div>
</div>
<div id="navigation">
<a href='/'><img src="/images/template/logo.png" alt="Oolite"></a>
<ul><li><a href='/'>About Oolite</a></li>
<li><a href='/whatsnew/'>What's new?</a></li>
<li><a href='/download/'>Download</a></li>
<li><a href='/starting/'>Getting started</a></li>
<li><a href='/gallery/'>Screenshots</a></li>
<li><a href='/oxps/'>Expansion Packs</a></li>
<li><a href='/community/'>Community</a></li>
</ul>
<blockquote id="setting">&ldquo;Twelve jumps out from Zaquesso found him sitting in the spacer bar on Bizaar station. Not a very wholesome place … or system for that matter. Apart from a ferocious firefight in Anisat system the run so far had been fairly uneventful, but he had been expecting some hassle here. This was a gateway system … if you wanted to get from Spaceway Five to the Extrinsic Reach you had to pass through here. Most anarchy systems were dangerous but Bizaar was doubly so.&rdquo; <cite>&mdash; from <a href='https://app.box.com/s/7ykrang6xmqausxp989e'>Coyote</a> by Cody</cite></blockquote> </div>
<div id="footer">&copy; 2003–2023 Giles Williams, Jens Ayton & contributors</div>
</body>
</html>
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6547
Joined: Wed Feb 28, 2007 7:54 am

Re: Oolite Website Domain

Post by another_commander »

OK, this is the 404 page in html, but you managed to download it when for me, in-game, it just stands there waiting forever. The mystery intensifies...
User avatar
Nite Owl
---- E L I T E ----
---- E L I T E ----
Posts: 521
Joined: Sat Jan 20, 2018 4:08 pm
Location: In The Dark

Re: Oolite Website Domain

Post by Nite Owl »

Tried it yesterday and again today with v1.90 but no updated Oolite-download.plist was downloaded from the new site. Followed the directions properly adding the appropriate line of code to .GNUstepDefaults.

Code: Select all

"oxz-index-url" = "http://addons.oolite.space/api/1.0/overview";
Given that timer had posted that things might be a bit slow on the new site each attempt was given a 10 minute wait time to see if anything would download, still no joy. On both attempts the 404 message came up when trying to go to the page directly.

Perhaps timer listed that specific page under a different url or an incomplete url. For instance http://addons.oolite.space/ brings up what appears to be a duplicate of the Main Page. Perhaps the rest of the properly needed url somehow got deleted. Grabbing at straws here but anything is possible.
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
Post Reply