boofunpack

command module
v0.0.0-...-d62ceb7 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: MIT Imports: 12 Imported by: 0

README

boofunpack

Cocos2d-x texture unpacker, primarily for Cookie Run: OvenBreak and Cookie Run for Kakao/LINE (though it likely works for other .plist format cocos2d-x games too).

Installation

Grab an executable for your OS on the Releases page. (64-bit builds only for now, sorry for the inconvenience. I'm sure most people will just be using the 64-bit Windows version, though...)

Usage

Get a copy of the files of the game you're trying to rip sprites from, find the spritesheet you want and drag the file (either .png or .plist) onto the executable or pass it as an option on the command-line. If all goes well, it should unpack that spritesheet in the same folder as the program. You can disable auto-cropping to be able to animate the frames or disable naming-files-by-animation in config.ini (which will automatically be created if it doesn't exist).

Building

  1. Install Go if you haven't already
  2. Clone the repository and install the dependencies, usually with go get ./...
  3. Build it with go build (I usually also add the argument -ldflags="-s -w" for smaller executables) or run it with go run main.go

Known Issues

  • JSON files are not supported. Cookie Run doesn't use them, but games that do will need that support to be added.
  • Kakao/LINE cocos2d files don't yet support group_by_animation, but they will soon!!!!!! Probably.

License

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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