Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ermaccer/i2hook

A plugin for Injustice 2
https://github.com/ermaccer/i2hook

Last synced: 3 days ago
JSON representation

A plugin for Injustice 2

Awesome Lists containing this project

README

        

# I2Hook
A plugin for Injustice 2.

# Installation

#### I2Hook only works with latest Steam version!

You can download binary files from [Releases](https://github.com/ermaccer/I2Hook/) page. Extract **i2hook.zip**
to Binaries\Retail folder of Injustice 2.

If you are not sure how to find your Injustice folder, search for it in your Steam library then right click on the entry and select Manage->Browse local files.

Archive breakdown:

- dinput8.dll - [Ultimate ASI Loader](https://github.com/ThirteenAG/Ultimate-ASI-Loader/)
- I2Hook.asi
- I2Hook.ini - configuration file

## NOTE

Since some people might use this plugin for 60 fps patch only, download the `_60only.zip` archive.

# Controller Support
Any XInput compatible gamepad should work.

## Gamepad Controls
| Button | Effect |
| --- | --- |
| L3 + R3 | Open/Close menu|
| X | Adjust menu|
| A | Select |
| B | Back |
| D-Pad | Move/ Scale menu in adjust mode |
| Left Stick | Move menu in adjust mode |

Gamepad support can be disabled in the .ini file by setting **bEnableGamepadSupport** to false.

# Usage

If installed correctly, a notification will appear informing that the plugin was installed
and is ready to use. By default **F1** will open or close in-game menu.

![Preview](https://raw.githubusercontent.com/ermaccer/ermaccer.github.io/gh-pages/assets/mods/dcf2/i2hook/notif.jpg)

## Features
| Feature | Description |
| --- | --- |
|60 FPS Patch|


  • Removes 30 fps lock from supermoves, intros and menus.

  • **If your PC does not have required hardware, turning this option on might have negative impact on perfomance!**
  • **You might need to turn off in-game V-Sync if 60 fps is not applied**

|
| | **Menu Features**|
|Character Modifier|

  • Play as NPCs - Nightwing, Boss Brainiac.

  • Change forced character in story mode or other modes.

  • **You need to restart fight after using this modifier to load extra data!**

|
|Speed Modifier|
  • Change game speed, enjoy fights in slowmotion!
|
|Stage Modifier|
  • Change stage to anything in any game mode.
|
|Player Control|

  • Change speed and scale of players.

  • Scale setting is *visual* only!

|
|Camera Control|

  • Freeze camera position & rotation.

  • Freely move and rotate camera with keyboard hotkeys.

  • Play in predefined custom camera modes:

    • Mortal Kombat 11

    • 3RD Person

    • 1ST Person

    |
    |Cheats| All cheats can be toggled for both P1 and P2

    • Infinite Health

    • Zero Health

    • Infinite Meter

    • Zero Meter

    • Infinite Clashes

    |
    |Misc.|
    • Completely disable all HUD elements
    |

    ## Features

    ![Preview](https://raw.githubusercontent.com/ermaccer/ermaccer.github.io/gh-pages/assets/mods/dcf2/i2hook/4.jpg)
    ![Preview](https://raw.githubusercontent.com/ermaccer/ermaccer.github.io/gh-pages/assets/mods/dcf2/i2hook/5.jpg)
    ![Preview](https://raw.githubusercontent.com/ermaccer/ermaccer.github.io/gh-pages/assets/mods/dcf2/i2hook/2.jpg)

    ## Online Compatibility
    Needless to say, any cheats will **NOT** work online.

    Playing as NPCs online is possible only if both players
    have the plugin installed and synchronize settings with each other on select
    screen before selecting anyone. In short, do everything on select screen
    and do it in private games only. You cannot use any menu stuff against
    random players.

    # Building

    I2Hook was developed & tested using Visual Studio 2017.

    # Credits/Used stuff

    https://github.com/CookiePLMonster/ModUtils

    https://github.com/ocornut/imgui

    https://github.com/Rebzzel/kiero

    D3D11 hook based on https://github.com/rdbo/ImGui-DirectX-11-Kiero-Hook