Giter Club home page Giter Club logo

master-rallye-freeze-patcher's People

Contributors

greghope667 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

master-rallye-freeze-patcher's Issues

Possible underlying cause - research/discussion

Do note this is just a wild guess based off the description of your fix, and it's not based off any research whatsoever - I don't even have the game installed at the moment, so I've not disassembled the executable either. I'm more leaving this here for future reference.

If the game freezes and takes way too long to process when rendering is disabled, it's plausible that the issue just comes from some code executing too quickly, and either hitting a broken code path or exposing broken assumptions - for example, if a frame takes less than 1ms to process, and somewhere in the game's code this frame delta time is stored as an integer, it'll come to be 0 and thus time "stops".

I encountered a near identical issue in TOCA 2, where the delay loop ran so quickly it hit a broken code path, and started counting time "backwards". I have a pseudocode snippet available here:
https://cookieplmonster.github.io/2021/05/09/silentpatch-toca-2-touring-cars/#fixing-the-way-time-flows

Much like your approach, the old community fix required changing a single byte in the code, this time to skip the delay loop entirely - I instead identified the issue and rewrote the delay loop to be free of such issues.

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.