Giter Club home page Giter Club logo

hitman3_gptk_patcher's Introduction

HITMAN3 GPTK Patcher

Experimental Patcher to run HITMAN3 on Apple's Game Porting Toolkit

Update - GPTK beta3 ⚠️

Good news! Apple has swiftly fixed what was preventing the game to launch, and as a result, HITMAN3 now launches seamlessly without requiring any additional patches.

For the more curious

The missing function was DXGIAdapter::RegisterVideoMemoryBudgetChangeNotificationEvent, and on launch, the game was checking for its return value.

In the previous versions of D3DMetal, the function was implemented like this:

int64_t DXGIAdapter::RegisterVideoMemoryBudgetChangeNotificationEvent(...) {
    return DXGI_ERROR_UNSUPPORTED;
}

But from the beta3, the same function is now:

int64_t DXGIAdapter::RegisterVideoMemoryBudgetChangeNotificationEvent(
  int64_t, int64_t, int64_t, int64_t, int32_t* arg5
) {
    *arg5 = 1;
    return S_OK;
}

This means that whilst the functionality is not implemented (it's probably not going to be an issue with any game), games that rely on that function to succeed now will no longer refuse to run.

Build

  1. Install Rust curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  2. Compile cargo build --release

Usage

./target/release/h3_patcher <HITMAN3_PATH>

(where <HITMAN3_PATH> is the main install directory, containing the Launcher.exe binary)

hitman3_gptk_patcher's People

Contributors

sonodima avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

mzaeemnasir

hitman3_gptk_patcher's 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.