Page 1 of 2

Games on porteus: chess, scrabble and the like ?

Posted: 04 Nov 2012, 13:53
by francois
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.

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

Posted: 04 Nov 2012, 16:30
by brokenman
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.

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

Posted: 04 Nov 2012, 17:58
by fanthom
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?

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

Posted: 04 Nov 2012, 22:59
by wread
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.....

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

Posted: 05 Nov 2012, 21:50
by francois
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?

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

Posted: 27 Nov 2012, 03:08
by francois
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.

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

Posted: 08 Dec 2013, 06:18
by francois
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.

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

Posted: 09 Dec 2013, 16:40
by francois
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/

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

Posted: 03 Jul 2014, 05:30
by francois
I just build scid_vs_pc with usm sbo. It works great. Its not mentioned but tk is needed.

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

Posted: 08 Nov 2014, 00:34
by francois
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.

Games on porteus: is there chess and scrabble ?

Posted: 04 Aug 2018, 03:12
by francois
scid_vs_pc does not build well according these old instructions. :(

pychess will work according to the previous post.

Games on porteus: is there chess and scrabble ?

Posted: 04 Aug 2018, 04:39
by Ed_P

Games on porteus: is there chess and scrabble ?

Posted: 04 Aug 2018, 14:57
by M. Eerie
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!

Games on porteus: is there chess and scrabble ?

Posted: 05 Aug 2018, 20:13
by M. Eerie
Here is gnome-mahjongg x64 for XFCE. Should work in GNOME and CINNAMON also

md5sum: 9725ef9c776274152ea0127a76238430

Arena Chess comming tomorrow, I hope.

Cheers!

Games on porteus: is there chess and scrabble ?

Posted: 05 Aug 2018, 20:21
by M. Eerie
PPSSPP is an PSP emulator wich performs well. Once you get it, hunt for some games

PPSSPP Emulator any

md5sum: 5c02b6e3c664c79eb1f161cc4fbfb321

Enjoy!