ShinyRepacker

command module
v0.0.0-...-25d20a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2020 License: MIT Imports: 11 Imported by: 0

README

ShinyRepacker

ShinyRepacker focus on unpacking and repacking resources bundled by TexturePacker, which is used by THE IDOLM@STER SHINY COLORS to create sprite images.

With this tool, you can edit those packed images easily, which may be useful for localization projects.

Installation

go get https://github.com/ShinyREZ/ShinyRepacker

Usage

Usage of ShinyRepacker:
  -file string
        Json file name without extension
  -image string
        Image file name, used as input in unpack mode or as output in repack mode
  -mode string
        Work mode, unpack or repack (default "unpack")
  -prefix string
        Prefix path of exported files (default "unpacked")

Examples

# unpack
ShinyRepacker --mode unpack --file icon

# repack
ShinyRepacker --mode repack --file icon

# batch unpack
arr=(`ls -1 **/*.json`) && for i in "${arr[@]}";do ShinyRepacker --file "$i"; done

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL