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 ebuild: support pgsql
fix HUD config location and update release script accordingly fix HUD config location and update release script accordingly
windows integrated installer update website for windows installer
update install-in-gentoo on website update install-in-gentoo on website
update ebuild and ubuntu guide for HUD_config.xml 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 HORSE (and presumably other mixed games) hand history files not handled correctly
Some MTTs won't import (rebuys??) Some MTTs won't import (rebuys??)
Many STTs won't import Many STTs won't import
redirect stderr
before beta 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,9 +1,7 @@
<?php <?php
require dirname(__FILE__).'/config.php'; require 'header.php';
require 'sidebar.php';
require SITE_PATH.'header.php';
require SITE_PATH.'sidebar.php';
?> ?>
@ -24,6 +22,6 @@ MSN: steffenjf(at)gmx.de (don't email that)</p>
<?php <?php
require SITE_PATH.'footer.php'; require 'footer.php';
?> ?>

View File

@ -1,11 +1,9 @@
<?php <?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Abreviations'; $PAGE_TITLE = 'Abreviations';
require SITE_PATH.'header.php'; require 'header.php';
require SITE_PATH.'sidebar.php'; require 'sidebar.php';
?> ?>
@ -62,6 +60,6 @@ The program itself is licensed under AGPLv3, see agpl-3.0.txt<br>
<?php <?php
require SITE_PATH.'footer.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,11 +1,9 @@
<?php <?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Git Instructions'; $PAGE_TITLE = 'Git Instructions';
require SITE_PATH.'header.php'; require 'header.php';
require SITE_PATH.'sidebar.php'; require 'sidebar.php';
?> ?>
@ -58,6 +56,6 @@ The program itself is licensed under AGPLv3, see agpl-3.0.txt</p>
<?php <?php
require SITE_PATH.'footer.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,11 +1,9 @@
<?php <?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Installing in Gentoo'; $PAGE_TITLE = 'Installing in Gentoo';
require SITE_PATH.'header.php'; require 'header.php';
require SITE_PATH.'sidebar.php'; require 'sidebar.php';
?> ?>
@ -82,6 +80,6 @@ The program itself is licensed under AGPLv3, see agpl-3.0.txt</p>
<?php <?php
require SITE_PATH.'footer.php'; require 'footer.php';
?> ?>

View File

@ -1,112 +1,203 @@
<?php <?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Installing in Windows'; $PAGE_TITLE = 'Installing in Windows';
require SITE_PATH.'header.php'; require 'header.php';
require SITE_PATH.'sidebar.php'; require 'sidebar.php';
?> ?>
<div id="main"> <div id="main">
<h1>Installing in Windows</h1> <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>
<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 <?php
require SITE_PATH.'footer.php'; require 'footer.php';
?> ?>

View File

@ -1,11 +1,9 @@
<?php <?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Overview'; $PAGE_TITLE = 'Overview';
require SITE_PATH.'header.php'; require 'header.php';
require SITE_PATH.'sidebar.php'; require 'sidebar.php';
?> ?>
@ -81,6 +79,6 @@ The program itself is licensed under AGPLv3, see agpl-3.0.txt<br>
<?php <?php
require SITE_PATH.'footer.php'; require 'footer.php';
?> ?>

View File

@ -1,11 +1,9 @@
<?php <?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Requirements'; $PAGE_TITLE = 'Requirements';
require SITE_PATH.'header.php'; require 'header.php';
require SITE_PATH.'sidebar.php'; require 'sidebar.php';
?> ?>
@ -157,6 +155,6 @@ The program itself is licensed under AGPLv3, see agpl-3.0.txt</p>
<?php <?php
require SITE_PATH.'footer.php'; require 'footer.php';
?> ?>

View File

@ -1,11 +1,9 @@
<?php <?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Usage instructions'; $PAGE_TITLE = 'Usage instructions';
require SITE_PATH.'header.php'; require 'header.php';
require SITE_PATH.'sidebar.php'; require 'sidebar.php';
?> ?>
@ -61,6 +59,6 @@ The program itself is licensed under AGPLv3, see agpl-3.0.txt</p>
<?php <?php
require SITE_PATH.'footer.php'; require 'footer.php';
?> ?>

View File

@ -1,9 +1,7 @@
<?php <?php
$PAGE_TITLE='Documentation';
require dirname(__FILE__).'/config.php'; require 'header.php';
require 'sidebar.php';
require SITE_PATH.'header.php';
require SITE_PATH.'sidebar.php';
?> ?>
@ -24,6 +22,7 @@ require SITE_PATH.'sidebar.php';
</ul> </ul>
<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-usage.php">Usage instructions</a></li>
<li><a href="docs-abreviations.php">Abreviations</a></li> <li><a href="docs-abreviations.php">Abreviations</a></li>
<li><a href="docs-benchmarks.php">Benchmarks</a></li> <li><a href="docs-benchmarks.php">Benchmarks</a></li>
@ -33,6 +32,6 @@ require SITE_PATH.'sidebar.php';
<?php <?php
require SITE_PATH.'footer.php'; require 'footer.php';
?> ?>

View File

@ -1,11 +1,9 @@
<?php <?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Features'; $PAGE_TITLE = 'Features';
require SITE_PATH.'header.php'; require 'header.php';
require SITE_PATH.'sidebar.php'; require 'sidebar.php';
?> ?>
@ -44,6 +42,6 @@ Tv takes a history filename and loads the appropriate players' stats and display
<?php <?php
require SITE_PATH.'footer.php'; require 'footer.php';
?> ?>

View File

@ -1,7 +1 @@
<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>
</div>
</body>
</html>

View File

@ -4,7 +4,7 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>fpdb - <?php echo (empty($PAGE_TITLE) ? 'freepokerdb' : $PAGE_TITLE) ?></title> <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="description" content="Home of fpdb, an open source and free poker tracking software.">
<meta name="keywords" content="fpdb, freepokerdb, poker, tracking, software"> <meta name="keywords" content="fpdb, freepokerdb, poker, tracking, software">
<link rel="stylesheet" type="text/css" href="style.css"> <link rel="stylesheet" type="text/css" href="style.css">
@ -12,8 +12,6 @@
<body> <body>
<div id="wrapper">
<div id="header"> <div id="header">
<div id="logo"><img src="fpdb.png"></div> <div id="logo"><img src="fpdb.png"></div>
</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,17 +1,17 @@
<?php <?php
require dirname(__FILE__).'/config.php'; $PAGE_TITLE = 'Homepage';
require SITE_PATH.'header.php'; require 'header.php';
require SITE_PATH.'sidebar.php'; require 'sidebar.php';
?> ?>
<div id="main"> <div id="main">
<h1>Welcome!</h1> <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><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> <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>
@ -19,6 +19,6 @@ require SITE_PATH.'sidebar.php';
<?php <?php
require SITE_PATH.'footer.php'; require 'footer.php';
?> ?>

View File

@ -1,11 +1,9 @@
<?php <?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'License'; $PAGE_TITLE = 'License';
require SITE_PATH.'header.php'; require 'header.php';
require SITE_PATH.'sidebar.php'; require 'sidebar.php';
?> ?>
@ -684,6 +682,6 @@ For more information on this, and how to apply and follow the GNU AGPL, see
<?php <?php
require SITE_PATH.'footer.php'; require 'footer.php';
?> ?>

View File

@ -1,27 +1,22 @@
<?php <?php
require dirname(__FILE__).'/config.php';
$PAGE_TITLE = 'Screenshots'; $PAGE_TITLE = 'Screenshots';
require SITE_PATH.'header.php'; require 'header.php';
require SITE_PATH.'sidebar.php'; require 'sidebar.php';
?> ?>
<div id="main"> <div id="main"> <h1>Screenshots</h1>
<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 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> </div>
<?php <?php
require SITE_PATH.'footer.php'; require 'footer.php';
?> ?>

View File

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

View File

@ -1,40 +1,14 @@
body { body {margin: 0px; padding: 0px; background-color: #fff; font-family: "Verdana", "Arial", sans-serif; font-size: 13px; color: #333;}
margin: 0px;
padding: 0px;
background-color: #fff;
font-family: "Verdana", "Arial", sans-serif;
font-size: 13px;
text-align: center;
color: #333;
}
a { a {text-decoration: none; color: #336984;}
text-decoration: none;
color: #336984;
}
a:hover { a:hover {color: #e00000;}
color: #e00000;
}
img { img {border: 0px;}
border: 0px;
}
h1 { h1 {font-size: 23px;}
font-size: 23px;
}
li { li {padding: 3px;}
padding: 3px;
}
/* ------------------------------------------------- */
#wrapper {
text-align: left;
margin: auto;
}
/* ------------------------------------------------- */ /* ------------------------------------------------- */
@ -53,47 +27,26 @@ li {
/* ------------------------------------------------- */ /* ------------------------------------------------- */
#main { #main { margin-left: 210px; margin-right: 15px; }
margin-left: 210px; .winInst div { width: 906px; }
margin-right: 15px; .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; }
/* ------------------------------------------------- */ /* ------------------------------------------------- */
#sidebar { #footer { clear: both; text-align: right; padding: 1em 2em; }
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;
}