Sample Scripts Library
To help you understand how Resource Tuner Console works and to meet various needs, we have created a set of sample scripts and corresponding test applications. These scripts can serve as templates that you can adjust for your project.
Don’t like writing scripts? We have that covered. All you need to do is replace the file names and paths to the source and destination locations according to your requirements.
After installing Resource Tuner Console, you can access these examples in the Demo Scripts folder, located within the installation directory. The Demo folder contains 12 subdirectories, each housing sample scripts and their associated executable files.
The Complete Illustrated Step-by-Step Guide To Using Scripts
How To Write Scripts
All sample scripts are pre-configured, and you can run them without any additional setup. To execute a sample script, simply select one of the provided .BAT files within the Demo folders. The script will apply the defined changes to a test EXE file, and the resulting modified file will be saved in a directory named "Release", which will be located within the same directory containing the script.
If you want to explore the script code for any specific example, click on the corresponding script name below to view the code and delve deeper into the functionality and implementation.
Script Name | Description |
---|---|
This script demonstrates how to add or replace icons in the test application. It allows you to replace the main icon with new icons sourced from an .ico file, including a 256x256 PNG-compressed icon (Vista icon). Additionally, the script organizes the added icons in the correct order and outputs the changes in the Resource Tree to a log file. |
|
Shows how to modify String Tables and Message Tables using string literal values from an external Unicode text file. It allows you to efficiently edit multiple entries across several files at once and repeat the editing process as needed. |
|
The script shows how to: |
|
Shows how to update or add version variables to all EXE, DLL, or RES files in a folder. |
|
Shows how to make an application display the Version Information in different languages based on the user's locale: |
|
Shows how to edit common data types that stored as custom resources, such as major graphic files (.GIF, .PNG,
.JPG), sound (.WAV, .MIDI) and video (.AVI) files, or binary files (.CAB, TYPELIB, etc): |
|
Shows how to add or replace a Bitmap Image (.BMP) in the test application. |
|
This script illustrates how to batch process the contents of a directory containing mixed EXEs and DLLs. It patches all the files with given file extensions (EXE, DLL, SYS, RES, etc) in the source directory. |
|
This script shows how to: |
To view the changes made to the test EXEs, you can open them using Resource Tuner GUI.
Get Started with a 60-Day Free Trial
Download ResTuner Console and learn how it can make you more productive.
Resource Tuner Console runs on all versions of Windows in use today: from 11 to XP, both 32-bit and 64-bit.