Heaventools

   English English  Deutsch Deutsch

home  products  resource tuner console  feature tour

PE Tools: Tweak PE File Structure from the Command Line

Besides being an effective resource editor, Resource Tuner Console also provides the following methods and properties for tweaking the PE file structure.


Update Checksum

Use the UpdateChecksum property to to enable/disable updating the checksum in the PE file header.

Rebase Image

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, refer to 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

Resource Tuner Console offers assistance when your file has no resources at all. Utilize the CreateResources function to add the resource section to a file that was initially compiled without any resources.

Strip Empty Resource Section

To enable or disable the deletion of the empty resource section when saving a file, you can use the StripEmptyResSection property in Resource Tuner Console. Setting this property to "true" will enable the deletion of the empty resource section, while setting it to "false" will disable the deletion. This provides you with the flexibility to control the presence of empty resource sections in your files based on your specific needs and preferences.

UPX Unpacker

When you use RTC to process a file, the integrated UPX Unpacker plug-in automatically detects whether the file is packed with UPX. If the file is packed, RTC proceeds to unpack it automatically. This unpacking feature supports all versions of UPX, ranging from the early obsolete versions (prior to 0.80) to the latest 4.2.x versions.

For more detailed information, you can download Resource Tuner Console and refer to the comprehensive Help system provided with the tool. The Help system offers extensive documentation to guide you through the features and functionalities of 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 Scripts folder nested within the directory where RTC has been installed. Within this Demo Scripts folder, there are 12 subdirectories containing script examples and sample executable files.

All sample scripts are pre-configured and ready to run. To execute a sample script, simply select one of the .BAT files within the Demo Scripts folders. The script will apply changes to a test EXE file. The modified file will be generated in a directory named "Release", which will be located within the same directory containing the script.

Check out the samples to get an idea of what Resource Tuner Console can do for you.

The Complete Illustrated Step-by-Step Guide To Using Scripts

 

Get Started with a 60-Day Free Trial

Download ResTuner Console and learn how it can make you more productive.

Download Resource Tuner Console Resource Tuner Console runs on all versions of Windows in use today: from 11 to XP, both 32-bit and 64-bit.