Cross-Game Pattern Load Cue (PLC) System

Parse and decompress graphical pattern load cue data from Mega Drive Sonic game ROMs.

6|1|Updated Jan 16, 2013
One-click install
npx skills add https://github.com/jamesj999/OpenGGF --skill cross-game-pattern-load-cue-plc-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Cross-Game Pattern Load Cue (PLC) System
Source: https://github.com/jamesj999/OpenGGF/tree/main/.claude/skills/plc-system
Command: npx skills add https://github.com/jamesj999/OpenGGF --skill cross-game-pattern-load-cue-plc-system

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill provides a standardized way to understand and load graphical assets (patterns) used across multiple Sonic games, ensuring accurate visual representation and efficient memory management.

Core Features & Use Cases

  • PLC Format Analysis: Deciphers the shared binary format for pattern load cues (PLCs) used in Sonic 1, 2, and 3 & Knuckles.
  • Asset Loading Utilities: Offers APIs for parsing PLC data and decompressing assets for both level-specific and standalone use.
  • Use Case: When developing a mod for Sonic 3 & Knuckles, use this Skill to load custom boss art by correctly parsing its PLC data and decompressing it into the required format for display.

Quick Start

Use the plc-system skill to parse the PLC definition from the attached ROM file at address 0x01DD86 for PLC ID 5.

Frequently Asked Questions about Cross-Game Pattern Load Cue (PLC) System

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

FAQPage Schema
How do I parse pattern load cue data from Sonic Mega Drive ROMs?

To parse pattern load cue (PLC) data from Sonic Mega Drive ROMs, use the PlcParser to interpret the shared binary format and decompress graphical assets for accurate visual representation.

Can I decompress standalone graphical assets for Sonic 1, 2, and 3 & Knuckles?

Yes, you can decompress standalone graphical assets for Sonic 1, 2, and 3 & Knuckles by utilizing the Skill's methods for standalone decompression alongside standard level-buffer asset loading.

What is the best way to load custom boss art when modding Sonic 3 & Knuckles?

The best way to load custom boss art in Sonic 3 & Knuckles is to parse the specific PLC data and decompress the assets into the required display format using the provided asset loading utilities.

How does pattern decompression work for level initialization in Sonic games?

Pattern decompression for level initialization works by reading the PLC definition from the ROM file at a specific address, interpreting the format, and loading the necessary graphical patterns into the level buffer.

Do I need a specific ROM address to extract pattern load cues?

Yes, you need a specific ROM address to extract pattern load cues. For example, you can parse the PLC definition from an attached ROM file at address 0x01DD86 to retrieve the corresponding PLC ID.

Are there limitations when using PLC format analysis for retro game asset loading?

PLC format analysis is limited to parsing and decompressing graphical pattern load cues specifically for Sonic 1, 2, and 3 & Knuckles, meaning it does not support other game formats or non-graphical assets.