Short: Updated/fixed speech for AmIRC/WookieChat Author: Bruce Steers & Alex Carmona Uploader: Alex Carmona Type: comm/irc Version: 6.1 Requires: Say, translator.library, narrator.device, MUI Architecture: generic DESCRIPTION: This is an updated version of AmIRSay.amirx, with added WookieSay.rexx, a WookieChat adaptation. It's based on version 5.6* of the script and has been bumped to 6.1 in order to match the latest AmIRSayPrefs version. *note: I'm not sure where my v5.6 script came from -- the latest main archive contains V5.0b -- but v5.6 has localization disabled and a few changes related to the prefs. It shouldn't be too difficult to re-enable localization so I'll do that if there's enough demand for it. BUG? FEATURE! My original intent was to add speech to WookieChat as its new AREXX port made it possible, but in the process I stumbled upon bugs in both the AmIRSay script and the AmIRSayPref binary which caused crashes in OS4. I've taken care of the problems in the script, it was calling functions which OS4 doesn't seem to like inside a forbid/permit pair. However I didn't fix AmIRSayPrefs as it is written in 'E' and I neither have time to learn 'E' and setup an 'E' compiler, nor port it to 'C'. If you feel like fixing and/or porting AmIRSayPrefs, the .e sources can be found in the amirsay.lha archive on Aminet. The bug in AmiIRSayPrefs is that it writes a pair of extra chars in front of the 'Default' line of the [VOICES] section when saving the prefs, causing a hit the next time it loads the prefs and reads that line. The workaround is to delete the two extra chars after saving the prefs. I've provided an AmIRSayPrefs wrapper script which does just that. INSTALLATION: - Copy AmIRSay.amirx to the AMIRC/Rexx drawer and/or copy WookieSay.rexx to WookieChat/arexx_scripts drawer. - Copy AmIRSAY.cfg to S: - Make sure you have the "Say" command in C:, :System, or :Utilities. The script should then appear in the Arexx menu the next time you launch the IRC client and be ready to use. I also recommend downloading the original AmIRSay archive from http://aminet.net/comm/irc/amirsay.lha The archive contains some helpful documentation, and the AmIRSayPrefs GUI which makes it easier to configure the voices. OS4-SPECIFIC NOTES: If you wish to install the original AmIRSayPrefs, copy it to your AmIRC and/or WookieChat drawer, and rename it to "AmIRSayPrefsX", then copy the AmIRSayPrefs from this archive to the same location. This replacement AmIRSayPrefs is a wrapper script which launches the real prefs and then fixes the typo in the config file. That way you can safely launch the prefs from its icon or the IRC client without causing a Grim Reaper. Consequently, do not launch AmIRSayPrefsX directly and save the settings or the unfixed typo will cause it to crash the next time it is launched! Since update 3 or 4 of OS4 "Say" crashes on exit. The reason seems to be that it tries to flush narrator.device, which doesn't flush too nicely. The only way to prevent it from flushing is to keep the device's open count above 0, and the easiest way to do that is to mount SPEAK: before using "Say", but make sure the SPEAK.info tooltypes have the line "activate=1" set or the open count won't stay above 0.