跳到正文

DPI Bypass Detect

作者:BrennanHatton

Lets other mods know when zapret or GoodbyeDPI may be blocking their connections

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Built for Dungeon Train — usable by any mod.
Dungeon Train uses DPI Bypass Detect to explain, on the title screen, why its online features may not be loading. DPI Bypass Detect has no dependency on Dungeon Train.

Why it exists

Players behind national internet filtering often run tools like zapret or GoodbyeDPI to reach Discord and YouTube. Some of their settings also rewrite a mod’s own web requests, so its online features quietly fail with no error. Knowing the tool is running lets a mod tell the player what’s going on in one sentence.

What it does

DPI Bypass Detect is a small library mod. On its own it does nothing you can see. Another mod asks it one question — is a DPI-bypass tool running? — and decides what, if anything, to show.

What it looks at, and what it doesn’t

  • It only checks for these exact program names: winws.exe (zapret), goodbyedpi.exe, zapret.exe.
  • Windows only. Those tools only exist on Windows, so on macOS and Linux it doesn’t look at all.
  • No command lines, window titles, files, registry, network access or admin rights.
  • The answer never leaves your PC. The only trace is one line in the game log.
  • It checks once per game session, only when another mod asks.

Setup

Nothing to configure. Client-side only; servers don’t need it.

For mod developers

games.brennan.dpibypassdetect.api.DpiBypassDetect — detectNow() (call off the render thread; cached after the first call) and hasResult(). Declare it as an optional dependency and guard calls with your loader’s "is mod loaded" check. Launch with -Ddpibypassdetect.test=winws.exe to test your UI without the tool.

Compatibility

Fabric, Forge and NeoForge for Minecraft 1.21.1. No mixins, items, blocks, commands or config.

常见问题

DPI Bypass Detect 支持哪些 Minecraft 版本?

DPI Bypass Detect 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

DPI Bypass Detect 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

BrennanHatton 的其他作品

查看全部 →