Trainz Cdp Extractor Guide
In the world of Trainz Simulator , the .cdp (Content Dispatcher Pack) file is the standard container for distributing assets like locomotives, rolling stock, and scenery. While Trainz has a built-in Content Manager to handle these, a CDP Extractor or utility provides a way to peek inside or manipulate these archives without launching the game. What is a Trainz CDP Extractor?
A CDP Extractor is a utility designed to open, view, and extract the individual files—such as textures, meshes, and config files—stored within a .cdp archive. These tools are essential for creators and power users who need to:
Audit Assets: Quickly check the contents of a pack before importing it into their main game database.
Fix Corruption: Occasionally, a CDP file may become "unreadable" by the standard Content Manager; specialized extractors can sometimes bypass these errors to salvage the data.
Search for KUIDs: Tools like CDPExplorer on GitHub allow users to search for specific asset information or "KUIDs" (the unique identification system in Trainz) within multiple CDP files simultaneously. Popular Tools & Implementation
CDPExplorer: A standalone Windows application that lists contents, exports asset lists to CSV, and allows for the extraction of individual assets as separate CDPs.
Web-Based Solutions: Some developers have even outlined guides for building web-app extractors using HTML, JavaScript, and Node.js to process these containers directly in a browser. Why Use One?
For many players, the default Content Manager is sufficient. However, if you are looking to batch-process files, customise export filenames, or simply maintain a cleaner game installation by only extracting what you need, these third-party utilities are indispensable for efficient asset management. trainz cdp extractor
SilverGreen93/CDPExplorer: Utility aplication for ... - GitHub
Features. List CDP files contents. Search for any asset information in the CDP file. Extract individual assets as individual CDPs.
While there is no single academic "paper" titled "Trainz CDP Extractor," there are technical documents and open-source tools that detail how to browse and extract content from Content Dispatcher Pack (CDP) files used in Trainz Simulator. 1. Technical Specifications (Reverse Engineering)
A core "detailed paper" on this topic is the Chump File Format Specification hosted on GitHub by developers like SilverGreen93. CDP files use the "Chump" (Compressed Hump) format, which is a proprietary archive format developed by N3V Games.
Structure: Detailed documentation covers the binary KUID format (the unique identification system for Trainz assets) and the overall header/data structure of the archive.
KUID Specification: Technical breakdowns explain how Trainz identifies assets like within the binary stream. 2. Available Extraction Tools
CDP Explorer (by SilverGreen93): An open-source Windows application for browsing and searching asset info within CDPs without installing them into the game. In the world of Trainz Simulator , the
Features: It can list KUIDs, search for specific assets, and export listings as CSV files.
Development: Built using .NET Framework 4.8, allowing for deeper customization for developers.
Vvmm's Trainz Tools: A suite of utilities including a Chump expander that unpacks CDP and .chump files into readable .txt formats for manual editing.
TZarchiver: Used specifically for the TZarc files found in newer versions like Trainz A New Era (TANE) to restore backups or transfer content between versions. 3. Native "Extraction" Method
If you do not want to use third-party tools, the official way to "extract" files is via the Trainz Content Manager: Import: Drag the .cdp file into the Content Manager window.
Open for Edit: Right-click the installed asset and select "Open > Show in Explorer".
Result: This places the asset's raw folders (containing textures, configs, and meshes) into your computer's "Editing" folder, effectively extracting them from the CDP container. 4. Implementation Guides Report: Trainz CDP Extractor Part 2: Why Would
T//www.scribd.com/document/1009416903/Extractor-for-Trainz-Simulator">Extractor for Trainz Simulator (available on Scribd) which provides a comprehensive overview for building a web-based extraction tool using HTML/JavaScript and Node.js. It covers:
User Interface: Designing a drag-and-drop web portal for CDP files.
Processing Logic: Handling the compression methods used in the CDP format.
Report: Trainz CDP Extractor
Part 2: Why Would You Need a CDP Extractor?
At first glance, Trainz’s Content Manager (CM) handles CDP files automatically. Double-click a CDP, and it installs. So why extract?
5. Cross-Version Porting
An asset made for TS2004 might not install correctly in TRS2022. Extracting the CDP allows you to manually update the trainz-build number in the config file before re-zipping and importing.
Legal & Ethical Considerations for CDP Extraction
While extracting CDPs for personal use is generally accepted within the Trainz community, there are important ethical boundaries:
- Personal Use: Editing an asset to fix a fault for your own installation is always permitted.
- Redistribution: You cannot extract a payware locomotive (e.g., from Jointed Rail or K&L Trainz) and redistribute the extracted files. That is piracy.
- Derivative Works: If you extract a freeware asset, reskin it, and want to upload it to the Download Station (DLS), you must obtain permission from the original creator and credit them in your config.txt.
- DRM: Some high-end payware CDPs are encrypted. Attempting to crack this encryption violates the license agreement and may be illegal in your jurisdiction.
Golden Rule: Extract to learn and repair, not to steal.
Common Extraction Errors & How to Fix Them
Even with a good Trainz CDP Extractor, you may encounter issues.
3. Backup and Archiving
Content Managers can break. If your Trainz database corrupts, installed assets might become unreadable. A CDP extractor allows you to unpack assets into standard folders on your hard drive as a safety backup.


