pko-inspect

Parse PKO binary files into structured JSON using Kaitai adapters.

8|5|Updated Jan 20, 2025
One-click install
npx skills add https://github.com/Perseus/pko-tools --skill pko-inspect
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pko-inspect
Source: https://github.com/Perseus/pko-tools/tree/main/.claude/skills/pko-inspect
Command: npx skills add https://github.com/Perseus/pko-tools --skill pko-inspect

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PKO binary files contain complex data structures that are not human-readable. This skill parses PKO binaries using Kaitai adapters and prints structured JSON for easy inspection, debugging, and verification.

Core Features & Use Cases

  • Auto-detects PKO formats by extension (e.g., .lmo, .lgo, .lab, .map, .obj, .eff, .lit) and parses them into domain models.
  • Outputs readable JSON to stdout for integration with debugging tools, pipelines, or editors.
  • Useful for examining character meshes, animations, maps, and effects during development and testing.

Quick Start

Run the pko_inspect example with a PKO file path to inspect and print its JSON representation.

Frequently Asked Questions about pko-inspect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I parse PKO binary files like .lmo and .map into readable JSON?

To parse PKO binary files into readable JSON, use a tool that applies Kaitai adapters to automatically detect formats like .lmo and .map by extension and serialize the structured data to stdout.

What is the best way to inspect PKO game data formats such as .lgo and .eff for debugging?

The best way to inspect PKO game data formats like .lgo and .eff for debugging is to parse the binary structures into structured JSON representations, making character meshes and effects human-readable.

Can I use Kaitai adapters to extract data from .lab and .lit binary files?

Yes, you can use Kaitai adapters to extract data from .lab and .lit binary files, parsing them into domain models and outputting readable JSON for integration with debugging pipelines.

Does the PKO binary parser support .obj files for examining meshes and animations?

The PKO binary parser supports .obj files, automatically detecting the extension to parse meshes and animations into structured JSON representations for development and testing workflows.

How do I convert PKO binary files to JSON for integration with my development pipeline?

To convert PKO binary files to JSON for pipeline integration, run the parser with a file path to inspect the binary structure and print the serialized JSON output directly to stdout.