• Tip Jar

Setting up Wine for Accessible Games

There are lots of accessible games that, until now, only work in Windows. Quite a lot of these games will work in Wine, an application that translates Windows applications so they can work in Linux. There are a few things that are necessary to get it up and running though. A lot of the Windows game use Sapi5 to present information in speech format. Thanks to the Open-Sapi project started by Thomas Lloyd, it is now easy to get sapi up and running in Wine with no sighted assistance. For more on the Open-Sapi project, visit http://code.google.com/p/open-sapi/. Now, Let’s get started setting up Wine so accessible games can be installed.

Installing Wine

Although some games work with the version of Wine that comes installed, things will work better, and more games will install and run correctly if you have the latest version of Wine. To do this, you will need to add the Wine repository. If you are not using a Debian based distribution of Linux, consult your distribution’s documentation or the Wine website for instructions. Ubuntu users type the following to add the Wine repository:
sudo add-apt-repository ppa:ubuntu-wine/ppa
Next, get updates and install Wine:
sudo apt-get update
sudo apt-get install wine1.3
You should now have the latest version of Wine installed.

Installing Open-Sapi

For this part, you will need to have subversion installed. If you do not have it, or if you are unsure, type the following command in terminal:
sudo apt-get install subversion
To create the open-sapi directory and download the files, in terminal, type:
svn checkout http://open-sapi.googlecode.com/svn/trunk/open-sapi
At this point, files will be downloaded and setup in the open-sapi directory. If you are not using Ubuntu or a Debian based distribution, you can install manually with the instructions from the Open-Sapi Wiki.
For Ubuntu or Debian users, type:
cd open-sapi/installer
chmod 700 osapi.run
When it finishes, you will have open-sapi installed. Now games that use sapi will work, for the most part. You can also use Open-sapi with Orca through speech-dispatcher. For more information, refer to the Open-sapi project. I have only used it for Wine applications. When I installed it I did not allow it to overwrite my existing speech-dispatcher configuration.

Installing Klango

In order for Klango to have speech when it first loads you will need to have the open-sapi package installed. Download the Klango 3 package, right click it by selecting it and pressing shift+f10, and select extract here. You can place the folder anywhere you want. To launch the application, find the klango.exe application in the Klango 3 directory and select "open with Wine". If you are using Vinux you may have problems with laggy sound. If this is the case, open terminal and type:
sudo apt-get install alsa-oss
After alsa-oss has installed type:
Down near the bottom of the list of check boxes is one that says set sound to oss check this box and tab to OK and press enter. If you try to open it with Wine now there will be no sound. The way to get it back is to select "open with other application", tab to the "use custom command", press enter, in the box type:
aoss wine
and press enter.
All users will need to install all of the DirectX options excluding the DirectX package itself which is marked as "not recommended". The ridge20 and ridge32 packages may also be necessary. You can install them easily with the winetricks package.

Installing A Game

For this example, you will need the Solitaire game from Gmagames. Click the games link, and find the "free games" link. Download the solitaire game. It will save to your desktop. When it has finished, select it and press shift-f10 and select open with wine windows program loader. Wait a few seconds then press alt-tab until you here "setup inaccessible". Orca, of course, does not work with Wine, so the installer is completely inaccessible. You have to know what key combination to press. In this case, press the following with a few seconds between each keypress to make sure the action has completed:
Wait about 10 seconds, then finish with alt-f.
When you arrow around on the Desktop, you should find 2 shortcuts. one will be "GMA Solitaire.lnk" you can delete this shortcut. The other one is the one you will need. Press enter on it. You will get a warning about untrusted application. Tab to the mark as trusted button and press enter. Now, the next time you press enter on the desktop shortcut the game will launch and will be self-voicing.

Getting Help

To access the help file, open applications, wine, program files, GMA Solitaire, read manual in text format. This will open the manual in Notepad. Orca will not read in notepad, but this isn’t really a problem. Just press control+a to select all, control+c to copy, then open text editor and paste with control+v. Now you can read the file with Orca.
Have fun, and keep checking back for more game installation instructions and reviews.

  • Tip Jar