Registry Hacks
Previous Microplanet Gravity Next |
The Windows registry is not intended to be used for configuration. But we know some of you poke around in there anyway. Edit the registry at your own risk.
To adjust registry settings, first Exit Gravity (you cannot write changes to the registry with Gravity running)
Exporting and Restoring the Gravity Registry Key
Before changing your registry you might want to save the whole Gravity key in case you want to undo any changes. · Open REGEDIT (Start Button - Run - "regedit") · Go to HKEY_CURRENT_USER\Software\MicroPlanet\ · Highlight the Gravity 2.9 Key · Select the menu item "Registry - Export Registry File", be sure to select "Selected Branch" under Export Range unless you want to export the whole registry. · Save the registration file anywhere. · To restore the key, simply double click the saved file.
Change the Internal PCRE that recognizes multi-part binary attachments
See Internal System Decoding PCREs and Alternates
Registry setting to change the URL for the Search Google button
HKEY_CURRENT_USER\Software\MicroPlanet\Gravity 2.9\System Variable: DejaNewsUrl
Units: Any valid URL
Registry Setting - Subject Threading
HKEY_CURRENT_USER\Software\MicroPlanet\Gravity 2.9\System
Value: SubjMatch Default Value: 20
This setting controls how many characters Gravity compares when deciding if two subjects belong in a thread together. You can increase it if you are seeing threads that should not be lumped together.
Do not set this to a ridiculous high number because it makes Gravity do more runtime work. But if you have a group where this kind of thing ruins threading, you can change it.
Registry Setting - Quote Characters
HKEY_CURRENT_USER\Software\MicroPlanet\Gravity 2.9\Fonts
Value: QuotChars Default Value: >:|}
These are the characters that Gravity uses to recognize quoted material.
In some cases this causes "false" quoting (like in a batch file group where program lines may start with ":")
Settings for Increasing Retry Interval
HKEY_CURRENT_USER\Software\MicroPlanet\Gravity 2.9\Servers
Value: iPauseCount (each server has one)
In Server - Properties there is a maximum limit of 120 seconds on the pause before retrying maximum. You may get a double connection warning if you retry too soon and Gravity will stall.
Look for iPauseCount in the server key. We have heard of people successfully using 600 secs
NOTE: If you return to Gravity's Server - Properties and you select the Connect tab, Gravity will force you to change back to 120 seconds or less. Try to avoid using the connect tab if you exceed 120.
Registry Settings for Download Performance and Memory
HKEY_CURRENT_USER\Software\MicroPlanet\Gravity 2.9\System
Variable: PumpHalt Default Value: "1 5000" Units: Kbytes
This setting affects Gravity's memory usage when downloading articles. In most cases you won't benefit from messing with it. I never was able to find any improvement. I will keep the explanations here for those who simply have to hack at their settings.
With this setting you can adjust how Gravity uses available memory for the interaction between the download and database threads. If you don't have much RAM or do heavy multitasking you might cause more disk paging as Gravity gets more memory.
The PumpHalt variable contains 2 numbers, the numbers are in Kbytes.
Here is the technical info (thanks Al):
With some fast connections, the download thread in Gravity outraces the Database thread. This creates a logjam of articles that have not yet been written out to disk. As the Gravity downloads even more articles, the logjam grows bigger, more memory is taken up by waiting articles and the Database threads suffers even more and slows down even more .....
So basically a setting of "1 5000" says to pause the download thread when the waiting articles total about 5Meg and unpause the download thread when the queue is back down to 1K.
Remove the Directories in Image Gallery
(For legacy reasons only, Gallery is not included in v2.7-v2.9)
HKEY_CURRENT_USER\Software\MicroPlanet\Image Gallery\General
This is the only way you can remove directories from the Image Gallery.
You can edit, or remove the DirMRU or MoveDirMRU entries. If you remove the some entries, I don't know what will happen if you leave some out of sequence, so you might want to edit them so there are no gaps in the dir numbers