How do I upload a LIN file (How to insert a hand diagram)
#1
Posted 2011-March-20, 10:38
With the old forums it was a simple process using Wayne`s lin convertor.
Can someone help, please.
#2
Posted 2011-March-20, 20:16
jillybean, on 2011-March-20, 10:38, said:
With the old forums it was a simple process using Wayne`s lin convertor.
Can someone help, please.
So here is what you do Basically, get the lin file from the movie found on the traveller page, and substitute in the text as shown in the code snippet below.
Here is a hand I played online, I have put it in code...
http://www.bridgebase.com/tools/handviewer.html?lin=pn|inquiry,ilane,wgcr,jmcw|st%7C%7Cmd%7C3S467QHKD467C45JKA%2CS35H67TQADQKC2368%2CS2TKAH4589D28JACT%2C %7Crh%7C%7Cah%7CBoard%205%7Csv%7Cn%7Cmb%7C1D%7Cmb%7Cp%7Cmb%7C1S%7Cmb%7C2H%7Cmb%7C2S%7Cmb%7Cp%7Cmb%7C3S%7Cmb%7Cp%7Cmb%7C4S%7Cmb%7Cp%7Cmb%7Cp%7Cmb%7Cp%7Cpc%7CC 2%7Cpc%7CCT%7Cpc%7CCQ%7Cpc%7CCA%7Cpc%7CHK%7Cpc%7CHA%7Cpc%7CH5%7Cpc%7CH2%7Cpc%7CHQ%7Cpc%7CH4%7Cpc%7CH3%7Cpc%7CS4%7Cpc%7CS6%7Cpc%7CS3%7Cpc%7CSA%7Cpc%7CS8%7Cpc% 7CH8%7Cpc%7CHJ%7Cpc%7CS7%7Cpc%7CH6%7Cpc%7CSQ%7Cpc%7CS5%7Cpc%7CS2%7Cpc%7CS9%7Cpc%7CCJ%7Cpc%7CC3%7Cpc%7CD2%7Cpc%7CC7%7Cpc%7CCK%7Cpc%7CC6%7Cpc%7CH9%7Cpc%7CC9%7C pc%7CD4%7Cpc%7CDQ%7Cpc%7CDA%7Cpc%7CD3%7Cpc%7CSK%7Cpc%7CSJ%7Cpc%7CC4%7Cpc%7CH7%7Cpc%7CD8%7Cpc%7CDT%7Cpc%7CD6%7Cpc%7CDK%7Cpc%7CC8%7Cmc%7C11%7C
Then you replace
http://www.bridgebase.com/tools/handviewer.html?
with
[hv=
Then you add...
]400|300|[/color]comments[/hv]
to the end If you do all this correctly, it will look like this in "text" mode,
[hv=lin=pn|inquiry,ilane,wgcr,jmcw|st%7C%7Cmd%7C3S467QHKD467C45JKA%2CS35H67TQADQKC2368%2CS2TKAH4589D28JACT%2C %7Crh%7C%7Cah%7CBoard%205%7Csv%7Cn%7Cmb%7C1D%7Cmb%7Cp%7Cmb%7C1S%7Cmb%7C2H%7Cmb%7C2S%7Cmb%7Cp%7Cmb%7C3S%7Cmb%7Cp%7Cmb%7C4S%7Cmb%7Cp%7Cmb%7Cp%7Cmb%7Cp%7Cpc%7CC 2%7Cpc%7CCT%7Cpc%7CCQ%7Cpc%7CCA%7Cpc%7CHK%7Cpc%7CHA%7Cpc%7CH5%7Cpc%7CH2%7Cpc%7CHQ%7Cpc%7CH4%7Cpc%7CH3%7Cpc%7CS4%7Cpc%7CS6%7Cpc%7CS3%7Cpc%7CSA%7Cpc%7CS8%7Cpc% 7CH8%7Cpc%7CHJ%7Cpc%7CS7%7Cpc%7CH6%7Cpc%7CSQ%7Cpc%7CS5%7Cpc%7CS2%7Cpc%7CS9%7Cpc%7CCJ%7Cpc%7CC3%7Cpc%7CD2%7Cpc%7CC7%7Cpc%7CCK%7Cpc%7CC6%7Cpc%7CH9%7Cpc%7CC9%7C pc%7CD4%7Cpc%7CDQ%7Cpc%7CDA%7Cpc%7CD3%7Cpc%7CSK%7Cpc%7CSJ%7Cpc%7CC4%7Cpc%7CH7%7Cpc%7CD8%7Cpc%7CDT%7Cpc%7CD6%7Cpc%7CDK%7Cpc%7CC8%7Cmc%7C11%7C]400|300|See it works. Dont' forget the last close bracket BEFORE the vertical and horizonal numbers. [/hv]
And like this on the page
Hope that helps.
It is best to use the format from the traveller since the way you posted the hand will be missing is a month or two when the hands are no longer current.
#3
Posted 2011-March-20, 21:56
Thanks Ben It was a lot easier the old way!
#4
Posted 2011-October-08, 17:58
jillybean, on 2011-March-20, 21:56, said:
Thanks Ben It was a lot easier the old way!
I tried this and it doesn't work- I get a blank tableau.
My lin doesn't look anything like yours- no % (vertical lines instead) and no
#5
Posted 2011-October-08, 20:28
#7
Posted 2012-February-19, 16:09
testing?
Junior - Always looking for new partners to improve my play with..I have my fair share of brilliancy and blunders.
"Did your mother really marry a Mr Head and name her son Richard?" - jillybean
#8
Posted 2012-February-19, 16:18
#9
Posted 2012-June-18, 12:48
inquiry, on 2011-March-20, 20:16, said:
Here is a hand I played online, I have put it in code...
http://www.bridgebase.com/tools/handviewer.html?lin=pn|inquiry,ilane,wgcr,jmcw|st%7C%7Cmd%7C3S467QHKD467C45JKA%2CS35H67TQADQKC2368%2CS2TKAH4589D28JACT%2C %7Crh%7C%7Cah%7CBoard%205%7Csv%7Cn%7Cmb%7C1D%7Cmb%7Cp%7Cmb%7C1S%7Cmb%7C2H%7Cmb%7C2S%7Cmb%7Cp%7Cmb%7C3S%7Cmb%7Cp%7Cmb%7C4S%7Cmb%7Cp%7Cmb%7Cp%7Cmb%7Cp%7Cpc%7CC 2%7Cpc%7CCT%7Cpc%7CCQ%7Cpc%7CCA%7Cpc%7CHK%7Cpc%7CHA%7Cpc%7CH5%7Cpc%7CH2%7Cpc%7CHQ%7Cpc%7CH4%7Cpc%7CH3%7Cpc%7CS4%7Cpc%7CS6%7Cpc%7CS3%7Cpc%7CSA%7Cpc%7CS8%7Cpc% 7CH8%7Cpc%7CHJ%7Cpc%7CS7%7Cpc%7CH6%7Cpc%7CSQ%7Cpc%7CS5%7Cpc%7CS2%7Cpc%7CS9%7Cpc%7CCJ%7Cpc%7CC3%7Cpc%7CD2%7Cpc%7CC7%7Cpc%7CCK%7Cpc%7CC6%7Cpc%7CH9%7Cpc%7CC9%7C pc%7CD4%7Cpc%7CDQ%7Cpc%7CDA%7Cpc%7CD3%7Cpc%7CSK%7Cpc%7CSJ%7Cpc%7CC4%7Cpc%7CH7%7Cpc%7CD8%7Cpc%7CDT%7Cpc%7CD6%7Cpc%7CDK%7Cpc%7CC8%7Cmc%7C11%7C
Then you replace
http://www.bridgebase.com/tools/handviewer.html?
with
[hv=
Then you add...
]400|300|[/color]comments[/hv]
to the end If you do all this correctly, it will look like this in "text" mode,
[hv=lin=pn|inquiry,ilane,wgcr,jmcw|st%7C%7Cmd%7C3S467QHKD467C45JKA%2CS35H67TQADQKC2368%2CS2TKAH4589D28JACT%2C %7Crh%7C%7Cah%7CBoard%205%7Csv%7Cn%7Cmb%7C1D%7Cmb%7Cp%7Cmb%7C1S%7Cmb%7C2H%7Cmb%7C2S%7Cmb%7Cp%7Cmb%7C3S%7Cmb%7Cp%7Cmb%7C4S%7Cmb%7Cp%7Cmb%7Cp%7Cmb%7Cp%7Cpc%7CC 2%7Cpc%7CCT%7Cpc%7CCQ%7Cpc%7CCA%7Cpc%7CHK%7Cpc%7CHA%7Cpc%7CH5%7Cpc%7CH2%7Cpc%7CHQ%7Cpc%7CH4%7Cpc%7CH3%7Cpc%7CS4%7Cpc%7CS6%7Cpc%7CS3%7Cpc%7CSA%7Cpc%7CS8%7Cpc% 7CH8%7Cpc%7CHJ%7Cpc%7CS7%7Cpc%7CH6%7Cpc%7CSQ%7Cpc%7CS5%7Cpc%7CS2%7Cpc%7CS9%7Cpc%7CCJ%7Cpc%7CC3%7Cpc%7CD2%7Cpc%7CC7%7Cpc%7CCK%7Cpc%7CC6%7Cpc%7CH9%7Cpc%7CC9%7C pc%7CD4%7Cpc%7CDQ%7Cpc%7CDA%7Cpc%7CD3%7Cpc%7CSK%7Cpc%7CSJ%7Cpc%7CC4%7Cpc%7CH7%7Cpc%7CD8%7Cpc%7CDT%7Cpc%7CD6%7Cpc%7CDK%7Cpc%7CC8%7Cmc%7C11%7C]400|300|See it works. Dont' forget the last close bracket BEFORE the vertical and horizonal numbers. [/hv]
And like this on the page
Hope that helps.
It is best to use the format from the traveller since the way you posted the hand will be missing is a month or two when the hands are no longer current.
Here is what my lin file looks like:
pn|lenoi,dboxley,marinaelen,madge19|st||md|2S2469TH245TAD3TKC,S3QH8JD2469QC36QA,
S7H679QKD57C78TJK,|rh||ah|Board 4|sv|b|mb|p|mb|p|mb|1S|mb|p|mb|1N|mb|2H|mb|p|mb|p|mb|d|mb|p|mb|p|mb|p|pg||pc|SA|pc|S2|pc|S3|pc|
S7|pg||pc|SK|pc|S4|pc|SQ|pc|H6|pg||pc|H7|pc|H3|pc|HA|pc|H8|pg||pc|S6|pc|D2|pc|HQ|pc|S5|pg||pc|D7|pc
|D8|pc|DK|pc|D6|pg||pc|S9|pc|HJ|pc|HK|pc|S8|pg||pc|D5|pc|DJ|pc|D3|pc|D4|pg||pc|DA|pc|DT|pc|D9|pc|H9|pg||pc|
CT|pc|C2|pc|H2|pc|C3|pg||pc|ST|pc|C6|pc|C7|pc|SJ|pg||pc|C4|pc|H4|pc|CQ|pc|C8|pg||pc|H5|pc|DQ|mc|10|
This is nothing like your file. I just downloaded the lin file, edited it with notepad and copied it into this post. What am I doing wrong?
#10
Posted 2012-June-18, 13:04
and copy and paste what you see in the gray sub-heading area (below the blue top part) into the forum to get your starting point.
#11
Posted 2015-November-11, 14:49
#12
Posted 2017-February-03, 16:10
EDIT: didn't work
[hv=bbo=y&lin=pn|hellsbels,Hollis_,isityou,kentkentke|st%7C%7Cmd%7C3S23468TJH579JDC4J%2CS59H2TD5TJQKC279A%2CSH468QKD4689C358T%2C%7Crh%7C%7Cah%7CBoard%205%7Csv%7Cn%7Cmb%7Cp%7Cmb%7C2N%7Cmb%7Cp%7Cmb%7C4C%7Cmb%7Cp%7Cmb%7C4D%7Cmb%7Cp%7Cmb%7C4N%7Cmb%7Cp%7Cmb%7C5D%7Cmb%7Cp%7Cmb%7Cp%7Cmb%7Cp%7Cpc%7CSJ%7Cpc%7CS5%7Cpc%7CD4%7Cpc%7CS7%7Cpc%7CHK%7Cpc%7CHA%7Cpc%7CH5%7Cmc%7C12%7C]400|300|Just testing[/hv]
#13
Posted 2017-February-03, 19:47
You shouldn't have "[/red]" before "Just testing", though.
#14
Posted 2017-February-07, 02:44
barmar, on 2017-February-03, 19:47, said:
You shouldn't have "[/red]" before "Just testing", though.
Thank you for your reply barmar but
1. I deleted "[/red]" from the code line ... still didn't work
2. had a look at your code line of the hand and it seems to show "[/red]" - although yours works
Anyway, it's not important because I still can't get it to work with or without.
EDIT:
I copied your code line below ... and now I am completely lost .... it works ! I will examine the 2 code lines to see if I can work it out.
Did you have a look at the bidding on the hand? What did you think of it and would you bid the same in the East seat?
#16
Posted 2017-March-07, 20:54
Here is what I wanted to do:
Create a NS deal.
Create the same deal with various layouts of the EW cards.
Discuss this with people by providing the tinyurl address
I was looking at
http://www.bridgebas...ared-deals.html
and all the deals seem to include all four hands. I assume I am missing something.
#17
Posted 2017-March-07, 21:48
To be honest, I never use the hand editor - often I want to grab a hand I played, remove some information (eg partner or opponents cards or bidding) - I just edit the URL directly.
Consider this URL:
http://www.bridgebase.com/tools/handviewer.html?sn=smerriman&s=SAKQJT92HA4DQ3CKT&wn=Robot&w=SH932DT9654CA7642&nn=Robot&n=S8HQJT8765D872CJ9&en=Robot&e=S76543HKDAKJCQ853&d=w&v=n&b=12&a=PP1S(Major%20suit%20opening%20--%205+%20%21S%3B%2011-21%20HCP%3B%2012-22%20total%20points)PPP&p=SAD4S8S3SKC2H5S5SQD5D2S7SJC4D8S6STD6D7S4CTCACJC5DTH8DAD3DKDQD9H7HKHAH2H6S9H3C9C3CKC6HQCQS2C7HJC8H4H9HTDJ
The format is actually quite readable:
sn, wn, nn, en = names of players
s, w, n, e = cards of players
d = dealer (n/e/s/w)
v = vulnerability (o for nobody, e for e/w, n for n/s, b for both)
b = 12 (board number at top left)
a = auction (if you ignore the alerts, it's a simple format: PP1SPPP)
p = cards played
(there's also a parameter for early claims, like c=12 I think).
All you do is provide the info you want - eg if you remove everything except north and south cards and you get this simple URL which works nicely:
http://www.bridgebase.com/tools/handviewer.html?s=SAKQJT92HA4DQ3CKT&n=S8HQJT8765D872CJ9
#18
Posted 2017-March-08, 08:19
I had used this sort of thing when posting hands in forum discussions, but it had not occurred to me that I could make it work outside that setting. Nice and simple.
#19
Posted 2020-February-24, 12:22
for testing
This post has been edited by Gerardo: 2020-February-25, 10:17
Reason for edit: Removed line breaks in HV definition.
#20
Posted 2021-January-08, 02:47
https://www.bridgebase.com/tools/handviewer.html?bbo=y&lin=pn|djrar,Douglas43,fillace,Lizzykind|st%7C%7Cmd%7C1S345QAH48KD46AC2A%2CS68TJH236D3QKC3QK%2CS279H9TQAD259C469%2C%7Crh%7C%7Cah%7CBoard 7%7Csv%7Cb%7Cmb%7C1S%7Cmb%7Cp%7Cmb%7C1N%7Cmb%7Cp%7Cmb%7C2N%7Cmb%7Cp%7Cmb%7Cp%7Cmb%7Cp%7Cpc%7CCJ%7Cpc%7CC2%7Cpc%7CCK%7Cpc%7CC4%7Cpc%7CCQ%7Cpc%7CC6%7Cpc%7CC5%7Cpc%7CCA%7Cpc%7CH4%7Cpc%7CH2%7Cpc%7CHT%7Cpc%7CHJ%7Cpc%7CCT%7Cpc%7CD4%7Cpc%7CC3%7Cpc%7CC9%7Cpc%7CC8%7Cpc%7CS3%7Cpc%7CH3%7Cpc%7CD2%7Cpc%7CC7%7Cpc%7CS4%7Cpc%7CH6%7Cpc%7CS2%7Cpc%7CD7%7Cpc%7CDA%7Cpc%7CD3%7Cpc%7CD5%7Cpc%7CHK%7Cpc%7CS6%7Cpc%7CH9%7Cpc%7CH5%7Cpc%7CH8%7Cpc%7CDQ%7Cpc%7CHA%7Cpc%7CH7%7Cpc%7CHQ%7Cpc%7CD8%7Cpc%7CD6%7Cpc%7CDK%7Cpc%7CD9%7Cpc%7CDT%7Cpc%7CS5%7Cpc%7CS8%7Cpc%7CDJ%7Cpc%7CSQ%7Cpc%7CST%7Cpc%7CS7%7Cpc%7CSK%7Cpc%7CSA%7Cpc%7CSJ%7Cpc%7CS9%7C
to:
[hv=bbo=y&lin=pn|djrar,Douglas43,fillace,Lizzykind|st%7C%7Cmd%7C1S345QAH48KD46AC2A%2CS68TJH236D3QKC3QK%2CS279H9TQAD259C469%2C%7Crh%7C%7Cah%7CBoard%207%7Csv%7Cb%7Cmb%7C1S%7Cmb%7Cp%7Cmb%7C1N%7Cmb%7Cp%7Cmb%7C2N%7Cmb%7Cp%7Cmb%7Cp%7Cmb%7Cp%7Cpc%7CCJ%7Cpc%7CC2%7Cpc%7CCK%7Cpc%7CC4%7Cpc%7CCQ%7Cpc%7CC6%7Cpc%7CC5%7Cpc%7CCA%7Cpc%7CH4%7Cpc%7CH2%7Cpc%7CHT%7Cpc%7CHJ%7Cpc%7CCT%7Cpc%7CD4%7Cpc%7CC3%7Cpc%7CC9%7Cpc%7CC8%7Cpc%7CS3%7Cpc%7CH3%7Cpc%7CD2%7Cpc%7CC7%7Cpc%7CS4%7Cpc%7CH6%7Cpc%7CS2%7Cpc%7CD7%7Cpc%7CDA%7Cpc%7CD3%7Cpc%7CD5%7Cpc%7CHK%7Cpc%7CS6%7Cpc%7CH9%7Cpc%7CH5%7Cpc%7CH8%7Cpc%7CDQ%7Cpc%7CHA%7Cpc%7CH7%7Cpc%7CHQ%7Cpc%7CD8%7Cpc%7CD6%7Cpc%7CDK%7Cpc%7CD9%7Cpc%7CDT%7Cpc%7CS5%7Cpc%7CS8%7Cpc%7CDJ%7Cpc%7CSQ%7Cpc%7CST%7Cpc%7CS7%7Cpc%7CSK%7Cpc%7CSA%7Cpc%7CSJ%7Cpc%7CS9%7C]400|300|[comments[/hv]
But still no joy. Can you help please?