Skip to content

34736384/genshin-fps-unlock

Repository files navigation

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启动