Hoobloid Posted April 3, 2004 Report Share Posted April 3, 2004 Hey there, Just to let you know I written a little pbn to lin file conversion program. It's very primitive but it seems to work. It available at... http://hoobloid.tripod.com Let me know if you find anything wrong etc or if you have any suggestions. I'm thinking about some kind of hand generating program next. Stuart Quote Link to comment Share on other sites More sharing options...
Erkson Posted April 4, 2004 Report Share Posted April 4, 2004 Hey there, Just to let you know I written a little pbn to lin file conversion program. It's very primitive but it seems to work. It available at... http://hoobloid.tripod.com Let me know if you find anything wrong etc or if you have any suggestions. I'm thinking about some kind of hand generating program next. StuartHi. The BBO software that we use to run lin files (NetBridgeVu.exe) reads .pbn files and convert them to .lin. See :http://bridgebase.lunarpages.com/~bridge2/...632&hl=lin+file and many more threads about lin format. Does your program make more complete conversion ? Could you publish your source on your Web site ? Erkson Quote Link to comment Share on other sites More sharing options...
Hoobloid Posted April 4, 2004 Author Report Share Posted April 4, 2004 As far as I understand it the lin files made by BridgeVu will not work without some kind of editing. My program simply takes the hands, vulnurability and dealer fields and pieces the together in a 'lin' format. It also puts a board number in. It requires (as it stands) the '*' which appears at the end of the play of the hand to 'trigger' each hands conversion. I have seen pbn files which have been edited and the play removed. These would not work with my program. (I'm not sure what they would be used for either). Stuart Quote Link to comment Share on other sites More sharing options...
Erkson Posted April 4, 2004 Report Share Posted April 4, 2004 As far as I understand it the lin files made by BridgeVu will not work without some kind of editing. This pbn file doesn't work in NetBridgeVu.exe : % PBN 1.0% EXPORT%[Event "K.R. Sundaram Iyer Memorial Bridge Tourney 2002"][site "Mylapore Club, Chennai"][Date "2002.12.22"][session "1"][stage "Finals"][HomeTeam "Santas Team"][VisitTeam "Vishnu Team"][board "1"][Room "Closed"][West "Krishnan S."][North "Sridhar P."][East "Santhanam"][south "Narayanan"][Dealer "N"][Vulnerable "None"][Deal "N:6.KQ83.AQ865.K42 KT53..JT743.Q985 2.T9742.K2.AJ763 AQJ9874.AJ65.9.T"][Declarer "West"][Contract "4S"][Result "11"][Auction "N"][Editor "T.C. Pant"]* but this one (and most of them) works with NetBridgeVu.exe :[Event "Bermuda Bowl"][site "Semi-Final"][Date ""][HomeTeam "Norway"][VisitTeam "Italy"][board "1"][West "Versace"][North "Helness"][East "Lauria"][south "Helgemo"][Dealer "N"][Vulnerable "None"][Room "Open"][Deal "S:KQJ7.QJ43.87.K75 A863.965.5.A8432 T42.AK87.KQT9.J6 95.T2.AJ6432.QT9"][scoring "IMP"][Declarer "S"][Contract "4H"][Result "9"][score "NS -50"][Auction "N"][Play "W"]* I would be interesting to understand why. Erkson Quote Link to comment Share on other sites More sharing options...
Erkson Posted April 5, 2004 Report Share Posted April 5, 2004 The cause is here :[Deal "N:6.KQ83.AQ865.K42 KT53..JT743.Q985 2.T9742.K2.AJ763 AQJ9874.AJ65.9.T"] NetBridgeVu.exe can't read a .pbn deal if there is a LineFeed/CarriageReturn in the Deal tag. It wants it like this :[Deal "N:6.KQ83.AQ865.K42 KT53..JT743.Q985 2.T9742.K2.AJ763 AQJ9874.AJ65.9.T"] Some other software works with a CR/LF in the deal tag. This pbn file should not have CR/LF in its deal tag because it says it is in Export format, and the fancies that are tolerated in Import format are not tolerated in Export format. Anyway, regarding pbn to lin conversion, NetBridgeVu.exe would be better if more flexible. Erkson Quote Link to comment Share on other sites More sharing options...
patroclo Posted April 5, 2004 Report Share Posted April 5, 2004 I feel the need of the opposite a lintopbn converter.Are you able to make it.Thanks Gigi Quote Link to comment Share on other sites More sharing options...
Cascade Posted April 5, 2004 Report Share Posted April 5, 2004 I have a lintopbn converter and more. If you ask nicely I might give it. Send me a private message with your email address. Quote Link to comment Share on other sites More sharing options...
inquiry Posted April 5, 2004 Report Share Posted April 5, 2004 I have a lintopbn converter and more. If you ask nicely I might give it. Send me a private message with your email address. Well, a lintopbn converter would make purchase of Gib worth while, so one could take the lin files played here, and replay the, agaiin in GIB... Matt had one listed at his oregon page, but I could never find it. Ben (now I guess someone will tell me newer versions of GIB read lin files... ) Quote Link to comment Share on other sites More sharing options...
Hoobloid Posted April 6, 2004 Author Report Share Posted April 6, 2004 Next steps [ that may take a long time :( ] .... 1. Dealing and saving hands2. Allow the user to set up hands3. 'handle' pbn and lin file conversions - both ways4. ...all heading towards (some kind of) a pbn database program5. did I say that it might take a long time?6. Look at the pretty interface B) Suggestions? Stu Quote Link to comment Share on other sites More sharing options...
Cascade Posted April 6, 2004 Report Share Posted April 6, 2004 I have most of this except the database feature. I regularly deal hands to match specific criteria for my lessons and for my private practice sessions. This program exports the files in three formats pbn, and two lin formats (one a bare bones format for uploading to a tournament). Wayne Quote Link to comment Share on other sites More sharing options...
inquiry Posted April 6, 2004 Report Share Posted April 6, 2004 I have most of this except the database feature. I regularly deal hands to match specific criteria for my lessons and for my private practice sessions. This program exports the files in three formats pbn, and two lin formats (one a bare bones format for uploading to a tournament). Wayne I can testify that Wayne's programs are great. I use one for presenting hands in the BBO Format... you can rotate hands, show only one or any two. By rotating you can always keep the "player" as south. This stuff is awesome. Thanks Wayne.. now about the one that deals cards to certain requirements (like a dealer program)... can we talk??? Ben Quote Link to comment Share on other sites More sharing options...
Cascade Posted April 7, 2004 Report Share Posted April 7, 2004 We can always talk Ben. What do you have in mind? Quote Link to comment Share on other sites More sharing options...
inquiry Posted April 7, 2004 Report Share Posted April 7, 2004 I would love to have a DEALER type program that is as easy to use as your TRULY WONDERFUL LinConverter program. Ben Quote Link to comment Share on other sites More sharing options...
Cascade Posted April 7, 2004 Report Share Posted April 7, 2004 I don't think a dealer program will ever be as easy to use as there are more variables. What features are important to you? Currently I have the features that I want hard coded into the program. If I want something specific I write some code. What sort of flexibility do you need? Quote Link to comment Share on other sites More sharing options...
inquiry Posted April 7, 2004 Report Share Posted April 7, 2004 I don't think a dealer program will ever be as easy to use as there are more variables. What features are important to you? Currently I have the features that I want hard coded into the program. If I want something specific I write some code. What sort of flexibility do you need? Fred's criteria in the Partnership Bidding would be a good place to start. I would like to be able to dial in distributions and general HCP ranges for a partnership, and let the computer fill in the remainder. So things like an opening hand, 6-10 hcp, etc. Nothing too fancy, probably from your description you have enough already. I would like to be able to deal, for instance, three suited hands strong or intermediate, maybe with a random short suit (instead so specifying which is short). But the truth is, I tried dealer and couldn't get it to work (probalby way too powerful for my pathetic needs). Ease of use, that is the key for me... :lol: Ben Quote Link to comment Share on other sites More sharing options...
Hoobloid Posted April 9, 2004 Author Report Share Posted April 9, 2004 I had intended to make a program that exported files in pbn, lin and 'TD' lin formats. Could you send me a copy of your program. No point in reinventing the wheel! Stuart (argonhoobler@hotmail.com) Quote Link to comment Share on other sites More sharing options...
Cascade Posted April 9, 2004 Report Share Posted April 9, 2004 I will be putting my program on the web for free download soon hopefully in the next day or so. Sorry I have had several enquiries for the program but have been very busy for the last few days. I will make an announcement of the url in profiles when that is done. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.