Page 1 of 4
write a custom HH converter
Posted:
Mon Jun 22, 2009 8:23 pm
by marsellus
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!
Re: write a custom HH converter
Posted:
Mon Jun 22, 2009 8:27 pm
by marsellus
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.
Re: write a custom HH converter
Posted:
Tue Jun 23, 2009 6:39 am
by marsellus
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?
Re: write a custom HH converter
Posted:
Tue Jun 23, 2009 9:31 am
by kraada
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.
Re: write a custom HH converter
Posted:
Tue Jun 23, 2009 9:37 am
by marsellus
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?
Re: write a custom HH converter
Posted:
Tue Jun 23, 2009 11:09 am
by kraada
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.
Re: write a custom HH converter
Posted:
Tue Jun 23, 2009 1:34 pm
by marsellus
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?
Re: write a custom HH converter
Posted:
Tue Jun 23, 2009 2:27 pm
by kraada
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.
Re: write a custom HH converter
Posted:
Wed Jun 24, 2009 8:48 pm
by marsellus
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?
Re: write a custom HH converter
Posted:
Thu Jun 25, 2009 4:02 am
by WhiteRider
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.