Code Monkey home page Code Monkey logo

unpacker_util's Introduction

Unpacker Utility

Helper tool for Bundle Unpacker to extract files or batch decompile lua scripts using LuaJIT Decompiler v2

Instllation

  1. Download the latest zip package from Releases.
  2. Extract it in your prefered location.
  3. Follow the Usage guide below or use the extract_decompile_lua.bat or extract_strings.bat scripts

Usage

python .\unpacker_util.py <bundles_path> [global_options] <unpack/decompile> [command_options] [command_arguments]

Global Options

Flag Value Default Description
bundles_path Bundles Path Required positional argument with the path to where the bundles are contained with the bundle_database.data file
--output_path, -o Output Path ./output Path of where to put the extracted/decompiled files
--unpacker_path, -u Unpacker Path ./unpacker.exe Path of the unpacker exe file
--clear,-c Flag False Remove the output directory before any operation
--verbose,-v Flag False Prints debug information

Unpack

Flag Value Default Description
--flatten,-f Flag False Doesn't create internal bundle folders, just unpack into the output folder
--pass_args,-p Arguments Arguments to pass to the unpacker, see Unpacker Extract CLI

Example

From extract_strings.bat:

python .\unpacker_util.py "C:\Program Files (x86)\Steam\steamapps\common\Warhammer Vermintide 2\bundle" --clear --output_path ".\game_strings" unpack --pass_args "-d -i *.strings"

Decompile

Flag Value Default Description
--decompiler_path,-d Decompiler Path ./luajit-decompiler-v2.exe Path to the decompiler exe

Example

From extract_decompile_lua.bat:

python .\unpacker_util.py "C:\Program Files (x86)\Steam\steamapps\common\Warhammer Vermintide 2\bundle" --clear --output_path ".\game_source" decompile

unpacker_util's People

Stargazers

 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.