p96 - updated webpage here in git to latest online version - from now on pls git website changes again

This commit is contained in:
steffen123 2008-09-24 03:08:12 +01:00
parent 7db2a471b8
commit a0cd7e5940
61 changed files with 1843 additions and 1654 deletions

View File

@ -13,7 +13,7 @@ update requirements to include new pgsql interface lib
ebuild: support pgsql
fix HUD config location and update release script accordingly
windows integrated installer
update website for windows installer
update install-in-gentoo on website
update ebuild and ubuntu guide for HUD_config.xml
@ -43,6 +43,7 @@ hole/board cards are not correctly stored in the db for stud games
HORSE (and presumably other mixed games) hand history files not handled correctly
Some MTTs won't import (rebuys??)
Many STTs won't import
redirect stderr
before beta
===========

View File

@ -1,16 +0,0 @@
<?php
define('CONFIG', 1);
define('SITE_PATH', str_replace("\\", "/", dirname(__FILE__)).'/');
if ($_SERVER['SERVER_ADDR'] == '127.0.0.1') {
define('DEV_HOST', 1);
define('SITE_URL', 'http://127.0.0.1/fpdb/');
define('PRINT_ERRORS', 1);
} else {
define('DEV_HOST', 0);
define('SITE_URL', 'http://fpdb.sourceforge.net/');
define('PRINT_ERRORS', 0);
}
?>

View File

@ -1,29 +1,27 @@
<?php
require dirname(__FILE__).'/config.php';
require SITE_PATH.'header.php';
require SITE_PATH.'sidebar.php';
?>
<div id="main">
<h1>Contact</h1>
<p>The best means of contact are the <a href="http://sourceforge.net/projects/fpdb/">sourceforge page</a>: Use the bug, feature request or patch functions or just post in the forum.</p>
<p>Alternatively feel free to contact me directly:</p>
<p>mail: steffen(at)sycamoretest.info<br>
jabber/xmpp/Google Talk: as above<br>
ICQ: 7806355<br>
MSN: steffenjf(at)gmx.de (don't email that)</p>
</div>
<?php
require SITE_PATH.'footer.php';
?>
<?php
require 'header.php';
require 'sidebar.php';
?>
<div id="main">
<h1>Contact</h1>
<p>The best means of contact are the <a href="http://sourceforge.net/projects/fpdb/">sourceforge page</a>: Use the bug, feature request or patch functions or just post in the forum.</p>
<p>Alternatively feel free to contact me directly:</p>
<p>mail: steffen(at)sycamoretest.info<br>
jabber/xmpp/Google Talk: as above<br>
ICQ: 7806355<br>
MSN: steffenjf(at)gmx.de (don't email that)</p>
</div>
<?php
require 'footer.php';
?>

View File

@ -1,67 +1,65 @@
<?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Abreviations';
require SITE_PATH.'header.php';
require SITE_PATH.'sidebar.php';
?>
<div id="main">
<h1>Abreviations</h1>
<p>HUD/table viewer<br>
================<br>
A3-7=3rd-7th street Complete/Raise percentage<br>
AF=Flop Bet/Raise percentage<br>
AT=River Bet/Raise percentage<br>
AR=Turn Bet/Raise percentage<br>
F3-7=3rd-7th street Fold percentage<br>
FF=Flop Fold percentage<br>
FR=River Fold percentage<br>
FT=Turn Fold percentage<br>
HD=Hands<br>
PF3B4B=Pre Flop 3Bet or 4Bet<br>
PFR=Pre Flop Raise<br>
Postf A=Postflop (ie. flop+turn+river) Aggression%<br>
Postf F=Postflop Fold %<br>
SD/F=Showdown/Flop=WtSD=How often player went to showdown when he saw the flop<br>
W$wsF=Won $ when he saw flop<br>
W$@SD=Won $ at showdown<br>
VPI3=Voluntary Put In on 3rd Street (ie. call+complete+raise)<br>
VPIP=Voluntary Put In Preflop (ie. call+raise)<br>
<br>
Other<br>
=====<br>
CLI=Command Line Interface (Shell, Terminal, "DOS-window")<br>
FTP=Full Tilt Poker<br>
GUI=Graphical User Interface (normal interface with buttons and menus)<br>
HUD=Heads-Up Display (shows stats directly in the poker software)<br>
PS=PokerStars<br>
MTT=Multi Table Tournament<br>
SnG=Sit and Go<br>
<br>
License<br>
=======<br>
Trademarks of third parties have been used under Fair Use or similar laws.<br>
<br>
Copyright 2008 Steffen Jobbagy-Felso<br>
Permission is granted to copy, distribute and/or modify this<br>
document under the terms of the GNU Free Documentation License,<br>
Version 1.2 as published by the Free Software Foundation; with<br>
no Invariant Sections, no Front-Cover Texts, and with no Back-Cover<br>
Texts. A copy of the license can be found in fdl-1.2.txt<br>
<br>
The program itself is licensed under AGPLv3, see agpl-3.0.txt<br>
</p>
</div>
<?php
require SITE_PATH.'footer.php';
?>
<?php
$PAGE_TITLE = 'Abreviations';
require 'header.php';
require 'sidebar.php';
?>
<div id="main">
<h1>Abreviations</h1>
<p>HUD/table viewer<br>
================<br>
A3-7=3rd-7th street Complete/Raise percentage<br>
AF=Flop Bet/Raise percentage<br>
AT=River Bet/Raise percentage<br>
AR=Turn Bet/Raise percentage<br>
F3-7=3rd-7th street Fold percentage<br>
FF=Flop Fold percentage<br>
FR=River Fold percentage<br>
FT=Turn Fold percentage<br>
HD=Hands<br>
PF3B4B=Pre Flop 3Bet or 4Bet<br>
PFR=Pre Flop Raise<br>
Postf A=Postflop (ie. flop+turn+river) Aggression%<br>
Postf F=Postflop Fold %<br>
SD/F=Showdown/Flop=WtSD=How often player went to showdown when he saw the flop<br>
W$wsF=Won $ when he saw flop<br>
W$@SD=Won $ at showdown<br>
VPI3=Voluntary Put In on 3rd Street (ie. call+complete+raise)<br>
VPIP=Voluntary Put In Preflop (ie. call+raise)<br>
<br>
Other<br>
=====<br>
CLI=Command Line Interface (Shell, Terminal, "DOS-window")<br>
FTP=Full Tilt Poker<br>
GUI=Graphical User Interface (normal interface with buttons and menus)<br>
HUD=Heads-Up Display (shows stats directly in the poker software)<br>
PS=PokerStars<br>
MTT=Multi Table Tournament<br>
SnG=Sit and Go<br>
<br>
License<br>
=======<br>
Trademarks of third parties have been used under Fair Use or similar laws.<br>
<br>
Copyright 2008 Steffen Jobbagy-Felso<br>
Permission is granted to copy, distribute and/or modify this<br>
document under the terms of the GNU Free Documentation License,<br>
Version 1.2 as published by the Free Software Foundation; with<br>
no Invariant Sections, no Front-Cover Texts, and with no Back-Cover<br>
Texts. A copy of the license can be found in fdl-1.2.txt<br>
<br>
The program itself is licensed under AGPLv3, see agpl-3.0.txt<br>
</p>
</div>
<?php
require 'footer.php';
?>

View File

@ -0,0 +1,23 @@
<?php
$PAGE_TITLE = 'Abreviations';
require 'header.php';
require 'sidebar.php';
?>
<div id="main">
<h1>Benchmarks</h1>
<p>Check this page from time to time and they will come.</p>
</div>
<?php
require 'footer.php';
?>

View File

@ -1,63 +1,61 @@
<?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Git Instructions';
require SITE_PATH.'header.php';
require SITE_PATH.'sidebar.php';
?>
<div id="main">
<h1>Git Instructions</h1>
<p>Hi, welcome to my minimal git guide for fpdb devs!<br>
You can use a git version just as user as well of course, but as there are generally hardly tested it is not advised.<br>
I'll expand this on request, if you have any questions just send me a mail at steffen(at)sycamoretest.info. There's also a bunch of instructions at http://www.assembla.com/spaces/fpdb/trac_git_tool</p>
<h2>0. Getting it</h2>
<p>To get git for gentoo just do emerge git -av<br>
To get it for Windows go to http://code.google.com/p/msysgit/downloads/list and install it.
<h2>1. Cloning the fpdb git tree</h2>
<p>Just create a new directory (lets say ~/fpdb/ ), go into it and type:<br>
git clone git://git.assembla.com/fpdb.git</p>
<h2>2. Making your changes</h2>
<p>You can use whatever you want to do edit the files. I personally use nedit and occassionally Eclipse.</p>
<h2>3. Making a (local) commit</h2>
<p>Unlike in svn you don't need to be online to make your commits. First we need to tell git what to commit, so go to the root of your fpdb directory and type:<br>
git-add--interactive<br>
Now press u and enter. It will display a list of all changed files. If you want to commit all files just press * and enter twice to return to the main menu. If you want to commit only certain ones press the number of the file and enter and repeat until you have all the files. Then press enter again to return to the main menu.<br>
If you added any new files press a and Enter, then type the number of your new file and press Enter twice. Press q to leave git-add--interactive.<br>
Now create a file for your commit message (I call it since_last_commit.txt) but don't add this to the repository. In the first line of this file put a summary of your changes. Then give some details of your changes, try to mention anything non-trivial and definitely any user-visible bug fixes.<br>
Then run this:<br>
git-commit -F since_last_commit.txt <br>
<h2>4a. Pushing the changes to your own public git tree</h2>
<p>Do this OR 4b, not both.<br>
todo</p>
<h2>4b. Preparing changeset for emailing/uploading</h2>
<p>Do this OR 4a, not both.<br>
todo</p>
<h2>5. Pulling updates from the main tree</h2>
<p>todo</p>
<h2>License</h2>
<p>Trademarks of third parties have been used under Fair Use or similar laws.<br>
<br>
Copyright 2008 Steffen Jobbagy-Felso<br>
Permission is granted to copy, distribute and/or modify this<br>
document under the terms of the GNU Free Documentation License,<br>
Version 1.2 as published by the Free Software Foundation; with<br>
no Invariant Sections, no Front-Cover Texts, and with no Back-Cover<br>
Texts. A copy of the license can be found in fdl-1.2.txt<br>
<br>
The program itself is licensed under AGPLv3, see agpl-3.0.txt</p>
</div>
<?php
require SITE_PATH.'footer.php';
?>
<?php
$PAGE_TITLE = 'Git Instructions';
require 'header.php';
require 'sidebar.php';
?>
<div id="main">
<h1>Git Instructions</h1>
<p>Hi, welcome to my minimal git guide for fpdb devs!<br>
You can use a git version just as user as well of course, but as there are generally hardly tested it is not advised.<br>
I'll expand this on request, if you have any questions just send me a mail at steffen(at)sycamoretest.info. There's also a bunch of instructions at http://www.assembla.com/spaces/fpdb/trac_git_tool</p>
<h2>0. Getting it</h2>
<p>To get git for gentoo just do emerge git -av<br>
To get it for Windows go to http://code.google.com/p/msysgit/downloads/list and install it.
<h2>1. Cloning the fpdb git tree</h2>
<p>Just create a new directory (lets say ~/fpdb/ ), go into it and type:<br>
git clone git://git.assembla.com/fpdb.git</p>
<h2>2. Making your changes</h2>
<p>You can use whatever you want to do edit the files. I personally use nedit and occassionally Eclipse.</p>
<h2>3. Making a (local) commit</h2>
<p>Unlike in svn you don't need to be online to make your commits. First we need to tell git what to commit, so go to the root of your fpdb directory and type:<br>
git-add--interactive<br>
Now press u and enter. It will display a list of all changed files. If you want to commit all files just press * and enter twice to return to the main menu. If you want to commit only certain ones press the number of the file and enter and repeat until you have all the files. Then press enter again to return to the main menu.<br>
If you added any new files press a and Enter, then type the number of your new file and press Enter twice. Press q to leave git-add--interactive.<br>
Now create a file for your commit message (I call it since_last_commit.txt) but don't add this to the repository. In the first line of this file put a summary of your changes. Then give some details of your changes, try to mention anything non-trivial and definitely any user-visible bug fixes.<br>
Then run this:<br>
git-commit -F since_last_commit.txt <br>
<h2>4a. Pushing the changes to your own public git tree</h2>
<p>Do this OR 4b, not both.<br>
todo</p>
<h2>4b. Preparing changeset for emailing/uploading</h2>
<p>Do this OR 4a, not both.<br>
todo</p>
<h2>5. Pulling updates from the main tree</h2>
<p>todo</p>
<h2>License</h2>
<p>Trademarks of third parties have been used under Fair Use or similar laws.<br>
<br>
Copyright 2008 Steffen Jobbagy-Felso<br>
Permission is granted to copy, distribute and/or modify this<br>
document under the terms of the GNU Free Documentation License,<br>
Version 1.2 as published by the Free Software Foundation; with<br>
no Invariant Sections, no Front-Cover Texts, and with no Back-Cover<br>
Texts. A copy of the license can be found in fdl-1.2.txt<br>
<br>
The program itself is licensed under AGPLv3, see agpl-3.0.txt</p>
</div>
<?php
require 'footer.php';
?>

169
website/docs-hudHowTo.php Normal file
View File

@ -0,0 +1,169 @@
<?php
$PAGE_TITLE = 'Installing in Windows';
require 'header.php';
require 'sidebar.php';
?>
<div id="main">
<h2> How To Use the HUD</h2>
<h4>3 September, 2008</h4>
<h4>fpdb version alpha 3</h4>
<h3>Initial Configuration</h3>
<p>Install and configure the import/tracker program as detailed elsewhere. You should have this line in your default.conf file.</p>
<code>imp-callFpdbHud=True</code>
<p>When you downloaded fpdb you got an example HUD configuration file named HUD_config.xml.</p>
<p>1. Open the subdirectory where you installed fpdb.</p>
<p>2. Make a backup copy of HUD_config.xml.</p>
<p>3. Check that the db_user and db_pass parameters are the ones you specified during database setup. This line is near the bottom of your config file and specifies the database parameters to be used.</p>
<code>&lt;database db_name="fpdb" db_server="mysql" db_ip="localhost" db_user="fpdb" db_pass="fpdb" db_type="fpdb"&gt;&lt;/database&gt;</code>
<p>This should allow you to use the HUD with the stats and layout in the example configuration file.</p>
<h3>Running the HUD</h3>
<p>1. Open fpdb and select Auto Import from the menu. The fpdb main screen will change to show the autoimport dialog.</p>
<img src="img/docs.HudHowTo1.png" alt="Image of HUD" />
<p>Check that the path is pointing to your hand history subdirectory, if it is not, then click the browse button and select it. ?You can also adjust the interval between imports. Smaller intervals will get your updated HUD data more often, but might cause lag. If you experience lag, increase the interval.</p>
<p>2. Click "Start Autoimport" to start the import. fpdb will automatically start the HUD. When the HUD starts it will open a HUD main window.</p>
<img src="img/docs.HudHowTo2.png" alt="Image of HUD" />
<p>2. This window currently has no purpose other than providing a close button that will cause the HUD to exit.</p>
<p>3. Play a hand of poker (good luck). A few seconds after the completion of the hand the stat windows should overlay the poker client window.</p>
<img src="img/docs.HudHowTo3.png" alt="Image of HUD" />
<p>You will also see a small main window for each table that has a HUD. Clicking the close button on that window will kill the HUD stat windows for that table. The stat windows will not go away automatically when you close the table.</p>
<img src="img/docs.HudHowTo4.png" />
<p>4. Adjust the positions of the stat windows. By default, the stat windows are created without decorations (title bar, border, etc.). Double clicking on a stat will add the decorations to that stat window. You can then use the title bar to move the window and double click again to make the decorations disappear.</p>
<img src="img/docs.HudHowTo5.png" />
<img src="img/docs.HudHowTo6.png" />
<p>5. So play some poker: raise, bet, float, get all-in. You can find out what each stat is by hovering the mouse over the stat and looking at the tool tip. The tool tip also has the name of the player that the stat corresponds to, so it is useful in figuring out which stat window goes where if your windows are not in the right place. You can also get a pop up window with additional stats by single clicking on a stat.</p>
<img src="img/docs.HudHowTo7.png" />
<p>These windows do not automatically update when a new hand is imported, but they can be moved around the same way the stat window are moved. Single clicking anywhere on the popup will make it disappear.</p>
<h3>Configuring Stat Layouts</h3>
<p>OK, back to the HUD_config.xml file--saving a backup would be a good idea. Before you ask, yes, there will be a neat configuration function in the HUD, to make this quicker and easier. We thought you would prefer to have the HUD now rather than wait for us to write the configuration code.</p>
<p>1. Open your HUD_config.xml file in you text editor and scroll down to site entry for the layout you want to configure. For example, if you want to change a layout for Pokerstars, find the line that starts like this.</p>
<code>&lt;site site_name="PokerStars" ...</code>
<p>Below that line you will find several blocks of lines defining the stat layouts for tables with the various numbers of seats. For example the layout for 6-seated tables looks like this:</p>
<code>&lt;layout max="6" width="792" height="546" fav_seat="0&gt;<br>
&lt;location seat="1" x="681" y="119"&gt; &lt;/location&gt;<br>
&lt;location seat="2" x="681" y="301"&gt; &lt;/location&gt;<br>
&lt;location seat="3" x="487" y="369"&gt; &lt;/location&gt;<br>
&lt;location seat="4" x="226" y="369"&gt; &lt;/location&gt;<br>
&lt;location seat="5" x="0" y="301"&gt; &lt;/location&gt;<br>
&lt;location seat="6" x="0" y="119"&gt; &lt;/location&gt;<br>
&lt;/layout&gt;</code>
<p>The first line of this layout specifies that it is for a 6-max (max="6") table that has been sized to 792 x 546 (width="792" height="546"). The fav_seat parameter is not used at this time.</p>
<p>The next 6 lines specify where the stat windows are placed on the poker client window. The x and y positions are measured from the inside upper left of the poker client window. That is x = 0, y = 0 would be the first usable pixel to the right of the window border and below the title bar.</p>
<p>So if you are using the layout in the example above and decide that the stat window for seat 3 is being place 9 pixels too high, you would change the line for seat="3" to be:</p>
<code>&lt;location seat="3" x="487" y="378"&gt; &lt;/location&gt;</code>
<p>If you use smaller or larger client windows you should correct the width and height parameters so that they are up-to-date when automatic resizing is implemented.</p>
<h3>Configuring the Stats Shown in the stat windows</h3>
<p>The definition of the stat window stats is in the "supported games" paragraph of the HUD_config.xml file. For example:</p>
<code>&lt;game game_name="studhilo" db="fpdb" rows="2" cols="3"&gt;<br>
&lt;stat row="0" col="0" stat_name="vpip" tip="tip1" click="tog_decorate" popup="default"&gt; &lt;/stat&gt;<br>
&lt;stat row="0" col="1" stat_name="pfr" tip="tip1" click="tog_decorate" popup="default"&gt; &lt;/stat&gt;<br>
&lt;stat row="0" col="2" stat_name="ffreq_1" tip="tip1" click="tog_decorate" popup="default"&gt; &lt;/stat&gt;<br>
&lt;stat row="1" col="0" stat_name="n" tip="tip1" click="tog_decorate" popup="default"&gt; &lt;/stat&gt;<br>
&lt;stat row="1" col="1" stat_name="wtsd" tip="tip1" click="tog_decorate" popup="default"&gt; &lt;/stat&gt;<br>
&lt;stat row="1" col="2" stat_name="wmsd" tip="tip1" click="tog_decorate" popup="default"&gt; &lt;/stat&gt;<br>
&lt;/game&gt;</code>
<p>The first line specifies the game that this stat paragraph is used for (game = "studhilo") and the number of rows and columns in the stat window. In this case we have specified 2 rows and 3 columns so we can have 2x3 = 6 stats. Rows and columns are numbered from 0, so the 3 columns are numbered 0, 1, and 2.</p>
<p>The subsequent lines in the stat paragraph specify which stats are displayed in the various parts of the window. In this example, vpip is displayed in col 0, row 0.</p>
<p>So to create stat windows with 4 columns of 2 rows you would change the cols parameter in the first line to cols = "4" and add 2 additional rows to specify the stats for row 2, col 3 and row 1, col 3.</p>
<p>The click and tip parameters in this paragraph are not currently used. The popup parameter is explained in the next section.</p>
<h3>Configuring Popup Windows</h3>
<p>Each stat location can display a different popup window when clicked. In the example just above, each of the stats has the "default" popup specified. You can see the definition of the default popup by scrolling farther down in your config file. It should look like this.</p>
<code>&lt;popup_windows&gt;<br>
&lt;pu pu_name="default"&gt;<br>
&lt;pu_stat pu_stat_name = "n"&gt; &lt;/pu_stat&gt;<br>
&lt;pu_stat pu_stat_name = "vpip"&gt; &lt;/pu_stat&gt;<br>
&lt;pu_stat pu_stat_name = "pfr"&gt; &lt;/pu_stat&gt;<br>
...<br>
&lt;pu_stat pu_stat_name = "ffreq_4"&gt; &lt;/pu_stat&gt;<br>
&lt;/pu&gt;<br>
&lt;/popup_windows&gt;</code>
<p>You can create a new popup by making a new pu elelment, with a new name and a new list of stats. You then specify that popup name in the popup parameter in one or more of your stats.</p>
<h3>Currently Supported Stats</h3>
<dl>
<dt>a_freq_1</dt> <dd>Flop/4th aggression frequency.</dd>
<dt>a_freq_2</dt> <dd>Turn/5th aggression frequency.</dd>
<dt>a_freq_3</dt> <dd>River/6th aggression frequency.</dd>
<dt>a_freq_4</dt> <dd>7th street aggression frequency.</dd>
<dt>cb_1</dt> <dd>Flop continuation bet.</dd>
<dt>cb_2</dt> <dd>Turn continuation bet.</dd>
<dt>cb_3</dt> <dd>River continuation bet.</dd>
<dt>cb_4</dt> <dd>7th street continuation bet.</dd>
<dt>f_BB_steal</dt> <dd>Folded BB to steal.</dd>
<dt>f_SB_steal</dt> <dd>Folded SB to steal.</dd>
<dt>ffreq_1</dt> <dd>Flop/4th fold frequency.</dd>
<dt>ffreq_2</dt> <dd>Turn/5th fold frequency.</dd>
<dt>ffreq_3</dt> <dd>River/6th fold frequency.</dd>
<dt>ffreq_4</dt> <dd>7th fold frequency.</dd>
<dt>n</dt> <dd>Number of hands played.</dd>
<dt>pfr</dt> <dd>Preflop (3rd street) raise.</dd>
<dt>saw_f</dt> <dd>Saw flop/4th.</dd>
<dt>steal</dt> <dd>Steal %.</dd>
<dt>three_B_0</dt> <dd>Three bet preflop/3rd.</dd>
<dt>vpip</dt> <dd>Voluntarily put $ in the pot.</dd>
<dt>wmsd</dt> <dd>Won $ at showdown.</dd>
<dt>wtsd</dt> <dd>Went to SD when saw flop/4th.</dd>
<dt>WMsF</dt> <dd>Won $ when saw flop/4th.</dd>
</dl>
<?php
require 'footer.php';
?>

View File

@ -1,87 +1,85 @@
<?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Installing in Gentoo';
require SITE_PATH.'header.php';
require SITE_PATH.'sidebar.php';
?>
<div id="main">
<h1>Installing in Gentoo Linux</h1>
<p>Last checked: 3 Aug 2008, git99<br><br>
These instructions are for Gentoo GNU/Linux, but if you adapt the steps installing and starting stuff it should work on any other OS as well.<br><br>
1. Install everything. Check if anything is already installed and if it is remove it from the command.<br><br>
For mysql:<br>
emerge mysql mysql-python pygtk -av<br>
/etc/init.d/mysql start<br>
rc-update add mysql default<br><br>
For postgresql:<br>
emerge postgresql pygresql pygtk <br>
/etc/init.d/postgresql start<br>
rc-update add postgresql default<br>
<br><br>
2. Manual configuration steps<br>
<br>
emerge --config mysql<br>
The --config step will ask you for the mysql root user - set this securely, we will create a seperate account for fpdb<br>
<br><br>
3. Create a mysql user and a database<br>
Now open a shell (aka command prompt aka DOS window):<br>
Click Start, then Run. In the opening window type "cmd" (without the inverted commas) and then click OK. A windows with a black background should open.<br><br>
Type (replacing yourPassword with the root password for MySQL you specified during installation):<br>
mysql --user=root --password=yourPassword<br><br>
It should say something like this:<br>
Welcome to the MySQL monitor. Commands end with ; or \g.<br>
Your MySQL connection id is 4<br>
Server version: 5.0.60-log Gentoo Linux mysql-5.0.60-r1<br>
<br>
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.<br>
<br>
mysql&gt;<br>
<br>
Now create the actual database. The default name is fpdb, I recommend you keep it. Type this:<br>
CREATE DATABASE fpdb;<br>
Next you need to create a user. I recommend you use the default fpdb. Type this (replacing newPassword with the password you want the fpdb user to have - this can, but for security shouldn't, be the same as the root mysql password):<br>
GRANT ALL PRIVILEGES ON fpdb.* TO 'fpdb'@'localhost' IDENTIFIED BY 'newPassword' WITH GRANT OPTION;<br><br>
Copy the .conf file from this directory to ~/.fpdb/profiles/default.conf and edit it according to what you configured just now, in particular you will definitely have to put in the password you configured. I know this is insecure, will fix it before stable release.<br>
<br>
4. Guided installation steps<br>
Run the GUI as described in readme-user and click the menu database -&gt; recreate tables<br>
<br>
That's it! Now see readme-user.txt for usage instructions.<br>
<br>
License<br>
=======<br>
Trademarks of third parties have been used under Fair Use or similar laws.<br>
<br>
Copyright 2008 Steffen Jobbagy-Felso<br>
Permission is granted to copy, distribute and/or modify this<br>
document under the terms of the GNU Free Documentation License,<br>
Version 1.2 as published by the Free Software Foundation; with<br>
no Invariant Sections, no Front-Cover Texts, and with no Back-Cover<br>
Texts. A copy of the license can be found in fdl-1.2.txt<br>
<br>
The program itself is licensed under AGPLv3, see agpl-3.0.txt</p>
</div>
<?php
require SITE_PATH.'footer.php';
?>
<?php
$PAGE_TITLE = 'Installing in Gentoo';
require 'header.php';
require 'sidebar.php';
?>
<div id="main">
<h1>Installing in Gentoo Linux</h1>
<p>Last checked: 3 Aug 2008, git99<br><br>
These instructions are for Gentoo GNU/Linux, but if you adapt the steps installing and starting stuff it should work on any other OS as well.<br><br>
1. Install everything. Check if anything is already installed and if it is remove it from the command.<br><br>
For mysql:<br>
emerge mysql mysql-python pygtk -av<br>
/etc/init.d/mysql start<br>
rc-update add mysql default<br><br>
For postgresql:<br>
emerge postgresql pygresql pygtk <br>
/etc/init.d/postgresql start<br>
rc-update add postgresql default<br>
<br><br>
2. Manual configuration steps<br>
<br>
emerge --config mysql<br>
The --config step will ask you for the mysql root user - set this securely, we will create a seperate account for fpdb<br>
<br><br>
3. Create a mysql user and a database<br>
Now open a shell (aka command prompt aka DOS window):<br>
Click Start, then Run. In the opening window type "cmd" (without the inverted commas) and then click OK. A windows with a black background should open.<br><br>
Type (replacing yourPassword with the root password for MySQL you specified during installation):<br>
mysql --user=root --password=yourPassword<br><br>
It should say something like this:<br>
Welcome to the MySQL monitor. Commands end with ; or \g.<br>
Your MySQL connection id is 4<br>
Server version: 5.0.60-log Gentoo Linux mysql-5.0.60-r1<br>
<br>
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.<br>
<br>
mysql&gt;<br>
<br>
Now create the actual database. The default name is fpdb, I recommend you keep it. Type this:<br>
CREATE DATABASE fpdb;<br>
Next you need to create a user. I recommend you use the default fpdb. Type this (replacing newPassword with the password you want the fpdb user to have - this can, but for security shouldn't, be the same as the root mysql password):<br>
GRANT ALL PRIVILEGES ON fpdb.* TO 'fpdb'@'localhost' IDENTIFIED BY 'newPassword' WITH GRANT OPTION;<br><br>
Copy the .conf file from this directory to ~/.fpdb/profiles/default.conf and edit it according to what you configured just now, in particular you will definitely have to put in the password you configured. I know this is insecure, will fix it before stable release.<br>
<br>
4. Guided installation steps<br>
Run the GUI as described in readme-user and click the menu database -&gt; recreate tables<br>
<br>
That's it! Now see readme-user.txt for usage instructions.<br>
<br>
License<br>
=======<br>
Trademarks of third parties have been used under Fair Use or similar laws.<br>
<br>
Copyright 2008 Steffen Jobbagy-Felso<br>
Permission is granted to copy, distribute and/or modify this<br>
document under the terms of the GNU Free Documentation License,<br>
Version 1.2 as published by the Free Software Foundation; with<br>
no Invariant Sections, no Front-Cover Texts, and with no Back-Cover<br>
Texts. A copy of the license can be found in fdl-1.2.txt<br>
<br>
The program itself is licensed under AGPLv3, see agpl-3.0.txt</p>
</div>
<?php
require 'footer.php';
?>

View File

@ -1,112 +1,203 @@
<?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Installing in Windows';
require SITE_PATH.'header.php';
require SITE_PATH.'sidebar.php';
?>
<div id="main">
<h1>Installing in Windows</h1>
<p>These instructions are for 32/64bit Windows NT/2k/XP/2k3/Vista/2k8. Well, in principle. I
made them in XP Pro, if you discover any differences or problems please let me know. If you're still on Win3/95/98/ME then you should switch to GNU/Linux, *BSD or WinXP. <br>
The length of these instructions is due to MS refusal to provide any meaningful package management, but an installer will be made at some point.</p>
<p>Here are direct download links, last checked on 10Aug2008:<br>
<a href="http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.67-win32.zip/from/pick#mirrors">http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.67-win32.zip/from/pick#mirrors</a><br>
<a href="http://www.python.org/ftp/python/2.5.2/python-2.5.2.msi">http://www.python.org/ftp/python/2.5.2/python-2.5.2.msi</a><br>
<a href="http://downloads.sourceforge.net/mysql-python/MySQL-python-1.2.2.win32-py2.5.exe?modtime=1173863337&big_mirror=0">http://downloads.sourceforge.net/mysql-python/MySQL-python-1.2.2.win32-py2.5.exe?modtime=1173863337&amp;big_mirror=0</a><br>
<a href="http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.12/gtk+-bundle-2.12.11.zip">http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.12/gtk+-bundle-2.12.11.zip</a><br>
<a href="http://ftp.gnome.org/pub/GNOME/binaries/win32/pycairo/1.4/pycairo-1.4.12-1.win32-py2.5.exe">http://ftp.gnome.org/pub/GNOME/binaries/win32/pycairo/1.4/pycairo-1.4.12-1.win32-py2.5.exe</a><br>
<a href="http://ftp.gnome.org/pub/GNOME/binaries/win32/pygobject/2.14/pygobject-2.14.1-1.win32-py2.5.exe">http://ftp.gnome.org/pub/GNOME/binaries/win32/pygobject/2.14/pygobject-2.14.1-1.win32-py2.5.exe</a><br>
<a href="http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.12/pygtk-2.12.1-2.win32-py2.5.exe">http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.12/pygtk-2.12.1-2.win32-py2.5.exe</a><br>
<br>
<b>1a. Install MySQL and do its basic setup</b><br>
- Download Windows ZIP/Setup.exe<br>
- Unzip the archive, execute the setup file<br>
At the end make sure you activate that you want to configure it now.<br>
Use the advanced/detailed config. Leave everything as default unless stated below, or unless you have reason not to.<br>
Make sure to ACTIVATE TCP/IP networking, but you should block external connections (ie. anything not from localhost) to MySQL unless you're running the DB on a different machine.<br>
Set a root password. Note that this is not the account/pw that fpdb will use.<br>
<br>
Once finished it shold confirm "service started successfully"<br>
<br>
<b>1b. MySQL database and user setup</b><br>
Now open a shell (aka command prompt aka DOS window):<br>
Click Start, then Run. In the opening window type "cmd" (without the inverted commas) and then click OK. A window with a black background should open.<br>
<br>
Type (replacing yourPassword with the root password for MySQL you specified during installation):<br>
mysql --user=root --password=yourPassword<br>
<br>
It should say something like this:<br>
Welcome to the MySQL monitor. Commands end with ; or \g.<br>
Your MySQL connection id is 4<br>
Server version: 5.0.60-log Gentoo Linux mysql-5.0.60-r1<br>
<br>
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.<br>
<br>
mysql&gt;<br>
<br>
Now create the actual database. The default name is fpdb, I recommend you keep it. Type this:<br>
CREATE DATABASE fpdb;<br>
<br>
Next you need to create a user. I recommend you use the default fpdb. Type this (replacing newPassword with the password you want the fpdb user to have - this can, but for security shouldn't, be the same as the root mysql password):<br>
GRANT ALL PRIVILEGES ON fpdb.* TO 'fpdb'@'localhost' IDENTIFIED BY 'newPassword' WITH GRANT OPTION;<br>
<br>
Exit mysql by pressing Ctrl+D<br>
<br>
<b>2. Install python</b><br>
Get the latest Windows installer. As of this writing that is 2.5.2. Double click the .msi file to start installation and follow the prompts.<br>
<br>
<b>3. Install the Python-DBAPI package for MySQL:</b><br>
Get the package and double click to install.<br>
<br>
<b>4. Time for GTK+ - here's the instructions from their bundle</b><br>
<br>
To use it, create some empty folder like c:\gtk . Using either<br>
Windows Explorer's built-in zip file management, or the command-line<br>
unzip.exe from<br>
ftp://tug.ctan.org/tex-archive/tools/zip/info-zip/WIN32/unz552xN.exe<br>
unzip this bundle.<br>
<br>
Then add the bin folder to your PATH. Make sure you have no other<br>
versions of GTK+ in PATH.<br>
To do that:<br>
Right click on "My Computer" ("Arbeitsplatz" in German Windows) on the Desktop or in (Windows) Explorer. Select Properties. Then click on the tab Advanced and then you should see Environment Variables. Simply append GTK's bin folder to the existing PATH (make sure to put a ; between the old PATH and GTK's folder to seperate the entries in this list).<br>
<br>
<b>5.</b> Install pycairo, pygobject and pygtk with double click.<br>
<br>
<b>6.</b> Copy the default.conf from the docs folder to the appropriate folder in your system, e.g. C:\Documents and Settings\Nick\Application Data\fpdb\profiles\default.conf<br>
<br>
Now edit the file, in particular you will always have to type in the correct password (insecure, I know) and if you differ from the default setup you may need to change host, database or user.<br>
<br>
<b>7.</b> Double click fpdb.py in the pyfpdb folder of where you downloaded/unpacked it to.<br>
When the program started open the menu Database and click "Create or Recreate Tables".<br>
<br>
That's it! Now you can use the bulk importer and the table viewer, more's coming. See readme-user.txt<br>
A word on privelege separation: fpdb should not require root/Administrator rights to run. If it does it is a bug or serious misconfiguration, please let us know.<br>
License<br>
=======<br>
Trademarks of third parties have been used under Fair Use or similar laws.<br>
<br>
Copyright 2008 Steffen Jobbagy-Felso<br>
Permission is granted to copy, distribute and/or modify this<br>
document under the terms of the GNU Free Documentation License,<br>
Version 1.2 as published by the Free Software Foundation; with<br>
no Invariant Sections, no Front-Cover Texts, and with no Back-Cover<br>
Texts. A copy of the license can be found in fdl-1.2.txt<br>
<br>
The program itself is licensed under AGPLv3, see agpl-3.0.txt</p>
</div>
<?php
require SITE_PATH.'footer.php';
?>
<?php
$PAGE_TITLE = 'Installing in Windows';
require 'header.php';
require 'sidebar.php';
?>
<div id="main">
<h1>Installing in Windows</h1>
<div class="winInst">
<p>These instructions were made with Windows XP. They should also work with Windows NT / 2000 / 2003 / Vista and 2008. Please report any differences to gmic at users.sourceforge.net.
<p>If you're still using Win3/95/98/ME then you should switch to GNU/Linux, *BSD or WinXP.</p>
<p>An Installer will be made at some point.</p>
<div class="screenshot">
<img src="img/00.mySqlWebsite1.jpg" alt="windows install guide screenshot" />
<p><strong>1.</strong> Click <a href="http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.67-win32.zip/from/pick#mirrors">here</a> to open the <a href="http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.67-win32.zip/from/pick#mirrors">MySQL Download Page</a>. Click on the "No, thanks..." link to see the download links for the MySQL installer.</p>
</div>
<div class="screenshot">
<img src="img/01.mySqlWebsite2.jpg" alt="windows install guide screenshot" />
<p><strong>2.</strong> Click on one of the HTTP or FTP download links to download the zip file (mysql-5.0.67-win32.zip).</p>
</div>
<div class="screenshot">
<img src="img/02.mySqlSetup1.jpg" alt="windows install guide screenshot" />
<p><strong>3.</strong> Unzip the setup file to a folder of your choice and double-click on it. On the welcome screen click "Next".</p>
</div>
<div class="screenshot">
<img src="img/03.mySqlSetup3.jpg" alt="windows install guide screenshot" />
<p><strong>4.</strong> As the setup type "Typical" should be selected. Then click "Next". On the following screen click "Install" and installation will begin.</p>
</div>
<div class="screenshot">
<img src="img/04.mySqlSetup5.jpg" alt="windows install guide screenshot" />
<p><strong>5.</strong> Before the installation ends an ad for MySQL Enterprise edition will appear. Just click "Next" two times.</p>
</div>
<div class="screenshot">
<img src="img/05.mySqlSetup7.jpg" alt="windows install guide screenshot" />
<p><strong>6.</strong> Now make sure that "Configure the MySQL Server now" is checked and click "Finish".</p>
</div>
<div class="screenshot">
<img src="img/06.mySqlConfig1.jpg" alt="windows install guide screenshot" />
<p><strong>7.</strong> You are now looking at the MySQL Configuration Wizard. Click "Next".</p>
</div>
<div class="screenshot">
<img src="img/07.mySqlConfig2.jpg" alt="windows install guide screenshot" />
<p><strong>8.</strong> Make sure "Detailed Configuration" is selected. Then click "Next. Now "Developer machine" should be selected. Click "Next".</p>
</div>
<div class="screenshot">
<img src="img/08.mySqlConfig4.jpg" alt="windows install guide screenshot" />
<p><strong>9.</strong> On this screen "Multifunctional Database should be selected. Click "Next". On the next screen (InnoDB Tablespace) just click "Next".</p>
</div>
<div class="screenshot">
<img src="img/09.mySqlConfig7.jpg" alt="windows install guide screenshot" />
<p><strong>10.</strong> Now "Decision Support" should be selected. Click "Next". Now make sure "Enable TCP/IP Networking" <strong>IS</strong> selected. Then click "Next".</p>
</div>
<div class="screenshot">
<img src="img/10.mySqlConfig8.jpg" alt="windows install guide screenshot" />
<p><strong>11.</strong> Here "Standard Character Set" should be selected. Click "Next". Now make sure <strong>"Install As Windows Service"</strong> is selected.</p>
</div>
<div class="screenshot">
<img src="img/11.mySqlConfig10.jpg" alt="windows install guide screenshot" />
<p><strong>12.</strong> Now choose a root password. This will <strong>NOT</strong> be the password for your poker database. Click "Next".</p>
</div>
<div class="screenshot">
<img src="img/12.mySqlConfig11.jpg" alt="windows install guide screenshot" />
<p><strong>13.</strong> On this last screen of the Configuration Wizard just click "Execute." A few success messages will appear. Click "Finish".</p>
</div>
<div class="screenshot">
<img src="img/13.run.jpg" alt="windows install guide screenshot" />
<p><strong>14.</strong> Now click the Windows Start Button and then click "Run". Click into the white space of the new window, type <code>cmd</code> and hit ENTER.</p>
</div>
<div class="screenshot">
<img src="img/14.shellCdToMySql.jpg" alt="windows install guide screenshot" />
<p><strong>15.</strong> In the newly appeared console window type <code>cd "%PROGRAMFILES%\MySQL\MySQL Server 5.0\bin"</code> and hit ENTER.</p>
</div>
<div class="screenshot">
<img src="img/15.shellMySqlRootLogin.jpg" alt="windows install guide screenshot" />
<p><strong>16.</strong> Type <code>mysql --user=root --password=yourPassword</code> and hit ENTER (replace <code>yourPassword</code> with your chosen root password).</p>
</div>
<div class="screenshot">
<img src="img/16.shellMySqlPrompt.jpg" alt="windows install guide screenshot" />
<p><strong>17.</strong> A few lines followed by <code>mysql&gt;</code> will appear. This is the MySQL command prompt.</p>
</div>
<div class="screenshot">
<img src="img/17.shellMySqlCreateDB.jpg" alt="windows install guide screenshot" />
<p><strong>18.</strong> We will now create your poker database. Type <code>CREATE DATABASE fpdb;</code> and hit ENTER. "Query OK" says we were successful.</p>
</div>
<div class="screenshot">
<img src="img/18.shellMySqlCreateUser.jpg" alt="windows install guide screenshot" />
<p><strong>19.</strong> Type the following, <strong>replace</strong> <code>newPassword</code> with a password of your choice and hit ENTER:</p>
<p><code>GRANT ALL PRIVILEGES ON fpdb.* TO 'fpdb'@'localhost' IDENTIFIED BY 'newPassword' WITH GRANT OPTION;</code></p>
</div>
<div class="screenshot">
<img src="img/19.shellMySqlUserCreated.jpg" alt="windows install guide screenshot" />
<p><strong>20.</strong> Again it says "Query OK". Type <code>exit</code> and hit ENTER to exit the MySQL prompt. <strong>Leave this window open.</strong> We will need it later.</p>
</div>
<div class="screenshot">
<img src="img/20.pythonInst.jpg" alt="windows install guide screenshot" />
<p><strong>21.</strong> Click <a href="http://www.python.org/ftp/python/2.5.2/python-2.5.2.msi">here</a>, save the file python-2.5.2.msi where you want and double-click on it. In case of a warning window click "Execute".</p>
</div>
<div class="screenshot">
<img src="img/21.pythonInst4.jpg" alt="windows install guide screenshot" />
<p><strong>22.</strong>Click "Next" three times. Python will install. Then click finish.</p>
</div>
<div class="screenshot">
<img src="img/22.mySqlPythonInst1.jpg" alt="windows install guide screenshot" />
<p><strong>23.</strong> Click <a href="http://downloads.sourceforge.net/mysql-python/MySQL-python-1.2.2.win32-py2.5.exe?modtime=1173863337&big_mirror=0">here</a>, save MySQL-python-1.2.2.win32-py2.5.exe to a folder of your choice and double click it. In case of a warning window click "Execute". Click "Next" three times. The Python API for MySQL will install. Click "Finish".</p>
</div>
<div class="screenshot">
<img src="img/23.shellMkDirGtk.jpg" alt="windows install guide screenshot" />
<p><strong>24.</strong> In the console window (which we left open) now type: <code>mkdir c:\gtk</code> and hit ENTER. Leave the window open again, we'll need it.</p>
<p>Now click <a href="http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.12/gtk+-bundle-2.12.11.zip">here</a> and save the gtk zip file gtk+-bundle-2.12.11.zip to a folder of your choice. Unzip its contents to C:\gtk</p>
</div>
<div class="screenshot">
<img src="img/24.setGtkPath1.jpg" alt="windows install guide screenshot" />
<p><strong>25.</strong> Now <strong>right-click</strong> "My Computer" (on your Desktop) and click on "Properties". Now click on the tab "Advanced".</p>
</div>
<div class="screenshot">
<img src="img/25.setGtkPath2.jpg" alt="windows install guide screenshot" />
<p><strong>26.</strong> Click the button "Environ Variables". In the lower list of the new window click on "Path" (possibly you need to scroll).</p>
</div>
<div class="screenshot">
<img src="img/26.setGtkPath3.jpg" alt="windows install guide screenshot" />
<p><strong>27.</strong>Now click on the"Edit" button and a new window will pop up. To the value of the variable append <code>;C:\gtk\bin</code> Click Ok three times.</p>
</div>
<div class="screenshot">
<img src="img/27.pycairoInst.jpg" alt="windows install guide screenshot" />
<p><strong>28.</strong> Click <a href="http://ftp.gnome.org/pub/GNOME/binaries/win32/pycairo/1.4/pycairo-1.4.12-1.win32-py2.5.exe">here</a>, save the file pycairo-1.4.12-1.win32-py2.5.exe to a folder of your choice and double click on it. In case of a warning window click "Execute". Now click "Next" three times. The pycairo graphics library API for Python will install. Click "Finish".</p>
</div>
<div class="screenshot">
<img src="img/28.pygobjectInst.jpg" alt="windows install guide screenshot" />
<p><strong>29.</strong> Click <a href="http://ftp.gnome.org/pub/GNOME/binaries/win32/pygobject/2.14/pygobject-2.14.1-1.win32-py2.5.exe">here</a>, save the file pygobject-2.14.1-1.win32-py2.5.exe to a folder of your choice and double click on it. In case of a warning click "Execute". Now click "Next" three times. The Python Gobject API will install. Click "Finish".</p>
</div>
<div class="screenshot">
<img src="img/29.pyGtkInst.jpg" alt="windows install guide screenshot" />
<p><strong>30.</strong> Click <a href="http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.12/pygtk-2.12.1-2.win32-py2.5.exe">here</a>, save the file pygtk-2.12.1-2.win32-py2.5.exe to a folder of your choice and double click on it. In case of a warning click "Execute". Now click "Next" three times. The Python API for Gtk+ will install. Click "Finish".</p>
</div>
<div class="screenshot"> <img src="img/30.shellMkDirProfiles.jpg" alt="windows install guide screenshot" />
<p><strong>31.</strong> In the console window now type: <code>mkdir "%homepath%\Application Data\fpdb"</code> and hit ENTER. Copy the file "default.conf" from the docs folder of your fpdb git to the directory C:\%homepath%\Application Data\fpdb\.</p>
</div>
<div class="screenshot">
<img src="img/31.editDbProfile.jpg" alt="windows install guide screenshot" />
<p><strong>32.</strong> Now open the file "default.conf" in WordPad (Start &gt; Programs &gt; Accessoirs &gt; WordPad) and replace the password in the <code>dbpassword</code> line with your chosen password for the fpdb user. </p>
</div>
<div class="screenshot">
<img src="img/32.startFpdb.jpg" alt="windows install guide screenshot" />
<p><strong>33.</strong> Now start FPDB by double-clicking on the file fpdb.py in the folder fpdb. A console window should open up and shortly thereafter the fpdb application window should be visible. Click on the menu "Database" and select "Create or Recreate Tables".</p>
</div
<div class="screenshot">
<p><strong>Congratulations! Your fpdb installation is complete! Now you can use the bulk importer to import your hands into fpdb.</strong>
</div>
</div>
<p>A word on privelege separation: fpdb should not require root/Administrator rights to run. If it does it is a bug or serious misconfiguration, please let us know.</p>
<h4>License</h4>
<p>Trademarks of third parties have been used under Fair Use or similar laws.</p>
<p>Copyright 2008 Steffen Jobbagy-Felso</p>
<p>Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 as published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license can be found in fdl-1.2.txt. The program itself is licensed under AGPLv3, see agpl-3.0.txt</p>
<?php
require 'footer.php';
?>

View File

@ -1,86 +1,84 @@
<?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Overview';
require SITE_PATH.'header.php';
require SITE_PATH.'sidebar.php';
?>
<div id="main">
<h1>Overview</h1>
<p>
Summary<br>
=======<br>
A database program to track your online poker games, the behaviour of the other players and your winnings/losses. Supports Holdem, Omaha, Stud and Razz for cash games as well as SnG and MTT tournaments with more possibly coming in the future. Some of this is not yet working though, please see status.txt and known-bugs-and-planned-features.txt<br>
<br>
But you could send all my hand histories to yourself!<br>
=====================================================<br>
At the end of the day this comes down to a question of trust, but unlike Windows and the poker client software you don't have to trust fpdb blindly. You can:<br>
- Verify the source code yourself.<br>
- Convince or pay someone to verify the source code for you.<br>
- Use a personal firewall to completely block fpdb from the Internet<br>
- (for the uber-paranoid) Get yourself the free virtualisation software VirtualBox, set up a VM (virtual machine) to run fpdb but run the poker software on your real PC. Then cut the VM off the Internet, fpdb doesn't need it. If you have a PC made in the last few years this should run fast enough as well. Note that most Windows licenses do NOT permit you to use two Windows installations at once, even if they are on the same PC.<br>
<br>
Requirements<br>
============<br>
Software requirements are listed in requirements.txt<br>
As for hardware, my main test machine is a Pentium 3-M 800 with 256 RAM and Gentoo GNU/Linux<br>
(running the poker client through what most people will call emulation). So this<br>
program will have to work on that. If you run an even more ancient machine and<br>
its too slow let me know and I'll see what I can do :)<br>
<br>
Why Free Software?<br>
==================<br>
This program is released under the terms of the free/libre software license AGPL3 as released by the FSF. The AGPL3 protects your rights and those of the wider community. As Richard Stallman, one of the founders of the free software movement, put it: "Free software is a matter of liberty, not price. To understand the concept, you should think of free as in free speech, not as in free beer." (well, it is both really, like the right to vote used to be free)<br>
<br>
For example, a "pirated" copy of proprietary software X is free of charge, but you don't actually have a legal right to use it, you don't have any possibility to fix its bugs and you certainly don't have any legal right to share it with your friends. You also won't be able to get support, often not even security fixes. Actually, even if you pay hundreds of pounds for your program they deny your right to fix their errors for them. Imagine buying a car where you're not permitted (under threat of jail) to replace broken parts..<br>
<br>
With free/libre software (also known as open source software, or short FOSS or FLOSS) on the other hand you get all these freedoms:<br>
(note: the legally binding terms are in the license text, this is merely an amateur summary so normal people don't have to read pages of legalese)<br>
<br>
Freedom 0: The freedom to use: To run the program, for any purpose. Free of Charge.<br>
Freedom 1: The freedom to study and help yourself. This freedom guarantees your right to study and learn from the source code of the program, and to fix it if it is broken. If you're not a programmer yourself the developers will generally be happy to fix it for you, often even for free. Failing that you can always pay someone from the money you saved on not having to pay for it.<br>
Freedom 2: The freedom to be a decent human being and help your neighbour: I don't threaten you with lawsuits or jail time if you share with your friends and neighbours, subject to the very modest restrictions of the AGPL3.<br>
Freedom 3: The freedom to improve the program and release your improvements to the public (or parts thereof) so that the whole community benefits. Note that you are PERMITTED, but not REQUIRED to distribute your changes. If you do distribute your changes you must do so under the terms of the AGPL3 however.<br>
<br>
Note that this is the license - I retain full copyright over my code, including the right to change the license for future versions. I do not intend to do this however. In any case, any version I released under AGPL3 remains available under that license forever, or more accurately until my copyright expires at which point it goes into the public domain.<br>
<br>
I reject the concept of software patents as a crime and under the European Patent Agreement software patents - even if you mislabel them as "computer-implemented inventions" or whatever - are explicitly prohibited.<br>
<br>
Can I get/use this under a different license?<br>
=============================================<br>
The short answer: Maybe.<br>
The long one: As detailed, I fully support what the FSF does and aims to achieve with the GPL. However, I realise that many free software developers don't object to closed source, some don't even object to closed source profiteering of their charity, and I don't think I have any right to go and tell them they're wrong.<br>
So if anyone wishes to use all or part of my code in another free software/open source project with an AGPL3-incompatible license such as BSD then let me know and we'll figure out a solution that makes everyone happy.<br>
If you wish to use all or part of this in closed source let me know how much if anything that is worth to you and I'm sure we'll be able to reach an agreement. Note that you are NOT permitted to just use fpdb code in closed source development whether in-house or by an independent software developer, you will NEED an additionally agreement with me to get fpdb under different licensing conditions.<br>
<br>
<br>
License of this Document<br>
========================<br>
The views expressed in this document are those of Steffen Jobbagy-Felso, other members of the fpdb team and external contributors may or may not agree.<br>
<br>
Trademarks of third parties have been used under Fair Use or similar laws.<br>
<br>
Copyright 2008 Steffen Jobbagy-Felso<br>
Permission is granted to copy, distribute and/or modify this<br>
document under the terms of the GNU Free Documentation License,<br>
Version 1.2 as published by the Free Software Foundation; with<br>
no Invariant Sections, no Front-Cover Texts, and with no Back-Cover<br>
Texts. A copy of the license can be found in fdl-1.2.txt<br>
<br>
The program itself is licensed under AGPLv3, see agpl-3.0.txt<br>
</p>
</div>
<?php
require SITE_PATH.'footer.php';
?>
<?php
$PAGE_TITLE = 'Overview';
require 'header.php';
require 'sidebar.php';
?>
<div id="main">
<h1>Overview</h1>
<p>
Summary<br>
=======<br>
A database program to track your online poker games, the behaviour of the other players and your winnings/losses. Supports Holdem, Omaha, Stud and Razz for cash games as well as SnG and MTT tournaments with more possibly coming in the future. Some of this is not yet working though, please see status.txt and known-bugs-and-planned-features.txt<br>
<br>
But you could send all my hand histories to yourself!<br>
=====================================================<br>
At the end of the day this comes down to a question of trust, but unlike Windows and the poker client software you don't have to trust fpdb blindly. You can:<br>
- Verify the source code yourself.<br>
- Convince or pay someone to verify the source code for you.<br>
- Use a personal firewall to completely block fpdb from the Internet<br>
- (for the uber-paranoid) Get yourself the free virtualisation software VirtualBox, set up a VM (virtual machine) to run fpdb but run the poker software on your real PC. Then cut the VM off the Internet, fpdb doesn't need it. If you have a PC made in the last few years this should run fast enough as well. Note that most Windows licenses do NOT permit you to use two Windows installations at once, even if they are on the same PC.<br>
<br>
Requirements<br>
============<br>
Software requirements are listed in requirements.txt<br>
As for hardware, my main test machine is a Pentium 3-M 800 with 256 RAM and Gentoo GNU/Linux<br>
(running the poker client through what most people will call emulation). So this<br>
program will have to work on that. If you run an even more ancient machine and<br>
its too slow let me know and I'll see what I can do :)<br>
<br>
Why Free Software?<br>
==================<br>
This program is released under the terms of the free/libre software license AGPL3 as released by the FSF. The AGPL3 protects your rights and those of the wider community. As Richard Stallman, one of the founders of the free software movement, put it: "Free software is a matter of liberty, not price. To understand the concept, you should think of free as in free speech, not as in free beer." (well, it is both really, like the right to vote used to be free)<br>
<br>
For example, a "pirated" copy of proprietary software X is free of charge, but you don't actually have a legal right to use it, you don't have any possibility to fix its bugs and you certainly don't have any legal right to share it with your friends. You also won't be able to get support, often not even security fixes. Actually, even if you pay hundreds of pounds for your program they deny your right to fix their errors for them. Imagine buying a car where you're not permitted (under threat of jail) to replace broken parts..<br>
<br>
With free/libre software (also known as open source software, or short FOSS or FLOSS) on the other hand you get all these freedoms:<br>
(note: the legally binding terms are in the license text, this is merely an amateur summary so normal people don't have to read pages of legalese)<br>
<br>
Freedom 0: The freedom to use: To run the program, for any purpose. Free of Charge.<br>
Freedom 1: The freedom to study and help yourself. This freedom guarantees your right to study and learn from the source code of the program, and to fix it if it is broken. If you're not a programmer yourself the developers will generally be happy to fix it for you, often even for free. Failing that you can always pay someone from the money you saved on not having to pay for it.<br>
Freedom 2: The freedom to be a decent human being and help your neighbour: I don't threaten you with lawsuits or jail time if you share with your friends and neighbours, subject to the very modest restrictions of the AGPL3.<br>
Freedom 3: The freedom to improve the program and release your improvements to the public (or parts thereof) so that the whole community benefits. Note that you are PERMITTED, but not REQUIRED to distribute your changes. If you do distribute your changes you must do so under the terms of the AGPL3 however.<br>
<br>
Note that this is the license - I retain full copyright over my code, including the right to change the license for future versions. I do not intend to do this however. In any case, any version I released under AGPL3 remains available under that license forever, or more accurately until my copyright expires at which point it goes into the public domain.<br>
<br>
I reject the concept of software patents as a crime and under the European Patent Agreement software patents - even if you mislabel them as "computer-implemented inventions" or whatever - are explicitly prohibited.<br>
<br>
Can I get/use this under a different license?<br>
=============================================<br>
The short answer: Maybe.<br>
The long one: As detailed, I fully support what the FSF does and aims to achieve with the GPL. However, I realise that many free software developers don't object to closed source, some don't even object to closed source profiteering of their charity, and I don't think I have any right to go and tell them they're wrong.<br>
So if anyone wishes to use all or part of my code in another free software/open source project with an AGPL3-incompatible license such as BSD then let me know and we'll figure out a solution that makes everyone happy.<br>
If you wish to use all or part of this in closed source let me know how much if anything that is worth to you and I'm sure we'll be able to reach an agreement. Note that you are NOT permitted to just use fpdb code in closed source development whether in-house or by an independent software developer, you will NEED an additionally agreement with me to get fpdb under different licensing conditions.<br>
<br>
<br>
License of this Document<br>
========================<br>
The views expressed in this document are those of Steffen Jobbagy-Felso, other members of the fpdb team and external contributors may or may not agree.<br>
<br>
Trademarks of third parties have been used under Fair Use or similar laws.<br>
<br>
Copyright 2008 Steffen Jobbagy-Felso<br>
Permission is granted to copy, distribute and/or modify this<br>
document under the terms of the GNU Free Documentation License,<br>
Version 1.2 as published by the Free Software Foundation; with<br>
no Invariant Sections, no Front-Cover Texts, and with no Back-Cover<br>
Texts. A copy of the license can be found in fdl-1.2.txt<br>
<br>
The program itself is licensed under AGPLv3, see agpl-3.0.txt<br>
</p>
</div>
<?php
require 'footer.php';
?>

View File

@ -1,162 +1,160 @@
<?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Requirements';
require SITE_PATH.'header.php';
require SITE_PATH.'sidebar.php';
?>
<div id="main">
<h1>Requirements</h1>
<p>
I recommend using a free/libre operating system, meaning a GNU/Linux distribution or a BSD variant (e.g. Gentoo GNU/Linux or OpenBSD) for ethical and practical reasons. Would you buy a car where you're prohibited from opening the bonnet under threat of jail? If the answer is no you should by the same logic not use closed source software for real money Poker :)<br>
<br>
Unfortunately you will always need one piece of unfree software: The poker client itself. Although not a direct dependency of fpdb you obviously will have a hard time putting this to productive use without running some poker client. As far as I know, only unfree clients are available. If you know better please let me know ASAP!<br>
<br>
If you can be bothered please do contact your poker site(s) and ask them to release free/libre clients, even if it is only for Windows. But lets be realistic, the chance of a positive answer is very low.<br>
<br>
Before I start the list a note on the databases, as of git96 I have yet to try using this with PostgreSQL, but if I'm not mistaken it should actually work by now (the stuff in fpdb-python at least).<br>
<br>
If you use a package management system (e.g. if you have GNU/Linux or *BSD) just check that you have mysql, mysql-python and pygtk or postgresql, pygresql and pygtk. Your package manager will take care of the rest for you.<br>
<br>
Make new entries in this format:<br>
X. Program Name<br>
===============<br>
a. Optional?<br>
b. Required Version and Why<br>
c. Project Webpage<br>
d. License<br>
<br>
1. MySQL<br>
========<br>
a. Optional?<br>
Choose MySQL or PostgreSQL<br>
b. Required Version and Why<br>
At least 3.23 required due to mysql-python.<br>
I use 5.0.54 and 5.0.60-r1 (GNU/Linux) and 5.0.51b (Windows).<br>
c. Project Webpage<br>
http://www.mysql.com<br>
d. License<br>
GPL2<br>
<br>
2. PostgreSQL<br>
=============<br>
a. Optional?<br>
Choose MySQL or PostgreSQL<br>
b. Required Version and Why<br>
I use 8.0.15 (GNU/Linux) and 8.3.3 (Windows) but I am not aware of any incompatibilities<br>
with older or newer versions, pls report success/failure.<br>
c. Project Webpage<br>
http://www.postgresql.org<br>
d. License<br>
BSD License<br>
<br>
3. mysql-python<br>
===============<br>
a. Optional?<br>
Required if you want to use MySQL backend<br>
b. Required Version and Why<br>
I use 1.2.2 but I am not aware of any incompatibilities with older or newer versions, pls report success/failure.<br>
c. Project Webpage<br>
http://sourceforge.net/projects/mysql-python/<br>
d. License<br>
SF lists GNU General Public License (GPL), Python License (CNRI Python License), Zope Public License.<br>
Project states GPL without version in Pkg-info.<br>
<br>
4. pygresql<br>
===========<br>
a. Optional?<br>
Required if you want to use PostgreSQL backend<br>
b. Required Version and Why<br>
I use 3.6.2 but I am not aware of any incompatibilities with older or newer versions, pls report success/failure.<br>
c. Project Webpage<br>
http://www.pygresql.org/<br>
d. License<br>
http://www.pygresql.org/readme.html#copyright-notice (BSD License?)<br>
Summary: "Permission to use, copy, modify, and distribute this software and its <br>
documentation for any purpose, without fee, and without a written agreement <br>
is hereby granted[...]" plus Disclaimer.<br>
<br>
5. Python<br>
=========<br>
a. Optional?<br>
Required.<br>
b. Required Version and Why<br>
I use 2.4.4 and 2.5.2 but I am not aware of any incompatibilities with older or newer versions, pls report success/failure.<br>
c. Project Webpage<br>
http://www.python.org<br>
d. License<br>
Python License<br>
<br>
6. GTK+ and dependencies<br>
=======<br>
a. Optional?<br>
Required.<br>
b. Required Version and Why<br>
I use 2.12.9 but it should run with 2.10 or higher. That is needed as I used MessageDialog updates<br>
c. Project Webpage<br>
Main: http://www.gtk.org/<br>
API spec: http://library.gnome.org/devel/gtk/2.12/<br>
Windows DLs (get the bundle unless you know what you're doing): http://www.gtk.org/download-windows.html<br>
d. License<br>
LGPL2<br>
<br>
7. PyCairo<br>
==========<br>
a. Optional?<br>
Required.<br>
b. Required Version and Why<br>
?<br>
c. Project Webpage<br>
main: http://www.pygtk.org<br>
d. License<br>
LGPL2.1<br>
<br>
8. PyGObject<br>
============<br>
a. Optional?<br>
Required.<br>
b. Required Version and Why<br>
?<br>
c. Project Webpage<br>
main: http://www.pygtk.org<br>
d. License<br>
LGPL2.1<br>
<br>
9. PyGTK<br>
========<br>
a. Optional?<br>
Required.<br>
b. Required Version and Why<br>
?<br>
c. Project Webpage<br>
main: http://www.pygtk.org<br>
d. License<br>
LGPL2.1<br>
<br>
License (of this file)<br>
=======<br>
Trademarks of third parties have been used under Fair Use or similar laws.<br>
<br>
Copyright 2008 Steffen Jobbagy-Felso<br>
Permission is granted to copy, distribute and/or modify this<br>
document under the terms of the GNU Free Documentation License,<br>
Version 1.2 as published by the Free Software Foundation; with<br>
no Invariant Sections, no Front-Cover Texts, and with no Back-Cover<br>
Texts. A copy of the license can be found in fdl-1.2.txt<br>
<br>
The program itself is licensed under AGPLv3, see agpl-3.0.txt</p>
</div>
<?php
require SITE_PATH.'footer.php';
?>
<?php
$PAGE_TITLE = 'Requirements';
require 'header.php';
require 'sidebar.php';
?>
<div id="main">
<h1>Requirements</h1>
<p>
I recommend using a free/libre operating system, meaning a GNU/Linux distribution or a BSD variant (e.g. Gentoo GNU/Linux or OpenBSD) for ethical and practical reasons. Would you buy a car where you're prohibited from opening the bonnet under threat of jail? If the answer is no you should by the same logic not use closed source software for real money Poker :)<br>
<br>
Unfortunately you will always need one piece of unfree software: The poker client itself. Although not a direct dependency of fpdb you obviously will have a hard time putting this to productive use without running some poker client. As far as I know, only unfree clients are available. If you know better please let me know ASAP!<br>
<br>
If you can be bothered please do contact your poker site(s) and ask them to release free/libre clients, even if it is only for Windows. But lets be realistic, the chance of a positive answer is very low.<br>
<br>
Before I start the list a note on the databases, as of git96 I have yet to try using this with PostgreSQL, but if I'm not mistaken it should actually work by now (the stuff in fpdb-python at least).<br>
<br>
If you use a package management system (e.g. if you have GNU/Linux or *BSD) just check that you have mysql, mysql-python and pygtk or postgresql, pygresql and pygtk. Your package manager will take care of the rest for you.<br>
<br>
Make new entries in this format:<br>
X. Program Name<br>
===============<br>
a. Optional?<br>
b. Required Version and Why<br>
c. Project Webpage<br>
d. License<br>
<br>
1. MySQL<br>
========<br>
a. Optional?<br>
Choose MySQL or PostgreSQL<br>
b. Required Version and Why<br>
At least 3.23 required due to mysql-python.<br>
I use 5.0.54 and 5.0.60-r1 (GNU/Linux) and 5.0.51b (Windows).<br>
c. Project Webpage<br>
http://www.mysql.com<br>
d. License<br>
GPL2<br>
<br>
2. PostgreSQL<br>
=============<br>
a. Optional?<br>
Choose MySQL or PostgreSQL<br>
b. Required Version and Why<br>
I use 8.0.15 (GNU/Linux) and 8.3.3 (Windows) but I am not aware of any incompatibilities<br>
with older or newer versions, pls report success/failure.<br>
c. Project Webpage<br>
http://www.postgresql.org<br>
d. License<br>
BSD License<br>
<br>
3. mysql-python<br>
===============<br>
a. Optional?<br>
Required if you want to use MySQL backend<br>
b. Required Version and Why<br>
I use 1.2.2 but I am not aware of any incompatibilities with older or newer versions, pls report success/failure.<br>
c. Project Webpage<br>
http://sourceforge.net/projects/mysql-python/<br>
d. License<br>
SF lists GNU General Public License (GPL), Python License (CNRI Python License), Zope Public License.<br>
Project states GPL without version in Pkg-info.<br>
<br>
4. pygresql<br>
===========<br>
a. Optional?<br>
Required if you want to use PostgreSQL backend<br>
b. Required Version and Why<br>
I use 3.6.2 but I am not aware of any incompatibilities with older or newer versions, pls report success/failure.<br>
c. Project Webpage<br>
http://www.pygresql.org/<br>
d. License<br>
http://www.pygresql.org/readme.html#copyright-notice (BSD License?)<br>
Summary: "Permission to use, copy, modify, and distribute this software and its <br>
documentation for any purpose, without fee, and without a written agreement <br>
is hereby granted[...]" plus Disclaimer.<br>
<br>
5. Python<br>
=========<br>
a. Optional?<br>
Required.<br>
b. Required Version and Why<br>
I use 2.4.4 and 2.5.2 but I am not aware of any incompatibilities with older or newer versions, pls report success/failure.<br>
c. Project Webpage<br>
http://www.python.org<br>
d. License<br>
Python License<br>
<br>
6. GTK+ and dependencies<br>
=======<br>
a. Optional?<br>
Required.<br>
b. Required Version and Why<br>
I use 2.12.9 but it should run with 2.10 or higher. That is needed as I used MessageDialog updates<br>
c. Project Webpage<br>
Main: http://www.gtk.org/<br>
API spec: http://library.gnome.org/devel/gtk/2.12/<br>
Windows DLs (get the bundle unless you know what you're doing): http://www.gtk.org/download-windows.html<br>
d. License<br>
LGPL2<br>
<br>
7. PyCairo<br>
==========<br>
a. Optional?<br>
Required.<br>
b. Required Version and Why<br>
?<br>
c. Project Webpage<br>
main: http://www.pygtk.org<br>
d. License<br>
LGPL2.1<br>
<br>
8. PyGObject<br>
============<br>
a. Optional?<br>
Required.<br>
b. Required Version and Why<br>
?<br>
c. Project Webpage<br>
main: http://www.pygtk.org<br>
d. License<br>
LGPL2.1<br>
<br>
9. PyGTK<br>
========<br>
a. Optional?<br>
Required.<br>
b. Required Version and Why<br>
?<br>
c. Project Webpage<br>
main: http://www.pygtk.org<br>
d. License<br>
LGPL2.1<br>
<br>
License (of this file)<br>
=======<br>
Trademarks of third parties have been used under Fair Use or similar laws.<br>
<br>
Copyright 2008 Steffen Jobbagy-Felso<br>
Permission is granted to copy, distribute and/or modify this<br>
document under the terms of the GNU Free Documentation License,<br>
Version 1.2 as published by the Free Software Foundation; with<br>
no Invariant Sections, no Front-Cover Texts, and with no Back-Cover<br>
Texts. A copy of the license can be found in fdl-1.2.txt<br>
<br>
The program itself is licensed under AGPLv3, see agpl-3.0.txt</p>
</div>
<?php
require 'footer.php';
?>

View File

@ -1,66 +1,64 @@
<?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Usage instructions';
require SITE_PATH.'header.php';
require SITE_PATH.'sidebar.php';
?>
<div id="main">
<h1>Usage instructions</h1>
<p>Before you do this make sure you setup the dependencies, the database, user, tables and config file.<br>
<br>
Running it<br>
==========<br>
If you have python setup properly you can execute it by double clicking pyfpdb/fpdb.py.<br>
<br>
Note however that all error messages are currently only printed if you call it from a shell. It'll be much easier to diagnose possible problems (which are likely in alpha stage) if you run it from a shell. In Windows XP it seems to automatically open a shell window with the fpdb window where you can see the command line output.<br>
<br>
In Linux/MacOS/*BSD, e.g. if its in /home/sycamore/fpdb/, do this:<br>
cd /home/sycamore/fpdb/pyfpdb<br>
python fpdb.py<br>
<br>
That will start the main GUI.<br>
<br>
Have a look at the menus, the stuff that is marked todo is not yet implemented.<br>
<br>
The main things are the bulk importer and the table viewer. To use the importer open it from the menu (import files and directories). You can set a few options at the bottom, then select a folder or single file in the main are and click Import. Please report any errors by one of the contacts listed in readme-overview.txt.<br>
Currently this will block the interface, but you can open another instance of this program e.g. if you wanna play whilst a big import is running. <br>
<br>
Please check the output at the shell for errors, if there are any please get in touch by one of the methods listed in readme-overview.txt<br>
<br>
Table Viewer (tv)<br>
=================v
To use the table viewer open it from the menu, select the hand history file of the table you're at, and click the Import&Read&Refresh button. The abbreviations there are explained in abbreviations.txt, but feel free to ask. Note that most poker software will only create the file once the first hand you payed to play is finished.<br>
In each column there is either just the number (hand count for current stake, range of seats and type of game) or a percentage and the number of hands that this percentage is based on. For example, in W$@SD (won $ at shodown) the number in brackets is how many showdowns that player has seen.<br>
<br>
Reimporting<br>
===========<br>
Currently on most updates a reimport of the whole database is required. To do this open fpdb, click the menu Database and select Create/Recreate tables. Then import all your history files again.<br>
<br>
License<br>
=======
Trademarks of third parties have been used under Fair Use or similar laws.<br>
<br>
Copyright 2008 Steffen Jobbagy-Felso<br>
Permission is granted to copy, distribute and/or modify this<br>
document under the terms of the GNU Free Documentation License,<br>
Version 1.2 as published by the Free Software Foundation; with<br>
no Invariant Sections, no Front-Cover Texts, and with no Back-Cover<br>
Texts. A copy of the license can be found in fdl-1.2.txt<br>
<br>
The program itself is licensed under AGPLv3, see agpl-3.0.txt</p>
</div>
<?php
require SITE_PATH.'footer.php';
?>
<?php
$PAGE_TITLE = 'Usage instructions';
require 'header.php';
require 'sidebar.php';
?>
<div id="main">
<h1>Usage instructions</h1>
<p>Before you do this make sure you setup the dependencies, the database, user, tables and config file.<br>
<br>
Running it<br>
==========<br>
If you have python setup properly you can execute it by double clicking pyfpdb/fpdb.py.<br>
<br>
Note however that all error messages are currently only printed if you call it from a shell. It'll be much easier to diagnose possible problems (which are likely in alpha stage) if you run it from a shell. In Windows XP it seems to automatically open a shell window with the fpdb window where you can see the command line output.<br>
<br>
In Linux/MacOS/*BSD, e.g. if its in /home/sycamore/fpdb/, do this:<br>
cd /home/sycamore/fpdb/pyfpdb<br>
python fpdb.py<br>
<br>
That will start the main GUI.<br>
<br>
Have a look at the menus, the stuff that is marked todo is not yet implemented.<br>
<br>
The main things are the bulk importer and the table viewer. To use the importer open it from the menu (import files and directories). You can set a few options at the bottom, then select a folder or single file in the main are and click Import. Please report any errors by one of the contacts listed in readme-overview.txt.<br>
Currently this will block the interface, but you can open another instance of this program e.g. if you wanna play whilst a big import is running. <br>
<br>
Please check the output at the shell for errors, if there are any please get in touch by one of the methods listed in readme-overview.txt<br>
<br>
Table Viewer (tv)<br>
=================v
To use the table viewer open it from the menu, select the hand history file of the table you're at, and click the Import&Read&Refresh button. The abbreviations there are explained in abbreviations.txt, but feel free to ask. Note that most poker software will only create the file once the first hand you payed to play is finished.<br>
In each column there is either just the number (hand count for current stake, range of seats and type of game) or a percentage and the number of hands that this percentage is based on. For example, in W$@SD (won $ at shodown) the number in brackets is how many showdowns that player has seen.<br>
<br>
Reimporting<br>
===========<br>
Currently on most updates a reimport of the whole database is required. To do this open fpdb, click the menu Database and select Create/Recreate tables. Then import all your history files again.<br>
<br>
License<br>
=======
Trademarks of third parties have been used under Fair Use or similar laws.<br>
<br>
Copyright 2008 Steffen Jobbagy-Felso<br>
Permission is granted to copy, distribute and/or modify this<br>
document under the terms of the GNU Free Documentation License,<br>
Version 1.2 as published by the Free Software Foundation; with<br>
no Invariant Sections, no Front-Cover Texts, and with no Back-Cover<br>
Texts. A copy of the license can be found in fdl-1.2.txt<br>
<br>
The program itself is licensed under AGPLv3, see agpl-3.0.txt</p>
</div>
<?php
require 'footer.php';
?>

View File

@ -1,38 +1,37 @@
<?php
require dirname(__FILE__).'/config.php';
require SITE_PATH.'header.php';
require SITE_PATH.'sidebar.php';
?>
<div id="main">
<h1>Documentation</h1>
<ul>
<li><a href="docs-overview.php">Overview</a></li>
<li><a href="docs-requirements.php">Requirements</a></li>
</ul>
<ul>
<li><a href="docs-install-windows.php">Install in Windows</a></li>
<li><a href="docs-install-gentoo.php">Install in Gentoo Linux</a></li>
<li><a href="default.conf">Default configuration file</a> (read the installation instructions)</li>
<li><a href="docs-git-instructions.php">Git instructions</a></li>
</ul>
<ul>
<li><a href="docs-usage.php">Usage instructions</a></li>
<li><a href="docs-abreviations.php">Abreviations</a></li>
<li><a href="docs-benchmarks.php">Benchmarks</a></li>
</ul>
</div>
<?php
require SITE_PATH.'footer.php';
?>
<?php
$PAGE_TITLE='Documentation';
require 'header.php';
require 'sidebar.php';
?>
<div id="main">
<h1>Documentation</h1>
<ul>
<li><a href="docs-overview.php">Overview</a></li>
<li><a href="docs-requirements.php">Requirements</a></li>
</ul>
<ul>
<li><a href="docs-install-windows.php">Install in Windows</a></li>
<li><a href="docs-install-gentoo.php">Install in Gentoo Linux</a></li>
<li><a href="default.conf">Default configuration file</a> (read the installation instructions)</li>
<li><a href="docs-git-instructions.php">Git instructions</a></li>
</ul>
<ul>
<li><a href="docs-hudHowTo.php">HOW TO Use the HUD</a></li>
<li><a href="docs-usage.php">Usage instructions</a></li>
<li><a href="docs-abreviations.php">Abreviations</a></li>
<li><a href="docs-benchmarks.php">Benchmarks</a></li>
</ul>
</div>
<?php
require 'footer.php';
?>

View File

@ -1,49 +1,47 @@
<?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Features';
require SITE_PATH.'header.php';
require SITE_PATH.'sidebar.php';
?>
<div id="main">
<h1>Features</h1>
<p>Backend, Distribution<br>
=====================<br>
- Choice of MySQL/InnoDB or PostgreSQL. (not tested on PostgreSQL)<br>
- It is possible to run the database on one PC, the importer on another, and then access the database with the table viewer or HUD from a third PC. (note: do NOT do this unencrypted over an untrusted network like your employer's LAN or the Internet!)<br>
<br>
Site/Game Support<br>
=================<br>
- Initially only full support for PS, FTP coming soon<br>
- Supports Holdem, Omaha Hi and Omaha Hi/Lo. Stud and Razz coming soon.<br>
- Supports No Limit, Pot Limit, Fixed Limit NL, Cap NL and Cap PL<br>
Note that currently it does not display extra stats for NL/PL so usefulness is limited for these limit types. Suggestions welcome, I don't play these.<br>
- Supports ring/cash games, SnG/MTT coming soon<br>
<br>
Tableviewer (tv)<br>
===========<br>
Tv takes a history filename and loads the appropriate players' stats and displays them in a tabular format. These stats currently are:<br>
- VPIP, PFR and Preflop 3B/4B (3B/4B is not quite correct I think)<br>
- Raise and Fold % on flop, turn and river. Fold only counts hands when someone raised. This can be displayed per street or as one combined value each for aggression and folding.<br>
- Number of hands this is based on.<br>
- SD/F (aka WtSD, proportion of hands where player went to showdown after seeing flop)<br>
- W$wSF (Won $ when seen Flop)<br>
- W$@SD (Won $ at showdown)<br>
For all stats it also displays how many hands this particular is based on</p>
</div>
<?php
require SITE_PATH.'footer.php';
?>
<?php
$PAGE_TITLE = 'Features';
require 'header.php';
require 'sidebar.php';
?>
<div id="main">
<h1>Features</h1>
<p>Backend, Distribution<br>
=====================<br>
- Choice of MySQL/InnoDB or PostgreSQL. (not tested on PostgreSQL)<br>
- It is possible to run the database on one PC, the importer on another, and then access the database with the table viewer or HUD from a third PC. (note: do NOT do this unencrypted over an untrusted network like your employer's LAN or the Internet!)<br>
<br>
Site/Game Support<br>
=================<br>
- Initially only full support for PS, FTP coming soon<br>
- Supports Holdem, Omaha Hi and Omaha Hi/Lo. Stud and Razz coming soon.<br>
- Supports No Limit, Pot Limit, Fixed Limit NL, Cap NL and Cap PL<br>
Note that currently it does not display extra stats for NL/PL so usefulness is limited for these limit types. Suggestions welcome, I don't play these.<br>
- Supports ring/cash games, SnG/MTT coming soon<br>
<br>
Tableviewer (tv)<br>
===========<br>
Tv takes a history filename and loads the appropriate players' stats and displays them in a tabular format. These stats currently are:<br>
- VPIP, PFR and Preflop 3B/4B (3B/4B is not quite correct I think)<br>
- Raise and Fold % on flop, turn and river. Fold only counts hands when someone raised. This can be displayed per street or as one combined value each for aggression and folding.<br>
- Number of hands this is based on.<br>
- SD/F (aka WtSD, proportion of hands where player went to showdown after seeing flop)<br>
- W$wSF (Won $ when seen Flop)<br>
- W$@SD (Won $ at showdown)<br>
For all stats it also displays how many hands this particular is based on</p>
</div>
<?php
require 'footer.php';
?>

View File

@ -1,7 +1 @@
</div>
</body>
</html>
<div id="footer"> <a href="http://sourceforge.net"> <img src="http://sflogo.sourceforge.net/sflogo.php?group_id=226872&type=2"> </a> </div> </body> </html>

View File

@ -1,19 +1,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>fpdb - <?php echo (empty($PAGE_TITLE) ? 'freepokerdb' : $PAGE_TITLE) ?></title>
<meta name="description" content="Home of fpdb, an open source and free poker tracking software.">
<meta name="keywords" content="fpdb, freepokerdb, poker, tracking, software">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="wrapper">
<div id="header">
<div id="logo"><img src="fpdb.png"></div>
</div>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>fpdb - The free poker database - <?php echo ($PAGE_TITLE) ?></title>
<meta name="description" content="Home of fpdb, an open source and free poker tracking software.">
<meta name="keywords" content="fpdb, freepokerdb, poker, tracking, software">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="header">
<div id="logo"><img src="fpdb.png"></div>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

BIN
website/img/13.run.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -1,24 +1,24 @@
<?php
require dirname(__FILE__).'/config.php';
require SITE_PATH.'header.php';
require SITE_PATH.'sidebar.php';
?>
<div id="main">
<h1>Welcome!</h1>
<p><strong>fpdb</strong> is a database program to track your online poker games, the behaviour of the other players and your winnings/losses. Supports Holdem, Omaha, Stud and Razz for cash games as well as SnG and MTT tournaments with more possibly coming in the future. The software is currently in alpha status, which means some of the features are not working yet. As it's open source you're free to add any feature you like or modify the existing ones to fit your needs.</p>
<p>To see what fpdb can do, go to the <a href="<?php echo SITE_URL; ?>features.php">features</a> page. If you're ready to test it, take a look at the <a href="<?php echo SITE_URL; ?>docs.php">documentation</a>.</p>
</div>
<?php
require SITE_PATH.'footer.php';
?>
<?php
$PAGE_TITLE = 'Homepage';
require 'header.php';
require 'sidebar.php';
?>
<div id="main">
<h1>Welcome!</h1>
<p><strong>fpdb</strong> is a database program to track your online poker games, the behaviour of the other players and your winnings/losses. Supports Holdem, Omaha, Stud and Razz for cash games as well as SnG and MTT tournaments with more possibly coming in the future. The software is currently in alpha status, which means some of the features are not working yet. As it's open source you're free to add any feature you like or modify the existing ones to fit your needs.</p>
<p>To see what fpdb can do, go to the <a href="<?php echo SITE_URL; ?>features.php">features</a> page. If you're ready to test it, take a look at the <a href="<?php echo SITE_URL; ?>docs.php">documentation</a>.</p>
</div>
<?php
require 'footer.php';
?>

File diff suppressed because it is too large Load Diff

View File

@ -1,27 +1,22 @@
<?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Screenshots';
require SITE_PATH.'header.php';
require SITE_PATH.'sidebar.php';
?>
<div id="main">
<h1>Screenshots</h1>
<p>Importing hands:<br><br><a href="<?php echo SITE_URL;?>screenshots/01.png" target="_blank"><img src="<?php echo SITE_URL;?>screenshots/01-thumb.png"></a></p>
<br>
<p>Table viewer:<br><br><a href="<?php echo SITE_URL;?>screenshots/02.png" target="_blank"><img src="<?php echo SITE_URL;?>screenshots/02-thumb.png"></a></p>
</div>
<?php
require SITE_PATH.'footer.php';
?>
<?php
$PAGE_TITLE = 'Screenshots';
require 'header.php';
require 'sidebar.php';
?>
<div id="main"> <h1>Screenshots</h1>
<div id="screens"> <h4>Importing hands:</h4> <a href="img/fpdbScreenshot1.png" target="_blank"> <img src="img/fpdbScreenshot1Thumb.png"> </a> </div>
<div id="screens"> <h4>Table viewer:</h4> <a href="img/fpdbScreenshot2.png" target="_blank"> <img src="img/fpdbScreenshot2Thumb.png"> </a> </div>
<div id="screens"> <h4>HUD:</h4> <a href="img/screenHud.png" target="_blank"> <img src="img/screenHudThumb.jpg"> </a> </div>
</div>
<?php
require 'footer.php';
?>

View File

@ -1,13 +1,13 @@
<div id="sidebar">
<ul>
<li><a href="<?php echo SITE_URL ?>">Home</a></li>
<li><a href="<?php echo SITE_URL ?>features.php">Features</a></li>
<li><a href="<?php echo SITE_URL ?>screenshots.php">Screenshots</a></li>
<li><a href="https://sourceforge.net/project/showfiles.php?group_id=226872">Downloads</a></li>
<li><a href="<?php echo SITE_URL ?>docs.php">Documentation</a></li>
<li><a href="<?php echo SITE_URL ?>license.php">License</a></li>
<li><a href="<?php echo SITE_URL ?>contact.php">Contact</a></li>
<li><a href="https://sourceforge.net/forum/?group_id=226872">Forums</a></li>
<li><a href="https://sourceforge.net/tracker/?group_id=226872">Bug/Request Tracker</a></li>
</ul>
</div>
<div id="sidebar">
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="features.php">Features</a></li>
<li><a href="screenshots.php">Screenshots</a></li>
<li><a href="https://sourceforge.net/project/showfiles.php?group_id=226872">Downloads</a></li>
<li><a href="docs.php">Documentation</a></li>
<li><a href="license.php">License</a></li>
<li><a href="contact.php">Contact</a></li>
<li><a href="https://sourceforge.net/forum/?group_id=226872">Forums</a></li>
<li><a href="https://sourceforge.net/tracker/?group_id=226872">Bug/Request Tracker</a></li>
</ul>
</div>

View File

@ -1,99 +1,52 @@
body {
margin: 0px;
padding: 0px;
background-color: #fff;
font-family: "Verdana", "Arial", sans-serif;
font-size: 13px;
text-align: center;
color: #333;
}
a {
text-decoration: none;
color: #336984;
}
a:hover {
color: #e00000;
}
img {
border: 0px;
}
h1 {
font-size: 23px;
}
li {
padding: 3px;
}
/* ------------------------------------------------- */
#wrapper {
text-align: left;
margin: auto;
}
/* ------------------------------------------------- */
#header {
padding: 20px 20px 10px 20px;
background-color: #8BB9D1;
border-bottom: 10px solid #4690B5;
color: #fff;
font-size: 31px;
}
#logo a {
font-size: 32px;
color: #5C5C49;
}
/* ------------------------------------------------- */
#main {
margin-left: 210px;
margin-right: 15px;
}
/* ------------------------------------------------- */
#sidebar {
background-color: #E8F1F6;
width: 180px;
padding: 10px;
float: left;
}
#sidebar ul {
padding: 0px;
margin: 0px;
list-style-position: inside;
}
#sidebar ul li {
border-bottom: 1px solid #D1E3EC;
padding: 3px;
}
#sidebar ul li:hover {
background-color: #fff;
}
#sidebar a {
text-decoration: none;
}
/* ------------------------------------------------- */
#footer {
text-align: center;
margin-top: 20px;
background-color: #F6F6FD;
padding: 10px;
border-top: 3px solid #DADAF6;
font-size: 11px;
clear: both;
}
body {margin: 0px; padding: 0px; background-color: #fff; font-family: "Verdana", "Arial", sans-serif; font-size: 13px; color: #333;}
a {text-decoration: none; color: #336984;}
a:hover {color: #e00000;}
img {border: 0px;}
h1 {font-size: 23px;}
li {padding: 3px;}
/* ------------------------------------------------- */
#header {
padding: 20px 20px 10px 20px;
background-color: #8BB9D1;
border-bottom: 10px solid #4690B5;
color: #fff;
font-size: 31px;
}
#logo a {
font-size: 32px;
color: #5C5C49;
}
/* ------------------------------------------------- */
#main { margin-left: 210px; margin-right: 15px; }
.winInst div { width: 906px; }
.screenshot { background-color: #E8F1F6; padding: 0px; margin: 10px auto; padding: 10px; }
.screenshot img { padding: 2px; border: 1px solid #87aade; }
.screenshot p { margin: 0; }
#screens { float: left; margin: 1em; text-align: center; }
/* ------------------------------------------------- */
#sidebar {background-color: #E8F1F6; width: 180px; padding: 10px; float: left;}
#sidebar ul {padding: 0px; margin: 0px; list-style-position: inside;}
#sidebar ul li {border-bottom: 1px solid #D1E3EC; padding: 3px;}
#sidebar ul li:hover {background-color: #fff;}
#sidebar a {text-decoration: none;}
dl dt { float: left; width: 200px; font-weight: bold; }
/* ------------------------------------------------- */
#footer { clear: both; text-align: right; padding: 1em 2em; }