Love these scripts, streamlines the process quite a bit.
I did fine one bug that is a little annoying, the PNG files are sometimes locked after running the script, this is caused by the alpha detection, it can be resolved by closing the file once done with it, just add $png.Dispose() on line 105 of PNG2DDS.
I'd also replace the read-host with a proper parameter, saves a couple of lines and having to evaluate something. Just remove the if/else on line 19/20 and add the below to the top of the script, has all the same functionality.
There is one over on NexusMods, although it's not a drag and drop install.
I did repackage it and share it with the creator so that they can update it, check the comments of that mod.
The registration number is dynamic, you can change it in the sim, in the aircraft selector, under Customization, and enter that as the Tail Number.
Love these scripts, streamlines the process quite a bit.
I did fine one bug that is a little annoying, the PNG files are sometimes locked after running the script, this is caused by the alpha detection, it can be resolved by closing the file once done with it, just add $png.Dispose() on line 105 of PNG2DDS.
I'd also replace the read-host with a proper parameter, saves a couple of lines and having to evaluate something. Just remove the if/else on line 19/20 and add the below to the top of the script, has all the same functionality.
[CmdletBinding()]
param (
[Parameter()][string]$Path = (Read-Host 'PNG File path/Folder path')
)
There is one over on NexusMods, although it's not a drag and drop install.
I did repackage it and share it with the creator so that they can update it, check the comments of that mod.