Skip to content
This repository was archived by the owner on Sep 9, 2022. It is now read-only.

BJTMastermind/slicer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slicer

About This Project

Slicer is a Rust port of Mojang's slicer program written in Java.

How To Compile [Optional]

  1. Open Terminal/Command Prompt and cd to the project directory. (outside the src folder)
  2. Type cargo build --release
  3. Go into the generated target folder then into the release folder.
  4. The compiled executable file should be in here called slicer. Feel free to copy the file anywhere else to use.

How To Use (Command Line Only)

If using compiled executable file, cd to the directory with the slicer executable
and replace all cargo run --release -- with ./slicer when running the commands

If any of the folder/file paths contain space's make sure to put the paths in double quotes
like this "./path/to my/cool pack"

cargo run --release -- <input dir or zip> <output dir> [<leftover dir>] (leftover dir is optional location that will be filled with copies of source images with added highlights for no longer needed areas).

Example Commands

cargo run --release -- ./My-Cool-Pack ./output
cargo run --release -- ./My-Cool-Pack ./output ./leftovers
cargo run --release -- ./My-Cool-Pack ./My-Cool-Pack
cargo run --release -- ./My-Cool-Pack ./My-Cool-Pack ./leftovers

Output directory can't be the same as the input if the input is a zip.
cargo run --release -- ./My-Cool-Pack.zip ./output ./leftovers

About

Rust port of Mojang's Resource pack migration tool for Minecraft 1.14

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages