Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem with resizing images from FSLTL for FPS saving

Featured Replies

1 minute ago, MammyJammy said:

Only -source and -resolution are required.  All other have defaults that are listed in the User guide.

Ok, thanks. 👍

Alvega

CPU: AMD 7800X3D | COOLER: Cooler Master MasterLiquid 240L Core ARGB | GPU: RTX 4070 TI Super 16GB OC | Mobo: ASUS TUF GAMING X670E-PLUS WIFI |
RAM: 32 GB Corsair Vengeance RGB DDR5 6000MHz PC5-48000 2x16GB CL36 | SSDs: WD Black SN770 2TB NVMe SSD (WIN11), WD Black SN850X SSD 2 TB M.2 2280 PCIe Gen4 NVMe (MSFS), Crucial MX500 2TB (Other stuff) | CASE: Forgeon Arcanite ARGB Mesh Tower ATX White | Power Supply: Forgeon Bolt PSU 850W 80+ Gold Full Modular White 

  • Replies 244
  • Views 47.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • MammyJammy
    MammyJammy

    A few years ago I wrote an app to handle texture conversion of all sorts of files for Prepar3D AI traffic.  The other day I came across this thread and have updated the app I wrote to support MSFS AI

  • If I can figure out a way to optimise these textures easily with a batch command with free software, I'll share it here for everyone to follow..

  • Hi All, I've just published a new version (1.3) of my Texture Optimizer tool.  This version addresses several issues in 1.2 and adds a bunch of new optional parameters that allow you to fine-tune

@AlvegaAny idea where the engine heat blur textures are?

Unless they are compiled in those ALL.dds files in the texture folder.

I want to remove them, I'm over seeing it. Way too exaggerated.

Edited by blueshark747

Asus Maximus X Hero Z370/ Windows 10
MSI Gaming X 1080Ti (2100 mhz OC Watercooled)
8700k (4.7ghz OC Watercooled)
32GB DDR4 3000 Ram
500GB SAMSUNG 860 EVO SERIES SSD M.2

2 hours ago, toby23 said:

more the 4k and 8k freeware and payware addon textures, that don't follow the official guidelines and that, as a result, can cause random crashes that I'm more concerned about

Do you have a known offender?  If so I can download it and try.  Dusting off this Texture Optimizer from a few years ago and making it work for MSFS has resulted in a pretty good debugging suite to spot offending textures and work out optimization techniques on 'em.  So far I'm run through FSLTL and most of the AIG airline packages I use (most international carriers, large regionals, and smaller euro/US feeders) successfully.

2 hours ago, toby23 said:

I didn't change any of the default settings. Mipping set to auto by default I believe.

Do you have to add the mipmaps option after the following:

so: textureoptimizer -source "D:/MSFS/Community/fsltl-traffic-base" -resolution 2048

Would become: textureoptimizer -source "D:/MSFS/Community/fsltl-traffic-base" -resolution 2048 -mipmaps auto         

Edited by RJC68

 

Richard

i7-12700K | Noctua NH-D15S Black Version | MSI Pro Z690 - A | 32 GB DDR4 3600 | Gigabyte Gaming OC 4090 | 1TB WD Blue NMVe (MSFS 2020) | 500 GB WD Black Gen 4 NVMe | 4TB WD Black Conventional | Fractal Design Torrent Case | Seasonic 1000W Gold Plus PSU | Thrustmaster Boeing Yoke | Honeycomb Throttle | Airbus Side Stick | Virpil Rudder Pedals | Sony X90K 55 Inch TV |

mmBbmS1.png

 

I don’t know if this is related to this add- on or not, but i took off with 60 fps and about 1-1.5 hours later my fps were cut in half. Flying without traffic at all and still 60 fps an hour later on the same flight. 

7950X3D | RTX 4090 | 96GB DDR5 | 4K G-Sync | Win11 Pro

9 minutes ago, RJC68 said:

Do you have to add the mipmaps option after the following:

so: textureoptimizer -source "D:/MSFS/Community/fsltl-traffic-base" -resolution 2048

Would become: textureoptimizer -source "D:/MSFS/Community/fsltl-traffic-base" -resolution 2048 -mipmaps auto 

With named parameters, order doesn't matter.  Only that the proper value follows the parameter name.  These are syntactically identical when the optimizer runs:

textureoptimizer -source "D:/MSFS/Community/fsltl-traffic-base" -resolution 2048 -mipmaps auto 

textureoptimizer -mipmaps auto -resolution 2048 -source "D:/MSFS/Community/fsltl-traffic-base"

The default value for mipmaps and dxt is auto. Read the user guide for how the optimizer determines whether it should create mipmaps.  You only need to explicitly specify if you want to force mipmaps on or off, or force a particular DXT format (which may have odd effects with alpha channels for DXT1 and DXT3).

1 hour ago, blueshark747 said:

@AlvegaAny idea where the engine heat blur textures are?

Unless they are compiled in those ALL.dds files in the texture folder.

I want to remove them, I'm over seeing it. Way too exaggerated.

Sorry, no idea.

Alvega

CPU: AMD 7800X3D | COOLER: Cooler Master MasterLiquid 240L Core ARGB | GPU: RTX 4070 TI Super 16GB OC | Mobo: ASUS TUF GAMING X670E-PLUS WIFI |
RAM: 32 GB Corsair Vengeance RGB DDR5 6000MHz PC5-48000 2x16GB CL36 | SSDs: WD Black SN770 2TB NVMe SSD (WIN11), WD Black SN850X SSD 2 TB M.2 2280 PCIe Gen4 NVMe (MSFS), Crucial MX500 2TB (Other stuff) | CASE: Forgeon Arcanite ARGB Mesh Tower ATX White | Power Supply: Forgeon Bolt PSU 850W 80+ Gold Full Modular White 

21 minutes ago, MammyJammy said:

With named parameters, order doesn't matter.  Only that the proper value follows the parameter name.  These are syntactically identical when the optimizer runs:


textureoptimizer -source "D:/MSFS/Community/fsltl-traffic-base" -resolution 2048 -mipmaps auto 

textureoptimizer -mipmaps auto -resolution 2048 -source "D:/MSFS/Community/fsltl-traffic-base"

The default value for mipmaps and dxt is auto. Read the user guide for how the optimizer determines whether it should create mipmaps.  You only need to explicitly specify if you want to force mipmaps on or off, or force a particular DXT format (which may have odd effects with alpha channels for DXT1 and DXT3).

Thank you Sir,

I was just doing a test run while I walked the dog and I see from the finished output log that DXT & MIP MAPS were both on Auto

 

Richard

i7-12700K | Noctua NH-D15S Black Version | MSI Pro Z690 - A | 32 GB DDR4 3600 | Gigabyte Gaming OC 4090 | 1TB WD Blue NMVe (MSFS 2020) | 500 GB WD Black Gen 4 NVMe | 4TB WD Black Conventional | Fractal Design Torrent Case | Seasonic 1000W Gold Plus PSU | Thrustmaster Boeing Yoke | Honeycomb Throttle | Airbus Side Stick | Virpil Rudder Pedals | Sony X90K 55 Inch TV |

mmBbmS1.png

 

1 hour ago, blueshark747 said:

@AlvegaAny idea where the engine heat blur textures are?

Unless they are compiled in those ALL.dds files in the texture folder.

I want to remove them, I'm over seeing it. Way too exaggerated.

In each aircraft model folder there is an aircraft.cfg file

For example Airplanes/FSLTL/A20N

I opened the aircraft.cfg with with notepad++ and saw the following

[EFFECTS]
wake = fx_wake
water = fx_spray
dirt = FX_ASOBO_TOUCHDIRT_BIG
concrete = FX_ASOBO_TOUCHCONCRETE_BIG
touchdown = FX_ASOBO_TouchDown_Big, 1
contrail = FX_ASOBO_CONTRAIL_BIG
effect.0 = FX_EXHAUST_LEFT#(A:GENERAL ENG COMBUSTION:1, boolean)#FX_ASOBO_HEAT_BIG
effect.1 = FX_EXHAUST_RIGHT#(A:GENERAL ENG COMBUSTION:2, boolean)#FX_ASOBO_HEAT_BIG

I am however not sure if you can just comment the relevant lines out. I will have to give it a go

Looks like you would need to edit the aircraft.cfg for each aircraft type (Not all the folders with liveries) 

 

Richard

i7-12700K | Noctua NH-D15S Black Version | MSI Pro Z690 - A | 32 GB DDR4 3600 | Gigabyte Gaming OC 4090 | 1TB WD Blue NMVe (MSFS 2020) | 500 GB WD Black Gen 4 NVMe | 4TB WD Black Conventional | Fractal Design Torrent Case | Seasonic 1000W Gold Plus PSU | Thrustmaster Boeing Yoke | Honeycomb Throttle | Airbus Side Stick | Virpil Rudder Pedals | Sony X90K 55 Inch TV |

mmBbmS1.png

 

@MammyJammy I don't quite understand the log.

I used resolution 2048 and I get RESIZED OUTPUT LARGER THAN SOURCE - (153), doesn't this mean these 153 textures were 1024 resolution (or less) that were converted to 2048? I wouldn't want that because they can get blurry, or I am wrong? I just wanted to convert the ones that are more than 2048 to 2048.

I also get MISSING MIPMAPS ADDED TO IMAGE - MIPMAPS SETTING: AUTO - (266), does this mean that mipmaps were added only to 266 textures?

Thanks.

Alvega

CPU: AMD 7800X3D | COOLER: Cooler Master MasterLiquid 240L Core ARGB | GPU: RTX 4070 TI Super 16GB OC | Mobo: ASUS TUF GAMING X670E-PLUS WIFI |
RAM: 32 GB Corsair Vengeance RGB DDR5 6000MHz PC5-48000 2x16GB CL36 | SSDs: WD Black SN770 2TB NVMe SSD (WIN11), WD Black SN850X SSD 2 TB M.2 2280 PCIe Gen4 NVMe (MSFS), Crucial MX500 2TB (Other stuff) | CASE: Forgeon Arcanite ARGB Mesh Tower ATX White | Power Supply: Forgeon Bolt PSU 850W 80+ Gold Full Modular White 

2 minutes ago, Alvega said:

I used resolution 2048 and I get RESIZED OUTPUT LARGER THAN SOURCE - (153), doesn't this mean these 153 textures were 1024 resolution (or less) that were converted to 2048? I wouldn't want that because they can get blurry, or I am wrong? I just wanted to convert the ones that are more than 2048 to 2048

That means the output file size was larger than the source.  Likely because of a different compression format or that mipmaps were added.

2 minutes ago, Alvega said:

I also get MISSING MIPMAPS ADDED TO IMAGE - MIPMAPS SETTING: AUTO - (266), does this mean that mipmaps were added only to 266 textures

No, this means that there were 266 images that the Optimizer create mipmaps for where the source images did not have mipmaps at all, yet based on the criteria the optimizer will use to create mipmaps, should have had 'em.  Any other source images that had mipmaps would have them rebuilt when processed calculating out the appropriate number of mipmaps levels based on your chosen resolution size.

2 minutes ago, MammyJammy said:

That means the output file size was larger than the source.  Likely because of a different compression format or that mipmaps were added.

No, this means that there were 266 images that the Optimizer create mipmaps for where the source images did not have mipmaps at all, yet based on the criteria the optimizer will use to create mipmaps, should have had 'em.  Any other source images that had mipmaps would have them rebuilt when processed calculating out the appropriate number of mipmaps levels based on your chosen resolution size.

I see. So everything ok with my log, right?

Thanks.

Alvega

CPU: AMD 7800X3D | COOLER: Cooler Master MasterLiquid 240L Core ARGB | GPU: RTX 4070 TI Super 16GB OC | Mobo: ASUS TUF GAMING X670E-PLUS WIFI |
RAM: 32 GB Corsair Vengeance RGB DDR5 6000MHz PC5-48000 2x16GB CL36 | SSDs: WD Black SN770 2TB NVMe SSD (WIN11), WD Black SN850X SSD 2 TB M.2 2280 PCIe Gen4 NVMe (MSFS), Crucial MX500 2TB (Other stuff) | CASE: Forgeon Arcanite ARGB Mesh Tower ATX White | Power Supply: Forgeon Bolt PSU 850W 80+ Gold Full Modular White 

1 minute ago, Alvega said:

I see. So everything ok with my log, right?

Thanks.

Yup.

I added those warnings simply to provide more info as to what images had some extra manipulation beyond resizing (and some other fiddly adjustments to make sure alpha channels, texture flipping, and compression are done correctly).

1 hour ago, RJC68 said:

In each aircraft model folder there is an aircraft.cfg file

For example Airplanes/FSLTL/A20N

I opened the aircraft.cfg with with notepad++ and saw the following

[EFFECTS]
wake = fx_wake
water = fx_spray
dirt = FX_ASOBO_TOUCHDIRT_BIG
concrete = FX_ASOBO_TOUCHCONCRETE_BIG
touchdown = FX_ASOBO_TouchDown_Big, 1
contrail = FX_ASOBO_CONTRAIL_BIG
effect.0 = FX_EXHAUST_LEFT#(A:GENERAL ENG COMBUSTION:1, boolean)#FX_ASOBO_HEAT_BIG
effect.1 = FX_EXHAUST_RIGHT#(A:GENERAL ENG COMBUSTION:2, boolean)#FX_ASOBO_HEAT_BIG

I am however not sure if you can just comment the relevant lines out. I will have to give it a go

Looks like you would need to edit the aircraft.cfg for each aircraft type (Not all the folders with liveries) 

Thank you sir!🍻

Asus Maximus X Hero Z370/ Windows 10
MSI Gaming X 1080Ti (2100 mhz OC Watercooled)
8700k (4.7ghz OC Watercooled)
32GB DDR4 3000 Ram
500GB SAMSUNG 860 EVO SERIES SSD M.2

3 hours ago, RobJC said:

I don’t know if this is related to this add- on or not, but i took off with 60 fps and about 1-1.5 hours later my fps were cut in half. Flying without traffic at all and still 60 fps an hour later on the same flight. 

Okay three hours later and fps still at 60. So AI is messed up. Might not be specific to FSLTL. 

7950X3D | RTX 4090 | 96GB DDR5 | 4K G-Sync | Win11 Pro

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.