PS2 EyeToy clone for linux
YOU are the real superhero in this game. Don't need to act as Gordon Freeman or Lara Croft. Use only a webcam to controll it, no mouse or keyboard needed.
It's still in alpha stage but playable.
The source is now avaible.
License: free
Requirements: webcam
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| yes | yes | no | no | no | yes | yes |
Submitted by anonymous on 2004-12-12.

someone from hungary
The english site has been finally started!!!
http://koli.lame.hu/~goldberg/mytoyweb
(british flag)
Else there is problems with the startup - it says «If you can see the picture press "enter"». Well, I'm pressing ENTER all that I'm able to press ENTER... Still nothing happens, tried pressing ENTER both in the videowindow and in the console... You better fix that I can't see how it works. One time I got in, but I do not know how! And then it was as slow as I would expect it to run on a 33mhz........
Key is sent as a 32 bit value. Keycode is sent in low 16bit, and modifiers are sent in high 16bit. The MyToy author don't worry about modifiers, and just check if the entire 32bit number is equal to 10 (10 is the Enter keycode).
I need to mail him...
Where can I find this library?
- skovbaer -
this program rocks btw!
A most amusing toy for a short time, and seems to work very well, though the novelty value wears off pretty quickly.
under Ubuntu Linux 5.04 :-(
OpenCV was installed too.
uname({sys="Linux", node="mdk101", ...}) = 0 write(1, "Trying camera nr.: 0\n", 21Trying camera nr.: 0 ) = 21 open("/dev/video0", O_RDONLY) = 4 ioctl(4, EXT2_IOC_GETVERSION or VIDIOCGCAP, 0xbffff3b0) = 0 close(4) = 0 open("/dev/video1", O_RDONLY) = -1 ENOENT (No such file or directory) ioctl(-1, EXT2_IOC_GETVERSION or VIDIOCGCAP, 0xbffff3b0) = -1 EBADF (Bad file descriptor) close(-1) = -1 EBADF (Bad file descriptor) open("/dev/video0", O_RDONLY) = 4 ioctl(4, EXT2_IOC_GETVERSION or VIDIOCGCAP, 0x80ba9e8) = 0 ioctl(4, EXT2_IOC_SETVERSION or SONYPI_IOCGBAT1CAP or VIDIOCGCHAN, 0xbffff430) = -1 EINVAL (Invalid argument) ioctl(4, SONYPI_IOCGBAT1REM or VIDIOCSCHAN, 0xbffff430) = -1 EINVAL (Invalid argument) ioctl(4, VIDIOCSWIN, 0x80baa24) = 0 ioctl(4, SONYPI_IOCSBLUE or VIDIOCGWIN, 0x80baa24) = 0 mmap2(NULL, 925696, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41b6f000 mmap2(NULL, 925696, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41c51000 ioctl(4, VIDIOCGPICT, 0x80baa44) = 0 ioctl(4, SONYPI_IOCGBATFLAGS or VIDIOCSPICT, 0x80baa44) = -1 EINVAL (Invalid argument) close(4) = 0 write(1, "Trying camera nr.: 1\n", 21Trying camera nr.: 1 ) = 21 write(1, "Trying camera nr.: 2\n", 21Trying camera nr.: 2 ) = 21 write(1, "Trying camera nr.: 3\n", 21Trying camera nr.: 3 ) = 21 write(1, "Trying camera nr.: 4\n", 21Trying camera nr.: 4 ) = 21 write(1, "Trying camera nr.: 5\n", 21Trying camera nr.: 5 ) = 21 write(1, "Trying camera nr.: 6\n", 21Trying camera nr.: 6 ) = 21
Who got a "Logitech Quickcam Pro" to work with Mytoy under Linux ?
original url is dead and it would be a shame if the source got lost forever
The code can be downloaded from:
http://hlukotvor.no-ip.org/mytoy-se-1.0.0.tar.bz2
I made a gentoo ebuild which can be found here:
http://bugs.gentoo.org/show_bug.cgi?id=226447