Skip to content

Releases: NKHook/NKHook5

Version 0.1.1

20 Oct 00:47
Compare
Choose a tag to compare

Bug fixes:

  • Fixed #6
  • Fixed #5
  • Fixed missing 'Mods' folder causing a crash

Full Changelog: 0.1.0...0.1.1

Version 0.1.0

18 Oct 13:10
Compare
Choose a tag to compare

First beta release!

  • Custom asset loading hijacking
  • MDK (Mod Development Kit) software
  • Easy tower ID injection
  • Easy texture injection
  • Automatic spritesheet management, packing, etc (done via DevKit.exe)
  • No game files need to be modified

How to install:

  1. Download wininet.dll (This is the bootstrapper)
  2. Download NKHook5.dll (This is the mod loader)
  3. Copy wininet.dll into your game's folder
  4. Copy NKHook5.dll into your game's folder
  5. Create a "Mod" folder in your game's folder

Setting up DevKit.exe for mod development:

  1. Create a new folder, in which you will have all of your mod projects
  2. Copy DevKit.exe into the folder
  3. Open command prompt in the folder
  4. Run DevKit.exe -h to view the help menu
  5. Run DevKit.exe -s and follow the instructions
  6. Run DevKit.exe -c <mod_name> to create a new mod project with the name <mod_name> NOTE: mod names MUST BE alphanumeric (a-z, A-Z, and 0-9)
  7. Run DevKit.exe -p <mod_name> to package a mod with the name <mod_name> for distribution.

If you have any issues or concerns, feel welcome to talk on discord: https://discord.gg/VHTRtahdvw

https://nkhook.github.io/

Pre-3

27 Aug 19:50
Compare
Choose a tag to compare
Pre-3 Pre-release
Pre-release

Updated for 3.26 with some extra stuff

  • Added NKH Version to settings menu in game
  • Updated signatures (more update proof)

Pre-2 Release

08 Aug 01:31
Compare
Choose a tag to compare
Pre-2 Release Pre-release
Pre-release

What has changed:
DispatchMessageW hook
PeekMessageW hook
CTextObject draw
Remove FPS cap
CBasePositionableObject constructor
CTextObject constructor
CBaseTower#IncrementUpgradeLevel
Command prompt text input event for chaiscript
onGameDataInitialized event

not everything here is available in the chaiscript api and/or isnt documented yet.

Pre-1 release

17 Jul 18:33
Compare
Choose a tag to compare
Pre-1 release Pre-release
Pre-release

NKHook5 Pre-1
This is the Pre-1 release, meaning it is the first pre release. The scripting api is quite small at the moment, and I am actively taking idea requests. It is much easier for me to manage ideas and add them if they are submitted on GitHub instead of the #suggestions channel on Discord, however I do read both.

Installation:
Installing NKHook5 is simple.

  1. go to %appdata%
  2. create a folder called "NKHook5" if one isn't already there.
  3. download "NKHook5.dll" and place it inside the "NKHook5" folder
  4. download and run "NKHook5-Injector.exe"

You must have a legitemate Steam copy of Bloons TD 5 for NKHook5 to function. DO NOT USE A PIRATED COPY!

Scripts/Plugins:
Please see the "ScriptExamples" folder for some basic scripts to play around with, or check out BTD Docs for info on how to create your own!