jaames / pvr-model-extractor

Python decompiler for the .pod model format used in some of Nintendo's mobile games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Python decompiler for the .pod model format used in some of Nintendo's mobile games

License:MIT License


Languages

Language:Python 100.0%