intfiction.org

The Interactive Fiction Community Forum
It is currently Sat Feb 23, 2019 4:59 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: Sun Nov 04, 2018 8:13 pm 
Offline

Joined: Wed Nov 12, 2014 5:20 pm
Posts: 222
A new version of Spatterlight is up at
https://github.com/angstsmurf/spatterlight/releases/

It runs on OS X 10.7 Lion-macOS 10.14 Mojave. All the interpreter cores are updated to Gargoyle's versions. There is some new sorting and contextual menu functionality in the table view. I've tried to implement the full Glk API.

Please try it out!

EDIT: Spatterlight is the Mac-only precursor to Gargoyle by Tor Andersson. If you're on a Mac, it has some advantages over Gargoyle, such as system native text handling, a GUI preference panel and a game library window. Please report any bugs or feature requests in this thread or on Github!

EDIT 2: 0.5.6b, which fixes scrolling, is up.

EDIT 3: And 0.5.7b, which fixes some non-displaying graphics.

EDIT 4: 0.5.8b is up, which lets you save wherever you want and does not crash Image Test.


Last edited by Angstsmurf on Tue Nov 27, 2018 2:24 pm, edited 3 times in total.

Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Nov 05, 2018 10:15 am 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5921
Nice! I’ll take a look when I have time.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Nov 05, 2018 2:55 pm 
Offline

Joined: Sun Jan 01, 2017 1:32 am
Posts: 91
Unfortunately, by using the Gargoyle versions of the interpreters, that means this version won't get along with the VoiceOver screen reader. I wish there was a way to make Gargoyle accessible, bbbut the Garglk library uses unorthodox printing routines, so it's basically impossible.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Nov 05, 2018 3:55 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5921
This doesn't use Garglk.

I did a quick test with MacOS Voiceover. It reads the opening text correctly, but then command responses aren't read out. So it's not fully functional; but it's using the standard display API enough for at least some functionality, and this can probably be improved.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Nov 05, 2018 4:09 pm 
Offline

Joined: Sun Apr 18, 2010 3:58 pm
Posts: 867
The problem is that VoiceOver thinks that the Spatterlight transcript is just one big giant text area, so VoiceOver doesn't know that it should focus on and read new text in the transcript. (In HTML terms, VoiceOver doesn't know that the Spatterlight text window is an ARIA live region.) So VoiceOver would just keep reading and re-reading the entire transcript, with no way to focus on or skip past individual paragraphs.

Lectrote is only slightly better in this sense: it uses an HTML renderer, so it can tell VoiceOver about individual paragraphs. When you type a command, you remain focused on the command area, and you have to navigate backward through the text to find the new text and read that. But at least on Lectrote it is possible to navigate paragraph by paragraph. (Lectrote does mark the transcript window as a live region, but macOS VoiceOver doesn't appear to notice.)

_________________
At Choice of Games, we sell long-form choice-based interactive fiction games. We're looking for writers, paid in advance.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Nov 05, 2018 4:52 pm 
Offline

Joined: Wed Nov 12, 2014 5:20 pm
Posts: 222
That doesn't sound like something that would be impossible to fix. Are there any good examples out there of Voiceover-friendly apps that work the way you'd like, preferably with source code available?


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Nov 05, 2018 5:05 pm 
Offline

Joined: Sun Jan 01, 2017 1:32 am
Posts: 91
I don't think source code is available, but take a look at the Zoom interpreter by Andrew Hunter. Aside from command-line version of frotz, it's the best Z-Machine interpreter around.
And as for gargoyle, is it possible to create a version of Gargoyle using the standard display API? Because, y'know, Windows and Linux need love too. :D


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Nov 05, 2018 5:27 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5921
Quote:
And as for gargoyle, is it possible to create a version of Gargoyle using the standard display API? Because, y'know, Windows and Linux need love too. :D


When we say "standard display API" in this context, we're talking about the MacOS Cocoa toolkit. Anything that uses it is, by definition, a Mac-only app.

Gargoyle achieves cross-platformness by hand-rolling a text display system. This has no connection to OS-native screen readers.

Lectote achieves cross-platformness by using HTML and a Chrome browser as a text display system. Chrome supports the HTML standard for screen readers, but this is hard to tune for the parser IF layout. (Which is something of an abuse of HTML to begin with.)

Quote:
Are there any good examples out there of Voiceover-friendly apps that work the way you'd like, preferably with source code available?


Apple has extensive documentation. I've never looked at the MacOS version of VoiceOver, but the iOS version was fairly straightforward.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Nov 05, 2018 5:29 pm 
Offline

Joined: Wed Nov 12, 2014 5:20 pm
Posts: 222
Just to be clear, is there any problem in particular with the current text-to-speech functionality in Gargoyle? It seems to work fine on my system in the Mac version I put up here: https://github.com/angstsmurf/garglk/releases. It has to be turned on in the preferences file, of course.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Nov 05, 2018 6:15 pm 
Offline

Joined: Thu Oct 30, 2014 12:10 pm
Posts: 649
Angstsmurf wrote:
Please report any bugs or feature requests in this thread or on Github!


With the old version of Spatterlight, it was reported (in the course of testing another extension) that, when running a project that used Flexible Windows, Spatterlight would become unresponsive. It may be worth testing to see if that is still the case with the updated Spatterlight. (I don't have a machine that can run Spatterlight, and haven't tested it myself.)

Sample code:

Code:
Include Flexible Windows by Jon Ingold.

Red Window is a g-window. The main window spawns Red Window.
The background color of Red Window is "#FF0000".

Instead of jumping:
open Red Window.

Place is a room.


With the above code, this sequence of events would crash the old Spatterlight (in a testing release):
RULES. ACTIONS. Resize the window. LOOK. (Becomes unresponsive).

There's a screenshot here: https://github.com/i7/extensions/issues/31

I believe this happened when using the version of Flexible Windows that is on Github--whichever version was current in 2015, when this issue was reported. https://github.com/i7/extensions/blob/m ... indows.i7x


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group