Giter Site home page Giter Site logo

codywatts / puzzle-and-dragons-texture-tool Goto Github PK

View Code? Open in Web Editor NEW
46.0 7.0 21.0 56 KB

The Puzzle & Dragons Texture Tool is a script for extracting images from the popular iOS & Android game "Puzzle & Dragons" (also known as "Puzzle and Dragons" or simply "PAD".) Please remember to ★ this project if you've found it useful. Thank you!

Python 100.00%

puzzle-and-dragons-texture-tool's People

Contributors

codywatts 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

puzzle-and-dragons-texture-tool's Issues

Add support for decoding PVR textures

Textures encoded with PVRTC4BPP (0xB) and PVRTC2BPP (0xC) are recognized by the Puzzle & Dragons Texture Tool, but they cannot actually be decoded.

(Thanks to @Raijinili for alerting me to this issue!)

Extracted the file errors

When I run the program, its prompts are as follows, and no file is extracted.
Reading /home/Neko/Unpack Tools/Puzzle-and-Dragons-Texture-Tool/mon2/cards_092.bc.bc.bc...
1 texture found.

Writing CARDS_092.PNG (1024 x 1024)...

Traceback (most recent call last):
File "/home/Neko/Unpack Tools/Puzzle-and-Dragons-Texture-Tool/PADTextureTool.py", line 441, in
main()
File "/home/Neko/Unpack Tools/Puzzle-and-Dragons-Texture-Tool/PADTextureTool.py", line 438, in main
TextureWriter.exportToImageFile(texture, outputFilePath)
File "/home/Neko/Unpack Tools/Puzzle-and-Dragons-Texture-Tool/PADTextureTool.py", line 201, in exportToImageFile
pngWriter.write_array(pngStream, flatPixelArray)
File "/home/Neko/Unpack Tools/Puzzle-and-Dragons-Texture-Tool/png.py", line 807, in write_array
self.write_passes(outfile, self.array_scanlines(pixels))
File "/home/Neko/Unpack Tools/Puzzle-and-Dragons-Texture-Tool/png.py", line 779, in write_passes
compressed = compressor.compress(tostring(data))
File "/home/Neko/Unpack Tools/Puzzle-and-Dragons-Texture-Tool/png.py", line 196, in tostring
return row.tostring()
AttributeError: 'array.array' object has no attribute 'tostring'
cards_092.bc.bc.bc.zip

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.