Git Product home page Git Product logo

modconfigurator's People

Contributors

bad-al avatar marth8880 avatar

Watchers

 avatar  avatar

Forkers

bad-al

modconfigurator's Issues

Read state of saved settings from compiled Lua script

From @BAD-AL:

We can get the BODY length to determine the size of the compiled Lua, read the content into a buffer, dump it to a file and then run lua -l on it.

When you need a number, it goes from right-to-left:

        // The number/length is stored in reverse least significant --> most significant
        // This function gets the number at the specified location and gives it to you good ;
        public static uint GetNumberAtLocation(long loc, byte[] data)
        {
            byte b0, b1, b2, b3;
            b0 = data[loc];
            b1 = data[loc + 1];
            b2 = data[loc + 2];
            b3 = data[loc + 3];

            uint retVal = (uint)(b0 + (b1 << 8) + (b2 << 16) + (b3 << 24));
            return retVal;
        }

'About' window

For displaying developer, license, and help information.

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.