View Single Post
Posts: 33 | Thanked: 2 times | Joined on Jun 2010
#4
How to make Drascula work in N900 (or rather, how to save and load games).

I downloaded scummvm and drascula, but was unable to play it because I couldn't save/load games. Drascula show the load/save screen when you press F10, but there is no F10! So, I did the following:

download
http://http.us.debian.org/debian/poo...20-1_armel.deb

Install it going to a terminal, going to the directory where the file is located and typing:
Code:
sudo dpkg --install --ignore-depends=libc6 xdotool_20080720-1_armel.deb
Then create a file named sendf10.sh
Code:
sleep 5 
xdotool key F10
echo Enter to continue
read foo
To run it, type:
Code:
sh  sendf10.sh
Now you have 5 seconds to switch to Drascula. This script waits for 5 seconds and then sends a F10 keypress to the active window.

You can also use other keys, for instance
Code:
xdotool key ctrl+F1
to send a control+F1 to Dosbox and start its keyboard mapper.