Games on porteus: chess, scrabble and the like ?

Non release banter
User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Games on porteus: chess, scrabble and the like ?

Post#1 by francois » 04 Nov 2012, 13:53

I did not found chess and scrabble on porteus thru the package manager. Thus this attempts to provide a few game modules to porteus: chess and scrabble. After a while, and with some help from the member of this forum, here is what I came with:

1.0 CHESS

1.1 scid_vs_pc:
scid_vs_pc is available thru usm sbo command line. It works great. The tk libraries are needed under porteus.

Code: Select all

root@porteus:~# usm -g tk
...

Code: Select all

root@porteus:~# usm sbo -b scid_vs_pc
...
1.2 pychess is built up from source:
http://www.pychess.org/download/pychess-0.12rc1.tar.gz

Here are the necessary dependencies

Code: Select all

# pychess
python,pygtk,pygtksourceview,pygobject,pycairo,gnome-icon-theme,gst-python,gst-plugins-base,gstreamer and gnome-python,gnome-python-desktop,gtksourceview2
This is more than what could have been expected from the install file in the source package:

Code: Select all

Dependencies:
python >= 2.6
pygtk
pygobject
pycairo
gnome-python-desktop
python-rsvg (if it's in a separate package in your distribution)
gnome-icon-theme
gst-python (OPTIONAL for sound)

1.3 Adding chess engines: crafty stockfish fairymax fruit.
.stockfish:
http://support.stockfishchess.org/kb/ad ... h-on-linux

Pychess works fine, and although it could work as a standalone application (it comes with its own chess engine), I provide the command necessary to install it with a few additional chess engines:
crafty stockfish fairymax fruit.
Last edited by francois on 08 Nov 2014, 02:58, edited 7 times in total.
Prendre son temps, profiter de celui qui passe.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: PPM and games from debian: where are chess and scrabble

Post#2 by brokenman » 04 Nov 2012, 16:30

I just started PPM, updated database for debian and then typed 'chess' in the search area. Scrolling tot he bottom showed pychess. It was downloaded and converted into a porteus module. Using the 'activate' in PPM showed it required no dependencies which is incorrect.

You will also need python and pygtk. After grabbing these it showed an error regarding no pygtk module. Probably wrong version of python. Ran out of time after this.

Interestingly your first choice "scid vs PC" compiled no problem for me and runs nicely. I compiled from my trinity development platform but i see no reason why it wouldn't compile under Porteus v1.2

Installing gnuchess from slacky also works fine for me.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: PPM and games from debian: where are chess and scrabble

Post#3 by fanthom » 04 Nov 2012, 17:58

After grabbing these it showed an error regarding no pygtk module. Probably wrong version of python.
i would say that pygobject was missing.

going off-topic - since PPM does not resolve python deps i would propose creating "python bundle" module containing:
python, pygtk, pycairo, pygobject, notify-python, sip, etc (i'll try to track the most popular) and drop it to /packages section on the server.
the only problem is how to expose this bundle to the users.

the perfect solution would be to inform users about python deps not being resolved directly in PPM and add a button to download/activate this bundle.

This way we wouldn't have to update anything manually and still rely on automatic dep resolution while creating modules.

What do you say brokenman?
Please add [Solved] to your thread title if the solution was found.

User avatar
wread
Module Guard
Module Guard
Posts: 1255
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v5.0-kde-64 bits
Location: Santo Domingo
Contact:

Re: PPM and games from debian: where are chess and scrabble

Post#4 by wread » 04 Nov 2012, 22:59

There is a chess game in KDE named Knights that should run ok in Porteus; at least the old versions are for KDE3 that can be run in Trinity. I guess an old Slackware version could have it in txz that can be converted to xzm.
There is a slax version of Knights-0.6 in lzm that could be converted -not as easily- to Porteus.....
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: PPM and games from debian: where are chess and scrabble

Post#5 by francois » 05 Nov 2012, 21:50

Thanks for the comments to all. I will look at your suggestions.

@brokenman: You are right. I don't know why I got no result for pychess under debian. And I did not try scid as keyword in porteus. But the search function works fine now. As I worked under no change condition, maybe debian was out of sync, ppm was not properly associated with the data as in the save change condition :oops: . However, with scid or pychess I got the results now.

If there are already some libraries provided with some other packages in the module folder, will PPM take them into account when resolving dependencies for a new module? I imagine that the answer is yes. Thus building modules I should be in no changes mode to build modules for external users or specify the necessary libraries.

So I should have two porteus 1.2 installations, one for module building and one for working on a day to day basis. I am wrong?
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: PPM and games from debian: where are chess and scrabble

Post#6 by francois » 27 Nov 2012, 03:08

brokenman wrote:I just started PPM, updated database for debian and then typed 'chess' in the search area. Scrolling tot he bottom showed pychess. It was downloaded and converted into a porteus module. Using the 'activate' in PPM showed it required no dependencies which is incorrect.

You will also need python and pygtk. After grabbing these it showed an error regarding no pygtk module. Probably wrong version of python. Ran out of time after this.
@brokenman:
1) How did you get to know about the missing dependencies for pychess? Presently, I have added python-all from deb and spygtk-2.22.0.xxx.xzm and the gui of pychess still does not work. I have tried:

Code: Select all

root@porteus:~# slackyd -d pychess

Warning: package `brscan4-0.3.0-3.i386' isn't standard. Skipping.
Warning: package `cupswrapperMFC7860DW-2.0.4-2.i386' isn't standard. Skipping.
Warning: package `mfc7860dwlpr-2.1.0-1.i386' isn't standard. Skipping.
Checking pychess-0.10.1-i386-1: done.

All packages "pychess" checked are ok !

root@porteus:~#    
What would you do to troubleshoot the package?

2) It seems that I am not very good at games, for scid:

Code: Select all

root@porteus:/# scid
/usr/games/tkscid: error while loading shared libraries: libtcl8.5.so.0: cannot open shared object file: No such file or directory
root@porteus:/#
Any suggestions.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: PPM and games: where are chess and scrabble ?

Post#7 by francois » 08 Dec 2013, 06:18

Finally, I got pychess built up from source:
http://www.pychess.org/download/pychess-0.12rc1.tar.gz

Here are the necessary dependencies

Code: Select all

# pychess
python,pygtk,pygtksourceview,pygobject,pycairo,gnome-icon-theme,gst-python,gst-plugins-base,gstreamer and gnome-python,gnome-python-desktop,gtksourceview2
This is more than what could have been expected from the install file in the source package:

Code: Select all

Dependencies:
python >= 2.6
pygtk
pygobject
pycairo
gnome-python-desktop
python-rsvg (if it's in a separate package in your distribution)
gnome-icon-theme
gst-python (OPTIONAL for sound)
Quite happy with it. After working with it for a while, testing it, I will provide it. This is a firt time pychess on slackware. 8)

Now I am going to try to get stockfish chess engine to work within pychess (but some others too). It would be one of the stongest chess engine. Quite interesting with pychess , it seems that you could observe one chess engine competing against one another.
Last edited by francois on 03 Jul 2014, 05:57, edited 2 times in total.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: PPM and games from debian: where are chess and scrabble

Post#8 by francois » 09 Dec 2013, 16:40

Scrabble will be the next one on the list:
http://sourceforge.net/projects/scrabbl ... urce=files

Here an old version in cli mode (not very sexy though):
http://ftp.nara.wide.ad.jp/pub/linuxpac ... /Scrabble/
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: PPM and games from debian: where are chess and scrabble

Post#9 by francois » 03 Jul 2014, 05:30

I just build scid_vs_pc with usm sbo. It works great. Its not mentioned but tk is needed.
Last edited by francois on 01 Jan 2015, 22:01, edited 1 time in total.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: PPM and games from debian: where are chess and scrabble

Post#10 by francois » 08 Nov 2014, 00:34

I just rebuilt scid_vs_pc and a few months ago pychess on porteus. The instructions in this thread are valid to build the packages. They are summarised in the first post.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Games on porteus: is there chess and scrabble ?

Post#11 by francois » 04 Aug 2018, 03:12

scid_vs_pc does not build well according these old instructions. :(

pychess will work according to the previous post.
Prendre son temps, profiter de celui qui passe.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Games on porteus: is there chess and scrabble ?

Post#12 by Ed_P » 04 Aug 2018, 04:39

Ed

User avatar
M. Eerie
Moderator
Moderator
Posts: 620
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Games on porteus: is there chess and scrabble ?

Post#13 by M. Eerie » 04 Aug 2018, 14:57

If u can wait for me until tomorrow, I'll try to upload Arena Chess GUI for Linux 71 Mb with some engines and openings books. (With full syzygy endgame tablebases it would become 1,5 GB or so...)

Also, I've been able to make work @neko's kpatience in Nemesis (xfce) at some 27 Mb.

Cheers!
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
M. Eerie
Moderator
Moderator
Posts: 620
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Games on porteus: is there chess and scrabble ?

Post#14 by M. Eerie » 05 Aug 2018, 20:13

Here is gnome-mahjongg x64 for XFCE. Should work in GNOME and CINNAMON also

md5sum: 9725ef9c776274152ea0127a76238430

Arena Chess comming tomorrow, I hope.

Cheers!
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
M. Eerie
Moderator
Moderator
Posts: 620
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Games on porteus: is there chess and scrabble ?

Post#15 by M. Eerie » 05 Aug 2018, 20:21

PPSSPP is an PSP emulator wich performs well. Once you get it, hunt for some games

PPSSPP Emulator any

md5sum: 5c02b6e3c664c79eb1f161cc4fbfb321

Enjoy!
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

Post Reply