Repository navigation
ZeroHook v1.2.3
New
- Game Mode list, a new button at the right of the options. Windows turns Game Mode on only for the games on its own list, so a game it doesn't recognise never gets it; on a Ryzen 9 with two CCDs (7900X3D, 7950X3D, 9900X, 9950X, 9900X3D, 9950X3D, 9950X3D2, 7945HX3D) AMD's driver then doesn't keep such a game on one CCD either. The window shows which of your detected games are on Windows' list, says when adding them is worth it, and adds the ones that aren't, one at a time or all at once with Add all, the same way as 'Remember this is a game' in Game Bar. Remove takes a game off again, and so does Restore Everything for the games ZeroHook added. Game Mode's own switch in Windows Settings isn't changed.
- Live DLL Hooks: a Game Mode card and a [GAME MODE] line in the log. Scan once shows whether the program is on Windows' game list, with [Add] if it isn't. Start watching also shows whether Windows really turns Game Mode on: ON with the time it was last seen, or NOT ON when the game was in front for 10 seconds without it. Windows turns Game Mode on only while the game is the window in front, so that part needs Start watching and you in the game. The line is updated in place and doesn't fill the log.
- Block Selected..., a new button between Block Overlay Hooks Only and the Exclusions List: tick the items that are still active and block just those, with the same search and quick selects as Restore Selected. Items on your Exclusions List and the items of options you haven't ticked aren't listed, and it doesn't turn Auto-Run on.
- New option: Game Bar background (off by default). It keeps Xbox Game Bar from running in the background when you're not using it, so it no longer starts on its own and stays in memory. Win+G still opens it; pinned widgets, party chat and Xbox notifications stop while it's closed. It takes effect after you sign out or restart. Game Bar's recording and the controller's Xbox button are already off with Block Everything, so this saves memory, not frames.
- Run as a script (ZeroHook.ps1), ZeroHook now has its own taskbar button and icon instead of Windows PowerShell's, so Pin to taskbar pins ZeroHook, not PowerShell. The pinned button starts ZeroHook's own copy in C:\ProgramData\ZeroHook, the one Auto-Run uses: only administrators can change it, and ZeroHook brings it up to date whenever you run a newer version, so the button keeps working after the file you ran is deleted. It asks for administrator rights straight away, so you get one UAC prompt and no second PowerShell window, and the PowerShell console stays hidden. Its right-click menu no longer has PowerShell's own entries (Run as Administrator, Run ISE as Administrator, Windows PowerShell ISE).
- Start menu shortcut, a new checkbox at the bottom of the window when ZeroHook runs as a script: it adds ZeroHook to your Start menu, to open it from there or pin it to Start, and starts the same copy as the taskbar button, also asking for administrator rights straight away. Untick it to remove the shortcut.
- AMD Software at startup and AMD overlay are now on by default on a PC whose only AMD graphics is the one built into the CPU, next to an NVIDIA or Intel card. Your games run on that card, so AMD's overlay hook would only get into them, from AMD Software or from the display driver's own folder; AMD overlay is turned on there even without AMD Software. Block Everything then stops AMD Software starting with Windows and blocks the hook (restart Windows afterwards), and you can still open AMD Software yourself. This applies when you update too, unless you ticked or unticked an option yourself, and AMD overlay stays off if you unticked AMD Software. The activity log says so when it happens.
- Live DLL Hooks: AMD's overlay hook has [Turn on] while AMD overlay blocking is off, which turns that option on from there after asking.
- New option: AMD External Events (not tested yet), for desktops whose only AMD graphics is the one built into the CPU, next to an NVIDIA or Intel card. AMD's display driver runs its External Events Utility there too, and the client it starts in your account (atieclxx.exe) reads your mouse input in the background. With no screen connected to the AMD graphics it has nothing to do: your screens are on the other card, which runs FreeSync or G-SYNC on them itself. There the option is on by default and sets the service to Manual. ZeroHook looks at your screens at every launch and sign-in, and as soon as a screen is connected to the AMD graphics it sets the service back to Automatic and starts it, because FreeSync in borderless windowed games needs it on that screen. It's never shown on laptops, handhelds and all-in-ones, whose own screen can be switched between the two graphics while they run.
Improved
- Xbox Game Bar's state is easier to see. Overlay status has an Xbox Game Bar card: whether its recording and the controller's Xbox button are off, whether it may run in the background, and whether it is running now. Clicking the overlay and capture hooks card on the first tab lists Game Bar running in the background under XBOX in the log, next to Game DVR.
- Windows Errors: a crash in 160_E658700.bin now says what that file is: the copy of DLSS that the NVIDIA driver downloads by itself (C:\ProgramData\NVIDIA\NGX\models), which games run in place of their own DLSS, mostly when the NVIDIA app's DLSS override is on for them. If a game keeps crashing in it, turn the DLSS override off for that game in the NVIDIA app, or update the graphics driver.
- Block background updaters now also covers FxSound's and Gyazo's update tasks and the updater service of the Cloudflare One Client (WARP). The three apps keep working and can still be updated by hand; on a work PC whose IT assigns WARP versions, keep that service with the Exclusions List.
- Block telemetry now also sets Lenovo's Universal Device Client service (UDCService) to Manual and switches off its four tasks, which start it again. Windows Update installs it on Lenovo PCs; it connects the PC to Lenovo's cloud services and shows Lenovo's NotifyMe notifications. Lenovo's apps and drivers aren't touched, and a Lenovo app that needs it can still start it.
- Game Mode in the logs: a few seconds after launch, ZeroHook's log notes whether Game Mode is switched on and how many programs are on Windows' game list, and who put them there (Windows, by hand or ZeroHook). The Game Mode list notes the same when it opens, Auto-Run at every sign-in, and bug reports add a check that Windows' entries still look the way ZeroHook writes its own.
Fixed
- 3DMark, Borderless Gaming, Lossless Scaling, Wallpaper Engine and Steamworks Common Redistributables (Steam's shared installers) were treated as Steam games. They are tools, so they are no longer listed with your games on the Defender Exclusions tab or the Game Mode list, and Live DLL Hooks no longer picks them as the running game or attaches to them by itself.
- Share System Scan could leave your Windows user name in crashes.csv: the error text of a .NET program's crash can name a path in your user folder, and that column wasn't masked. It is now, and so is the same text in the Windows Errors window. The scan also checks every file for your user and PC name once more before it makes the zip.
- Defender Exclusions: Exclude Game Executables... could offer a game's launcher as its most likely program instead of the game, as with DOOM Eternal's launcher\idTechLauncher.exe, which is larger than the game. A program with launcher in its name or folder now comes after the others, and the Game Mode list picks programs the same way.
- Live DLL Hooks: the Windows background recording card could still say ON after a Block, and tell you that Block Overlay Hooks Only turns it off. Block Everything and Block Overlay Hooks Only turn Game Bar's capture off, and Windows then can't record in the background, whatever the 'Record what happened' setting says. The card now shows OFF.
- Live DLL Hooks said AMD's overlay hook (amdihk64.dll) was kept because Steam Fossilize blocking is off. It now says AMD overlay blocking is off: AMD's overlay is blocked only once you tick AMD overlay in the options. The log line for every hook Live DLL Hooks finds now also says whether it is blocked on disk.
- Vulkan layers were blocked when only the folder they're in held a blocked name, such as a game's own layer in a Steam library (
...\steamapps\common\...) or one in your user folder when your Windows user name contains one of those names. On one PC that turned off a mod's layer that a game needed. ZeroHook now goes by the layer's file name, and by the folder only for Overwolf's and EVGA Precision X1's layers. Block Everything, Block Overlay Hooks Only, Auto-Run and Restore Everything turn such a layer back on if an earlier version turned it off; one that was already off stays off. - The AMD overlay option could be missing when ZeroHook didn't find AMD Software, even with AMD's overlay hook on the PC: AMD's display driver also keeps the hook in its own folder, and games can load it from there. The option is now shown whenever that file is on the PC.
Updating
Download ZeroHook.exe below and replace your old one, or let ZeroHook update itself. Your settings, Exclusions List and Auto-Run carry over. If "Install updates automatically" is ticked, Auto-Run installs this version at sign-in even if you don't open ZeroHook, and applies the new blocks straight away.
Code signing policy: https://github.com/GS-ZeroHook/ZeroHook#code-signing-policy