MKXHook

User avatar
ermaccer
Mortal
Posts: 67
Joined: Fri May 06, 2016 12:00 pm

MKXHook

Post by ermaccer »

Image

MKXHook is a plugin for PC version of Mortal Kombat X. Play as NPCs, control camera and more!

MKXHook only works with latest Steam version!
DirectX 11 (default) only! If you use DirectX 10 or DirectX 9 switches, please remove them.


Features
60 FPS Patch
- Removes 30 fps lock from X-Rays, intros and fatalities. **If your PC does not have required hardware, turning this option on might have negative impact on perfomance!**
NPC Fixes
- Female NPCs correctly play "Finish Her" and all NPCs can be finished. Rain now uses Kung Lao's victory pose.
Disable Sweat Effect
- Disables the sweat effect that appears during fights.

Menu Features
Character Modifier
- Play as NPCs - Rain, Baraka, Sindel or Corrupted Shinnok. Change forced character in story mode or other modes.
Stage Modifier
- Change stage to anything in any game mode.
Variation Manager
- Load multiple variations for one character. Use other character variations (this will crash with certain variations!)
Player Control
- Change speed and scale of players. Scale setting is *visual* only!
Speed Modifier
- Change game speed, enjoy fights in slowmotion!
Camera Control
- Freeze camera position & rotation. Freely move and rotate camera with keyboard hotkeys. Play in predefined custom camera modes: 3RD Person 1ST Person
Script
- Call script functions to perform taunts and more!
Cheats
- All cheats can be toggled for both P1 and P2: Infinite Health, Zero Health, 1 Health, Infinite Super Bar
Misc.
- Unlock all costumes. Disable combo scaling. Toggle AI type for P1/P2.


Installation

Extract mkxhook.zip to Binaries\Retail folder of Mortal Kombat X.

If you are not sure how to find your Mortal Kombat X 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
- MKXHook.asi
- MKXHook.ini - configuration file



Download
https://github.com/ermaccer/MKXHook/releases
https://ermaccer.github.io/posts/mkxhook/
Attachments
1.jpg
2.jpg
3.jpg
4.jpg
5.jpg
6.jpg
Last edited by ermaccer on Fri Sep 02, 2022 3:47 am, edited 3 times in total.


User avatar
thethiny
Immortal
Posts: 2252
Joined: Fri Jan 17, 2014 12:08 pm
Side: Light
PSN: thethiny
XBox Live: thethiny
Location: Earthrealm
Contact:

Re: MKXHook (NPCs and more) | Works with latest Steam update

Post by thethiny »

Interesting release and thank you for having it open source! I will be taking a look at this as this is a great learning experience for me. Maybe using the same procedure I can go into MK11 with this to support other stuff!
Image

All of my Mortal Kombat 11 Mods are now unified under a Single Thread. Click The Image to go to the thread.
User avatar
ermaccer
Mortal
Posts: 67
Joined: Fri May 06, 2016 12:00 pm

Re: MKXHook (NPCs and more) | Works with latest Steam update

Post by ermaccer »

Glad to hear.

With MKXHook it is possible to play NPCs online, although it requires input from both players (can't hop in with setting just player modifier)
User avatar
HaiTian
Apprentice
Posts: 98
Joined: Sun May 01, 2016 11:07 pm
Side: Light
Location: Edenia
Contact:

Re: MKXHook (NPCs and more) | Works with latest Steam update

Post by HaiTian »

second
"Come forward if you dare, i'll finish what linkuei/raiden could not." (Sindel, MK9/MK12)
https://youtu.be/QYWBsApYHIk?si=Swr2M5UnAyvLHcaW
"kneel and lick my boots." (Sindel, MK11)
"With my glaive, my staff, and my life." (Jade, MK11)
"You battle a Titan." (Kronika, MK11)
"I am nature." (Poison Ivy, Injustice2)
"For a free Edenia!" (Tanya, MKX)
User avatar
mauricioal10
Mortal
Posts: 18
Joined: Sun Feb 09, 2020 8:53 pm
Side: Light

Re: MKXHook (NPCs and more) | Works with latest Steam update

Post by mauricioal10 »

Awesome serious!
User avatar
AkaD
Mortal
Posts: 32
Joined: Tue Apr 23, 2019 5:43 pm

Re: MKXHook (NPCs and more) | Works with latest Steam update

Post by AkaD »

Awesome idea ermaccer :)

Could we also get support in your plugin for:

1) Playstation button layout mod for people that use PS pads - https://www.reddit.com/r/MortalKombat/c ... ons_found/

How about option to set different layouts for P1 and P2? Xbox layout for P1 and PS layout for P2 or vice versa - that would be cool.

2) Ultrawide Cutscene Fix 1.0.0 that removes black bars from cutscenes - https://community.pcgamingwiki.com/file ... tscene-fix

3) automatic 60 FPS when turning game on for everything including The Krypt

4) Mortal Kombat XL Project UI - viewtopic.php?f=95&t=47259
(main link is dead, but mauricioal10 might reupload it once asked in PM)

Overall, this would make this game complete and much more enjoyable.
Can't wait for more updates :) Stay safe guys
User avatar
ermaccer
Mortal
Posts: 67
Joined: Fri May 06, 2016 12:00 pm

Re: MKXHook (NPCs and more) | Works with latest Steam update

Post by ermaccer »

Player One wrote:what buttons to play as NPCs ?
No dedicated button (although some functions might get some), just press F1 at any time in game.

Update!

New:
- Added Cheats section, currently you can enable infinite health and meter for Player 1
- Added Stage Modifier section, you can reset useable objects within this tab
- Added a disclaimer about asset hash disable and online (you can't access most of features when it is active, every other option does not affect online gameplay).
- Added an option to unlock every costume, you can access it in Misc. section. This function will save unlocks, no need to redo this every game.

Download:
https://github.com/ermaccer/MKXHook/releases/tag/0.2
User avatar
ezrab552
Mortal
Posts: 3
Joined: Mon Jun 22, 2020 3:37 pm

Re: MKXHook (NPCs and more) | Works with latest Steam update

Post by ezrab552 »

Thank you for this MOD. Can't wait until you enable 60fps the whole game :)
User avatar
tsbman
Mortal
Posts: 16
Joined: Thu Nov 21, 2019 5:29 am

Re: MKXHook (NPCs and more) | Works with latest Steam update

Post by tsbman »

Appreciate the mod, and eagerly awaiting full 60fps support. Sucks the last update crippled the previous fps unlocker.

Also, any chance a similar fix can be applied to Injustice 2? Full 60fps on that game has been a dream for me.
User avatar
Dargo
Mortal
Posts: 32
Joined: Wed Jun 03, 2020 4:26 pm

Re: MKXHook (NPCs and more) | Works with latest Steam update

Post by Dargo »

Thank you for this, I too am waiting for the 60 fps mod to work in-game as well!
User avatar
RafTheDarkness
Mortal
Posts: 31
Joined: Mon Jun 22, 2020 2:17 pm

Re: MKXHook (NPCs and more) | Works with latest Steam update

Post by RafTheDarkness »

mine not work it say Initialization fail or i cannot read the error why?
User avatar
ermaccer
Mortal
Posts: 67
Joined: Fri May 06, 2016 12:00 pm

Re: MKXHook (NPCs and more) | Works with latest Steam update

Post by ermaccer »

RafTheDarkness wrote:mine not work it say Initialization fail or i cannot read the error why?
What is the error you are getting? Can you provide a screen capture?

Update!
I know people request 60FPS on cinematics/xrays, unfortunately this update does not cover that, I am working on it.

Changelog:
- Added 3 new cheats options:
- Infinite Health/Meter for Player 2
- Infinite Timer
- Added Camera Control section, which allows you to freely control the camera using your keyboard or by directly inputting coordinates. Control is still WIP so it might be a little unresponsive.
- Character Modifier now supports variations, although only character ones for now (can't use Predator on Kitana for example).
- Added an option to enable Random Fights - each fight P1 character gets randomized.

Download:
https://github.com/ermaccer/MKXHook/releases/tag/0.3

Pictures you can take with free camera:
Attachments
20200725130221_1.jpg
sz.jpg
20200725211127_1.jpg
User avatar
RafTheDarkness
Mortal
Posts: 31
Joined: Mon Jun 22, 2020 2:17 pm

Re: MKXHook (NPCs and more) | Works with latest Steam update

Post by RafTheDarkness »

i get an error so after an while the command prompt or the MKXL Window gone after second so is faster so i cannot capture anything is an problem
User avatar
ermaccer
Mortal
Posts: 67
Joined: Fri May 06, 2016 12:00 pm

Re: MKXHook (NPCs and more) | Works with latest Steam update

Post by ermaccer »

Looks like your game executable is not supported, the only supported executable is the latest Steam update one. Where did you get your game?
Post Reply

Return to “Mortal Kombat X PC Gameplay Mods”