Git Product home page Git Product logo

nier_uncapped's Introduction

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

nier_uncapped's People

Contributors

francesco149 avatar

Stargazers

Endless-Bun01-index avatar Pierce Brooks avatar Maxim avatar SAT3LL avatar LovePursue avatar swimmingsoft avatar Emily Marigold Klassen avatar Jian Yuan Lee avatar Ryan Quinn avatar Andrei Müller (Andy Miira) avatar

Watchers

James Cloos avatar  avatar Andrei Müller (Andy Miira) avatar  avatar

Forkers

mrboomc

nier_uncapped's Issues

Fixing other Platinum Engine games

Other games running on the same engine as Nier (Platinum Engine) are also capped at 60 FPS:

  • Metal Gear Rising: Revengeance
  • The Legend of Korra
  • Transformers: Devastation

Maybe you would know how to unlock the frame rate in these games as well (if they use the same method)?

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.