Giter VIP home page Giter VIP logo

kismetkompiler's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kismetkompiler's Issues

SDK / library support

Currently files are decompiled based solely on what's available in the asset.
A more correct approach would be to dump all the available info from every package and export it into a kms header file to be used when decompiling.
The existing decompilation logic should rely solely on the type info for this to work.

  • Refactor the decompiler to use the symbols generated by the analysis step rather than using the asset directly
  • Implement tooling to dump a library file containing all known imported/exported blueprint symbols using code injection
  • Fallback tooling for when code injection is not available (based on blueprints only)
  • Refactor the analysis step to use a dumped library file and skip unnecessary inference.
  • Refactor the output the imports differently when using a library file

IO store support

Currently need to use ZenTools to convert IO store packages into regular packages.
Might be worth looking into supporting IO store packages natively, at least for reading.
Alternatively, we could use CUE4Parse to load the package, and simply output a regular package when compiling using UAssetAPI.

Add tests

  • Add an integration test where blueprints from various games with different unreal engine versions are decompiled & recompiled, where success is based on equality of the newly generated code
  • Add a compiler testing suite where all the compiler language features are tested
  • Add a compiler testing suite where different kinds of errors are tested, including:
    • Syntax errors (reporting should be helpful to the end-user)
    • Semantic errors (wrong types, invalid context for an expression, unknown attribute, etc.)

UE 4.25+ FProperties support

Decompiler

  • Support 'New' FFieldPath property of KismetPropertyPointer
  • Support loading properties from StructExport.LoadedProperties instead of child exports

Compiler

  • Populate 'New' FFieldPath property of KismetPropertyPointer
  • Populate StructExport.LoadedProperties when compiling

Support for custom stuff (variables, properties, classes)...

Currently the support for custom objects is limited.

  • Create a list of types that have to be supported (to further specify the following tasks as some have been completed partially)
  • Custom variable support
  • Custom function support
  • Custom property support
  • Custom class support
  • Custom import support

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.