Giter Club home page Giter Club logo

repkg's Introduction

RePKG

Wallpaper engine PKG unpacker/TEX decompiler, written in C#. Made using information obtained from reverse engineering "resourcecompiler.exe" in wallpaper engine bin's folder.

Feel free to report errors or request a pull if you have fixed/added something.

Features

  • Convert PKG into wallpaper engine project
  • Unpack PKG files
  • Decompile TEX
  • Show info about PKG/TEX files

Commands

  • help - shows those commands, use help "extract" and help "info" to see options for them
  • extract - extracts specified PKG/TEX file, or files from folder
-o, --output          (Default: ./output) Output directory
-i, --ignoreexts      Don't extract files with specified extensions (delimited by comma ",")
-e, --onlyexts        Only extract files with specified extensions (delimited by comma ",")
-d, --debuginfo       Print debug info while extracting/decompiling
-t, --tex             Decompile all tex files from specified directory in input
-s, --singledir       Should all extracted files be put in one directory instead of their entry path
-r, --recursive       Recursive search in all subfolders of specified directory
-c, --copyproject     Copy project.json and preview.jpg from beside .pkg into output directory
-n, --usename         Use name from project.json as project subfolder name instead of id
--no-tex-decompile    Don't decompile .tex files while extracting .pkg
--overwrite           Overwrite all existing files
  • info - Shows info and entries in PKG/TEX file
-s, --sort             Sort entries
-b, --sortby           (Default: name) Sort by ... (available options: name, extension, size)
-t, --tex              Get info about all tex files from specified directory in input
-p, --projectinfo      Select info from project.json to print (delimit using comma)
-e, --printentries     Print entries in packages
--title-filter         Title filter

Examples

Find .pkg files in subfolders of specified directory and make wallpaper engine projects out of them in output directory

repkg extract -c E:\Games\steamapps\workshop\content\431960

Find .pkg files in subfolders of specified directory and only decompile .tex entries to png and put them in ./output omitting their paths from .pkg:

repkg extract -e tex -s -o ./output E:\Games\steamapps\workshop\content\431960

Extract all files from specific .pkg to output directory while keeping their paths from .pkg

repkg extract -o ./output E:\Games\steamapps\workshop\content\431960\scene.pkg

Convert all .tex files from specific folder to png

repkg extract -t -s E:\path\to\dir\with\tex\files

repkg's People

Contributors

notscuffed 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.