FS22 Tutorial - Terrain/Fillplane Texture Format

Your forum for all discussions around Modding.
User avatar
HungryCow212
Posts: 10
Joined: Wed Jan 22, 2020 5:22 pm

FS22 Tutorial - Terrain/Fillplane Texture Format

Post by HungryCow212 »

I've just got around to properly investigating the issue everyone is having with ground and fillplane textures. The problem lies in the header of the DDS files. Whatever tool Giants is using to generate the DDS images is injecting some extra info into the header, which no tools I've used seems to do. This issue is identical to the issue with the customGradient files used by the building shader in FS19.

The only workaround I know of is to install a hexidecimal editor such as HxD. First, make sure your texture is saved at the proper resolution (1024x1024) and compression format (BC7_UNORM). You will then have to open one of the base game files, copy the header (first 4 lines), and overwrite the header on your own file. Using this method I've been able to successfully load my textures into Giants Editor as well as the game itself without any errors or warnings. It's a clunky solution, but it's the only thing I know to do until a new tool is released or Giants provides more info.

Image
[HungryCow Design]
Bersson
Posts: 46
Joined: Wed Oct 21, 2020 11:52 am

Re: FS22 Tutorial - Terrain/Fillplane Texture Format

Post by Bersson »

Thanks for sharing :) Much appreciated.
TheSuBBie
Posts: 538
Joined: Wed Jun 10, 2020 11:38 am

Re: FS22 Tutorial - Terrain/Fillplane Texture Format

Post by TheSuBBie »

You can also use the Hex-editor plugin in Notepad++
User avatar
HungryCow212
Posts: 10
Joined: Wed Jan 22, 2020 5:22 pm

Re: FS22 Tutorial - Terrain/Fillplane Texture Format

Post by HungryCow212 »

Bersson wrote: Tue Nov 30, 2021 8:16 pm Thanks for sharing :) Much appreciated.
No problem!

TheSuBBie wrote: Tue Nov 30, 2021 8:17 pm You can also use the Hex-editor plugin in Notepad++
Sure. HxD was just an example.
[HungryCow Design]
wiseguy49
Posts: 389
Joined: Thu Jan 19, 2017 1:25 pm

Re: FS22 Tutorial - Terrain/Fillplane Texture Format

Post by wiseguy49 »

THANK YOU THANK YOU!! Works perfectly!!
User avatar
MAC_FSSA
Posts: 9
Joined: Sun Oct 18, 2020 10:21 am
Contact:

Re: FS22 Tutorial - Terrain/Fillplane Texture Format

Post by MAC_FSSA »

HungryCow212 wrote: Tue Nov 30, 2021 7:59 pm (1024x1024) and compression format (BC7_UNORM). You will then have to open one of the base game files, copy the header (first 4 lines), and
Can you please show with a screenshot the exact settings of the plugin for saving dds ?
TheSuBBie
Posts: 538
Joined: Wed Jun 10, 2020 11:38 am

Re: FS22 Tutorial - Terrain/Fillplane Texture Format

Post by TheSuBBie »

If using Notepad++ all you need to do is correct the first four lines as shown and select save as do not select any "Save as type" leave it as it is (normal default .txt), your original filename will be shown in the save box so just select save the file will be saved to its current location.
User avatar
HungryCow212
Posts: 10
Joined: Wed Jan 22, 2020 5:22 pm

Re: FS22 Tutorial - Terrain/Fillplane Texture Format

Post by HungryCow212 »

MAC_FSSA wrote: Wed Dec 01, 2021 12:16 pm Can you please show with a screenshot the exact settings of the plugin for saving dds ?
What plugin are you referring to?
[HungryCow Design]
User avatar
MAC_FSSA
Posts: 9
Joined: Sun Oct 18, 2020 10:21 am
Contact:

Re: FS22 Tutorial - Terrain/Fillplane Texture Format

Post by MAC_FSSA »

for example , a plug -in for PS from Nvidia or intel , which parameters to choose to save the fillplane textures diffuse and normal
User avatar
HungryCow212
Posts: 10
Joined: Wed Jan 22, 2020 5:22 pm

Re: FS22 Tutorial - Terrain/Fillplane Texture Format

Post by HungryCow212 »

MAC_FSSA wrote: Wed Dec 01, 2021 7:32 pm for example , a plug -in for PS from Nvidia or intel , which parameters to choose to save the fillplane textures diffuse and normal
BC7 compression with mipmaps. I don't use those plugins, so I can't provide a screenshot.
[HungryCow Design]
User avatar
MAC_FSSA
Posts: 9
Joined: Sun Oct 18, 2020 10:21 am
Contact:

Re: FS22 Tutorial - Terrain/Fillplane Texture Format

Post by MAC_FSSA »

And what tools do you use for texture compression?
LuanTavares127
Posts: 3
Joined: Sat May 02, 2020 2:53 am

Re: FS22 Tutorial - Terrain/Fillplane Texture Format

Post by LuanTavares127 »

THANK YOU SO MUCH, BRO. YOU SAVED MY LIFE SO BAD!!!!
User avatar
HungryCow212
Posts: 10
Joined: Wed Jan 22, 2020 5:22 pm

Re: FS22 Tutorial - Terrain/Fillplane Texture Format

Post by HungryCow212 »

MAC_FSSA wrote: Wed Dec 01, 2021 8:01 pm And what tools do you use for texture compression?
I use Microsoft's DirectXTex command line utilities to convert my PNGs to DDS once they're finalized. Here's a link:
https://github.com/microsoft/DirectXTex
[HungryCow Design]
LuanTavares127
Posts: 3
Joined: Sat May 02, 2020 2:53 am

Re: FS22 Tutorial - Terrain/Fillplane Texture Format

Post by LuanTavares127 »

HungryCow212 wrote: Thu Dec 02, 2021 3:02 pm
MAC_FSSA wrote: Wed Dec 01, 2021 8:01 pm And what tools do you use for texture compression?
I use Microsoft's DirectXTex command line utilities to convert my PNGs to DDS once they're finalized. Here's a link:
https://github.com/microsoft/DirectXTex
Why do you not use paint.net to make yours .dds files?
User avatar
HungryCow212
Posts: 10
Joined: Wed Jan 22, 2020 5:22 pm

Re: FS22 Tutorial - Terrain/Fillplane Texture Format

Post by HungryCow212 »

LuanTavares127 wrote: Sat Dec 04, 2021 3:09 am Why do you not use paint.net to make yours .dds files?
Because the texconv utility can convert thousands of images to DDS with a single command.
[HungryCow Design]
Post Reply