Giter VIP home page Giter VIP logo

qbscript's Introduction

qbscript

(WIP) compiler and decompiler pair for GH3 in-game scripts

Compiler

The compiler supports a large subset of the operations available in GH3 in-game scripts; you can find full details of the syntax here.

The operations not yet supported are:

  • Random (0x2F)
  • Random2 (0x37)
  • RandomRange (0x30)
  • RandomRange2 (0x38)
  • RandomNoRepeat (0x40)
  • RandomPermute (0x41)
  • @ (0x31)
  • useheap (0x45)
  • #<string>

These are unimplemented for various reasons:

  • The random operations have unknown operands
  • The purpose of @ and #<string> are both still unknown.
  • The context in which useheap should appear is unknown

If you find a script using any of the above opcodes, please open an issue or otherwise contact me so I can look into them!

Decompiler

The decompiler will be coming soon.

qbscript's People

Contributors

adituv avatar

Stargazers

Wesley avatar  avatar

Watchers

James Cloos avatar  avatar  avatar Wesley avatar  avatar

qbscript's Issues

referencing structure by QbKey

I'm sure this thing still doesn't matter to you now, but if you still want to assist, I'm trying to figure out how to use a structure in a PAK file that equals the name of a QbKey in a QbScript. So, for example, calling a value within current_boss, when current_boss = Boss_TomMorello_Props.
I tried doing things like %deth_icon_texture = *current_boss.character_icon

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.