Git Product home page Git Product logo

genshin-fps-unlock's Introduction

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

Compiling

  • Use Visual Studio 2022 Community Edition to compile

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编译

食用指南

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

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

3.0.0 版本更新

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

genshin-fps-unlock's People

Contributors

34736384 avatar gridhead avatar lightczx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

genshin-fps-unlock's Issues

Reshade not working

Reshade is injected and I can bring up the overlay but when I select a preset nothing loads.

Using custom reshade from https://genshade.github.io

logs
Screenshot 2022-01-09 144432

using the copper preset from genshade shows nothing
copper

Graphics Settings:
1920x1080 fullscreen
fps: 60 (set to 144 by unlocker)
vsync: off
render res: 100%
shadow quality: High
Visual Effects: High
SFX: High
Environment: High
A-A: SMAA
Volumetric Fog: On
Reflections: On
Motion Blur: Off
Bloom: On
Crowd Density: High
Co-op Effects: On
Subsurface Scattering: High
Anisotropic Filtering: 4x

Hardware:
CPU: Ryzen 5 1600 af
RAM: 16gb 3000mhz
GPU: Radeon RX 590

Hide the Cmd and add argument, possible?

Hi!

Thank you so much for the tool. I can finally enjoy the game at 120 fps which has changed my gaming life bro!
To make this perfect, is it possible to:

1/ Hide this cmd everytime I run it?
2/ Add the argument: "-screen-fullscreen 1 -window-mode exclusive" to make the game run in exclusive fullscreen to prevent stutterings? (by running this tool, I cant use my game shortcut with the argument any more)

I really appreciate it if you could somehow guide me a way to achieve those 2 requests which gonna make me fulfill 100% bro!!!

Many thanks!

borderless request

Hi! love ur work, just been wondering if u able to add borderless mode in config?
Because my shortcut command apparently being overriden by unlockfps config.ini.
Thanks in advance!

一个自定义问题

我不太了解代码,看到源代码中有设置默认帧数的定义,但是不知道修改后如何生成exe文件。能否请教一下。
谢谢。

Just wanted to say THX!

Thanks to your software I can finally play with my gf without killing my eyes!
You're my savior <3, blessing.
Cheers Kami

Option to disable keybindings

Would be great since they also work in the background when you minimize. I can't tell you how often I lowered the cap and then wondered why the game feels less smooth.

Close with game

Could you add a feature that makes the program close when Genshin Impact closes?

Message for the Dev

Sorry for posting this and wasting your time.
I want to know if as today you are still using this and are still undetected by the CCP kernel spyware :)

I dont want to risk losing my day 1 account but at the same time i despise the fact that i have a 21:9 144hz gsync awesome screen and im stuck to 60fps.

Is the gameplay/animation tied to the framerate in anyway? And would it work at lets say, 120 or 144fps whit gsync enabled?

Thanks a lot!

CRC?

I'm guessing the fact that you havent been banned means there's no crc on UnityPlayer.dll then? This is similar to what I've been doing, although only for a day now.

I have heard of people getting banned in the past for using fps unlockers, but am unsure what methods they used, do you have any idea?

Anyone got banned?

I tried it on my alt account and it was pretty smooth. But I'm afraid to use it on my main account. So anyone got banned using this?

Frequent and very distracting stuttering

At high fps game hickups massively every 10 seconds or so, no matter what I'm doing. Tried every fix I could possibly think of and I'm running on a high end system. Any possible fixes or thoughts? I think it's just a Unity 2017 issue but I don't see anyone else saying they have this issue. It's very distracting during gameplay and really takes me out of the immersion... (P.S. in rivatuner you can see big spikes in the frametime graph with 20 fps drops whenever it happens)

Game capture makes the game look around 80fps

So I stream genshin from time to time and I cap my fps at 160 but it definitely doesn’t look or feel 160. I’ve checked using the fps overlay from msi afterburner and the fps is at a constant 160. When I don’t have any sort of display capture going, the game is perfectly fine. I have an rtx 3080ti and a 5900x, hardware isn’t a problem. My ingame settings are also maxed out. Anyone else had this happen?

Request: Exclusive FullScreen Option

First of all, thank you so much for this fps unlocker.

I normally run the game in exclusive fullscreen mode using a command line argument. I didn't know how to do this with the unlocker so modified a copy of the code.

Here is example code I used if you want to add a fullscreen toggle to the config.
std::string ProcessPathWArgs = "\"" + ProcessPath + "\" -ArgumentList -window-mode exclusive"; size_t len = ProcessPathWArgs.length(); LPSTR str2 = new char[len + 1]; ProcessPathWArgs._Copy_s(str2, len, len); str2[len] = '\0'; if (!CreateProcessA(nullptr, str2, nullptr, nullptr, FALSE, 0, nullptr, nullptr, &si, &pi))

Linux?

I use a patch to play GI using linux and wanted to know if it would be possible to use this fps unlocker using linux

VSync AutoDisable

Hi, somehow my PC always got a problem (in general) with Vsync, if it's disabled games are always very laggy.
I have a 75hz monitor and i wanted to play genshin with 75fps instead of 60fps.
I downloaded the last version of "genshin-fps-unlock" (1.4.0), and game was laggy, i instantly new vsync autodisabled was the problem. I then searched for a lower version (1.2.0) without vsync autodisable, worked like a charm, 75fps ingame with no lags.
So my question is, is there a way to avoid the vsync autodisable on the newer/s versions?

Extra parameters for launch

I don't know if it's possible within the config file but the main issue I have with this tool is that I play the game on borderless windowed mode, which is possible by using the Borderless Window app or by using certain parameters within the game's shortcut. If it's possible otherwise i would like to know really.

Update for 2.0?

Will you be updating this for Genshin Impact 2.0, or do you think this version will still work? If we're lucky they will add this into the game (doubt it though). By the way, I want to THANK YOU for an amazing job on this. It makes all the difference (120 fps).

Config file

Would it be possible to add a config file with FPS limit and Vsync options that doesn't reset every restart?

Unable to increase 120 limit since ver. 1.10

Just recently downloaded the most recent release. I found that I was unable to increase the 120 fps limit. I went back and downloaded the versions beforehand. Before finding that version 1.10 was the last version to allow the fps cap to increase using the arrow keys. Any version beyond that doesn't allow me to do so. This isn't too much of a problem, but I would like to see it fixed.

Game pausing

I've been running the game fine for a while with the FPS un-locker for like several months now (ar 55), recently its been pausing the game though (can still hear it in the background). I upgraded to Windows 11 a couple days ago, even before it happened randomly though, now its a lot quicker from when I open the game, but just letting ya know.

Reshade injection

Sorry to make an issue but i was confused on how to get reshade to work properly, ive tried putting the reshade dlls into same folder as unlocker and also tried renaming the dlls but they dont seem to work, i tried putting them in the normal game folder and and it loads up but yeah i get the file check error, soo im not sure what im missing. any help would be appreciated, thanks for this amazing fps improvement!

FPS Remains Locked at 60

Hi, I've been trying to get this work for my set up but for some reason I can't.

I've managed to set it to 240 fps, but it won't actually run at 240 fps when I alt+tab into the game.

I've tried deleting and redownloading the file, but no luck.
I have tried toggling it on and off in game too.

I do have a dual monitor set up (2nd monitor is 60 hz), but the game & global settings are set to run on my main monitor w/ 240 hz with 236 fps set in nvidia control panel. No limits set in afterburner/rivatuner. Nothing in GeForce experience either.
Genshin is saved on a secondary drive, but that shouldn't matter.
The program and shortcut are set to run only in administrator mode.
Vsync is turned off.

Do you have any recommendations for me?
I've tried reading through some of the comments on the youtube video (https://www.youtube.com/watch?v=YxqrVnfytcs), but nothing seemed relevent.

PS. image looks wide because if I alt+tab out of the game then my fps goes up so I had to put the console on my second monitor. When I'm playing the game it stays at 60.
My hardware: 5600x + 3080

Thanks in advance

image

Add Requirements in readme

This program does not work on a clean Windows 10 System. It requires the Visual C++ runtime to start.

grafik

as far as i can tell, this program requires the Visual C++ 2019 Redistributable.

Please add a "Requirements", "Dependencies" or similar section to the readme.

Steam support

Hi, thanks for the great integration and the fact, that it's open source.

I'd have a small request - would it be possible to make it work with the game added as a non-steam game in Steam games library?

Thing is, it is required for the Steam Controller to work with the game, and running it through Steam while your app's process is on, even for the first time (before making the config file), somehow unhooks the connection to Steam input, making it impossible to use aforementioned controller.

If it's possible to support, I believe it would be a nice thing to add, even as a toggleable variable in the main class to compile with if needed.

A way to add parameters in the .exe

Hello, since I have so many sttutering problems with the game, I use a shortcut with parameters that avoid having them. It would be nice if your app allowed to use shortcuts instead of the original .exe, or a way to add the parameters like Steam.

Camera changing direction

I've noticed the camera keeps changing direction by itself while using the fps unlocker. This happens every 20-30 seconds or so, and when it happens the character turns suddenly to another direction. Any idea why it's causing this issue?

The .exe keeps crashing

When I first used it the .exe works. I tried it again the next day it stopped working. The .exe is on but doesn't detect my inputs nor uncap my fps in genshin. I clean reinstalled and it still does not work.

GSYNC not working

When running genshin without the unlocker, gsync is working correctly: monitor is matching the refresh rate.

Running with the unlocker gsync does not work correctly: monitor's refresh rate changes seemingly randomly, does not match refresh rate of game.
This causes some inconsistent stutters. I tried an older version 1.2.0 and this problem still occurs for me. Any possible fix?
Cant play genshin without this tool, thanks for it

can't find the .exe file

This might just be me being a dumbass, but I just can't find the .exe file to run the program. Is there like a specific file I have to execute? Because I just can not find it.

FOV maybe?

Works perfectly.

Any chance to implement game FOV change in a similar manner?

Thank you

Malware?

Why virustotal detect this as a malware??

Add windowed borderless!!!

Hello, can you add 'windowed borderless' in official project?
Just add the command line "...\GenshinImpact.exe" -screen-fullscreen 0 -popupwindow
its will be nice if this enter in project

Exclusive Fullscreen

i run the game in exclusive fullscreen with the -window-mode-exclusive shortcut, but it doesn't work with the fps unlocker, you should make a button or add it in the config file please

HDR not working with FPS unlock

Before and after I ran the unlocker the game was running in HDR but the moment I turned the unlocker on it stopped working.

Wish details not showing

Ever since I started using unlock fps, the wish details only shows a blank screen, it happens no matter whether I start it with unlock fps or not

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.