cartools is a series of reverse tools for Compiled Asset Catalogs (.car file) written in pure Swift.
- macOS Application. Written in pure Swift, let you browse renditions and export resources in Asset.car file.
- Command Line Tools. Extracting Asset.car file in terminal.
- QuickLook Preview Extension. Inspector for Asset.car file without open it.
- Framework. The underlying infrastructure called CartoolKit. which is based on PrivateFramework CoreUI, CoreThemeDefinition.
Final Car Pro is a macOS Application which give you the ability to browse, classify, filter renditions in compiled asset catalog and export resource files.
- Document based car file browser.
- Filter renditions by rendition type.
- Search renditions by file name and rendition name.
- Group renditions by rendition name for exported resources.
- Drag to export.
- Vector resource annotation.
- SVG resource display and export.
- PDF resource display and export.
- Dark mode support.
Download latest binary release from release page.
cartool is a swift Command Line Tools which allow you extract the resource of car file in terminal.
Install the tap:
brew tap 0xxd0/tap
Install Command Line Tool:
brew install cartool
USAGE: cartool <file-path> <output>
ARGUMENTS:
<file-path> The .car file path to parse.
<output> Output dir to place extracted car file resources.
OPTIONS:
-h, --help Show help information.
CartoolKit is the underlying framework which empowered macOS Application and Command Line Tool.
The simplest use-case is setting a url to Reader
.
import CartoolKit
let fileURL = URL(fileURLWithPath: filePath)
let reader: Reader<LazyRendition> = try Reader(.init(fileURL))
let renditions = try reader.read()
This project is released under the MIT License.