Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.

Francesco149/nier_uncapped

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

FPS Uncapper for NieR: Automata.

All credits go to Altimor: https://www.reddit.com/user/Altimor who discovered this method to manipulate min/max timestep.

All I did was spend some time finding decently reliable pointers to detect menus and other parts.

Attention

This tool is now built into FAR: http://steamcommunity.com/app/524220/discussions/0/135512104777399045

Just install that instead (unless you're here to mess around with the code).

This was meant more as a proof of concept for people to build on top of.

Intro

This tool allows the game to run above 60fps during gameplay and dynamically re-enables the FPS cap in the pause menu, title screen and other menus that don't behave properly at high FPS.

Video demonstration (minor playable character spoiler): https://streamable.com/mg55t

Tested on Windows 10 x64 and Windows 7 x64.

How to use

[Import.nier_uncapped]
Architecture=x64
Filename=nier_uncapped.dll
Role=ThirdParty
When=PlugIn

Scroll down to [Render.FrameRate] and change TargetFPS to 0.0.

  • Run the game, disable vsync in the options and hope for the best.

If it doesn't work

Kill nier automata from the task manager if it's still there.

Delete nier_uncapped.dll from the game's folder.

Revert the ini, but it shouldn't be necessary.

Why would I want this

You might have a good pc and want to get the full performance it can get on this game.

Higher FPS also feels much better, especially on high refresh rate monitors.

Does it break the game?

I wouldn't consider this viable for a full playthrough. The game's engine seems to be very inconsistent and some things are hardcoded to 60fps while others use the min/max deltatime that is uncapped by this mod.

It's a fun mod to experiment with, but for most people I recommend capping fps back to 60 as needed using FAR's FPS limiter, especially for broken chapters. even if you play at 60fps, the uncapper is still useful because it bypasses the game's built in frame limiter, allowing you to use FARs limiter without having to set it below 60, which should be better.

For normal combat and exploring it works great, but there will be parts that are completely broken, such as shmup missions, ending E, as well as some sutble bugs like the roundkick move being too fast.

Many of these things could be fixed with enough reversing.

I don't plan on working this project regularly, it was mainly for fun and to keep my win32 and hooking knowledge fresh, but the code is public domain and people can pick up from this research.

It will likely take some time and more people who can reverse to fully iron out all subtle bugs caused by uncapped fps.

How to compile it yourself

cd C:\Path\To\Repo
build.bat
  • Dll will be in the repo's folder

About

FPS uncapper for NieR: Automata

Resources

Stars

Watchers

Forks

Packages

No packages published