TGA Converter
-------------
TGA Converter is a PowerShell script which allows for bulk conversion of TGA files to desired format.

To use this script you must know how to edit PowerShell scripts, how to edit PowerShell's execution policy.


Installation
------------
Extract tga converter.ps1 to a folder of your choice.
Edit settings to suit your flight sim setup.
If your AI aircraft folders are located under c:\program files\ or c:\program files (x86)\ you may have to run the ps1 file as an administrator.

Settings
--------
The following variables in the ps1 file should be edited before running the script.
$MainAircraftFolder - Location of AI aircraft folders
$ImageToolFolder - Location of imagetool.exe
$OutputFormat - e.g. DXT5, dxt1, 32 -nomip
$OutputFileFormat - either dds or bmp
$DeleteTGA - Yes to delete existing TGA files after conversion, No to leave existing TGA files


Requirements
------------
Imagetool.exe must be installed
PowerShell's execution policy must be set to allow for scripts to run unsigned scripts.



Legal
-----
This file has been downloaded from www.oneclickhangar.com
This file is copyright Morten Blindheim.
This file may not be uploaded to any other site.
This file may delete TGA files from your aircraft folders and may overwrite existing texture files but should not delete or change any other files. No liability is accepted for any unexpected changes to your system.

If you have any comments or questions, please visit www.oneclickhangar.com or email at morten@oneclickhangar.com