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-10 14:20

PokerTH-0.6.2 with libboost
 
Hmm, can't really port 0.7.1 to maemo4, so I'll continue on updates with Mer and maemo5.

Also, since someone managed to play 0.6.4 on the current 0.7.1 servers, I guess I could release an updated fix. :)

Update:
PokerTH is now in Extras-Devel :D
http://img8.imageshack.us/img8/3980/pict0149.jpg

Bugs:
  • Internet lobby takes some time to load, be patient - its loading up all the player names
Notify me of any other bugs.

-------------------------------
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)

tso 2008-09-10 14:41

Re: PokerTH - New Port
 
nice :D
get it into extras, please ;)

Firebird8 2008-09-10 21:22

Re: PokerTH - New Port
 
Ok, everythings updated - uploaded - and "instructionized" :)

rik 2008-09-11 14:47

Re: PokerTH - New Port
 
woow nice, thank you very much.

but i have one problem on my N800, virtual onscreen keyboard is keep poping out when iam on my turn :( its pretty annoying and i dont know how to turn it off

munky261 2008-09-11 14:53

Re: PokerTH - New Port
 
is it uploaded to chinook extras or diablo?

GeneralAntilles 2008-09-11 14:59

Re: PokerTH - New Port
 
Quote:

Originally Posted by munky261 (Post 223034)
is it uploaded to chinook extras or diablo?

No, but he's working on it.

munky261 2008-09-11 19:34

Re: PokerTH - New Port
 
Then what was meant by saying... "Ok, everythings updated - uploaded - and "instructionized" ?

mikkov 2008-09-11 19:39

Re: PokerTH - New Port
 
I think he meant the first post

Firebird8 2008-09-11 21:46

Re: PokerTH - New Port
 
I'll install a 32bit linux onto a spare harddrive and build a deb(debs) when I have time. (My original post only had images - the thing failed to upload (to the forum) :o )

zap345 2008-09-13 17:07

Re: PokerTH - New Port
 
Wow. from the screen shots it looks like a great Hold'em sim. Any chance this will work on a 770? I have been looking for a decent Hold'em for my 770's since I bought them. One is running 2007HE the other 2006. I don't really want to upgrade the 2006 770 because after I installed the WiFi memory fix it has been rock solid. But I would upgrade both to whatever to get a good Hold'em sim. running. Thanks Firebird.

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

sachin007 2009-02-09 05:16

Re: PokerTH - New Port
 
Thanks for the help. I am a total noob.... wanting to learn more. I tried adding that code in personal menu and it says execution failed!

nhanquy 2009-02-09 05:28

Re: PokerTH - New Port
 
personal launcher : http://maemo.org/downloads/OS2008/desktop-environment/

It is an applet.

install it then just select/drag any available app into "your personal launcher".

You should be able to see PokerTH in the "available apps".

You use "select applets" and "applet settings" to tailor your needs.

sachin007 2009-02-09 05:48

Re: PokerTH - New Port
 
I installed personal launcer also... but it still says execution failed. i must have messed up something. Thanks for all the help.

qwerty12 2009-02-09 07:56

Re: PokerTH - New Port
 
The pokerth.sh script provided isn't going to work by default on the tablets because it wants /bin/bash which isn't on the tablets by default (it uses ash via busybox). You can change the first line in the file to #!/bin/sh and see if the script still works or leave it as (or change it back) #!/bin/bash and install bash2 from extras.

BrentDC 2009-02-09 16:14

Re: PokerTH - New Port
 
Yeah, IIRC #!/bin/sh won't work; it complains about something I think...

So, you'll need to install bash.

pagaz 2009-02-12 19:44

Re: PokerTH - New Port
 
hi,

i have this problem when i launch pokerth from personal launcher:

/usr/local/games/PokerTH-0.6.2/pokerth: error while loading shared libraries: libgnutls-openssl.so.13: cannot open shared object file: No such file or directory

i’m quite noob :), pls help.
thank you

Master of Gizmo 2009-02-14 18:23

Re: PokerTH - New Port
 
Would you please post the source code somewhere. This a) may cause someone else to do a proper deb and b) the gpl requires you to do so, anyway

Thanks

Firebird8 2009-02-14 19:41

Re: PokerTH - New Port
 
Oh sorry guys, I've totally forgotten about this project..
Heres the source if anyone wants to debinize it: http://rapidshare.de/files/45287818/PokerTH-0.6.2-src-Maemoified.tar.gz.html

I'll have the new version up in maybe some time.

pagaz 2009-02-17 18:14

Re: PokerTH - New Port
 
well i have installed all and now works but the program requires also libqt4-gui on device

Firebird8 2009-02-28 17:02

Re: PokerTH - New Port
 
Ok: I've fixed up the latest version and its ported - ready for the debinization process. Just emailed our debmaster for some assistance :D so I hope to have a deb package out very soon.

As for now, a preview of the reworked GUI.

http://img201.imageshack.us/img201/7370/screenshot8.png

-Wilson Tang

Firebird8 2009-03-02 15:16

Re: PokerTH - Now in Extras-Devel!
 
I have now placed pokerth in extras-devel. Enjoy :). Should be installable in a few hours.

http://img8.imageshack.us/img8/3980/pict0149.jpg

tso 2009-03-02 17:23

Re: PokerTH - New Port
 
and its up, at around 14MB no less...

qwerty12 2009-03-02 17:25

Re: PokerTH - New Port
 
Blame the QT libraries for being so big ;)

Firebird8 2009-03-02 17:46

Re: PokerTH - New Port
 
Boost is huge too :).

pagaz 2009-03-11 15:47

Re: PokerTH - New Port
 
nothing :)

paule8 2009-04-16 15:44

Re: PokerTH - New Port
 
is there a deb out yet?
:)

nhanquy 2009-04-16 19:21

Re: PokerTH - New Port
 
From first post:

Update:
PokerTH is now in Extras-Devel

Firebird8 2009-04-18 17:01

Re: PokerTH - New Port
 
Its old now and the new version can't be ported until boost is updated to the latest version. Guess I will wait for the maintainer to put it out...

mikkov 2009-04-20 08:36

Re: PokerTH - New Port
 
Quote:

Originally Posted by Firebird8 (Post 280647)
Its old now and the new version can't be ported until boost is updated to the latest version. Guess I will wait for the maintainer to put it out...

Could you specify which version or package you need? Anyway boost won't be updated (by me) for diablo because it doesn't work with gcc3.4

Firebird8 2009-04-23 20:32

Re: PokerTH - New Port
 
I need a version of boost that has asio.h, this is new in 1.35.0, so it is not available in 1.34.0.


All times are GMT. The time now is 06:16.

vBulletin® Version 3.8.8