Skip to content

zedxxx/rccextended

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Read this in other language: Русский

Description

RccExtended is a compiler and decompiler of binary Qt resources (files with the .rcc extension).

It allows you to edit Qt application resources without having access to the source code.

This utility is based on the standard Qt resource compiler, with an added resource unpacking feature: command line keys --reverse or -r.

Editing workflow:

  • unpack (decompile) binary Qt resources (using this utility);
  • edit the unpacked files (.png, .xml, .txt, etc.) with third-party tools;
  • recompile the edited files back into binary Qt resources (using this utility).

To unpack resources, follow these steps:

  • navigate to the folder containing the resources;
  • run the utility with the --reverse or -r key.

Optionally, you can specify a filename pattern or a path to a specific file to unpack (see examples below).

When launched, the utility performs the following actions:

  • scans the current directory for files with the .rcc extension;
  • unpacks all found resource files (each into its own folder);
  • generates .qrc project files and a rcc-make.bat script (or rcc-make.sh on Linux) for recompiling resources into binary format;
  • outputs to the console and logs information about the unpacking process.

Examples

Unpack all resource files with the *.rcc extension in the current directory:

    cd path-to-my-qt-resources
    rcc --reverse

Unpack all resource files with the *.qbtheme extension in the current directory:

    cd path-to-my-qt-resources
    rcc --reverse *.qbtheme

Unpack a specific file:

    rcc -r example.rcc

Compilation

On Windows:

  • install MSYS2
  • install the qt5-static package
  • open a mingw64 or ucrt64 shell and navigate to the rccextended/src folder
  • run the command qmake rcc.pro && make

On Ubuntu:

  • install Qt5 packages: sudo apt install qt5-default qtdeclarative5-dev
  • navigate to the rccextended/src folder
  • run the command: qmake rcc.pro && make
  • move the compiled binary to ~/.local/bin using: mv -v rcc ~/.local/bin/

Installation

The program is fully portable, requires no installation, and consists of a single file: rcc.exe.

For convenience, it is recommended to place the program in the folder C:\Program Files\RccExtended\ and add this path to the system PATH environment variable.

About

Qt Resource Compiler and Decompiler (RccExtended)

Topics

Resources

Stars

Watchers

Forks