Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Latest commit

 

History

History
22 lines (14 loc) · 1.24 KB

README.md

File metadata and controls

22 lines (14 loc) · 1.24 KB

PVR Model Extractor

Crappy Python decompiler for the PowerVR model format (.pod), built for ripping models from Nintendo's mobile games (particularly Miitomo). It includes utils to convert .pod models to the binary glTF (.glb) format.

This tool is in an unfinished state, and will probably remain that way since I don't have the time/interest to support it. Please don't expect this to be easy to use or bug-free.

Requirements

  • Python 3.5 or above
  • PVRTexTool from the PowerVR SDK Tools
  • PVRTexTool CLI (instructions can be found on page 28 of the PVRTexTool User Manual). It is assumed to be located in the same directory as extract.py, so you may need to change PVR_TEX_TOOL_PATH to suit your setup.
  • A glTF plugin for your 3D tool of choice, such as this glTF plugin for Blender. This will let you load .gltf models.

Usage

extract.py can be used to convert .pod models to the .glb model format:

python3 extract.py <.pod model path> <.glb output path>

Textures are assumed to be in the same directory as extract.py