BBO Discussion Forums: Transform the handviewer page into a pbn file - BBO Discussion Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Transform the handviewer page into a pbn file

#1 User is offline   cencio 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 155
  • Joined: 2017-August-11

Posted 2024-May-13, 13:31

Is there some application that transforms the handviewer page into a pbn file?
For example this:
https://www.bridgeba...CT|pc|CK|pc|CQ|
0

#2 User is offline   Cascade 

  • PipPipPipPipPipPipPipPip
  • Group: Yellows
  • Posts: 6,761
  • Joined: 2003-July-22
  • Gender:Male
  • Location:New Zealand
  • Interests:Juggling, Unicycling

Posted 2024-May-13, 17:11

View Postcencio, on 2024-May-13, 13:31, said:

Is there some application that transforms the handviewer page into a pbn file?
For example this:
https://www.bridgeba...CT|pc|CK|pc|CQ|


This is what I do:

1. I copy the URL into a spreadsheet in A1.

2. I strip every up to an including "lin=". In A2 use this formula: =right(a1,len(a)-find("lin=",a1)-3)

3. I replace %20 with a space. In A3 use this formula: =substitute(b1,"%20"," ")

4. I then copy the hands into a text file and save as hands.lin

5. I then use Bridge Composer but there are other lin to pbn converters to create a pbn file.

Steps 2 and 3 could be combined into a single forumala =substitute(right(a1,len(a)-find("lin=",a1)-3),"%20"," ").

I have written spreadsheet code previously to convert things like this URL into pbn but I don't think I have anything that does the entire conversion. I have only done things like extract part of the information - maybe the hands and dealer and vul but not the card play.
Wayne Burrows

I believe that the USA currently hold only the World Championship For People Who Still Bid Like Your Auntie Gladys - dburn
dunno how to play 4 card majors - JLOGIC
True but I know Standard American and what better reason could I have for playing Precision? - Hideous Hog
Bidding is an estimation of probabilities SJ Simon

#3 User is online   P_Marlowe 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 10,084
  • Joined: 2005-March-18
  • Gender:Male

Posted Yesterday, 00:19

You could try
http://www.himbuv.co.../english/lin_en

Basically what you are asking is a converter content of a lin file to a pbn file.

there is an old program by Richard Pavlice
http://www.rpbridge....cgi-bin/rpfc.pl

But this is just one opton, on the forum other methods are mentioned.
With kind regards
Uwe Gebhardt (P_Marlowe)
0

#4 User is online   pescetom 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 7,391
  • Joined: 2014-February-18
  • Gender:Male
  • Location:Italy

Posted Yesterday, 07:38

 cencio, on 2024-May-13, 13:31, said:

Is there some application that transforms the handviewer page into a pbn file?
For example this:
https://www.bridgeba...CT|pc|CK|pc|CQ|


The bridgesolver add on for Chrome will read a handviewer diagram in the current page and can save to file in pbn format - I don't remember if that extends to all details including explanations and sequence of play.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

7 User(s) are reading this topic
0 members, 7 guests, 0 anonymous users