• Attività
  • Add-Ons
  • Collections
  • Livree
    Tutte le categorie

    Esplorate l'intera gamma di livree disponibili

    Nuove uscite

    Scoprite le ultime novità della nostra biblioteca

    Aggiornamenti recenti

    Scoprite le ultime migliorie apportate ai contenuti esistenti

    Comunicati di tendenza

    Scopri cosa c'è di più popolare nella comunità in questo momento

    Il meglio del mese

    Scoprite quali sono le uscite in vetta alle classifiche di questo mese

    I più scaricati

    Sfoglia i nostri download più popolari fino ad oggi

    Nuove categorie

    Vedi tutti →
    • SA315B - Lama
    • Saab B17
    • Nardi FN-333
  • Scenari
  • Altri
  • Store
    Comunicati recenti

    Ultimi prodotti nei cieli

    Bestseller

    Esplora i preferiti della comunità

    Sconti

    Volare di più e spendere meno

    Nuovi aggiornamenti

    Ultimi aggiornamenti Arrivi

    Intl. Airports

    Esplora i gateway globali

    Loyalty Rewards Aviators Circle
  • Premium
  • Richieste
    Richieste di livree

    Inviate qui le vostre richieste di design di livree personalizzate

    Richieste di scenari

    Proporre nuovi scenari per lo sviluppo

    Richieste seguite

    Seguire l'avanzamento delle richieste che vi interessano

    Recenti completamenti

    Scoprite le ultime richieste soddisfatte

  • Registrati
  • Accedi
  • Home
  • Aggiornamenti recenti
  • Hot!
  • Sconti
  • Top Users
  • All
  • Wallpapers
  • X-Plane.to
  • Attività
  • Add-Ons
  • Collections
  • Livree
  • Scenari
  • Altri
  • Store
  • Premium
  • Richieste
  • Cambiare la lingua

Scopri

Premium Products Most Downloads Trending Today Flightsim.to Premium FlyByWire A32NX PMDG Boeing 737-800 Airbus A320neo Fenix A320 On Sale Standalone Aircraft

MSFS Textures Toolbox

  • Toolkits
  • 5 Superbo!
  • 1.1K Downloads
  • Non ancora scaricato
  • 2.4
  • 10 months ago

It brutally appeared to me that DDS textures generation for MSFS are quite painful.

If you're working on a complete asset that you're going to build with the SDK anyway, it's not a problem. But if you're simply working on a livery, maybe you don't want to create a whole package and build it all the time. 

This toolbox uses "Compressonator CLI" (freeware available here https://github.com/GPUOpen-Tools/compressonator/releases) to handle PNG <> DDS conversions.

And "imagemagick" (freeware available here https://imagemagick.org/script/download.php#windows) to detect PNG channels depth (8-bit or 16-bit) and handle the Composite "Join" and "Split" operations. Go for this version : ImageMagick-7.1.0-portable-Q16-x64.zip which contains all the required executables.


PNG2DDS.ps1

You can convert a single PNG file or all the PNG files of a folder to apporopriate DDS textures + JSON descriptors:

  • It auto-detects if the PNG source has an alpha layer and depending on the type of texture (Albedo, Composite, Normals), it selects the appropriate DDS compression (BC1, BC3, BC7, BC5_S) and writes the correct JSON tags.
  • For now, 16-bits textures are ignored.

DDS2PNG.ps1

Exactly the opposite. Converts DDS files (a complete folder or a single file) to PNG.

DDS-JSON-Generator.ps1

You can generate a correct DDS.json file for a given DDS file or all the DDS files of a folder.

Join-COMP.ps1

Generates a Composite RGB file with Ambient Occlusion/Roughness/Metallic channels from any PNG given as input or any suitable files in a given folder.

  • You can specify any of the 3 channels as the argument. The script will find the others if your files are named as expected and located within the same folder. (xxx_AO.PNG, xxx_ROUGH.PNG, xxx_METAL.PNG).

 Split-COMP.ps1

Separates the RGB channels of a composite PNG file to 3 standalones PNGs. Or does the same for all COMP files within a given folder.

  • These files will be suffixed with _AO.PNG, _ROUGH.PNG and _METAL.PNG
  • The script checks first if these files don't already exist and will throw an error if any of them is present.

Requirements:
  • it works on Windows 10/11
  • You need to be able to run unsigned PowerShell scripts
  • You will need to have Compressonator CLI (freeware) and set the path to "compressonatorcli.exe" in the $compressonatorPath variable of PNG2DDS.ps1 and DDS2PNG.ps1.
  • And finally, you need to have ImageMagick (freeware) and set the path to the folder containting all executables in the $magickPath variable of PNG2DDS.ps1, DDS2PNG.ps1, Join-COMP.ps1 and Split-COMP.ps1.

Changelog recente for 2.4

Thanks to "FiveBirds"s suggestion: Now, "Join-COMP.ps1" and "Split-COMP.ps1" work also on the content of a given folder and not only on individual files.

1,156 Downloads 06 February 2022
Link copied
  • Tutti i commenti
  • Recensioni
  • Threads
  • Galleria utenti

Reviews

Hi. I used these tools to compile PNG to DDS for a C208 livery as it was freezing the sim. I thought I got the solutions for my issue, but it does not work. The new DDS are still freezing the MSFS in the hangar. What am I missing?

12 months ago

Viktoren69

Just found this tool now and it's super handy. No more need for opening each png in PS and then exporting to dds. Now, I did run into an issue: in my install folder of ImageMagick there's no identify.exe, thus throwing an error while running the script (it does export fine). I just downloaded the most recent .exe from the website. Is there another version I need?

2 years ago

simtom

Very, very useful tools here. Have you guys found a way to save/convert those "NORM" textures? They are driving me crazy, no matter what I try, textures will always have a weird look!

2 years ago

GloRupt

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')

)

2 years ago

JeffHiggins

This would have saved me 2 days of Googling for answers why my custom normal map totally ruined the looks of the heli but now I keep this in a save place 😊 Still a mystery for me what it does to a normal map while packaging it. Tried it as well with the SDK but got other weird errors while this does a perfect job! Thanks!

2 years ago

ozboz

Meanwhile got it to work. Perfect tool! 5-Star+ worth

Thanks

FVBRDS

2 years ago

FiveBirds

Comments

Tried with Composite instead of Normals , colors are OK in DDS file ,will try texture later .
Thanks

3 hours ago

Poukiki987

Hello , I tried your job , very usefull.
ImageMagick-7.1.0-portable-Q16-x64.zip is no more available on their website , so I had to download ImageMagick-6.9.13-0-portable-Q16-x86 to have identify.exe and ImageMagick-7.1.1-22-Q16-x64-dll.exe to have last uptodate version.
I extracted and reworked PNG files with paint.net.
Your tool works great to create DDS and JSON files from PNG , but all textures are yellow.
What did I do wrong ?
Help wanted , thanks in advance

7 hours ago

Poukiki987

By the way, the secret sauce for normal maps is to save them with the BC5 (Linear, Signed) setting in paint.net. That converts your standard normal map to the scheme MSFS uses.

7 days ago

lolafacerola

You are a lifesaver. This worked great. Had to repath the executables and then smooth as silk. Much thanks.

8 days ago

lolafacerola

Hi. I used these tools to compile PNG to DDS for a C208 livery as it was freezing the sim. I thought I got the solutions for my issue, but it does not work. The new DDS are still freezing the MSFS in the hangar. What am I missing?

12 months ago

Hi, are you sure this freeze is due to a texture?

Regarding your textures dimension, their height and width (in pixels) are multiples of 8? (I'm not even sure you could make a DDS if not, but maybe it's worth checking).

12 months ago

LordFrites

1 More Risposte

Viktoren69

Hi Lord,

Is it possible to specify a specific input-folder in the DDS2PNG.ps1 file ?

Background:

If i convert textures, i copy them always in e.g. C:\MSFSTEXTEMP, than fire up the DDS2PNG.ps1 with powershell, paste the directory and hit enter.

Would be great if i could modify the .ps1 in a way, i only would have to run it and it automatic uses the folder i specified.

BR Five-Birds

1 years ago

Oh, yes, good idea. Plus I'm actually doing this more and more often :) I'll publish an update really soon! (probably today. Let's go!) :)

1 years ago

LordFrites

3 More Risposte

FiveBirds

after today's windows 11 update the DDS-JSON-Generator script no longer works in PowerShell, the window closes immediately after opening.

Some suggestions?

1 years ago

Damn it...

I'm still on Windows 10 :)

I'm guessing that without a clue, but is it possible that your Windows update reinitialized the "execution policy" of your computer?

try the PowerShell cmdlet: "Get-ExecutionPolicy" and if it says anything too restrictive, change it to something more "convenient" to you.

But probably it's not that and... well... I'll have to update to Windows 11 too one day :D

1 years ago

LordFrites

1 More Risposte

flavio1

Just found this tool now and it's super handy. No more need for opening each png in PS and then exporting to dds. Now, I did run into an issue: in my install folder of ImageMagick there's no identify.exe, thus throwing an error while running the script (it does export fine). I just downloaded the most recent .exe from the website. Is there another version I need?

2 years ago

Thanks for your comment!

And you're right, I should have been more precise. I'll update the description right now. The version you need is "ImageMagick-7.1.0-portable-Q16-x64.zip". This one contains the "identify.exe" (and many other stuff we don't use [yet])

2 years ago

LordFrites

1 More Risposte

simtom

Very, very useful tools here. Have you guys found a way to save/convert those "NORM" textures? They are driving me crazy, no matter what I try, textures will always have a weird look!

2 years ago

From PNG to DDS, without the fspackager thing, yes. It works well.

But from DDS, to get back to PNG... There are still issues. I've tried various encodings proposed by the tools my scripts are based onto.

But it's on my todo list for this toolbox. So, one day... we'll make it work!

2 years ago

LordFrites

GloRupt

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')

)

2 years ago

Thanks, I'll take a look at this today or tomorrow and try to improve the scripts a little bit (I didn't touch them for quite some time now!)

2 years ago

LordFrites

JeffHiggins

This would have saved me 2 days of Googling for answers why my custom normal map totally ruined the looks of the heli but now I keep this in a save place 😊 Still a mystery for me what it does to a normal map while packaging it. Tried it as well with the SDK but got other weird errors while this does a perfect job! Thanks!

2 years ago

if you find the answer to Asobo's "Normal Map Black Magic", I'm still interested ;)

2 years ago

LordFrites

1 More Risposte

ozboz

Meanwhile got it to work. Perfect tool! 5-Star+ worth

Thanks

FVBRDS

2 years ago

Thanks :) Yeah, I'd like to find/make more tools like this modest collection of scripts. Because working with the SDK and doing even simple tasks is sometimes way too complex!

2 years ago

LordFrites

FiveBirds


Piuttosto vuoto qui.



Welcome to Threads

Comments can sometimes become overwhelming and scattered. With Threads, we provide a seamless and structured environment that allows you to engage in meaningful conversations.

LordFrites

48.9K Karma
31 Uploads 91K Total Downloads 283 Followers
Changelog
  • Update - 2.4

    February 11, 2023
  • Update - 2.3

    October 23, 2022
  • Update - 2.2

    June 20, 2022
  • Update - 2.1

    May 18, 2022
  • Update - 2.0

    May 10, 2022
  • Update - 1.5

    April 27, 2022
  • Update - 1.4

    February 24, 2022
  • Update - 1.3

    February 18, 2022
  • Rilascio iniziale del file

    February 06, 2022
Dona

Il freeware è bello, ma non va dato per scontato. Mostrate il vostro sostegno al creatore di questo componente aggiuntivo. Le vostre donazioni per sostenere il creatore sono apprezzate!

Risposte
Loading...
Modify your Comment
Reply
Report Comment
Please be specific about the exact violation of law that warrants removal of this comment.
Cosa vuoi segnalare?

In base alla legge, solo la persona o l'entità il cui lavoro protetto da copyright è stato rubato ha il diritto di presentare una richiesta di risarcimento per il copyright. La legge ci vieta di elaborare le richieste di terzi se non siete il proprietario, un agente legale o il titolare del copyright del contenuto in questione. Vi chiediamo pertanto di contattare l'autore legittimo del contenuto e di informarlo del problema. Solo loro possono presentare un reclamo DMCA.

We kindly ask you to understand that we cannot process copyright requests through this form, as we are required to receive such correspondence in the form of a formal complaint to comply with the Digital Millennium Copyright Act. Please familiarize yourself with the DMCA procedure and send us your notification to the address below. Please note that incomplete or invalid complaints will not be processed.


[email protected]

In accordance with our policy, we respond to notifications of alleged copyright infringement that comply with the Digital Millennium Copyright Act on the U.S. Copyright Office website and other applicable intellectual property laws. Our response may include blocking access to or removing allegedly infringing material and/or terminating accounts. If we remove or disable access to material as a result of such a notification, we may notify the owner or administrator of the affected content to provide a counter-notification.

Version Information
Image Upload
Per favore clicca qui per accedere prima.
  • Informazioni su Flightsim.to
  • Base di conoscenza
  • Assistenza clienti
  • Informazioni legali
  • Status
  • Creators Program
  • Aviators Circle
  • RSS
  • Changelog
  • Modificare il consenso
  • Informativa sulla privacy
  • Termini di servizio
  • DMCA

Collaborazione con aziende leader del settore

FSNews Flybywire Parallel 42 FSMagazin Flight Simulation Association

2023 © Flightsim.to | Tutti i diritti riservati.
Non siamo in alcun modo affiliati a Microsoft, Asobo o Flight Simulator.

Bentornato!

Accedete al vostro account qui sotto o create un account gratuito in pochi secondi.

    Avete dimenticato la password?
Creare un account gratuito
Cambiare la lingua
La tua attuale impostazione della lingua è Italiano. Stai per cambiare la tua lingua predefinita.