• 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
./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:
winetricks
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:
alt-y
alt-n
alt-y
alt-n
alt-n
alt-n
alt-n
alt-i
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.

Accessible Games for Linux

If you ever happen to have some of that mythical stuff known as spare time, you may be wondering if there are any accessible games for Linux. The answer is, there are several of them. There are a couple of MUD clients that work well with Orca. Gnome-mud and tintin++ are both very accessible. to get them, simply type:
sudo apt-get install tintin++
and/or:
sudo apt-get install gnome-mud
in a terminal. Tintin++ is a terminal based client, so you can also use it with speakup if you have it installed. It is also a very powerful client with aliases, speed walking, triggers, scripting, and a lot more features.
There is also a package called bsdgames you can install that has text based games. The games include go-fish, adventure, and wumpus. To get it, type:
sudo apt-get install bsdgames
in a terminal.
there are more games that are accessible. They require a bit more effort to install.

AudioQuake

AudioQuake is located at http://www.agrip.org.uk/download/. I got the Linux/x86 installer (3.2M) file. It is a script that will install everything for you, well, almost everything. To get it up and running, open a terminal and switch to the directory where the file was downloaded, usually ~/Downloads. make sure the file has permission to run with the following command:
chmod 700 AudioQuake-0.3.0.1_linux-x86.run
then execute it with:
./AudioQuake-0.3.0.1_linux-x86.run
It will guide you through the installation of both Quake and AudioQuake. When it is finished, you still need to install a couple of things before you can play. To get the packages you need, type:
sudo apt-get install eflite libconfig-tiny-perl
Once that is done you can play the game by doing the following. in your home directory, type:
cd .zquake
At this point it is a good idea to turn off Orca because from my experience the game will not run if Orca is open. Then, type:
./start.pl
From this point on the game should be totally self-voicing. I have to include that I have only ever gotten AudioQuake to work on one computer. I have tried it on at least five.

SoundRTS

SoundRTS is very fun. You can get it at http://jlpo.free.fr/soundrts/py25/. Unzip it in your home directory or on your Desktop, it doesn’t matter which. Before playing it you will need to install python2.5 and python-pygame. So, in terminal, type:
sudo apt-get install python2.5 python-pygame
then, to launch it, change to the soundrts directory:
cd soundrts
and launch with:
python2.5 soundrts.pyc
In Ubuntu 10.04 Lucid and later Python 2.5 is no longer available. You can still play SoundRTS by downloading a patch from http://jlpo.free.fr/tmp/soundrts1.0.1-python2.6.zip. Unzip the patch and move all of the contents from inside the folder to your soundrts folder. If you are asked if you would like to replace files select replace all. SoundRTS should now work just by switching to the soundrts folder and typing:
python soundrts.pyc
The patch makes the latest stable version of SoundRTS work. You can get the latest version from http://jlpo.free.fr/soundrts/soundrts-1.0.1-en.zip
If you would like to add a launcher to your desktop, you can do so with the following script. Open your favourite text editor and copy the following lines:
#!/bin/bash
cd
cd soundrts
python2.5 soundrts.pyc
exit 0
Save the file as ./soundrts.sh in your home directory. If you put your soundrts directory somewhere else other than your home folder, be sure you change the path in the script to match the location. For example, if your folder is on your desktop, it would be:
cd Desktop/soundrts
Make the script executable with the command:
chmod 700 .soundrts.sh
Then, on your desktop, press control+f10 and choose create launcher. In the name, type SoundRTS then press tab to get to the command field. In the command box type:
./.soundrts.sh
Tab to the OK button and press enter. You can now start the game by pressing enter on the SoundRTS launcher on your desktop.
If you used the patch you need to replace python2.5 with python.
If you get the very latest alpha versions of SoundRTS they include several different python folders to insure it will work in your version of python. If, for example, you need python2.6 simply navigate to the SoundRTS directory, enter the python26 directory, press control+a to select all, press control+c to copy, press backspace to go back a directory to SoundRTS, then press control+v to paste. when you are asked if you would like to replace files select "replace all".
The game is completely self-voicing. You do not need to turn off Orca before starting this one, it works fine even if Orca is running.

RS Games Client

This game client gives you access to the web based games developed by RS Games. So far the games you can play with it are Monopoly and Uno but more will be added as they are completed.
To install the game client, download it from http://zanosoft.net/rsgames/ccount/click.php?id=18 and extract it to your home directory or where ever you would like. When you unzip the file the extracted directory is called src. You can rename it to RSG-Client or something similar. Before running the game you will need to install a few packages. To get them open terminal and type:

sudo apt-get install python-wxversion python-wxtools wx2.8-i18n

As the client has evolved, additional package requirements have been added. I no longer use Ubuntu or any of its derivatives, so I am unsure what the packages are called there. Here is a list of packages that are required in Arch:

  • python2-speechd
  • wxpython
  • wxgtk2.8
  • python2-crypto
  • python2-configobj
  • python2-faulthandler

The game is available for Arch users in the AUR.
If you would like to create a launcher to the game client place focus on the desktop and press control+f10. Select "Create Launcher" from the menu and give the launcher a name. In the command type the path to rsg.pyc. Assuming you used the name RSG-Cliet in your home folder the command would be something like this. Remember to replace USER with your home directory:
python /home/USER/RSG-Client/rsg.pyc
You can now use the shortcut on your desktop to launch the RS Games client. For updates and general information you can follow rs_games on Twitter. Orca can be left running while you play the game.

Tomb Hunter I – Mysteries of the Ancients

In this game by USA Games Interactive Angela Carter, an explorer, and world renown archeologist, has discovered a scroll that will lead her to the Orb of Wisdom. She can’t just walk in and take it though because it is very well guarded. To set up the game open terminal and type:
sudo apt-get install libsoil1
wget http://www.usagamesinteractive.com/downloads/requirements/libsfml-1.6-i386.tar.gz
If you are using a 64 bit system the link in the command above should be changed to:
http://www.usagamesinteractive.com/downloads/requirements/libsfml-1.6-amd64.tar.gz
Then, after the download has completed:
tar xzvf libsfml-1.6-i386.tar.gz
cd libsfml-1.6-i386
sudo dpkg -i libsfml-system1.6_1.6_i386.deb libsfml-window1.6_1.6_i386.deb libsfml-audio1.6_1.6_i386.deb libsfml-graphics1.6_1.6_i386.deb libsfml-network1.6_1.6_i386.deb
After the packages have installed switch back to your home directory by typing:
cd
Now, to download the game itself:
wget http://www.usagamesinteractive.com/downloads/usa-games/MOTA-Standard-Beta15.tar.gz
When the download is finished type:
tar xzvf MOTA-Standard-Beta15.tar.gz
To launch the game:
cd MOTA-Standard-Beta15/
./tomb
To create a desktop shortcut, when focus is on the desktop press control+f10 and select "create launcher". Type the name in the name field, and press tab. In this box type:
/home/USER/MOTA-Standard-Beta15/tomb
Tab to ok and press enter. Remember to replace the word USER in the line above with your home directory. Now you can launch the game with the shortcut. For more information visit the USA Games Interactive website.

  • Tip Jar