Giter Site home page Giter Site logo

gdsdecomp's Introduction

Godot RE Tools

This software in a pre-alpha stage and is not suitable for use in production.

Introduction

Code Screenshot

This module includes following tools:

  • PCK archive explorer / tester / extractor / creator.
  • GDScript batch "compiler" / "decompiler".
  • Resource text <-> binary batch converter.

Usage

  • All module functions are accessible via RE Tools menu.
  • Decompilers additionally available as GDScriptDecomp_{commit_hash} GDScript classes.
	var decomp = GDScriptDecomp_{commit_hash}.new()

	decomp.decompile_byte_code(path)
	# or
	decomp.decompile_byte_code_encrypted(path, key)

	var source = decomp.get_script_text()

Requirements

Godot 3.x (3.x branch) or 4.0 (master branch)

GDScript decompiler compatibility

Supported bytecode versions

To decompile GDScript, exact engine version that was used to compile it, should be specified.

To detect Godot version

Run ./{executable_name} --version > version.txt.

Version strings have following formats:

  • Official releases: {major}.{minor}.{rev}.stable.official
  • Development builds:{major}.{minor}.{rev}.{build_type}.{commit_hash}

To detect GDScript version

Copy executable to the helpers folder. Run ./{executable_name} -s detect_bytecode_ver.gd --path ..

Downloading and compiling

Clone this repository into Godot's modules subfolder as gdsdecomp. Rebuild Godot engine as described in https://docs.godotengine.org/en/latest/development/compiling/index.html.

License

The source code of the module is licensed under MIT license.

Travis Build Status

gdsdecomp's People

Contributors

bruvzg avatar nikitalita avatar whoozle avatar linuxusergd 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.