Jump to content

Recommended Posts

Posted
On 8/31/2024 at 5:14 PM, zbysiek said:

@Taz1004 I've made two simple powershell scripts to automate this process.
Scripts:
Loose textures: https://gist.github.com/zbysiek/8df79276f659674b3926a0a757050f2f#file-textures-ps1 (takes a couple minutes to complete)
Zipped textures: https://gist.github.com/zbysiek/b898f4f788032ae5d57d044bfffcbe6e (takes up to an hour to complete)
TexConv:
https://github.com/microsoft/DirectXTex/releases
Powershell 7.4:
https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4#installing-the-msi-package

Usage instructions:
0. Delete _backup and _downloads folder in your main DCS Install to avoid compressing unnecessary files
1. Open powershell as admin, type Set-ExecutionPolicy Unrestricted
2. Close the powershell window (we don't want to execute the script as admin, just in case, DO NOT EXECUTE THE SCRIPT AS ADMIN)
3. Open Powershell 7 in the same folder by right clicking > Powershell 7 > Open Here (DO NOT OPEN AS ADMIN)
4. Select your main DCS folder
5. Wait for it to finish
6. Open powershell as admin, type Set-ExecutionPolicy Restricted


After it's done the files are gonna be ready in a OvGME ready format under ./Mod
 

 

UPDATE 02.09.2024 (V0.2?):
1. Merged the two scripts together.
3. Deleted hardcoded variables, now it's all adjustable at the top of the script, under functions.
2. Added .jpg .png .bmp file types to the whitelist
3. Added *NMp.filename to the whitelist
4. Added detection of zips that had nothing changed in them, now they are ommited from being added to the Mod folder. Greatly reduces Mod size and Time to complete.

  • Like 3
  • Thanks 2
Posted

i'm thinking before this gets too lost on page 10, maybe you should create a new forum thread and re-post your links to your scripts at the top of that post

  • Like 2
Posted
On 8/27/2024 at 6:30 PM, EFGross said:

 

I gave it a shot using Taz's instructions link. It took the stock texture files for the 47 in Mods\aircraft\CH-47F\Cockpit\Textures\ and CoreMods\aircraft\CH-47F\Textures from 4.6? GB total to 1.23 GB.  Not seeing any visual glitches (the weird missing texture camo pattern) in 2D or VR, in cockpit or external views.  Got about 0.9 GB VRAM improvement in the Cold Start at Camp Bastion instant mission after an auto start was complete.  I haven't been able to fully test and this is my first time so don't get your hopes up.  Link is set up for OVGME.

MI - Optimized CH-47F - Google Drive

Thank you Sir!  I shall give it a go and report back.

  • Like 1
Posted

Seems to work great here, don't have any quantitative figures in terms of performance, but the total size is around 6GB in comparison to 20GB for the stock texture sets 👍

  • Like 2

14900KS | Maximus Hero Z690 | ASUS 4090 TUF OC | 64GB DDR5 6600 | DCS on 2TB NVMe | WarBRD+Warthog Stick | CM3 | TM TPR's | Varjo Aero

Posted
2 hours ago, Zyll said:

i'm thinking before this gets too lost on page 10, maybe you should create a new forum thread and re-post your links to your scripts at the top of that post

Yeah should have done that from the get go:

 

  • Like 3
  • 2 weeks later...
Posted

If I understand this correctly, the script backups the existing textures and replaces them with an optimized version. So, it's actually increasing the number of texture files which doesn't matter as long as I keep the backup files on a different drive?

Posted

The script does not do any backing up, it creates a copy of the files to replace in a directory separate from the source files. You need a mod manager to look after the backing up and restoring of original files.

Zyll @ TAW

  • Like 4
Posted
Maybe silly question, but I am not very technically inclined... Does this work for sceneries as well? (thinking of shrinking Kola...)
It didn't do anything with Kola when I ran the script.

Sent from my SM-A536B using Tapatalk

Posted
10 hours ago, Mike Wazowsky said:

Maybe silly question, but I am not very technically inclined... Does this work for sceneries as well? (thinking of shrinking Kola...)

 

I read somewhere that the file extensions used for map textures are different than the ones this mod operates with. Take this with several grains of salt.

 

 

Posted
 
I read somewhere that the file extensions used for map textures are different than the ones this mod operates with. Take this with several grains of salt.
 
 
Makes sense.

Sent from my SM-A536B using Tapatalk

  • 1 month later...
Posted

Incredible work!! This mod is a must-have for me with only 8GB of VRAM on multiplayer. Any plans to update this mod? A few things have been changed in the game that break small parts of the mod (e.g. wing lights on the A-10 are broken). Thanks again for your incredible work!

  • Like 1
  • 2 weeks later...
Posted
On 8/31/2024 at 11:14 AM, zbysiek said:

@Taz1004 I've made a simple powershell scripts to automate this process.
Script: https://gist.github.com/zbysiek/8df79276f659674b3926a0a757050f2f
TexConv:
https://github.com/microsoft/DirectXTex/releases
Powershell 7.4:
https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4#installing-the-msi-package

Usage instructions:
0. Delete _backup and _downloads folder in your main DCS Install to avoid compressing unnecessary files
1. Open powershell as admin, type Set-ExecutionPolicy Unrestricted
2. Close the powershell window (we don't want to execute the script as admin, just in case, DO NOT EXECUTE THE SCRIPT AS ADMIN)
3. Open Powershell 7 in the same folder by right clicking > Powershell 7 > Open Here (DO NOT OPEN AS ADMIN)
4. Select your main DCS folder
5. Wait for it to finish
6. Open powershell as admin, type Set-ExecutionPolicy Restricted


After it's done the files are gonna be ready in a OvGME ready format under ./Mod

 

does this pass IC for mp servers?? I am thinking not but what is the main advantage to doing this mod or whatnot?

Intel Ultra 265K 5.5GHZ   /  Gigabyte Z890 Aorus Elite  /  MSI 4070Ti Ventus 12GB   /  SoundBlaster Z SoundCard  /  Corsair Vengance 64GB Ram  /  HP Reverb G2  /  Samsung 980 Pro 2TB Games   /  Crucial 512GB M.2 Win 11 Pro 21H2 /  ButtKicker Gamer  /  CoolerMaster TD500 Mesh V2 PC Case

Posted
does this pass IC for mp servers?? I am thinking not but what is the main advantage to doing this mod or whatnot?
Don't know about MP but the fundamental advantage of this mod is a saving in VRAM for those that don't have 24GB cards
  • Like 2

14900KS | Maximus Hero Z690 | ASUS 4090 TUF OC | 64GB DDR5 6600 | DCS on 2TB NVMe | WarBRD+Warthog Stick | CM3 | TM TPR's | Varjo Aero

Posted
does this pass IC for mp servers?? I am thinking not but what is the main advantage to doing this mod or whatnot?
No. It doesn't pass IC.

Sent from my SM-A536B using Tapatalk

Posted

Both mods offer the same result, reduced texture size which affects the VRAM usage. The PowerShell script is a manual/adhoc method that anybody can apply without waiting for others to reduce textures and upload.

  • Like 2
  • 2 months later...
Posted
В 06.04.2023 в 22:20, Blinde сказал:

Это настоящая магия для виртуальной реальности. Ещё раз спасибо, Таз. Надеюсь, ED извлечёт из этого урок.

Извлекли?

  • 2 weeks later...
Posted

Since the new Iraq Map (and only this one) constantly crashes my computer (32 GB RAM, 8 GB VRAM) when I fly over urban areas, I'm wondering if compressing the textures of this map using this script might help? 

"Once you have tasted flight, you will forever walk the earth with your eyes turned skyward.
For there you have been, and there you will always long to return."


Check out my DCS content on Instagram

Posted (edited)
On 1/29/2025 at 9:08 AM, Tomcatter87 said:

Since the new Iraq Map (and only this one) constantly crashes my computer (32 GB RAM, 8 GB VRAM) when I fly over urban areas, I'm wondering if compressing the textures of this map using this script might help? 

It will surely help, for any 8GB, 10GB and 12GB GPU.

And that's why, in my opinion, it should be mandatory as default content, but ED won't do it.

The super heavy 4K and 8K resolution 32-bit textures should instead be made as a free DLC optional (and separated, for each purchased module).
 

Edited by LucShep
  • Like 7

CGTC - Caucasus retexture  |  A-10A cockpit retexture  |  Shadows Reduced Impact  |  DCS 2.5.6 - a lighter alternative 

DCS terrain modules_July23_27pc_ns.pngDCS aircraft modules_July23_27pc_ns.png 

Spoiler

Win10 Pro x64  |  Intel i7 12700K (OC@ 5.1/5.0p + 4.0e)  |  64GB DDR4 (OC@ 3700 CL17 Crucial Ballistix)  |  RTX 3090 24GB EVGA FTW3 Ultra  |  2TB NVMe (MP600 Pro XT) + 500GB SSD (WD Blue) + 3TB HDD (Toshiba P300) + 1TB HDD (WD Blue)  |  Corsair RMX 850W  |  Asus Z690 TUF+ D4  |  TR FN 240  |  Fractal Meshify-C  |  UAD Volt1 + Sennheiser HD-599SE  |  7x USB 3.0 Hub |  50'' 4K Philips PUS7608 UHD TV + Head Tracking  |  HP Reverb G1 Pro (VR)  |  TM Warthog + Logitech X56 

 

Posted
9 hours ago, LucShep said:

The super heavy 4K and 8K resolution 32-bit textures should instead be made as a free DLC optional (and separated, for each purchased module).

Totally agree, and as Ultra and Extreme choices in the texture settings. 👍🏻 

  • Like 1
Posted
21 hours ago, MAXsenna said:

Totally agree, and as Ultra and Extreme choices in the texture settings. 👍🏻 

+1

  • Like 1

GPU: PALIT NVIDIA RTX 3080 10GB | CPU: Intel Core i7-9700K 4,9GHz | RAM: 64GB DDR4 3000MHz
VR: HP Reverb G2 | HOTAS: TM Warthog Throttle and Stick
OS: Windows 10 22H2

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...