PDA

View Full Version : New PC - Now What



Biju
08-18-2009, 07:23 PM
I've tried looking at FAQ's where I'm sure this is listed but I struggle to navigate it or find the things I need. So.........

New PC. Still have the old one and it's operational. What do I need to do to get all of HEM HUD set up database etc on the new unit. The Old data base was playing up a bit before with some odd stats - more hands in the red current session than whole data base for some players etc. So I'd like to get past this too as the old one might have been corrupted as there were a lot of downloads trying to sort out some other problems in the past. Also what Version should I use I was on V1.09 Beta 19a Any other tips to make this painless would be welcome. thanks

fozzy71
08-19-2009, 05:58 AM
You should always be using the latest beta version imo, especially for importing reasons.

Here are my cliff notes for reinstalling HM and SQL to the same PC, to be sure you dont lose any data. You should be able to use these instructions, and just ignore the uninstall instructions for obvious reasons. If you have any questions or need clarification, please ask.


Vista: Turn off UAC - http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=73

Turn off Windows Firewall for installing HM and PostgreSQL. Once you get those installed you can add exceptions to the firewall. If you have a 3rd party firewall, uninstall it completely before installing HM/SQL - http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=171


Before you uninstall HM:

I want to re-install Holdem Manger without losing all of my settings and preferences. Can this be done? (http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=98)

You want to make sure you backup your Processed/Archived hand histories, your entire \config folder, and your exportednotes file. (http://www.holdemmanager.net/faq/?f=119) I usually just copy my entire \Holdem Manager directory.

I would also make sure you manually export the database to hand history text files:

HM > Options > Database Management > Connect > Export Hands

How do I export or import hands into and from Holdem Manager? (http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=173)


Make sure you copy that folder as well as the other stuff I mentioned.

This helps to insure that if anything goes wrong with the backup/restore, you can manually import the exported files to rebuild.




For uninstalling SQL please follow these steps:

-Uninstall PostgreSQL from the Windows Control Panel.

- manually delete the Program Files\Postgresql folders
- run the command - start > run > cmd >


net user postgres /delete

- reboot.
- install PostgreSQL again, with your firewall uninstalled or turned off if windows firewall, using these directions and postgresql.zip version.

http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=176


Logging:

I would suggest you turn off logging on your new SQL installation as well as these other performance improvements - Top 10: HEM performance increase tips
(http://208.109.95.123/forum/showthread.php?p=62613&posted=1#post62613)

To turn off logging, follow these instructions. This is the first thing I do anytime I install SQL for someone.

- Start > My Computer > Tools > Folder Options > View > UnCheck 'Hide Extensions for known file types' > OK

- C:\Program Files\PostgreSQL\data\postgresql.conf > Right-Click > Open With.. > NotePad > Check 'Always use this program'

- Scroll about half way down to ~Lines 245 - 260:

- The last line of this block of code, for the 'logging_collector', must be changed from On to Off.


------------------------------------------------------------------------------
# ERROR REPORTING AND LOGGING
#------------------------------------------------------------------------------

# - Where to Log -

log_destination = 'stderr' # Valid values are combinations of
# stderr, csvlog, syslog and eventlog,
# depending on platform. csvlog
# requires logging_collector to be on.

# This is used when logging to stderr:
logging_collector = off # Enable capturing of stderr and csvlog

File > Save; File > Close

Start > Programs > PostgreSQL 8.3 > Reload Configuration.

*edit:
- Start > My Computer > C:\Program Files\PostgreSQL\data\pg_log, or C:\Program Files (x86)\PostgreSQL\data\pg_log, if you have 64 bit Vista. Delete all files in that folder. And it might be a good idea to empty your recycle bin at that point, or use a 3rd party utility like CCleaner to clean up all your junk/temporary files. You want to do this before you get to the vacuum and defrag process.


Now you should be ready to do a bulk Import From Folder

Make sure you have the latest HM Beta installed:

HM > Import From Folder > point at your exported text files folder you made earlier.

\RVG Software\Holdem Manager\HandHistoryExport_YourDataBaseName


When reinstalling HM, install the full setup, then the latest beta patch and finally your config folder if you want to use your previous hud configs.

1) Make a backup of your C:\Program Files\RVG Software\Holdem Manager\Config folder, and other important files mentioned earlier.
2) Uninstall HM with Revo Uninstaller
3) Go to Program Files and delete the RVG Software directory, or the equivalent for Vista
4) Reboot your computer
5) Install the complete setup of HM: http://www.holdemmanager.com/downloads/holdemmanager.zip
7) Download the latest patch HM: http://www.holdemmanager.com/downloads/HmBetaUpdate.exe
8) Test if it for a while and see if it work
9) Close down Holdem Manager and copy the config folder from step 1 and copy and overwrite it to your C:\Program Files\RVG Software\Holdem Manager\Config folder, and import any notes and hands/database.
10) Test if it works again for a while

vlsup
08-19-2009, 06:30 AM
But If I have manually added tourneys - Will they appear in a new database?

netsrak
08-19-2009, 01:32 PM
When you backup and restore the database the answer is yes.

When you export hands and import them - i'm not sure, just check it out please.