Archived
1
0
Fork
You've already forked KnShim
1
Adds new features to Smash Hit (2014) via runtime modification
This repository has been archived on 2026年05月01日. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • C 99.6%
  • Makefile 0.2%
  • CMake 0.1%
Find a file
2025年12月20日 02:39:02 +00:00
jni Added knPack 2025年12月20日 02:39:02 +00:00
knsdk KnShim SDK prototype 2025年12月14日 01:14:56 +00:00
logo New logo 2025年06月27日 14:05:12 +00:00
scripts Load lua from libsmashhit.so instead of including our own copy of lua 2025年07月01日 20:55:19 +00:00
.gitignore Remove unused files 2025年10月21日 04:35:02 +00:00
build.py Move all game specific stuff to built-in modules 2025年11月10日 19:36:03 +00:00
Changelog.md Leave note about changelog moving 2025年10月28日 07:03:26 +00:00
Documentation.md Move docs 2025年02月27日 22:25:53 +00:00
LICENSE Partial refactor of init code 2025年11月09日 20:17:43 +00:00
Readme.md yiploader 2025年12月16日 06:13:40 +00:00

KnShim

KnShim has a successor, YipLoader, that will be further developed in the future.

KnShim is a mod loader for Android games. It loads before the game's native library and uses a custom ELF loader and hooking library, Leaf, to provide the needed tools to modify games at runtime on even the newest versions of Android (as of Android 16).

It also provides some "out of the box" goodies for specific games and libraries, like utility functions in Lua scripts.

Supported Games

Currently, only games by Mediocre AB are supported, and many built-in features assume they are running with one of their games loaded. It should be possible to add support for other games (especially as I've been doing work to make the shim more generic), though I don't yet have a personal interest in any other games.

Game Developer
Granny Smith (2012) Mediocre AB
Smash Hit (2014) Mediocre AB

Showcase

KnShim has been in several Smash Hit mods to provide features not possible in the base game. Here are some of my favourite:

  • Shatter Client is the primary development target for KnShim. It uses KnShim's utlities to download levels from a server and test them.
  • Smash Hit Flatbread uses the shim to create an extremely high effort shitpost that you can't not enjoy.
  • Mod Blueprints include KnShim by default too!

Docs

The documentation is kept on the new Smash Hit Wiki. Feel free to contribute if you have an account. :3

Building

Build using:

ndk-build

from the Android NDK.

Any version of the NDK not horrendously oudated should be fine. I usually build using r18.