Skip to content

Releases: knot126/KatieLib

Release 21

Choose a tag to compare

@knot126 knot126 released this 18 Jul 02:00
285c27f
  • Fixed Lua 5.3 on AArch32

Release 20

Choose a tag to compare

@knot126 knot126 released this 13 Jul 17:00
c833057
  • KatieLib now upgrades Smash Hit's built-in Lua install to version 5.3.6! This give access to about a decade of refinement to the Lua language.
  • Added knAddress for finding memory addresses
  • Updated knPatch to support symbol names and lightuserdata address
  • Added knHexToBin and knBinToHex for converting strings of data to and from strings of hexidecimal digits
  • Added string utilities: knRemoveSuffix, knRemovePrefix and knSplit
  • KatieLib now installs a custom Lua panic handler which prints a FATAL-level log line describing what caused the panic

Release 19

Choose a tag to compare

@knot126 knot126 released this 06 Jul 16:03
3e7e136
  • Several functions will now raise an error instead of returning
    silently when used incorrectly

    • More notably, file functions will now raise an error instead of
      returning a failure code in most cases
  • Added a new feature for all scripts: special shutdown() function
    is now called when the script is being destroyed

  • Added new DB functions: knDbKeys(), knDbBeginTransaction(),
    knDbCommit()

  • Improved knCall() by allowing to call into arbitrary scripts, not
    just the menu/movie/hud

  • Added knUnpack()

  • Added knOwnHandle()

  • knInclude() now gives loaded blocks a name for debugging, and
    supports pre-compiled scripts made with luac

  • Added apk type overlays and suffix and prefix options for zip
    overlays

  • Deprecate :func:knHttpsCert and :func:knHttpsNoCert and add
    explicit certificate argument to :func:knHttpRequest

  • Updated knPatch() so it now returns the original data before it
    was patched

  • Added knPeek() which should now work more reliably than the older
    version of the function that was removed long ago