write a custom HH converter

General discussion of PokerTracker 3.

Moderator: Moderators

write a custom HH converter

Postby marsellus » Mon Jun 22, 2009 8:23 pm

Hi all,
let's say we play in a room which is not officially supported by PT3.
Is it possible/allowed to self-create an hand history converter so that, given the text file with the HHs, we can import our hands in PT3, even if the room is not supported?
I guess it is.
So the next question, is there some kind of tutorial on how to create such a converter? i.e., which is the correct syntax PT expects to get the text file, maybe an example, et cetera.

Thank you in advance!
marsellus
 
Posts: 8
Joined: Tue Jan 13, 2009 10:16 pm

Re: write a custom HH converter

Postby marsellus » Mon Jun 22, 2009 8:27 pm

after some forum searching, i came out with http://www.pokertracker.com/forums/viewtopic.php?f=19&t=17207&p=82093.
This is exactly my problem, even if on another room, so I'll follow the suggesionts given there.
However, if you have other hints, please let me know.
marsellus
 
Posts: 8
Joined: Tue Jan 13, 2009 10:16 pm

Re: write a custom HH converter

Postby marsellus » Tue Jun 23, 2009 6:39 am

Okay I have another question:
once I have converted the HHs of an unsupported room into something PT3 can handle, let's say, stars, and so I have a nice database, how can I make the HUD working on the unsupported room? It is possible to do so?
marsellus
 
Posts: 8
Joined: Tue Jan 13, 2009 10:16 pm

Re: write a custom HH converter

Postby kraada » Tue Jun 23, 2009 9:31 am

It's quite unlikely that you could manage that. But since you seem to be aiming at Cake support I'd like to mention that Cake will be one of the next two sites we will be adding support for (Bodog is the other). The support won't be added until after the Build 5 release, but it should be added in fairly short order thereafter.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: write a custom HH converter

Postby marsellus » Tue Jun 23, 2009 9:37 am

Thanks for the answer. However, I'm not aiming at Cake. Can you give some some more details about your

"It's quite unlikely that you could manage that."

it is unlikely, so not impossible right? :) is it unlikely because of my possible lack of programming skills, because of PT rules, or what else?
So, if it is possible, can you give some suggestions on where to start from?
marsellus
 
Posts: 8
Joined: Tue Jan 13, 2009 10:16 pm

Re: write a custom HH converter

Postby kraada » Tue Jun 23, 2009 11:09 am

PT3 uses the window titlebar to attach to a given window. I believe the text it looks for comes from the hand history file. You would need to be able to edit the text of the hand history window in the poker client in order to trick PT3 to try to display on the window in question. Beyond that I am not sure, but that would be the place I would start if I were going to embark on such a project.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: write a custom HH converter

Postby marsellus » Tue Jun 23, 2009 1:34 pm

I get it. But

>> edit the text of the hand history window in the poker client

what do you mean for "hand history window"?
And, is there any documentation where i can get useful information from?
marsellus
 
Posts: 8
Joined: Tue Jan 13, 2009 10:16 pm

Re: write a custom HH converter

Postby kraada » Tue Jun 23, 2009 2:27 pm

I worded that poorly. I meant to say the window of the table in the poker client that the hand history is attached to.

The titlebar text of the actual table window is what PT3 gloms onto.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: write a custom HH converter

Postby marsellus » Wed Jun 24, 2009 8:48 pm

thanks kraada for your help.
Now, given that i have correctly changed window's titlebar, what do i need to let PT3 recognize players' nicknames and other stuff?
I think i have to edit some files but i dont know which ones...
If you dont know, can you suggest me where / how could i get more information?
marsellus
 
Posts: 8
Joined: Tue Jan 13, 2009 10:16 pm

Re: write a custom HH converter

Postby WhiteRider » Thu Jun 25, 2009 4:02 am

You will need to convert the hand history files to match exactly the format that one of the supported sites use - if you do that then PT3 will import the hands.
People have written converters before - you might find help on the [ur=http://forumserver.twoplustwo.com/45/software/]]2+2 software forum[/url] for instance.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Next

Return to General [Read Only]

Who is online

Users browsing this forum: Amazonbot and 16 guests

cron
highfalutin