Coder Social home page Coder Social logo

speedy11cz / mcrpx Goto Github PK

View Code? Open in Web Editor NEW
58.0 4.0 1.0 109 KB

MCRPX is a tool to extract files from Minecraft: Java Edition resource packs into selected directory. It can also bypass corrupted resource packs, used by servers to protect their resource packs.

License: MIT License

Java 100.00%
minecraft resourcepack resourcepack-zip zip-extraction

mcrpx's Introduction

logo

MineCraft Resource Pack eXtractor (MCRPX)

MCRPX is a tool to extract files from Minecraft: Java Edition resource packs into selected directory. It can also bypass corrupted resource packs, used by servers to protect their resource packs.

build status

Download

MCRPX can be downloaded here.

How it works

It uses same method as Minecraft to load resource packs. Because Minecraft must be able to load corrupted resource packs, this allows us to extract them too.

How to use

This tool can be used only in GUI (recommended) or in CLI. You need to have Java 17 or higher installed on your computer.

Building

For building this project, you need JDK 17 or newer. Then, just run script gradlew build in project directory. You can find compiled JAR files in */build/libs directories.

Warning

Despite the fact that this tool allows extracting corrupted resource packs, please note that the content may be subject to copyright. Use this tool at your own risk.

mcrpx's People

Contributors

speedy11cz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

oooooomygod

mcrpx's Issues

Well

I don't see the point of this. You are contributing in helping people to steal/modify other people's work. Your repo says it itself: "It can bypass corrupted resource packs, used by servers to protect their resource packs.", so why making this tool? You made it even though you knew it was bad, and it is really disrespectful towards the work of people.

I'm myself using the corruption method to protect my resource packs, and knowing that people can just use this tool to steal my work is really discouraging.

Improve resource pack decryption against "directory" obfuscation.

Description

MCRPX cannot handle resource packs produced by PackSquash (version after 2023-09-24 commit) with enabled obfuscation on disregard level.

Cause

On 2023-09-24, PackSquash improved resource pack encryption by obfuscating certain files and treating them as directories (see attached screenshots).

Steps to recreate

  1. Download the latest PackSquash program artifact from GitHub Actions (not from "Releases" page!);
  2. Download or/and extract any valid Minecraft resource pack in desired directory;
  3. Create a new options file with .toml extension, then copy these settings:
pack_directory = "HERE_GOES_YOUR_RESOURCE_PACK_DIRECTORY"
size_increasing_zip_obfuscation = true
zip_spec_conformance_level = "disregard"

Replace HERE_GOES_YOUR_RESOURCE_PACK_DIRECTORY with your extracted resource pack directory and save the options file.

  1. Open a terminal, go to the PackSquash program directory, run packsquash.exe "PATH_TO_OPTIONS_FILE.TOML". Replace PATH_TO_OPTIONS_FILE.TOML with your options file name;
  2. Run MCPRX and try to extract encrypted resource pack.

Intended behavior

MCPRX exports encrypted resource pack.

Observed behavior

MCPRX throws an error: "Invalid input file! Must be resource pack or Minecraft jar file".

Screenshots

RRP_Source
RRP_Encrypted
MCPRX_Error

No any decryptions in RP

No any decryptions in RP. The process goes well, but nothing changes in my test RP that i'm encrypted by encryptmypack.com.
Can you explain how to decrypt some packs???

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.