PE Tools: Tweaking PE File Structure from the Command Line
Besides being a resource editor, Resource Tuner Console also provides the methods and properties for tweaking the PE file structure.
Use the UpdateChecksum property to to enable/disable updating the checksum in the PE file header.
The RebaseImage procedure will let your DLLs have their image base set manually to avoid conflicts when your application loads a few DLLs having the same base address.
For greater detail, see the Edit Custom GIF sample script. It may be helpful to use this example as a template for your own scripts.
Update DateTime Stamp
Use the UpdateDateTimeStamp procedure for changing the TimeDate Stamp and setting every field in the PE file header, export and resource sections to the adjusted TimeDate Stamp.
Create Resource Section
If your file has no resources at all, Resource Tuner Console will help you create the resource section and add the desired resources. Use the CreateResources function to add the resource section to a file which was compiled without resources.
Strip Empty Resource Section
Use the StripEmptyResSection property to enable/disable deletion of the empty resource section when saving the file.
When you process a file with RTC, the UPX Unpacker plug-in detects whether this file is packed with UPX, and then unpacks it automatically. All versions of UPX are supported, from the obsolete early versions (prior to 0.80) up to the latest 3.0x versions. For greater detail download Resource Tuner Console and consult the extensive Help system that has been provided with Resource Tuner Console.
SAMPLE SCRIPTS LIBRARY
Resource Tuner Console comes with the examples that explain basic functionality and demonstrate many of the features available in Resource Tuner Console. 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.
Check out the samples to get an idea what Resource Tuner Console can do for you.
We Offer A Free Trial: Try The Software, Risk Free.
Minimum hardware requirements:
Intel Pentium® processor with 166 MHz, 16 MB RAM