Git Product home page Git Product logo

spaghetti's Introduction

spaghetti - a function hooker for cooked unreal engine blueprints

usage

you can run spaghetti normally with/without using cli

spaghetti --help
Usage: spaghetti [OPTIONS] [hook] [original]

Arguments:
  [hook]      path to hook-containing blueprint
  [original]  path to original blueprint

Options:
  -v <VERSION>          engine version used to create the blueprints [default: 5.1]
  -o <output path>      path to save the hooked blueprint to [default: overwrites original]
  -h, --help            Print help

limitations

  • the same limitations of normal asset patching applies
  • this means only one modded asset can be loaded at a time
  • currently no support for hooking hooks (i need to check for existing orig_ functions)
  • if there was you could unpack, merge mod blueprints and repack for compatibility
  • i could add a command which merges hooks in mod paks if that's done to make that easier too

concept

  • i modded my first unity game and thought "Monomod HookGen is real nifty for hooking functions and whatnot"
  • on the same day i discovered kismet-analyzer's merge-functions command which merges function kismet
  • that made me think "i have decent experience dealing with assets having made stove and whatnot"
  • and then i thought "i could make it like hookgen where you can call the original function in your hook"
  • turns out you don't need to edit kismet
  • transplanting hooks using modified code from stove works
  • you can redirect the funcmap to your hook and register the original under a different name
  • wow you've got hookgen but for blueprint functions
  • mind blown

credits

spaghetti's People

Contributors

bananaturtlesandwich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.