Difference between revisions of "AppleMac"

From Elite Wiki
(Solution 1: Install expansions manually. It is effort but possible)
(Solution 2: Configure Oolite to access the expansion catalog from the new URL)
Line 53: Line 53:
 
Oolite reads preferences from a file called
 
Oolite reads preferences from a file called
 
     ~/Library/Preferences/org.aegidian.oolite.plist
 
     ~/Library/Preferences/org.aegidian.oolite.plist
(see also [[Location of Oolite saved settings]])
+
(see also [[Location of Oolite saved settings]]). The file is written in [[Property list]] format.
  
The file is written in [[Property list]] format. Open this file with your preferred editor and
+
While Oolite is not running, open this file with your preferred editor and
 
ensure there is a key "oxz-index-url" with value "http://addons.oolite.space/api/1.0/overview/".
 
ensure there is a key "oxz-index-url" with value "http://addons.oolite.space/api/1.0/overview/".
 +
Save the document. On future startup the Oolite builtin expansion manager should find the correct index of expansions.
  
 
Further guidance with screenshots available at [https://app.box.com/s/8t5x1sxqlm2zlrtqcws3zwwcv2ow2z17 MacOS Process to update gnustepdefaults file].
 
Further guidance with screenshots available at [https://app.box.com/s/8t5x1sxqlm2zlrtqcws3zwwcv2ow2z17 MacOS Process to update gnustepdefaults file].

Revision as of 22:22, 20 December 2023

Late 2016 MacBook Pro.jpg

Oolite was originally written for the AppleMac.

Overview

Whilst this meant that those playing Oolite on AppleMacs in the early days had an advantage, the haemorrhaging of AppleMac-friendly developers has led to the inability to fix recent issues (such as the loss of sound) and worries over eventual play on BigSur once backwards compatibility is abandoned by Apple.

AppleMac "help" (" ⌘ ? ") creates this drop-down in a full-screen game

Advantages

Some of the Oolite functionality is "built-in" to the AppleMac. This is most obvious when running the OXP developer releases of Oolite, where the Debug console is built-in to the AppleMac.

The OpenStep Legacy script is from the AppleMac OS

Disadvantages

  • As Apple try more and more to suck money out of anything designed to work on an AppleMac, they have made opening an Oolite download on an AppleMac more difficult.
  • The Load Commander option on game start-up is also built in to the AppleMac, so one gets the standard AppleMac "open file" dialogue box, which gives no information about the save files other than their size and date (in Windows, for example, you get details of Elite rank, location and wealth).
  • The AppleMac parsing of Javascript is rather more tendentious than that of Windows, so, for example, oxp's will be rejected because of a wonky "quotations mark" which windows would just accept and interpret. On the other hand, if you write an oxp on your AppleMac, it should work happily on any other contraption (if you can ever get it to work on yours!!).
  • The newer AppleOS's use the control key for windows management, and this requires disabling if you want to use the control key in-game.
  • Many of the HOTAS setups are incompatible with the AppleMac, and thus only partially usable for Oolite.
  • The AppleMac OS hides files away from view, so finding your AddOns and Managed AddOns folders can be pains in the unmentionables. As can looking at the vanilla game code.
  • There are issues with the game sounds disappearing when playing for any length of time.

Running your new download of Oolite

Newly-downloaded copies of Oolite are not allowed to run under AppleOS, because it’s “from an unidentified developer” (ie none of us paid $300 to get a signature from Apple Inc.).

Solution

You can bypass this behaviour as follows:

Select Oolite in the Finder.
Hold down the control key and click the Oolite icon.
Select Open from the pop-up menu.
You will get the traditional This is an application downloaded from the Internet warning, and can now choose to open Oolite and start playing!

Installing expansions on Oolite 1.90

Oolite can be customized easily by installing expansion packs (OXP directories or OXZ files). There is a builtin expansion manager that downloads and installs expansions you select. They are accessed from the website oolite.org. Unfortunately the Oolite project has moved to a different domain oolite.space, and the all builds before v1.91 are not aware of this.

There are several options to overcome this limitation:

Solution 1: Install expansions manually. It is effort but possible

You need to know where to get downloads from, and you need to know where to drop them on your harddrive.

To find out the available expansions, go to https://ooliteproject.github.io/oolite-expansion-catalog/indexExpansionsByName.html. You can pick something from the list and go to the detail page. On that detail page for each expansion you find a download link.

After downloading, move the file to

  ~/Library/Application Support/Oolite/Managed Addons

The tilde character will be replaced by your user home directory. If you prefer, you can as well write

  $HOME/Library/Application Support/Oolite/Managed Addons

In any case, mind the space characters in the directory names.

Solution 2: Configure Oolite to access the expansion catalog from the new URL

Oolite reads preferences from a file called

   ~/Library/Preferences/org.aegidian.oolite.plist

(see also Location of Oolite saved settings). The file is written in Property list format.

While Oolite is not running, open this file with your preferred editor and ensure there is a key "oxz-index-url" with value "http://addons.oolite.space/api/1.0/overview/". Save the document. On future startup the Oolite builtin expansion manager should find the correct index of expansions.

Further guidance with screenshots available at MacOS Process to update gnustepdefaults file.

Solution 3: Make use of Oolite Starter

Oolite Starter is a wrapper for Oolite that allows managing expansions and more.

Precision Flying and the Control Key

The precision flying ‘control’ key does not work well on the modern macs -

Your Oolite window whizzes off to the side, is replaced by another window and you suddenly find that you are looking at something quite different (your cobra may indeed be flying much more precisely - but it's a tad difficult to ascertain this when the appropriate window has jumped into witchspace without you!)

This is because the more recent MacOS's combine the control key with the arrow keys to activate ‘Mission Control’ (which manages the opened windows on the computer screen).

Solution

1) You need to find the ‘Keyboard’ panel in System Preferences (3rd row down on my machine)
2) Then select the ‘shortcuts’ button on the top line of the window.
3) Choose ‘Mission Control’ in the left hand box.
4) Finally, ‘uncheck’ the relevant shortcuts (Mission Control, Application windows, move left a space, move right a space).

Things should now work as they should!

HOTAS and AppleMac

Some people find that using a HOTAS is invaluable for dog-fighting (It does not have to be - see Another_commander's virtuoso display here). In theory, every HOTAS should work on an AppleMac as AppleMac accepts the recognized standard USB HID devices as Windows and Linux do. The problem is with the HOTAS manufacturers adding on bells and whistles which then require software to interpret. They can't be bothered to write the software for Apple (or for Linux), and so things start to fall apart.

Solutions

Thrustmaster TFlight HOTAS 4/TM4

It seems that this is not compatible with the AppleMac, with the twist, throttle and axis on the back of the throttle not seeming functional. What neither Thrustmaster nor Apple can be bothered to tell you is that you need to keep the PS, SHARE & OPTIONS buttons held down while you plug it into your AppleMac. The green light should then come on on your PS button, and you should find it fully functional.

Accessing the Vanilla Game Code

Solution

Download the current oolite-1.9?.zip from GitHub. This will just expand, rather than install, and you will be able to look at the entire code.

AppleMac peculiarities

The so-called Oolite programme is really just an unopenable folder with the programme hidden inside, which starts when you click on the folder wrapping.

History

Oolite was originally written by Aegidian for the AppleMac back in 2003 and then ported by Winston & David Taylor to Linux & Windows three years later. Our Second lead developer, Ahruman (2007-13) was also an AppleMac buff. It's been downhill ever since, sadly. So much so, that the introduction of Big Sur (MacOS 11) threatens to make Oolite unplayable once Apple phase out backwards compatibility, due to our lack of developers who know how to make Oolite compatible with Big Sur.

Links