Hooking a game
Hooking is how LiquidFrames attaches to a game. You can do it with a click, or with a Steam launch option.
Before you start
- Click to hook must be set up (Settings → Click to hook → Install).
- The game must have been started after that. Games that were already running need a restart.
- The game must use Vulkan. DirectX 9 to 11 games through DXVK and DirectX 12 games through VKD3D-Proton count, so most Proton games work. Native OpenGL games aren't supported.
Click to hook
- On the Home page, pick a Profile. Auto (match the game, else Default) uses the game's own profile if it has one.
- Set the Countdown (1 to 60 seconds, 10 by default).
- Press Start, then click the game window.
- When the countdown ends, the window that has focus is hooked.
Press the button again during the countdown to cancel. If LiquidFrames itself still has focus when the countdown ends, it tells you and doesn't hook anything: just try again and click the game in time.
Where it works: on KDE Plasma, click to hook works with any window. On other desktops it works with X11 and XWayland windows, which covers Proton games. You can always use a launch option instead (below).
Running games: hook and unhook
Every game with LiquidFrames loaded appears under Running games on the Home page, with its own frame rate and the frame rate you're shown. Each has an Unhook button (and Hook when it's off).
Hooking and unhooking take effect within about a quarter of a second, without restarting the game. Handy for comparing with and without.
With a Steam launch option
To turn LiquidFrames on for a game from the start, right-click it in Steam → Properties → Launch options:
LIQUIDFRAMES=1 %command%It uses the game's own profile, or Default. Each game's page in LiquidFrames has a Steam launch option card with a Copy button. More options are in Launch options, config & CLI.
Hook modes
Under Settings → Click to hook → Hook mode:
| Mode | What it does |
|---|---|
| Click to hook: load idle into every Vulkan program | The layer loads into every Vulkan program but does nothing until you hook that program from the app. The default. |
| Launch option only: programs started with LIQUIDFRAMES=1 | Only programs started with the launch option get LiquidFrames, and they get it from the start. |
In both modes, DISABLE_LIQUIDFRAMES=1 %command% keeps LiquidFrames out of a game completely.