Sample Scripts Library

To give you an idea of how this all works, we tried to cover all possible needs and made a dozen of scripts and test applications. Basically, all you have to do to use them as templates for your own scripts is replace the filenames and paths to source and destination locations.

Once installed Resorce Tuner Console, you will find the Demo folder in the directory where RTC has been installed. Within this Demo folder, there are 11 subdirectories that contain sample scripts and sample executable files.

All sample scripts are ready to run. Select one of the .BAT files located in the Demo folders to execute the sample script. The script will make changes in the test EXE file. The resulting file will be created in the directory named "Release" under the directory containing the script.

This script shows how to:
- Add or replace an XML manifest.
- Replace icons in the executable with icons from an ico file which contains
more than one image.
- Add a 256x256 PNG-compressed icon (a Vista icon).
- Sort out the added icons in the right order.
- Output the changes in the Resource Tree to a log file.

This script shows how to:
- Modify a String Table by using a definition file
- Add a new String Table
- Modify a Message Table
- Update a Version Info resource
- Create a copy of the resource (Message Table) with another language
- Outputs a resource tree to a log file
- Save the entire file's resources as a resource DLL

To see the changes made to the test EXEs, we recommend using Resource Tuner GUI, a visual resource editor.