zbysiek Posted September 2, 2024 Posted September 2, 2024 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. 3 2
zbysiek Posted September 2, 2024 Posted September 2, 2024 Update 0.2.1 1. Forgot to add *flir*.filename to the whitelist. 2
Zyll Posted September 2, 2024 Posted September 2, 2024 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 2
PX_RGR Posted September 2, 2024 Posted September 2, 2024 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. 1
zildac Posted September 2, 2024 Posted September 2, 2024 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 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
zbysiek Posted September 2, 2024 Posted September 2, 2024 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: 3
Endline Posted September 13, 2024 Posted September 13, 2024 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?
Zyll Posted September 13, 2024 Posted September 13, 2024 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 4
Mike Wazowsky Posted September 14, 2024 Posted September 14, 2024 Maybe silly question, but I am not very technically inclined... Does this work for sceneries as well? (thinking of shrinking Kola...) F-14 VUX - VR Ultimate eXperience
MAXsenna Posted September 14, 2024 Posted September 14, 2024 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
diego999 Posted September 14, 2024 Posted September 14, 2024 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.
MAXsenna Posted September 16, 2024 Posted September 16, 2024 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
ShroomSister Posted October 17, 2024 Posted October 17, 2024 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! 1
The_Nephilim Posted November 1, 2024 Posted November 1, 2024 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
zildac Posted November 1, 2024 Posted November 1, 2024 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 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
MAXsenna Posted November 1, 2024 Posted November 1, 2024 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
tomeye Posted November 1, 2024 Posted November 1, 2024 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. 2
ivan-ivanov-1902 Posted January 15 Posted January 15 В 06.04.2023 в 22:20, Blinde сказал: Это настоящая магия для виртуальной реальности. Ещё раз спасибо, Таз. Надеюсь, ED извлечёт из этого урок. Извлекли?
Tomcatter87 Posted January 29 Posted January 29 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
LucShep Posted January 29 Posted January 29 (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 January 31 by LucShep 7 CGTC - Caucasus retexture | A-10A cockpit retexture | Shadows Reduced Impact | DCS 2.5.6 - a lighter alternative 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
MAXsenna Posted January 30 Posted January 30 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. 1
Wizard1393 Posted January 30 Posted January 30 21 hours ago, MAXsenna said: Totally agree, and as Ultra and Extreme choices in the texture settings. +1 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
Recommended Posts