evilwarlock / bovada-hand-history-converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bovada Hand History Converter

This program converts Bovada poker hand histories to PokerStars format. It will not convert hand histories as you play.

All hole cards are shown (optional) in HM2's latest version

View the Updates section to see details of any changes/bug fixes. You can update to the latest version by re-downloading all of the files in this repository and replacing the old files with the new ones.

This converter is beta software and has not been tested extensively (use it at your own risk). It has only been tested with NLHE and PLO cash game hands. It is recommended that you backup your original hand history files (and keep them in a safe place) before using this converter. It is also recommended that you backup your databases before using this converter.

A large portion of the code in this project is modified code (mostly unused code was removed) from the FPDB project (GitHub page 1, GitHub page 2)


If you find this program useful and would like to make a donation click on one of the links below

PayPal

BitCoin

Windows

Complete the following steps in order. If you have already set up BetOnline Hand History Converter or BetOnline Live Hand History Converter, you can skip to step 4

####Short Version

  1. Install Python 2.7.x (install the latest 2.7.x which is probably 2.7.11)
  • DO NOT INSTALL PYTHON 3.5.x, the converter will not work with this version
  • enable/install "Add python.exe to Path" and "pip", no other optional features need to be installed
  1. Install PyQt4 (direct download links - 32-bit, 64-bit)
  • only the Qt runtime needs to be installed (minimal install)
  1. Install pytz
  • install via Command Prompt with the following command:
    • easy_install --upgrade pytz
  1. Download and run the converter
  • scroll to the top of this webpage and download the converter (click on "Clone or download" then click "Download ZIP")
  • extract the folder within the zip you downloaded to a new folder on your computer
  • open a Command Prompt window to that folder and run the following command:
    • python app.py
  • the program might load slowly the first time but each time after that it should load quickly
  • you probably will want to make a shortcut to run the converter (see details below)

####Detailed Version

  1. Install Python 2.7.x (install the latest 2.7.x which is probably 2.7.11)
  • DO NOT INSTALL PYTHON 3.5.x, the converter will not work with this version
  • on the "Customize Python 2.7.x" screen (installer's 3rd screen) enable "Add python.exe to Path" by clicking on it's icon and selecting "Will be installed on local hard drive"
  • on the same screen enable/install "pip" also (required for step 3)
  • you can choose to not install optional features from the same screen (except "Add python.exe to Path" and "pip")
    • click on each item's icon "Register Extensions", etc. and select "Entire feature will be unavailable" or "Feature will be installed when required"
  • Test if Python is installed by doing the following:
    • open a Command Prompt window
    • type python --version
    • press Enter key
    • if a version is shown then Python is installed
    • if this is not working you might need to sign out of your Windows user account and sign back in or restart the computer and if it's still not working after that see Troubleshooting step 2
  1. Install PyQt4 (direct download links - 32-bit, 64-bit)
  • only the Qt runtime needs to be installed
  • on the "Choose Components" screen (installer's 3rd screen) uncheck all checkboxes except Qt runtime (or choose "Minimal" from the drop-down menu)
  1. Install pytz
  • open a Command Prompt window
  • type easy_install --upgrade pytz
  • press Enter key
  • wait for installation to complete
  • if this is not working see Troubleshooting step 2
  1. Download and run the converter
  • scroll to the top of this webpage
  • click on "Clone or download" then click "Download ZIP"
  • extract the folder (this folder can be renamed) within the zip you downloaded to a new folder on your computer
  • open a Command Prompt window to that folder (hold shift and right click in/on that folder and then click on "Open command window here")
  • type python app.py
  • press Enter key and the converter should start running and the GUI should appear (you can minimize the Command Prompt window while it's running), the program might load slowly the first time but each time after that it should load quickly
  • you probably will want to make a shortcut to run the converter by doing the following:
    • within the folder you extracted from the zip file make a new text document (right click --> "New" --> "Text Document"
    • open the text document and type python app.py
    • save the document
    • rename the text document from New Text Document.txt to anyname.cmd (or anyname.bat), you might have to set Windows to show file name extensions to be able rename the file's extension (you can change the setting back to hide file extensions after completing this step)
    • you can double click on this cmd (or bat) file to run the converter, you can also make a shortcut by right clicking on the cmd (or bat) file and then clicking "Send to" --> "Desktop (create shortcut)" (the shortcut can be renamed)

Mac

  • This software has not been tested on Mac
  • The installation steps for Mac should be similar to the Windows installation steps
  • Python might already be installed on your system, check by doing the following:
    • open a Terminal window
    • type python --version
    • press Enter key
    • if a version is shown then Python is installed

Troubleshooting

  1. Try installing Python and PyQt4 with default settings (do not do minimal installs)
  2. If you did not "Add python.exe to Path" from step 1 in the Windows section you can do it manually by editing the "PATH" or "Path" user or system environment variable to include both of the following paths:

C:\Python27\

C:\Python27\Scripts

Test if its working by doing the following: * open a Command Prompt window * type python --version * press Enter key * if a version is shown then it worked * You might need to sign out of your Windows user account and sign back in or restart the computer after doing this for it to work

Misc

Packaging converter into a single executable file (Windows and Mac)

  • This can be done using PyInstaller or similar software

Updates

5/23/2016

  • fixed timezone

About


Languages

Language:Python 100.0%