HUD importing a PokerTracker 4 layout - jejellyroll-fr/fpdb-3 GitHub Wiki
HUD — importing a PokerTracker 4 layout
If you are arriving from PokerTracker 4, you do not have to rebuild your HUD from scratch. fpdb reads two of PT4's export formats.

| Menu entry | File | What it brings over |
|---|---|---|
| Configure → Import PT4 HUD (.pt4hud) | .pt4hud |
A HUD layout: the stat cells, their labels, and any range-chart popups |
| Configure → Import PT4 Stats (.pt4stat) | .pt4stat |
A custom statistic definition |
Both are PT4's own binary formats. fpdb decodes them directly — there is no PokerTracker installation involved and nothing to run on the PT4 side beyond the export.
Importing a HUD layout (.pt4hud)
Configure → Import PT4 HUD (.pt4hud), then pick the file PT4 exported.
What comes across:
- The displayed stat cells, in their positions, with their short labels
(
" VP ") and PT4's full names and tooltips (VPIP,CBet Flop in non-3Bet+ Pot). The export groups them by section —SB 3h,BB 3h,BU 3hand so on — and that grouping is preserved. - Standard PT4 statistics, mapped onto fpdb's equivalents and emitted as an fpdb stat set.
- Range-chart popups — push/fold Nash grids — decoded into 13×13 grids of hand and fill colour, and rendered by fpdb's own range-chart widget.
- Other popups — info popups, equity ranges, notes — kept as grids of text and stat cells with their colours. They open in the Popup Windows tab like any other popup, where cells can be moved, deleted, and given fpdb stats whose values the HUD then shows. PokerTracker 4's own stat cells keep their text: their formulas are PT4's, not fpdb's.
What does not, and what fpdb does about it:
- User-defined formula stats have no fpdb equivalent to map onto. They are reported, not silently dropped and not silently mistranslated. You get a list of what could not be brought over, so you know exactly what is missing from the imported layout rather than discovering it at the table.
The same decoder is available from the command line, which is the quickest way to see what is in a file before importing it:
python -m fpdb_3_legacy.pt4hud layout.pt4hud # summary
python -m fpdb_3_legacy.pt4hud layout.pt4hud --xml # the fpdb stat set it would produce
python -m fpdb_3_legacy.pt4hud layout.pt4hud --json # stats and range charts as data
Importing a custom statistic (.pt4stat)
Configure → Import PT4 Stats (.pt4stat).
A .pt4stat holds a category, a set of referenced columns each with its own SQL,
a display title, a value expression and a number format. fpdb decodes it and maps
it onto its own declarative stat descriptor.
Whether that works depends on one thing: do the columns the stat references exist in fpdb?
- If every referenced column maps onto an existing fpdb column, the statistic is plug-and-play — it imports and works.
- If it does not, fpdb returns an unsupported report rather than a wrong statistic. The stat needs derived data fpdb does not compute yet, which is a code change, not a configuration one.
Today the supported set covers the tournament ChipEV idioms exercised by the bundled ChipEV-by-position pack. Everything else is reported as unsupported. That is a deliberately narrow claim: a statistic that imports is one you can trust, and a statistic that does not tells you so.
After importing
An imported layout becomes a normal fpdb profile. Open Configure → HUD
Preferences and it is there in Active Profile: — editable, exportable as a
.fpdbhud package, and bindable to particular tables through profile rules like
any other. See HUD — configuration from the GUI.
Two things are worth doing straight after an import:
- Check the unsupported report. Anything on it is a hole in your layout.
- Look at it at real size. PT4 and fpdb do not draw identically, and a layout that fitted next to a PT4 table may not fit next to yours. The 🔍 Real Size button in the popup tab is there for this.