MCPcopy Index your code
hub / github.com/34736384/genshin-fps-unlock

github.com/34736384/genshin-fps-unlock @v3.5.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.5.0 ↗ · + Follow
261 symbols 327 edges 20 files 8 documented · 3% updated 6mo agov3.5.0 · 2025-12-16★ 3,477141 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Genshin Impact FPS Unlocker

  • This tool helps you to unlock the 60 fps limit in the game
  • This is an external program which uses WriteProcessMemory to write the desired fps to the game
  • Handle protection bypass is already included
  • Does not require a driver for R/W access
  • Supports OS and CN version
  • Should work for future updates
  • If the source needs to be updated, I'll try to do it as soon as possible
  • You can download the compiled binary over at 'Release' if you don't want to compile it yourself
  • Free code signing provided by SignPath.io ## Compiling
  • Use Visual Studio 2022 Community Edition to compile

### Cross Compiling on GNU/Linux You need dotnet-8 SDK for Linux for .NET apps and x86_64-w64-mingw32 tool-chain for compiling the UnlockerStub to dll. Take Debian as an example, apt install mingw-w64 installs the MinGW tool-chain. Finally, use make to build.

## Usage - Make sure you have the .NET Desktop Runtime 8.0.0 (Usually it should come installed) - Run the exe and click 'Start Game' - If it is your first time running, unlocker will attempt to find your game through the registry. If it fails, then it will ask you to either browse or run the game. - Place the compiled exe anywhere you want (except for the game folder) - Make sure your game is closed—the unlocker will automatically start the game for you - Run the exe as administrator, and leave the exe running

It requires adminstrator because the game needs to be started by the unlocker and the game requires such permission - To load other third-party plugins, go to Options->Settings->DLLs and click add

Version 3.0.0 Changes

  • Rewritten the project in .NET 8
  • Added a launch option to use mobile UI (for streaming from mobile devices or touchscreen laptops) ## Notes
  • HoYoverse (miHoYo) is well aware of this tool, and you will not get banned for using ONLY fps unlock.
  • If you are using other third-party plugins, you are doing it at your own risk.
  • Any artifacts from unlocking fps (e.g. stuttering) is NOT a bug of the unlocker

原神解锁FPS限制

  • 工作原理类似于外部辅助,通过WriteProcessMemory把FPS数值写进游戏
  • 不需要通过驱动进行读写操作
  • 支持国服和外服
  • 理论上支持后续版本,不需要更新源码
  • 如果需要更新我会尽快更新

编译

  • 用VS2022编译

GNU/Linux 上交叉编译

Cross Compiling on GNU/Linux

食用指南

  • 运行前确保系统已安装.NET Desktop Runtime 8.0.0 (一般来说系统自带就有)
  • 第一次运行的话先以管理员运行,解锁器会尝试通过注册表寻找游戏路经,如果找不到的话会提示你浏览游戏位置或者开启游戏
  • 解锁器放哪都行
  • 运行之前确保游戏是关闭的
  • 用管理员运行解锁器
  • 解锁器不能关掉

    使用管理员运行是因为游戏必须由解锁器启动,游戏本身就需要管理员权限了,所以负责启动的也是需要的

3.0.0 版本更新

  • 用.NET 8重写了项目
  • 添加了一个启动项,可以以移动端UI启动

Core symbols most depended-on inside this repo

CloseHandle
called by 5
unlockfps_nc/Utility/Native.cs
Save
called by 4
unlockfps_nc/Service/ConfigService.cs
Start
called by 4
unlockfps_nc/Service/IpcService.cs
GetWindowThreadProcessId
called by 3
unlockfps_nc/Utility/Native.cs
EnumWindows
called by 2
unlockfps_nc/Utility/Native.cs
WriteProcessMemory
called by 2
unlockfps_nc/Utility/Native.cs
VirtualProtect
called by 2
unlockfps_nc/Utility/Native.cs
LoadLibrary
called by 2
unlockfps_nc/Utility/Native.cs

Shape

Method 130
Class 80
Enum 41
Function 10

Languages

C#59%
C++41%

Modules by API surface

UnlockerStub/Zydis.h86 symbols
unlockfps_nc/Utility/Native.cs61 symbols
unlockfps_nc/MainForm.cs17 symbols
unlockfps_nc/SettingsForm.cs13 symbols
UnlockerStub/dllmain.cpp11 symbols
unlockfps_nc/Utility/ProcessUtils.cs9 symbols
unlockfps_nc/SetupForm.cs8 symbols
unlockfps_nc/Service/IpcService.cs8 symbols
unlockfps_nc/Service/ProcessService.cs7 symbols
unlockfps_nc/AboutForm.cs7 symbols
UnlockerStub/Utils.cpp7 symbols
unlockfps_nc/Service/ConfigService.cs6 symbols

For agents

$ claude mcp add genshin-fps-unlock \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page