A Unity Editor toolkit for Panda3D-style game assets and world data workflows, with POTCO support and an active Toontown migration path.
- This repository is a community fork derived from the original upstream project.
- The maintainer of this fork is not affiliated with the original creator.
- The modifications introduced in this fork’s migration work were produced through a vibe-coding workflow using Codex tooling.
- Upstream project ownership and original authorship remain with their respective contributors.
⚠️ Unity may take up to an hour to process all .egg files during the initial import, as it needs to cache all model data. Your patience is appreciated! ⚠️
This toolkit brings Pirates of the Caribbean Online workflows into Unity and now includes an active Toontown toolchain migration path. You can import world data, export custom content, and build scene tooling with a shared adapter architecture.
The goal is to support community-made worlds and tooling while keeping migration work practical and incremental. POTCO tools remain available, and Toontown tools can be launched now through the quick-start flow.
🗺️ World Data Importer - Import POTCO World Data files into Unity scenes
🏴☠️ World Data Exporter - Export Unity scenes back to game-compatible files
⛏️ Procedural Cave Generator - Create interconnected cave systems with presets
🎨 Advanced EGG File Importer - Import Panda3D .egg models
🖼️ Native .RGB Importer - Supports .rgb alpha transparency
- ✅
Toontown/Quick Startlauncher - ✅ Bundled sample world for first-run validation
- ✅ Toontown importer/exporter parse + round-trip scaffold
- ✅
Toontown/World Data/DNA Scene Importer (MVP)for.dna -> Unityhierarchy import - ✅
Toontown/Validation/Run Sample Smoke Test - ✅ CSV validation report export for mapping/tuning evidence
- ✅
Toontown/Environment Switcherfor quick scene lighting, skybox, fog, audio, and effect preset passes
🏗️ Level Editor (Prop Browser) - Visual asset browser and placement tool
🎯 ObjectList Detection - Automatic POTCO object classification and organization
🖼️ Custom Thumbnails - Auto-generated preview images for all assets
📂 Smart Categorization - Folder-based and ObjectList-based organization
- Unity 6000.1.11f1 (Most versions work)
- Universal Render Pipeline (URP)
Open the project in Unity 6000.1.11f1, then access tools via: Unity Menu Bar → POTCO → [Choose Tool]
- Contributor guide:
CONTRIBUTING.md - Engineering workflow:
docs/WORKFLOW.md - Toontown migration plan:
docs/TOONTOWN_MIGRATION_PLAN.md - Toontown quick start (first runnable flow):
docs/TOONTOWN_QUICKSTART.md - Current branch/project status:
docs/REPO_STATUS.md - Recommended next mainline update:
docs/NEXT_MAINLINE_UPDATE.md - Required baseline check before commit:
pwsh -NoProfile -ExecutionPolicy Bypass -File scripts/primary-checks.ps1
- Optional local headless smoke check:
pwsh -NoProfile -ExecutionPolicy Bypass -File scripts/run-toontown-smoke.ps1
- Optional Toontown DNA resource setup:
pwsh -NoProfile -ExecutionPolicy Bypass -File scripts/setup-toontown-resources.ps1
- Optional Toontown DNA MVP batch demo:
pwsh -NoProfile -ExecutionPolicy Bypass -File scripts/run-toontown-dna-demo.ps1
- Windows
cmdrun action wrapper (launch + checks + demo):scripts\run-action.cmd helpscripts\run-action.cmd openscripts\run-action.cmd primary-checksscripts\run-action.cmd smokescripts\run-action.cmd dna-demo
Advanced Panda3D .egg file processing with comprehensive filtering options:
- Multi-Texture Support - Specialized overlay system for tiling ground textures (known limitation; needs stabilization)
- Advanced Filtering - Skip footprints, LOD control, skeletal data filtering
- Folder Exclusions - Default exclusions for gui, effects, sea, sky, textureCards
- Manual Import Control - Disable auto-import to prevent Unity startup delays
- Startup Import Prompt - Modal dialog for selective batch importing
Import .py World Data files from POTCO into Unity scenes:
- Automatic object placement and hierarchy creation
- ObjectList data integration for proper object classification
- Collision and Holiday Props import options
- Prop color application toggle
- Coordinate system conversion (Panda3D ↔ Unity)
- Import speed optimization
Export Unity scenes back to POTCO-compatible format:
- Advanced ObjectList filtering and type detection
- Coordinate system conversion between Unity and Panda3D formats
Create interconnected cave systems using connector-based cave pieces:
- Connector-based assembly system (
cave_connector_*transform markers) - Weighted randomization for varied layouts
- Built-in theme presets (Padres Del Fuego Theme)
- Custom configuration saving/loading (JSON format)
Visual asset management and level creation tool:
- Thumbnail Grid View - Visual browsing of all POTCO assets
- Smart Categorization - Multiple organization methods:
- Folder-based categorization
- ObjectList-based categorization (Buildings, Props, Lighting, etc.)
- Uncategorized item handling
- Quick Placement - Drag-and-drop asset placement in scenes
- Search and Filtering - Find assets quickly across categories
- Open
POTCO → World Data Importer - Click "Select World .py File"
- Choose your world file and click "Import"
- Watch as your POTCO world appears in Unity!
- Open
POTCO → Level Editor - Browse assets using the thumbnail grid
- Switch between categorization modes (Folder/ObjectList)
- Drag assets directly into your scene
- Assets are automatically categorized and ready for export
- Select "🎯Surface" for any placed models either from importing or dragging out to contain collisions to be able to easily drag and drop props on top seemlessly will cause the world importer to take longer
- Open
Toontown → Quick Start - Click
Switch Active Game Flavor to Toontown - Open importer/exporter from quick-start buttons
- Use bundled sample actions to run parse + export loop
- Run
Toontown → Validation → Run Sample Smoke Test - Open
Toontown → World Data → DNA Scene Importer (MVP)for OpenToontown.dnascene import
- Open
POTCO → Procedural Cave Generator - Load the "Padres Del Fuego Theme" preset
- Set cave length (try 10-15 pieces)
- Click "Generate Cave" and watch it build!
- Open
POTCO → EGG Importer Manager - Configure filtering options (skip footprints, LOD settings, etc.)
- Choose folders to exclude (gui, effects recommended)
- Use "Import All EGG Files" or selective import
- View statistics in the Statistics tab
- Add objects to your scene (use Level Editor for easy placement)
- Open
POTCO → World Data Exporter - Configure export settings and filters
- Click "Export World Data" to create a
.pyfile
Important Notes:
- All props must have a parent object to export properly
- Imported WorldData always spawns at (0,0,0)
- Use "Add ObjectListInfo to Selected Objects" for manual object classification
Unity_1zbULfekyF.1.1.mp4
explorer_fJ7bGs3dqk.1.mp4
Unity_GW9PDPSz7C.mp4
- Some manually dragged objects may not receive ObjectListInfo components automatically - use "Add ObjectListInfo to Selected Objects" in the exporter
- Large cave systems may occasionally experience piece overlapping
- Complex EGG files with extensive bone data may require additional processing time
This project is designed for educational and research purposes:
❌ Original POTCO assets remain property of their owners
Transform Unity into a practical game-world toolkit for POTCO and the ongoing Toontown migration flow. Start with the quick-start path, run smoke checks, and iterate in small validated steps.
Create, explore, and share your pirate adventures! ⚓
Built with passion for the POTCO community. Fair winds and following seas!