Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A simple tool to extract files from the .crp file format for Cities: Skylines.

NotificationsYou must be signed in to change notification settings

LiamBrandt/crp-extract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple tool to extract .crp files forCities: Skylines.As of right now it can extract PNG and DDS files, leaving the other binary files unsorted.

Requirements:

Usage:

crp_extract.py [-h] [--output-dir OUTPUT_DIR] filepositional arguments:  file                  The file to unpackoptional arguments:  -h, --help            show this help message and exit  --output-dir OUTPUT_DIR                        The directory to put the unpacked files into (Default:                        current working directory)

A CRP is split up into sections, which when extracted are represented as files in the extract folder.Each section contains metadata at the beggining.When the format of the section can be determined, this metadata is moved to a file called metadata.json, and the correct file extension is added to the end of that section file.For example, if a CRP contained a section with a PNG image, then the metadata for that section would be cut and moved to metadata.json, and the smaller section file would be given a .png extension so that it functions as a PNG file.

Key for first bytes:

These are the values for the first bytes of each type of file contained in a CRP file. They are probably used as a quick guide for the game to tell which files are which.

  • 0x53 - Assembly-CSharp
  • 0x54 - UnityEngine.Mesh
  • 0x57 - BuildingInfoGen
  • 0x58 - UnityEngine.Material
  • 0x59 - UnityEngine.Texture2D
  • 0x5A - UnityEngine.GameObject
  • 0x5B - CustomAssetMetaData
  • 0x69 - ColossalFramework.Importers.Image

About

A simple tool to extract files from the .crp file format for Cities: Skylines.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp