maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   PokerTH - New Port (https://talk.maemo.org/showthread.php?t=23511)

Firebird8 2008-09-16 22:45

Re: PokerTH - New Port
 
Well, I don't own a 770 so I have no way of testing if it would work - sorry :o

Its more of an "Online Poker Experience" then a simulation as the computer players are pretty horrible (go all in every hand = win).

I'll have a deb up and maybe uploaded to extras in a few days.

flib 2008-10-07 20:57

Re: PokerTH - New Port
 
any update?

verumgero 2009-02-06 06:13

Re: PokerTH - New Port
 
bump? :) Anything new?

sachin007 2009-02-08 21:41

Re: PokerTH-0.6.2 with libboost
 
Quote:

Originally Posted by Firebird8 (Post 222671)
Over the past 3 days I've redesigned the gui to fit and ported PokerTH a texas holdem game to maemo.
-Enjoy Wilson Tang

http://img370.imageshack.us/img370/3848/scr1vb9.png

http://img81.imageshack.us/img81/3390/scr2ph5.png

Sorry guys no deb for this one until I learn how to make one and get a 32 bit triple boot :o .

And of course: the all mighty install instructions and file dump.

Prerequisites:
(qt libs take alot of memory)
libqt4-core (maybe that won't install all the qt libs needed - if not install the ones that are not pulled in)
zlib1g
libcurl3
libgnutls13
libsdl1.2
libsdl-mixer1.2

(qt is available in extras-devel)

Installation instructions: (sorry guys no deb once again)
1. Download PokerTH-0.6.2-libboost-maemo4.1.tar.gz (link at bottom)
2. Become root by any means.
3. mv path/to/PokerTH-0.6.2-libboost-maemo4.1.tar.gz /usr/local/games/
4. cd /usr/local/games/
5. tar xvzf ./PokerTH-0.6.2-libboost-maemo4.1.tar.gz
6. mv ./PokerTH-0.6.2/PokerTH 0.6.2.desktop /usr/share/applications/hildon/
7. rm ./PokerTH-0.6.2-libboost-maemo4.1.tar.gz
8. Enjoy ... hopefully
(May take sometime to launch - but runs pretty decently - might want to turn off card flipping animation)

Bugs:
*Can't exit internet lobby once opened
*Settings window is way too big
*May blank out to white - just be patient
*Sometimes when the time starts ticking - you can't hit all in - doesn't do anything
**QT might need some optimizations - maybe the embedded linux qt needs to be used instead? (if its not already)
**Might need to remove some visual effects and images to ease lag (like the fading))
*White hildonized gtkqt - ?!?

http://rapidshare.com/files/14422039....1.tar.gz.html (12105 KB)

I get the following error ....

/usr/local/games # mv ./PokerTH-0.6.2/PokerTH 0.6.2.desktop /usr/share/applications/hildon/
mv: cannot rename './PokerTH-0.6.2/PokerTH': No such file or directory
mv: cannot rename '0.6.2.desktop': No such file or directory
/usr/local/games #


can someone halp me... i like poker.

rcull 2009-02-08 22:41

Re: PokerTH - New Port
 
surely

mv ./PokerTH-0.6.2/PokerTH 0.6.2.desktop /usr/share/applications/hildon/

should be

mv ./PokerTH-0.6.2/PokerTH-0.6.2.desktop /usr/share/applications/hildon/

you have a space where the - should be. The space is causing mv to see two files not one

BrentDC 2009-02-08 23:02

Re: PokerTH - New Port
 
Since every time the turn comes around to you hildon-input-method comes up (which is really annoying), I wrote a script to kill HIM while PokerTH is open.

Here it is:

Code:

#!/bin/sh

KEYBOARD=`pidof hildon-input-method`
POKERTH=`pidof pokerth`

if [ "$POKERTH" ]
then
        echo "PokerTH is already started, exiting..."
        exit 0
else

        if [ "$KEYBOARD" ]
        then
                /etc/osso-af-init/keyboard.sh stop
                echo "Starting PokerTH..."
                /usr/local/games/PokerTH-0.6.2/pokerth.sh

                /etc/osso-af-init/keyboard.sh start
        else
                echo "hildon-input-method is stopped."

                if [ "$POKERTH" ]
                        then
                        echo "Killing PokerTH..."
                        kill $POKERTH
                fi
                echo "Starting hildon-input-method..."
                /etc/osso-af-init/keyboard.sh start
        fi
fi

exit 0


sachin007 2009-02-09 02:00

Re: PokerTH - New Port
 
Quote:

Originally Posted by rcull (Post 263037)
surely

mv ./PokerTH-0.6.2/PokerTH 0.6.2.desktop /usr/share/applications/hildon/

should be

mv ./PokerTH-0.6.2/PokerTH-0.6.2.desktop /usr/share/applications/hildon/

you have a space where the - should be. The space is causing mv to see two files not one

Figured that. But when i do ls after going to usr/local/games/PokerTH-0.6.2 I get 4 files of which one is PokerTH 0.6.2.desktop not PokerTH-0.6.2.desktop

Anyway i moved the file using emelf2, but still cant get the program start. I see the short cut in my extras... but when i click on it nothing happens.

Any ideas?

nhanquy 2009-02-09 04:42

Re: PokerTH - New Port
 
mv ./PokerTH-0.6.2/PokerTH 0.6.2.desktop /usr/share/applications/hildon/

should be

mv ./PokerTH-0.6.2/PokerTH\ 0.6.2.desktop /usr/share/applications/hildon/


The "\ " is the space, " ".
You can type
mv ./PokerTH-0.6.2/PokerTH(then do a tab) it will expand the file name for you.

sachin007 2009-02-09 04:49

Re: PokerTH - New Port
 
Thank you for that. Does moving the file from there to /usr/share/applications/hildon/ using the file manager emelfm2 do the same thing?

Thanks

nhanquy 2009-02-09 05:02

Re: PokerTH - New Port
 
Quote:

Originally Posted by sachin007 (Post 263067)
Does moving the file from there to /usr/share/applications/hildon/ using the file manager emelfm2 do the same thing?

the same thing!

why don't you use personal launcher?

BTW, the pathname for starting the app is /usr/local/games/PokerTH-0.6.2/pokerth.sh


All times are GMT. The time now is 22:39.

vBulletin® Version 3.8.8