These batch files can also be used in the original Holdem Manager & original Poker Tracker. Option to bypass my custom PT4 filters, and used with Poker Tracker 4 with minor modifications to the batch files (takes only about 10 minutes for the whole PT4 database).
There is no ZIP file to download. You can just copy / paste the following batch files posted into a notepad file and save / create your own Batch files.
"You must disable Real-time protection in Microsoft Security Essentials (MSE if enabled), or it will cripple the amount of time to complete the batch files sorting (MsMpEng.exe)."
Step 1 :
Create a report (Report.CSV) of all your players in the HM2 tourney database. Only select the player's name and VPIP stat as viewed in this image:Step 2:
Run the batch file HM2-Color-PokerStars.bat (in the same directory as Report.CSV location) . Your directory will look like this after the batch file is run.Step 3:
Follow older posts on how to import your HM2STARS-READY-to-IMPORT.txt into your PokerStars Notes Import (even while you are playing online). Make sure the imported XML file is the same color codes as your original Pokerstars Notes XML file.You are Finished ! Update your notes any time based on VPIP. The batch files can be edited to include more variables then the VPIP stat.
Batch Files:
You can just copy / paste the following batch files posted into a notepad file and save / create your own Batch files.Poker Tracker creates an additional set of quotes for the VPIP variable for each player in the Report.csv file. Edit each PS-?-Note.bat file's quotes on the third line, for the variable %%b. The quotes are removed like this:
PS-0-Note.bat
@ECHO OFF
for /f "tokens=1-2 delims=," %%a in (HM2-GOOD-Name-Players.txt) do (
if /I %%b gtr "0.001" if /I %%b leq "0.1" echo ^<note player= %%a label="0" ^>^</note^>>>HM2STARS-READY-to-IMPORT.txt
)
The following batch files contain the instructions for HM2.
Each Color batch file (0-6 label) is set as default that can be edited to your liking:
Color 0 = .01 - 10 %
Color 1 = 10 - 15 %
Color 2 = 15 - 20 %
Color 3 = 20 - 30 %
Color 4 = 30 - 40 %
Color 5 = 40 - 50 %
Color 6 = 50 - 99.9 %
This batch file (HM2-Color-PokerStars.bat) deletes previous batch executions, sorts bad player names, calls a batch file for each color label which appends all the color files into one for import.
The color batch files (PS-0-Note.bat) can all have their VPIP values edited by replacing the numbers in quotes to whatever you want. This is 10 - 15 % in PS-1-Note.bat (gtr "0.1" if /I "%%b" leq "0.15"). this can be edited to 15 - 25 % like this: (gtr "0.15" if /I "%%b" leq "0.25")
Make sure all color batch files are changed if the percentages are changed in the quotes, so that all percentages are covered.
Copy and paste the following batch files in notepad to create your own batch files (saved with same names). The batch file is expecting the txt files to be located on the c: drive, so edit the drive letter, copy to c: drive, or remove the drive letter, if needed:
HM2-Color-PokerStars.bat
Del HM2-BAD-Name-Players.txt
Del HM2-GOOD-Name-Players.txt
del HM2STARS-READY-to-IMPORT.txt
FINDSTR "< > \""" C:Report.csv>>HM2-BAD-Name-Players.txt
FINDSTR /V "< > \""" C:Report.csv>>HM2-GOOD-Name-Players.txt
call PS-0-Note.bat
call PS-1-Note.bat
call PS-2-Note.bat
call PS-3-Note.bat
call PS-4-Note.bat
call PS-5-Note.bat
call PS-6-Note.bat
PS-0-Note.bat
@ECHO OFFfor /f "tokens=1-2 delims=," %%a in (HM2-GOOD-Name-Players.txt) do (
if /I "%%b" gtr "0.001" if /I "%%b" leq "0.1" echo ^<note player= %%a label="0" ^>^</note^>>>HM2STARS-READY-to-IMPORT.txt
)
PS-1-Note.bat
@ECHO OFFfor /f "tokens=1-2 delims=," %%a in (HM2-GOOD-Name-Players.txt) do (
if /I "%%b" gtr "0.1" if /I "%%b" leq "0.15" echo ^<note player= %%a label="1" ^>^</note^>>>HM2STARS-READY-to-IMPORT.txt
)
PS-2-Note.bat
@ECHO OFF
for /f "tokens=1-2 delims=," %%a in (HM2-GOOD-Name-Players.txt) do (
if /I "%%b" gtr "0.15" if /I "%%b" leq "0.2" echo ^<note player= %%a label="2" ^>^</note^>>>HM2STARS-READY-to-IMPORT.txt
)
PS-3-Note.bat
@ECHO OFF
for /f "tokens=1-2 delims=," %%a in (HM2-GOOD-Name-Players.txt) do (
if /I "%%b" gtr "0.2" if /I "%%b" leq "0.3" echo ^<note player= %%a label="3" ^>^</note^>>>HM2STARS-READY-to-IMPORT.txt
)
PS-4-Note.bat
@ECHO OFF
for /f "tokens=1-2 delims=," %%a in (HM2-GOOD-Name-Players.txt) do (
if /I "%%b" gtr "0.3" if /I "%%b" leq "0.4" echo ^<note player= %%a label="4" ^>^</note^>>>HM2STARS-READY-to-IMPORT.txt
)
PS-5-Note.bat
@ECHO OFF
for /f "tokens=1-2 delims=," %%a in (HM2-GOOD-Name-Players.txt) do (
if /I "%%b" gtr "0.4" if /I "%%b" leq "0.5" echo ^<note player= %%a label="5" ^>^</note^>>>HM2STARS-READY-to-IMPORT.txt
)
PS-6-Note.bat
@ECHO OFF
for /f "tokens=1-2 delims=," %%a in (HM2-GOOD-Name-Players.txt) do (
if /I "%%b" gtr "0.5" if /I "%%b" leq "0.999" echo ^<note player= %%a label="6" ^>^</note^>>>HM2STARS-READY-to-IMPORT.txt
)