Skip to content

Commit 465a1ff

Browse files
committed
Announce Psychtoolbox 3.0.20.2.
1 parent 57bcc2c commit 465a1ff

File tree

1 file changed

+102
-0
lines changed

1 file changed

+102
-0
lines changed
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
---
2+
layout: post
3+
title: Psychtoolbox updated
4+
categories: news
5+
author: kleinerm
6+
---
7+
8+
Psychtoolbox 3.0.20.2 "Appletizer SP2" was released at 1st February 2025.
9+
10+
The complete development history can be found in our GitHub repository.
11+
The release tag is “3.0.20.2”, with the full tree and commit logs under the URL:
12+
13+
<https://github.com/Psychtoolbox-3/Psychtoolbox-3/tree/3.0.20.2>
14+
15+
16+
[This Psychtoolbox release was sponsored by Mathworks under the year 2024/2025
17+
contract for small enhancements and bug fixes.](https://www.mathworks.com/solutions/neuroscience.html)
18+
19+
### Compatibility changes wrt. Psychtoolbox 3.0.20.1:
20+
21+
- None expected.
22+
23+
### Highlights:
24+
25+
- None. This release contains minor functional and quality improvements, bug
26+
fixes, and refinement of license management support for macOS and Windows in
27+
the run-up to the launch of the actual paid license model / end of free trial
28+
period.
29+
30+
### All:
31+
32+
- PsychLicenseHandling(): Add auto download and install for LM client libs.
33+
Detect absence of required license manager client libraries during 'Setup' and try
34+
to auto-download and install the missing crucial libraries.
35+
36+
This is relevant for non-standard Psychtoolbox installations via GitHub clone or
37+
checkout, download of source tree zip/tgz files, or maybe even when the deficient
38+
Matlab Add-On manager will be reenabled and used in a future release, if we are lucky.
39+
40+
Should fix multiple trouble reports on the forum from both Windows and macOS users,
41+
encountered if they download the "wrong" (ie., not recommended for beginners) zip or
42+
tar.gz files for a Psychtoolbox release, instead of the recommended zip file.
43+
44+
- Update license management libraries to Cryptlex Runtime v3.31.2.
45+
Apart from minor bug fixes, the main improvement is support for system-wide
46+
activations on macOS, which should be quite useful for our users on Apple macOS,
47+
as one user account on a Apple machine can activate a machine license, and all users
48+
on that machine should be able to use it, instead of having to repeat the procedure
49+
for each user account on a machine. This was so far only possible on MS-Windows.
50+
51+
- DrawFormattedText() and DrawFormattedText2(): Improve formatting/layout of Unicode text.
52+
Make it work with double() encoded unicode under Matlab/Octave with 'wrapat' and
53+
'justifytomax' layout, and per-word bounding boxes. And with text wrapping.
54+
55+
Over 8 hours of tinkering, but seems to work better, as tested on Ubuntu 20.04 with
56+
Octave 5.2 and Matlab R2024a.
57+
58+
- PsychtoolboxPostInstallRoutine: Prune pointless Octave path removals.
59+
These are dead and pointless since a while.
60+
61+
- Various other smaller refinements, bug fixes and documentation updates.
62+
63+
### Linux:
64+
65+
- Psychtoolbox was built and tested against Matlab R2024b and Octave 5.2 and later.
66+
67+
### Windows:
68+
69+
- Psychtoolbox was built and tested against Matlab R2024b and Octave 7.3.
70+
71+
- Move all Matlab mexw64 mex files into PsychBasic folder, delete the now unused
72+
PsychBasic/MatlabWindowsFilesR2007a subfolder, which is obsolete since a long
73+
time, so get rid of it and store the Matlab mex files for Windows in the same
74+
location as the Matlab mex files for Linux and macOS - the PsychBasic/ folder.
75+
The file extension makes sure everything gets sorted. This may make it possible
76+
to reenable "Matlab Toolbox Add-On" MLTBX support sometime in the future, although
77+
more work will be needed for that.
78+
79+
- Screen(): Improve/Fix per-pixel alpha for onscreen window transparency.
80+
This used to work on WindowsXP, but got broken by some later version of
81+
MS-Windows. This change should fix it on Windows 10+, at least on the tested
82+
gpu's. Right now this improvement is limited to Octave, Matlab will follow in
83+
the next release if testing with this does not show problems.
84+
85+
### macOS:
86+
87+
- Psychtoolbox was tested against native Matlab R2024b and against native Octave 9.3
88+
from HomeBrew.
89+
90+
- PsychtoolboxPostInstallRoutine: Raise minimum macOS version check to 10.13.
91+
We need at least macOS 10.13 for Intel Macs and macOS 11 for Apple Silicon Macs.
92+
93+
- Allow system-wide node-locked machine license activations, so only one user has to
94+
do the activation, and then all users on that machine can use Psychtoolbox without
95+
need to activate per user account.
96+
97+
- Datapixx mex for Octave/Matlab on macOS Apple Silicon rebuilt against a more recent
98+
VPixx release from 2019 instead of 2014. Still outdated, but better than before, to
99+
fix possible interop problems of Apple Silicon Macs with VPixx devices. Not yet
100+
tested and confirmed to make things work - Awaiting user feedback.
101+
102+
Enjoy!

0 commit comments

Comments
 (0)